From 1b61bb81e9a6a52611369c3e29a4c0fa57c585ce Mon Sep 17 00:00:00 2001 From: Keith Maxwell Date: Mon, 15 Apr 2019 16:03:11 +0100 Subject: testing/py3-pytest-localserver: new package Dependency for checking testing/py3-google-auth --- testing/py3-pytest-localserver/APKBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 testing/py3-pytest-localserver/APKBUILD (limited to 'testing') diff --git a/testing/py3-pytest-localserver/APKBUILD b/testing/py3-pytest-localserver/APKBUILD new file mode 100644 index 0000000000..c37285175b --- /dev/null +++ b/testing/py3-pytest-localserver/APKBUILD @@ -0,0 +1,28 @@ +# Contributor: Keith Maxwell +# Maintainer: Keith Maxwell +pkgname=py3-pytest-localserver +_pyname=pytest-localserver +pkgver=0.5.0 +pkgrel=0 +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" -- cgit v1.2.3