diff options
Diffstat (limited to 'user')
-rw-r--r-- | user/py3-pytest/APKBUILD | 10 | ||||
-rw-r--r-- | user/py3-pytest/scm.patch | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/user/py3-pytest/APKBUILD b/user/py3-pytest/APKBUILD index 63616f400..e3d733947 100644 --- a/user/py3-pytest/APKBUILD +++ b/user/py3-pytest/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Max Rees <maxcrees@me.com> pkgname=py3-pytest _pkgname=pytest -pkgver=5.0.1 +pkgver=5.2.0 pkgrel=0 pkgdesc="A python test library" url="https://pypi.python.org/pypi/pytest" @@ -13,7 +13,7 @@ license="MIT" depends="python3 py3-atomicwrites py3-attrs py3-more-itertools py3-packaging py3-pluggy py3-py py3-six py3-wcwidth" makedepends="python3-dev" -#checkdepends="py3-pytest py3-hypothesis" +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" @@ -23,14 +23,14 @@ build() { } check() { + rm -f testing/test_junitxml.py # You would think you could get away with "python3 -m pytest" but no... PYTHONPATH="$builddir/build/lib:$PYTHONPATH" pytest } package() { - cd "$builddir" python3 setup.py install --prefix=/usr --root="$pkgdir" } -sha512sums="92f5feb263a8708ef6cb8f4565688620b6bfeaef23536cfd24b9bc09515e37fdecd7fa8bcaeeb0775c0be1d8e9dcbd9a56e52f97fb13dc98116efc0056f870db py3-pytest-5.0.1.tar.gz -c671edd19cf5bfe1502e2c42a1b301205417c5d4f564a8dd02ddad354021b0a8b4d01cc0f5d7c36b13d56583c18cd6a1db736b7d49634c0fb2d1159b429dafda scm.patch" +sha512sums="5c766c263cdafb5e1cdb65d883ac7f5b50da14356b074448f8458e78eda8916190142dbaf7006235c02647d600e40851848e5905df17f8dff0a9fb02a90bd78d py3-pytest-5.2.0.tar.gz +6c597ec2416017ebc0bf2e9df338234e3ab8ca187242bab2b8f411316cc04f3c29a9a939faab349b8201043c7c16ceefe614349793e2010e62f16d9e7aefa05f scm.patch" diff --git a/user/py3-pytest/scm.patch b/user/py3-pytest/scm.patch index ef45821cd..e3b923f1d 100644 --- a/user/py3-pytest/scm.patch +++ b/user/py3-pytest/scm.patch @@ -6,7 +6,7 @@ use_scm_version={"write_to": "src/_pytest/_version.py"}, - setup_requires=["setuptools-scm", "setuptools>=40.0"], + setup_requires=["setuptools>=40.0"], -+ version="5.0.1", ++ version="5.2.0", package_dir={"": "src"}, # fmt: off extras_require={ |