summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-12-23 12:35:58 +0100
committerMichał Górny <mgorny@gentoo.org>2022-12-23 12:35:58 +0100
commit73d14a4a018149b161cc1f1015666a43bcda8bf9 (patch)
tree64695ee789025a6a1bb7e6ef3f8624a1f1532452 /dev-python/execnet
parentdev-python/breathe: Update homepages (diff)
downloadgentoo-73d14a4a018149b161cc1f1015666a43bcda8bf9.tar.gz
gentoo-73d14a4a018149b161cc1f1015666a43bcda8bf9.tar.bz2
gentoo-73d14a4a018149b161cc1f1015666a43bcda8bf9.zip
dev-python/execnet: Fix tests with pytest-7.2
Closes: https://bugs.gentoo.org/887937 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/execnet')
-rw-r--r--dev-python/execnet/Manifest1
-rw-r--r--dev-python/execnet/execnet-1.9.0-r1.ebuild13
2 files changed, 13 insertions, 1 deletions
diff --git a/dev-python/execnet/Manifest b/dev-python/execnet/Manifest
index 35b9547d7fbe..1db329bdb8c7 100644
--- a/dev-python/execnet/Manifest
+++ b/dev-python/execnet/Manifest
@@ -1 +1,2 @@
+DIST execnet-1.9.0-pytest-7.2.patch 11177 BLAKE2B 6d6d0c76de606305ed0ca4f0f52d5ccc0cc3ab99d795ac2f4d39d3804cd5c0191f75704ee5eafcd135dc9854eef99a59dbd9cf57a8455b6b9cd45f2612fbcdba SHA512 ae16b3127545efe77a49392836a8940a053967e530a6288660a39edba9b35b448d0061ac7ac751c3be68de2cf5410655c2db55d344519f69db7c9ed4f7ca0003
DIST execnet-1.9.0.tar.gz 173884 BLAKE2B 622a1f47365bdea97ba53aee908faf990ef847e3641ab0590073cdd6eac3413d1517f16e8e5b73b56884f02aebb3142691ecf6113e14f9c49c9b0fef3ee3247c SHA512 d425e7b6f3708efecb5dfa2c36a837cb55f2c32cf2ec0c1dc11cd1ca6ea614d119d04908b84dd5a3593c87db35e71fee202f843665c853ac3538479f60c83d60
diff --git a/dev-python/execnet/execnet-1.9.0-r1.ebuild b/dev-python/execnet/execnet-1.9.0-r1.ebuild
index 1c7c068e0aeb..e4915e9ea1df 100644
--- a/dev-python/execnet/execnet-1.9.0-r1.ebuild
+++ b/dev-python/execnet/execnet-1.9.0-r1.ebuild
@@ -13,7 +13,11 @@ HOMEPAGE="
https://codespeak.net/execnet/
https://pypi.org/project/execnet/
"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+SRC_URI="
+ mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
+ https://github.com/pytest-dev/execnet/commit/c0459b92bc4a42b08281e69b8802d24c5d3415d4.patch
+ -> ${P}-pytest-7.2.patch
+"
LICENSE="MIT"
SLOT="0"
@@ -21,11 +25,18 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv
BDEPEND="
dev-python/setuptools_scm[${PYTHON_USEDEP}]
+ test? (
+ dev-python/py[${PYTHON_USEDEP}]
+ )
"
distutils_enable_sphinx doc
distutils_enable_tests pytest
+PATCHES=(
+ "${DISTDIR}"/${P}-pytest-7.2.patch
+)
+
EPYTEST_DESELECT=(
# needs python2.7 with apipkg?
'testing/test_termination.py::test_close_initiating_remote_no_error[python2.7]'