Date: Monday, September 6, 2021 @ 23:21:43 Author: daurnimator Revision: 1011896
archrelease: copy trunk to community-any Added: httpie/repos/community-any/PKGBUILD (from rev 1011895, httpie/trunk/PKGBUILD) Deleted: httpie/repos/community-any/PKGBUILD ----------+ PKGBUILD | 90 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 47 insertions(+), 43 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-09-06 23:21:29 UTC (rev 1011895) +++ PKGBUILD 2021-09-06 23:21:43 UTC (rev 1011896) @@ -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.4.0 -pkgrel=1 -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=('9d3164c16988e2b8c83f64f76f8abbc2b4667369') - -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 1011895, httpie/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-09-06 23:21:43 UTC (rev 1011896) @@ -0,0 +1,47 @@ +# 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.5.0 +pkgrel=1 +pkgdesc="cURL for humans" +url="https://github.com/jakubroztocil/httpie" +depends=('python-defusedxml' + 'python-pygments' + 'python-pysocks' + 'python-requests' + 'python-requests-toolbelt') +makedepends=('python-setuptools') +checkdepends=('python-mock' + 'python-pytest' + 'python-pytest-httpbin' + 'python-responses') +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=('2662bbf09f5e657949589fac9dbcdcb5760399d8') + +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 +}