aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-pytest-localserver/APKBUILD
blob: 8c6d2f81b59a00013dda8ac1aad65ce3208aa9ea (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
# Contributor: Keith Maxwell <keith.maxwell@gmail.com>
# Maintainer: Keith Maxwell <keith.maxwell@gmail.com>
pkgname=py3-pytest-localserver
_pyname=pytest-localserver
pkgver=0.5.0
pkgrel=2
pkgdesc="a pytest plugin to test server connections locally"
url="http://bitbucket.org/pytest-dev/pytest-localserver/"
arch="noarch"
license="MIT"
depends="python3"
checkdepends="py3-pytest py3-six py3-requests py3-werkzeug"
source="https://files.pythonhosted.org/packages/source/p/${_pyname}/${_pyname}-${pkgver}.tar.gz"
builddir="${srcdir}/${_pyname}-${pkgver}"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

check() {
	pytest-3
}

sha512sums="aedf1e1c9563396457070df13df228ad0ebdd19173fa2ac5a598288d3e1a1ac8b8a0c0288cba0d8478e43d2e1de4848f2393bf640705916957f12ab31171c6cc  pytest-localserver-0.5.0.tar.gz"