From e66d95524fd3257733a713d9a2ed2a1197831b1f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 16 Jan 2020 06:45:38 +0100 Subject: [PATCH] dev-python/theano: Remove Python 2 from 1.0.4 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- 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 68db6a25ddc7..6b6457147cc1 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 } -- 2.26.2