diff options
author | Max Rees <maxcrees@me.com> | 2018-10-11 02:02:42 -0400 |
---|---|---|
committer | Max Rees <maxcrees@me.com> | 2018-10-22 20:22:08 -0400 |
commit | 8bd0e572816d42d96ea17e86140cefc66e82f313 (patch) | |
tree | 814c9ee2b1f3f84d562ef7b9d13e1d4dfd4f369c /user | |
parent | f89370f674e3ec1bc46261a867a6e01fe0b13846 (diff) | |
download | packages-8bd0e572816d42d96ea17e86140cefc66e82f313.tar.gz packages-8bd0e572816d42d96ea17e86140cefc66e82f313.tar.bz2 packages-8bd0e572816d42d96ea17e86140cefc66e82f313.tar.xz packages-8bd0e572816d42d96ea17e86140cefc66e82f313.zip |
user/py3-pytest: bump to 3.9.1, drop py3-tox dep
Diffstat (limited to 'user')
-rw-r--r-- | user/py3-pytest/APKBUILD | 21 | ||||
-rw-r--r-- | user/py3-pytest/scm.patch | 13 |
2 files changed, 26 insertions, 8 deletions
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 <maxcrees@me.com> 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" diff --git a/user/py3-pytest/scm.patch b/user/py3-pytest/scm.patch new file mode 100644 index 000000000..799eefac0 --- /dev/null +++ b/user/py3-pytest/scm.patch @@ -0,0 +1,13 @@ +--- pytest-3.9.1/setup.py 2018-10-16 15:46:37.000000000 -0400 ++++ pytest-3.9.1/setup.py 2018-10-22 19:32:49.261592294 -0400 +@@ -25,8 +25,8 @@ if "_PYTEST_SETUP_SKIP_PLUGGY_DEP" not i + + def main(): + setup( +- use_scm_version={"write_to": "src/_pytest/_version.py"}, +- setup_requires=["setuptools-scm", "setuptools>=30.3"], ++ setup_requires=["setuptools>=30.3"], ++ version="3.9.1", + package_dir={"": "src"}, + install_requires=INSTALL_REQUIRES, + ) |