Date: Sunday, June 21, 2020 @ 14:53:12 Author: jelle Revision: 649390
archrelease: copy trunk to community-any Added: httpie/repos/community-any/PKGBUILD (from rev 649389, httpie/trunk/PKGBUILD) Deleted: httpie/repos/community-any/PKGBUILD ----------+ PKGBUILD | 76 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 38 insertions(+), 38 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-06-21 14:53:06 UTC (rev 649389) +++ PKGBUILD 2020-06-21 14:53:12 UTC (rev 649390) @@ -1,38 +0,0 @@ -# Maintainer: Jelle van der Waa <je...@archlinux.org> -# Contributor: Daniel Micay <danielmi...@gmail.com> -# Contributor: Thomas Weißschuh <thomas_weissschuh lavabit com> - -pkgname=httpie -pkgver=2.1.0 -pkgrel=1 -pkgdesc="cURL for humans" -url="https://github.com/jakubroztocil/httpie" -depends=('python-requests' 'python-pygments' '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=('60ded1330bcc2c4342dce341c6285bb117aef149') - -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 - python3 setup.py test -} Copied: httpie/repos/community-any/PKGBUILD (from rev 649389, httpie/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-06-21 14:53:12 UTC (rev 649390) @@ -0,0 +1,38 @@ +# Maintainer: Jelle van der Waa <je...@archlinux.org> +# Contributor: Daniel Micay <danielmi...@gmail.com> +# Contributor: Thomas Weißschuh <thomas_weissschuh lavabit com> + +pkgname=httpie +pkgver=2.2.0 +pkgrel=1 +pkgdesc="cURL for humans" +url="https://github.com/jakubroztocil/httpie" +depends=('python-requests' 'python-pygments' '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=('361033d7e8575c5adeaf37acc445f3d0530e51d7') + +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 + python3 setup.py test +}