summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-07-11 19:35:50 +0200
committerMichał Górny <mgorny@gentoo.org>2018-07-12 00:11:19 +0200
commit523a3d6756d152fe4063c9e6ccc46e225c0aa55d (patch)
treefa1405880bbcca193fc31def9feb1379977c2621 /dev-python/pytest/pytest-3.4.2.ebuild
parentdev-python/pytest: Make tests verbose (diff)
downloadgentoo-523a3d6756d152fe4063c9e6ccc46e225c0aa55d.tar.gz
gentoo-523a3d6756d152fe4063c9e6ccc46e225c0aa55d.tar.bz2
gentoo-523a3d6756d152fe4063c9e6ccc46e225c0aa55d.zip
dev-python/pytest: Add PyPy test fix from Debian
Thanks to sbraz for finding the patch.
Diffstat (limited to 'dev-python/pytest/pytest-3.4.2.ebuild')
-rw-r--r--dev-python/pytest/pytest-3.4.2.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-python/pytest/pytest-3.4.2.ebuild b/dev-python/pytest/pytest-3.4.2.ebuild
index c543591cc90d..9fb19f1d81bf 100644
--- a/dev-python/pytest/pytest-3.4.2.ebuild
+++ b/dev-python/pytest/pytest-3.4.2.ebuild
@@ -45,6 +45,10 @@ RDEPEND="
!<dev-python/logilab-common-1.3.0"
python_prepare_all() {
+ local PATCHES=(
+ "${FILESDIR}"/pytest-3.4.2-pypy-syntaxerror-offset.patch
+ )
+
chmod o-w *egg*/* || die
# Disable versioning of py.test script to avoid collision with
# versioning performed by the eclass.