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
This commit is contained in:
Horea Christian
2017-04-16 10:20:34 +02:00
committed by Michał Górny
parent 984ddfca7e
commit 7cc1368b6f

View 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