mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 10:38:07 -07:00
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:
committed by
Michał Górny
parent
984ddfca7e
commit
7cc1368b6f
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user