mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-21 13:41:20 +02:00
31 lines
897 B
Plaintext
31 lines
897 B
Plaintext
# Maintainer: Oliver Smith <ollieparanoid@postmarketos.org>
|
|
# Contributor: Johannes Marbach <n0-0ne+gitlab@mailbox.org>
|
|
pkgname=py3-pytest-httpserver
|
|
pkgver=1.0.1
|
|
pkgrel=2
|
|
pkgdesc="Http server for pytest to test http clients"
|
|
url="https://github.com/csernazs/pytest-httpserver"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3 py3-werkzeug"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-pytest py3-pytest-runner py3-requests"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/csernazs/pytest-httpserver/archive/$pkgver.tar.gz"
|
|
builddir="$srcdir/pytest-httpserver-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 setup.py test
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
e56e1accc5afcc3c5b31a7409211f22d64c9efba4c0bb43b4c42cf0ad347cb8552d98787c919befffaa2ed3ee6bee92bb2b1d70582f455c805fbfcc663fda533 py3-pytest-httpserver-1.0.1.tar.gz
|
|
"
|