Date: Friday, January 15, 2021 @ 14:22:26 Author: daurnimator Revision: 821008
archrelease: copy trunk to community-any Added: httpie/repos/community-any/PKGBUILD (from rev 821007, httpie/trunk/PKGBUILD) Deleted: httpie/repos/community-any/PKGBUILD ----------+ PKGBUILD | 86 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 43 insertions(+), 43 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-01-15 14:21:42 UTC (rev 821007) +++ PKGBUILD 2021-01-15 14:22:26 UTC (rev 821008) @@ -1,43 +0,0 @@ -# Maintainer: Jelle van der Waa <je...@archlinux.org> -# Maintainer: daurnimator <daurnima...@archlinux.org> -# Contributor: Daniel Micay <danielmi...@gmail.com> -# Contributor: Thomas Weißschuh <thomas_weissschuh lavabit com> - -pkgname=httpie -pkgver=2.3.0 -pkgrel=3 -pkgdesc="cURL for humans" -url="https://github.com/jakubroztocil/httpie" -depends=('python-requests' - 'python-requests-toolbelt' - 'python-pygments' - 'python-pysocks' - 'python-setuptools') -checkdepends=('python-pytest' 'python-pytest-httpbin' 'python-mock') -conflicts=(python-httpie) -replaces=(python-httpie python2-httpie) -license=('BSD') -arch=('any') -source=($pkgname-$pkgver.tar.gz::"https://github.com/jakubroztocil/httpie/archive/$pkgver.tar.gz") -sha1sums=('f25005e2c1cf1c5031e26bc6a4d00820df8b77f5') - -build() { - cd $pkgname-$pkgver - python3 setup.py build -} - -package() { - cd $pkgname-$pkgver - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/httpie/LICENSE" - python3 setup.py install --root="$pkgdir" --optimize=1 - - # Fix upstream, include them in MANIFEST.in and use data_files in setup.py to install them automatically - # TODO: add zsh support - install -Dm644 extras/httpie-completion.bash "$pkgdir"/usr/share/bash-completion/completions/http - install -Dm644 extras/httpie-completion.fish "$pkgdir"/usr/share/fish/vendor_completions.d/http.fish -} - -check() { - cd $pkgname-$pkgver - PYTHONDONTWRITEBYTECODE=1 python3 setup.py test -} Copied: httpie/repos/community-any/PKGBUILD (from rev 821007, httpie/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-01-15 14:22:26 UTC (rev 821008) @@ -0,0 +1,43 @@ +# Maintainer: Jelle van der Waa <je...@archlinux.org> +# Maintainer: daurnimator <daurnima...@archlinux.org> +# Contributor: Daniel Micay <danielmi...@gmail.com> +# Contributor: Thomas Weißschuh <thomas_weissschuh lavabit com> + +pkgname=httpie +pkgver=2.3.0 +pkgrel=4 +pkgdesc="cURL for humans" +url="https://github.com/jakubroztocil/httpie" +depends=('python-requests' + 'python-requests-toolbelt' + 'python-pygments' + 'python-pysocks') +makedepends=('python-setuptools') +checkdepends=('python-pytest' 'python-pytest-httpbin' 'python-mock') +conflicts=(python-httpie) +replaces=(python-httpie python2-httpie) +license=('BSD') +arch=('any') +source=($pkgname-$pkgver.tar.gz::"https://github.com/jakubroztocil/httpie/archive/$pkgver.tar.gz") +sha1sums=('f25005e2c1cf1c5031e26bc6a4d00820df8b77f5') + +build() { + cd $pkgname-$pkgver + python3 setup.py build +} + +package() { + cd $pkgname-$pkgver + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/httpie/LICENSE" + python3 setup.py install --root="$pkgdir" --optimize=1 + + # Fix upstream, include them in MANIFEST.in and use data_files in setup.py to install them automatically + # TODO: add zsh support + install -Dm644 extras/httpie-completion.bash "$pkgdir"/usr/share/bash-completion/completions/http + install -Dm644 extras/httpie-completion.fish "$pkgdir"/usr/share/fish/vendor_completions.d/http.fish +} + +check() { + cd $pkgname-$pkgver + PYTHONDONTWRITEBYTECODE=1 python3 setup.py test +}