From 8bd0e572816d42d96ea17e86140cefc66e82f313 Mon Sep 17 00:00:00 2001 From: Max Rees Date: Thu, 11 Oct 2018 02:02:42 -0400 Subject: user/py3-pytest: bump to 3.9.1, drop py3-tox dep --- user/py3-pytest/APKBUILD | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) (limited to 'user/py3-pytest/APKBUILD') diff --git a/user/py3-pytest/APKBUILD b/user/py3-pytest/APKBUILD index 8d720971e..6965bf73a 100644 --- a/user/py3-pytest/APKBUILD +++ b/user/py3-pytest/APKBUILD @@ -2,17 +2,20 @@ # Maintainer: Max Rees pkgname=py3-pytest _pkgname=pytest -pkgver=3.5.1 -pkgrel=1 +pkgver=3.9.1 +pkgrel=0 pkgdesc="A python test library" url="https://pypi.python.org/pypi/pytest" arch="noarch" -options="net !check" # Circular dependency with py3-tox. Passes on x86_64 +options="!checkroot !check" # Cyclic dependency with itself. Passes on x86_64 +# Certified net clean license="MIT" -depends="python3 py3-py py3-more-itertools py3-six py3-pluggy py3-attrs" +depends="python3 py3-atomicwrites py3-attrs py3-more-itertools + py3-pluggy py3-py py3-six" makedepends="python3-dev" -#checkdepends="py3-tox" -source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +#checkdepends="py3-pytest py3-hypothesis" +source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz + scm.patch" builddir="$srcdir/$_pkgname-$pkgver" build() { @@ -22,7 +25,8 @@ build() { check() { cd "$builddir" - tox -e py36 + # You would think you could get away with "python3 -m pytest" but no... + PYTHONPATH="$builddir/build/lib:$PYTHONPATH" pytest } package() { @@ -30,4 +34,5 @@ package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } -sha512sums="5f54251b197b4bebadb06536054b4f79e16c5cec2cdfd7d95fd74548b8ecfaddaafeb635eb90d085fe4d4bea1108f951fe500d0e548cc8b797b0d23e0c2693a0 py3-pytest-3.5.1.tar.gz" +sha512sums="0a3a6842fb549c8223f0ddf56ca28eb200a21a4cadf382fbcd2ab930c58d57c55c77d5869e84bd79bf611d959cba6d363ace3b5fd33d5ce44259fd580b1a9369 py3-pytest-3.9.1.tar.gz +7fc2cd75f55caa661fb4bed578955511ee38cd28a25fcb405c29eb7227a382c33c0fc52a4eeb8950315793dfc0eb02235b140415deebd113f24df1a320b25959 scm.patch" -- cgit v1.2.3-70-g09d2