summaryrefslogtreecommitdiff
path: root/user/py3-pytest-relaxed
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-08-20 03:35:28 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-08-20 03:35:28 +0000
commitbc35fdf59e2f761bd52feedf89e5ef32ad3424ff (patch)
treebeb96cb7c99b6db66d75cc88186f4189ec2bcdb7 /user/py3-pytest-relaxed
parentb6e8e3697f30befee0b607eb0506c017d87903b0 (diff)
downloadpackages-bc35fdf59e2f761bd52feedf89e5ef32ad3424ff.tar.gz
packages-bc35fdf59e2f761bd52feedf89e5ef32ad3424ff.tar.bz2
packages-bc35fdf59e2f761bd52feedf89e5ef32ad3424ff.tar.xz
packages-bc35fdf59e2f761bd52feedf89e5ef32ad3424ff.zip
user/py3-pytest-relaxed: New package
Diffstat (limited to 'user/py3-pytest-relaxed')
-rw-r--r--user/py3-pytest-relaxed/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/user/py3-pytest-relaxed/APKBUILD b/user/py3-pytest-relaxed/APKBUILD
new file mode 100644
index 000000000..9f280b080
--- /dev/null
+++ b/user/py3-pytest-relaxed/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=py3-pytest-relaxed
+_pkgname=pytest-relaxed
+_p="${_pkgname#?}"
+_p="${_pkgname%"$_p"}"
+pkgver=1.1.5
+pkgrel=0
+pkgdesc="Relaxed test discovery for pytest"
+url="https://pytest-relaxed.readthedocs.io/en/latest/"
+arch="noarch"
+options="!check" # of course a test lib fails its own tests.
+license="BSD-2-Clause"
+depends="python3 py3-pytest py3-six py3-decorator"
+makedepends=""
+subpackages=""
+source="https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir/pytest-relaxed-$pkgver"
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ PYTHONPATH=. pytest
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="c4eb981e8969ec9e85c5f390227b5ee2e1c88da6bb331ac4ce7b97b0e0fc435a388f592439281e60d41be9e2858601bee11b527f5c29e496445f7d072e14eaad pytest-relaxed-1.1.5.tar.gz"