Only in subunit: files diff -ur subunit.orig/subunit-0.0.8.ebuild subunit/subunit-0.0.8.ebuild --- subunit.orig/subunit-0.0.8.ebuild 2012-05-09 18:10:58.452305302 +0800 +++ subunit/subunit-0.0.8.ebuild 2012-05-09 20:41:45.756628929 +0800 @@ -2,8 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-python/subunit/subunit-0.0.8.ebuild,v 1.3 2012/05/04 15:12:14 patrick Exp $ -EAPI="3" -PYTHON_DEPEND="2" +EAPI="4" SUPPORT_PYTHON_ABIS="1" PYTHON_EXPORT_PHASE_FUNCTIONS="1" @@ -24,7 +23,16 @@ dev-libs/check dev-util/cppunit virtual/pkgconfig" -RESTRICT_PYTHON_ABIS="3.*" + +# ooopsie, they forgot a couple of files!!!! +# Arfrever suggested to add also the setup.py, filters/{subunit-notify,subunit2csv} +# though works without them. Now supports python3 +# https://bugs.launchpad.net/subunit/+bug/996275 +src_prepare() { + cp "${FILESDIR}"/test_run.py python/subunit/tests || die + cp "${FILESDIR}"/filters.py python/subunit || die + python_src_prepare +} pkg_postinst() { python_mod_optimize subunit