mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +03:00
32 lines
968 B
Text
32 lines
968 B
Text
# Maintainer: Keith Maxwell <keith.maxwell@gmail.com>
|
|
pkgname=py3-responses
|
|
_pyname=responses
|
|
pkgver=0.12.1
|
|
pkgrel=1
|
|
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="$pkgname-$pkgver.tar.gz::https://github.com/getsentry/responses/archive/$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pyname-$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="f99e9a127328bd000c78d160fdd0cf8288999c47c933b185e9cce323697f2728ec28dc6dd8a4e29b55797e7fff94076190165bc63e1bc36e050027f875d95775 py3-responses-0.12.1.tar.gz"
|