summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHorea Christian <horea.christ@yandex.com>2017-04-16 10:20:34 +0200
committerMichał Górny <mgorny@gentoo.org>2017-04-20 18:14:31 +0200
commit7cc1368b6f7c2c095c5faeae6a9f9eadbccdb114 (patch)
tree258239bf4f3df21e920b89d3e98f41e23415af2e /dev-python/traits
parentapp-text/cmark: use python-any-r1 instead hardcoded, #615908 (diff)
downloadgentoo-7cc1368b6f7c2c095c5faeae6a9f9eadbccdb114.tar.gz
gentoo-7cc1368b6f7c2c095c5faeae6a9f9eadbccdb114.tar.bz2
gentoo-7cc1368b6f7c2c095c5faeae6a9f9eadbccdb114.zip
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
Diffstat (limited to 'dev-python/traits')
-rw-r--r--dev-python/traits/traits-4.6.0.ebuild7
1 files changed, 0 insertions, 7 deletions
diff --git a/dev-python/traits/traits-4.6.0.ebuild b/dev-python/traits/traits-4.6.0.ebuild
index cb749d80fa20..cfc695b51c52 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