dev-python/pytest-shutil: add pypy/pypy3 to PYTHON_COMPAT
authorTim Harder <radhermit@gentoo.org>
Thu, 21 Sep 2017 04:56:11 +0000 (00:56 -0400)
committerTim Harder <radhermit@gentoo.org>
Thu, 21 Sep 2017 05:14:49 +0000 (01:14 -0400)
dev-python/pytest-shutil/pytest-shutil-1.2.11.ebuild

index 9e003f9243ec835b84723401220c3118d30b982e..208a4abe0d994fb0e501471b102d333a12f3b924 100644 (file)
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} )
 
 inherit distutils-r1
 
@@ -31,5 +31,8 @@ DEPEND="
 "
 
 python_test() {
+       # various pickling errors, but code works to run pytest-virtualenv tests
+       [[ ${EPYTHON} == pypy ]] && return
+
        esetup.py test
 }