diff options
author | Valery Kartel <valery.kartel@gmail.com> | 2016-03-14 15:56:23 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-03-18 09:26:47 +0000 |
commit | 35889755914b6a93c5f306da65a051ce7c1fcdf0 (patch) | |
tree | d2e1b9927757c4c0e8bca29bc3bc2f9c15c9576e /testing/py-httpretty | |
parent | 3a9e441e901e01b127a1b8d4e3c22fa0d2c0254c (diff) | |
download | aports-35889755914b6a93c5f306da65a051ce7c1fcdf0.tar.bz2 aports-35889755914b6a93c5f306da65a051ce7c1fcdf0.tar.xz |
testing/py-httpretty: new aport
HTTP client mocking tool for Python
https://github.com/gabrielfalcao/HTTPretty
[TT: Clarify license]
Diffstat (limited to 'testing/py-httpretty')
-rw-r--r-- | testing/py-httpretty/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/py-httpretty/APKBUILD b/testing/py-httpretty/APKBUILD new file mode 100644 index 0000000000..d6e4667bec --- /dev/null +++ b/testing/py-httpretty/APKBUILD @@ -0,0 +1,32 @@ +# Maintainer: Valery Kartel <valery.kartel@gmail.com> +# Contributor: Valery Kartel <valery.kartel@gmail.com> +pkgname=py-httpretty +_pkgname=HTTPretty +pkgver=0.8.14 +pkgrel=0 +pkgdesc="HTTP client mocking tool for Python" +url="https://github.com/gabrielfalcao/HTTPretty" +arch="noarch" +license="MIT" +depends="python" +depends_dev= +makedepends="python-dev py-setuptools" +install= +subpackages="" +source="$_pkgname-$pkgver.tar.gz::https://github.com/gabrielfalcao/$_pkgname/archive/$pkgver.tar.gz" + +_builddir="$srcdir"/$_pkgname-$pkgver + +build() { + cd "$_builddir" + python setup.py build || return 1 +} + +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 +} + +md5sums="575451618591fbb0c39bfb54e40c98bb HTTPretty-0.8.14.tar.gz" +sha256sums="22bb7c76c11d2d92bc864e4feae73b8bd78cfefc89bddaaf3608d7fec65a9034 HTTPretty-0.8.14.tar.gz" +sha512sums="cb1559ffb247b11bfbea44ab93de9880df7fe1879772ccfb692ae50985c25a7547165970d4874e6d3d2b43e11092e9c6ec8fa650f4042c7019b628bbfb1fc645 HTTPretty-0.8.14.tar.gz" |