dev-python/traits: removed syntax conversion for tests
authorHorea Christian <horea.christ@yandex.com>
Sun, 16 Apr 2017 08:20:34 +0000 (10:20 +0200)
committerMichał Górny <mgorny@gentoo.org>
Thu, 20 Apr 2017 16:14:31 +0000 (18:14 +0200)
Closes: https://github.com/gentoo/gentoo/pull/4428
Package-Manager: Portage-2.3.5, Repoman-2.3.2

dev-python/traits/traits-4.6.0.ebuild

index cb749d80fa2051c4cc05ee969a00846aeeba7bde..cfc695b51c525f5371b185213e2b4784a3c6e3ab 100644 (file)
@@ -22,13 +22,6 @@ DEPEND="
        dev-python/setuptools[${PYTHON_USEDEP}]
        test? ( ${RDEPEND} )"
 
-python_prepare() {
-       if python_is_python3; then
-               einfo "Converting tests to Python 3 syntax"
-               2to3 -w -n --no-diffs traits/testing || die
-       fi
-}
-
 python_prepare_all() {
        sed -i -e "s/'-O3'//g" setup.py || die
        distutils-r1_python_prepare_all