Date: Sunday, February 23, 2020 @ 14:44:09 Author: jelle Revision: 579781
archrelease: copy trunk to community-any Added: httpie/repos/community-any/PKGBUILD (from rev 579780, httpie/trunk/PKGBUILD) Deleted: httpie/repos/community-any/PKGBUILD ----------+ PKGBUILD | 76 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 38 insertions(+), 38 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-02-23 14:44:02 UTC (rev 579780) +++ PKGBUILD 2020-02-23 14:44:09 UTC (rev 579781) @@ -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.0.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=('67a017fd43498dc1da507622367bdb5cceef3222') - -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, inclide them in MANIFEST.in and use data_files in setup.py to install them automatically - # TODO: add zsh support - install -d $pkgdir/usr/share/bash-completion/completions - install -Dm644 extras/httpie-completion.bash $pkgdir/usr/share/bash-completion/completions/http -} - -check() { - cd $pkgname-$pkgver - python3 setup.py test -} Copied: httpie/repos/community-any/PKGBUILD (from rev 579780, httpie/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-02-23 14:44:09 UTC (rev 579781) @@ -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.0.0 +pkgrel=2 +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=('67a017fd43498dc1da507622367bdb5cceef3222') + +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 +}