From bc35fdf59e2f761bd52feedf89e5ef32ad3424ff Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Thu, 20 Aug 2020 03:35:28 +0000 Subject: user/py3-pytest-relaxed: New package --- user/py3-pytest-relaxed/APKBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 user/py3-pytest-relaxed/APKBUILD (limited to 'user/py3-pytest-relaxed') 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 +# Maintainer: A. Wilcox +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" -- cgit v1.2.3-70-g09d2