Date: Tuesday, May 25, 2021 @ 15:30:35 Author: felixonmars Revision: 945838
archrelease: copy trunk to community-any Added: python-httpretty/repos/community-any/PKGBUILD (from rev 945837, python-httpretty/trunk/PKGBUILD) Deleted: python-httpretty/repos/community-any/PKGBUILD ----------+ PKGBUILD | 54 +++++++++++++++++++++++++++--------------------------- 1 file changed, 27 insertions(+), 27 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-05-25 15:30:18 UTC (rev 945837) +++ PKGBUILD 2021-05-25 15:30:35 UTC (rev 945838) @@ -1,27 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-httpretty -pkgver=1.1.2 -pkgrel=1 -pkgdesc="HTTP client mock for Python" -arch=('any') -url="https://github.com/gabrielfalcao/httpretty" -license=('MIT') -depends=('python-urllib3') -makedepends=('python-setuptools') -checkdepends=('python-nose' 'python-coverage' 'python-eventlet' 'python-freezegun' 'python-httplib2' - 'python-redis' 'python-rednose' 'python-requests' 'python-sure' 'python-tornado' - 'python-httpx' 'python-boto3') -source=("https://github.com/gabrielfalcao/HTTPretty/archive/$pkgver/$pkgname-$pkgver.tar.gz") -sha512sums=('5816d7533a211348a9aeb61bb6ab97c01aac02d9f4fe679764fa906ba5ba7b573e737a6ae6b5118b82fce18aa17bcf286b895e30d516c6d35e76926f4739b124') - -check() { - cd HTTPretty-$pkgver - nosetests3 -s tests -} - -package_python-httpretty() { - cd HTTPretty-$pkgver - python3 setup.py install --root="$pkgdir" --optimize=1 - install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING -} Copied: python-httpretty/repos/community-any/PKGBUILD (from rev 945837, python-httpretty/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-05-25 15:30:35 UTC (rev 945838) @@ -0,0 +1,27 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-httpretty +pkgver=1.1.3 +pkgrel=1 +pkgdesc="HTTP client mock for Python" +arch=('any') +url="https://github.com/gabrielfalcao/httpretty" +license=('MIT') +depends=('python-urllib3') +makedepends=('python-setuptools') +checkdepends=('python-nose' 'python-coverage' 'python-eventlet' 'python-freezegun' 'python-httplib2' + 'python-redis' 'python-rednose' 'python-requests' 'python-sure' 'python-tornado' + 'python-httpx' 'python-boto3') +source=("https://github.com/gabrielfalcao/HTTPretty/archive/$pkgver/$pkgname-$pkgver.tar.gz") +sha512sums=('cba490fa065409584f9a92977b1a8e3d96c6d9956390baa320cf3e4978ae7d64a54b726df093ca7a2f4f1841488e1cf245ed909068331e575ae6b217aa016c45') + +check() { + cd HTTPretty-$pkgver + nosetests3 -s tests +} + +package_python-httpretty() { + cd HTTPretty-$pkgver + python3 setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING +}