[PATCH] testing/py3-pytest-regtes: new aport
Export this patch
pytest-regtest is a pytest-plugin for implementing regression tests
https://gitlab.com/uweschmitt/pytest-regtest
---
testing/py3-pytest-regtest/APKBUILD | 32 +++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
create mode 100644 testing/py3-pytest-regtest/APKBUILD
diff --git a/testing/py3-pytest-regtest/APKBUILD b/testing/py3-pytest-regtest/APKBUILD
new file mode 100644
index 0000000000..7932d31aa1
--- /dev/null
+++ b/testing/py3-pytest-regtest/APKBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
+pkgname=py3-pytest-regtest
+_pyname="${pkgname#py3-}"
+pkgver=1.4.2
+pkgrel=0
+pkgdesc="pytest-regtest is a pytest-plugin for implementing regression tests"
+url="https://gitlab.com/uweschmitt/pytest-regtest"
+arch="noarch"
+license="MIT"
+depends="py3-pytest"
+makedepends="py3-setuptools"
+checkdepends="py3-pexpect py3-tox"
+_pypiprefix="${_pyname%${_pyname#?}}"
+source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
+builddir="$srcdir/$_pyname-$pkgver"
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ python3 setup.py test
+}
+
+package() {
+ python3 setup.py install \
+ --prefix=/usr \
+ --root="$pkgdir"
+
+}
+
+sha512sums="b93c8b5c68abd8b78e8bd1930fb638ffb90bb3f6fef9b99f7da67c974d1678239ae7e80852a6ed6034abb8a043180d2eacb4dbabb43a13ca74ddb0af8f281206 pytest-regtest-1.4.2.tar.gz"
--
2.23.0