Date: Monday, May 4, 2020 @ 05:08:16
  Author: felixonmars
Revision: 624674

archrelease: copy trunk to community-testing-any

Added:
  python-httpretty/repos/community-testing-any/
  python-httpretty/repos/community-testing-any/PKGBUILD
    (from rev 624673, python-httpretty/trunk/PKGBUILD)

----------+
 PKGBUILD |   26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

Copied: python-httpretty/repos/community-testing-any/PKGBUILD (from rev 624673, 
python-httpretty/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD                              (rev 0)
+++ community-testing-any/PKGBUILD      2020-05-04 05:08:16 UTC (rev 624674)
@@ -0,0 +1,26 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-httpretty
+pkgver=1.0.0
+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')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/gabrielfalcao/HTTPretty/archive/$pkgver.tar.gz";)
+sha512sums=('3f34af2c67d4b30e7f4a241f6f47416350313787f571ec4f5603a99be4a2fbbd3c977767422f4460da4009e6b9fa8dac8f408b02917525a5628dd63b1e29058b')
+
+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
+}

Reply via email to