commit:     7cc1368b6f7c2c095c5faeae6a9f9eadbccdb114
Author:     Horea Christian <horea.christ <AT> yandex <DOT> com>
AuthorDate: Sun Apr 16 08:20:34 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Apr 20 16:14:31 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cc1368b

dev-python/traits: removed syntax conversion for tests

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 | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/dev-python/traits/traits-4.6.0.ebuild 
b/dev-python/traits/traits-4.6.0.ebuild
index cb749d80fa2..cfc695b51c5 100644
--- a/dev-python/traits/traits-4.6.0.ebuild
+++ b/dev-python/traits/traits-4.6.0.ebuild
@@ -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

Reply via email to