projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
984ddfc
)
dev-python/traits: removed syntax conversion for tests
author
Horea Christian
<horea.christ@yandex.com>
Sun, 16 Apr 2017 08:20:34 +0000
(10:20 +0200)
committer
Michał 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
patch
|
blob
|
history
diff --git
a/dev-python/traits/traits-4.6.0.ebuild
b/dev-python/traits/traits-4.6.0.ebuild
index cb749d80fa2051c4cc05ee969a00846aeeba7bde..cfc695b51c525f5371b185213e2b4784a3c6e3ab 100644
(file)
--- 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