summaryrefslogtreecommitdiff
path: root/user/py3-pytest
diff options
context:
space:
mode:
Diffstat (limited to 'user/py3-pytest')
-rw-r--r--user/py3-pytest/APKBUILD18
-rw-r--r--user/py3-pytest/scm.patch12
2 files changed, 8 insertions, 22 deletions
diff --git a/user/py3-pytest/APKBUILD b/user/py3-pytest/APKBUILD
index 63616f400..a96f40e3c 100644
--- a/user/py3-pytest/APKBUILD
+++ b/user/py3-pytest/APKBUILD
@@ -2,20 +2,19 @@
# Maintainer: Max Rees <maxcrees@me.com>
pkgname=py3-pytest
_pkgname=pytest
-pkgver=5.0.1
-pkgrel=0
-pkgdesc="A python test library"
+pkgver=6.2.5
+pkgrel=1
+pkgdesc="Python test library"
url="https://pypi.python.org/pypi/pytest"
arch="noarch"
options="!check" # Cyclic dependency with itself. Passes on x86_64
# Certified net clean
license="MIT"
-depends="python3 py3-atomicwrites py3-attrs py3-more-itertools
+depends="python3 py3-atomicwrites py3-attrs py3-iniconfig py3-more-itertools
py3-packaging py3-pluggy py3-py py3-six py3-wcwidth"
makedepends="python3-dev"
-#checkdepends="py3-pytest py3-hypothesis"
-source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz
- scm.patch"
+checkdepends="py3-pytest py3-hypothesis"
+source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
@@ -23,14 +22,13 @@ 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="7624563a9d967da4cbf82cfff90bae8c0cca07b32e291dc7c5efa787725ed1a255edd066bf0d5fbd89b8cbed8cf5b619fe7c7017f44a7f8a014e3310c06bdbf9 py3-pytest-6.2.5.tar.gz"
diff --git a/user/py3-pytest/scm.patch b/user/py3-pytest/scm.patch
deleted file mode 100644
index ef45821cd..000000000
--- a/user/py3-pytest/scm.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- pytest-5.0.1/setup.py 2019-07-05 07:12:59.000000000 -0400
-+++ pytest-5.0.1/setup.py 2019-08-06 08:09:07.890005143 -0400
-@@ -19,7 +19,8 @@ INSTALL_REQUIRES = [
- def main():
- setup(
- 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",
- package_dir={"": "src"},
- # fmt: off
- extras_require={