aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-httpretty/APKBUILD
blob: 4ce51aadc17c17b0aa57fac8826bf1da835c57d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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="python2"
depends_dev=
makedepends="python2-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"
	python2 setup.py build || return 1
}

package() {
	cd "$_builddir"
	python2 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"