Date: Wednesday, November 28, 2018 @ 20:49:48 Author: jelle Revision: 410472
archrelease: copy trunk to community-any Added: httpie/repos/community-any/PKGBUILD (from rev 410471, httpie/trunk/PKGBUILD) Deleted: httpie/repos/community-any/PKGBUILD ----------+ PKGBUILD | 74 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 37 insertions(+), 37 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-11-28 20:49:34 UTC (rev 410471) +++ PKGBUILD 2018-11-28 20:49:48 UTC (rev 410472) @@ -1,37 +0,0 @@ -# Maintainer: Daniel Micay <danielmi...@gmail.com> -# Contributor: Thomas Weißschuh <thomas_weissschuh lavabit com> - -pkgname=httpie -pkgver=1.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=('0470bda0eb5aff60ec48b0728eeec01987e92794') - -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 410471, httpie/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-11-28 20:49:48 UTC (rev 410472) @@ -0,0 +1,37 @@ +# Maintainer: Daniel Micay <danielmi...@gmail.com> +# Contributor: Thomas Weißschuh <thomas_weissschuh lavabit com> + +pkgname=httpie +pkgver=1.0.2 +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=('f41cc049b4a0cda463ffbd7c686e321d631dece7') + +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 +}