commit: e66d95524fd3257733a713d9a2ed2a1197831b1f
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 16 05:45:38 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jan 16 06:04:59 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e66d9552
dev-python/theano: Remove Python 2 from 1.0.4
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/theano/theano-1.0.4.ebuild | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/dev-python/theano/theano-1.0.4.ebuild
b/dev-python/theano/theano-1.0.4.ebuild
index 68db6a25ddc..6b6457147cc 100644
--- a/dev-python/theano/theano-1.0.4.ebuild
+++ b/dev-python/theano/theano-1.0.4.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python2_7 python3_{6,7} )
+PYTHON_COMPAT=( python3_{6,7} )
inherit distutils-r1 eutils
@@ -25,10 +25,10 @@ RDEPEND="
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
- dev-python/flake8[${PYTHON_USEDEP}]
- dev-python/nose[${PYTHON_USEDEP}]
- dev-python/parameterized[${PYTHON_USEDEP}]
- dev-python/pyflakes[${PYTHON_USEDEP}]
+ dev-python/flake8[${PYTHON_USEDEP}]
+ dev-python/nose[${PYTHON_USEDEP}]
+ dev-python/parameterized[${PYTHON_USEDEP}]
+ dev-python/pyflakes[${PYTHON_USEDEP}]
)"
S="${WORKDIR}/${PN^}-${PV}"
@@ -36,7 +36,7 @@ S="${WORKDIR}/${PN^}-${PV}"
python_prepare_all() {
# remove bundled six
find -type f -name "*.py" -exec \
- sed -e 's:theano.compat.six:six:g' -i '{}' + || die
+ sed -e 's:theano.compat.six:six:g' -i '{}' + || die
distutils-r1_python_prepare_all
}