blob: bc68226096e9c59698f8f6a9ceb18f0b9afd573a (
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:
pkgname=py3-responses
_pkgname=responses
pkgver=0.10.8
pkgrel=0
pkgdesc="Utility library for mocking out the requests Python library"
url="https://pypi.python.org/pypi/responses/"
arch="noarch"
license="Apache-2.0"
depends="py3-requests py3-six"
makedepends="py3-setuptools"
checkdepends="py3-flake8 py3-pytest py3-pytest-cov py3-pytest-localserver
py3-werkzeug"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
replaces=py-responses # Backwards compatibility
provides=py-responses=$pkgver-r$pkgrel # Backwards compatibility
build() {
python3 setup.py build
}
check() {
py.test-3
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="dc9607f9a40a5eabfb1289b4b17e2a36876b15c28ae6c85715ff147cd7f6d7f80ac750280fc7bcbcce9fcaa0859fb0f2940bbc2119baaf58394af9d09695a50f responses-0.10.8.tar.gz"
|