summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Zaman <perfinion@gentoo.org>2019-12-02 17:22:01 +0800
committerJason Zaman <perfinion@gentoo.org>2019-12-02 22:49:55 +0800
commit98133e8128660303ed88177f9f87bda8f4cc7928 (patch)
tree5eba1c7465b6f7370859285128a8741ce0b3bb97 /sci-libs
parentsci-libs/tensorflow: drop old (diff)
downloadgentoo-98133e8128660303ed88177f9f87bda8f4cc7928.tar.gz
gentoo-98133e8128660303ed88177f9f87bda8f4cc7928.tar.bz2
gentoo-98133e8128660303ed88177f9f87bda8f4cc7928.zip
sci-libs/tensorflow: drop python2_7 support
Bug: https://bugs.gentoo.org/696096 Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Jason Zaman <perfinion@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/tensorflow/tensorflow-1.14.0-r2.ebuild3
-rw-r--r--sci-libs/tensorflow/tensorflow-1.15.0_rc0.ebuild4
-rw-r--r--sci-libs/tensorflow/tensorflow-2.0.0.ebuild4
3 files changed, 3 insertions, 8 deletions
diff --git a/sci-libs/tensorflow/tensorflow-1.14.0-r2.ebuild b/sci-libs/tensorflow/tensorflow-1.14.0-r2.ebuild
index b30050d97da7..058b3c2aa83e 100644
--- a/sci-libs/tensorflow/tensorflow-1.14.0-r2.ebuild
+++ b/sci-libs/tensorflow/tensorflow-1.14.0-r2.ebuild
@@ -4,7 +4,7 @@
EAPI=7
DISTUTILS_OPTIONAL=1
-PYTHON_COMPAT=( python2_7 python{3_5,3_6,3_7} )
+PYTHON_COMPAT=( python{3_5,3_6,3_7} )
MY_PV=${PV/_rc/-rc}
MY_P=${PN}-${MY_PV}
@@ -89,7 +89,6 @@ RDEPEND="
>=sci-libs/keras-applications-1.0.6[${PYTHON_USEDEP}]
>=sci-libs/keras-preprocessing-1.0.5[${PYTHON_USEDEP}]
>=sci-visualization/tensorboard-1.13.0[${PYTHON_USEDEP}]
- virtual/python-enum34[${PYTHON_USEDEP}]
)"
DEPEND="${RDEPEND}
dev-python/mock"
diff --git a/sci-libs/tensorflow/tensorflow-1.15.0_rc0.ebuild b/sci-libs/tensorflow/tensorflow-1.15.0_rc0.ebuild
index e9f0fe1e0ab1..e41b07049ea6 100644
--- a/sci-libs/tensorflow/tensorflow-1.15.0_rc0.ebuild
+++ b/sci-libs/tensorflow/tensorflow-1.15.0_rc0.ebuild
@@ -4,7 +4,7 @@
EAPI=7
DISTUTILS_OPTIONAL=1
-PYTHON_COMPAT=( python2_7 python{3_5,3_6,3_7} )
+PYTHON_COMPAT=( python{3_5,3_6,3_7} )
MY_PV=${PV/_rc/-rc}
MY_P=${PN}-${MY_PV}
@@ -93,8 +93,6 @@ RDEPEND="
>=sci-libs/keras-applications-1.0.8[${PYTHON_USEDEP}]
>=sci-libs/keras-preprocessing-1.0.5[${PYTHON_USEDEP}]
>=sci-visualization/tensorboard-1.15.0[${PYTHON_USEDEP}]
- $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' 'python2*')
- $(python_gen_cond_dep 'dev-python/functools32[${PYTHON_USEDEP}]' 'python2*')
)"
DEPEND="${RDEPEND}
dev-python/mock"
diff --git a/sci-libs/tensorflow/tensorflow-2.0.0.ebuild b/sci-libs/tensorflow/tensorflow-2.0.0.ebuild
index e2067d413e56..4c12428e6e42 100644
--- a/sci-libs/tensorflow/tensorflow-2.0.0.ebuild
+++ b/sci-libs/tensorflow/tensorflow-2.0.0.ebuild
@@ -4,7 +4,7 @@
EAPI=7
DISTUTILS_OPTIONAL=1
-PYTHON_COMPAT=( python2_7 python{3_5,3_6,3_7} )
+PYTHON_COMPAT=( python{3_5,3_6,3_7} )
MY_PV=${PV/_rc/-rc}
MY_P=${PN}-${MY_PV}
@@ -93,8 +93,6 @@ RDEPEND="
>=sci-libs/keras-applications-1.0.8[${PYTHON_USEDEP}]
>=sci-libs/keras-preprocessing-1.0.5[${PYTHON_USEDEP}]
>=sci-visualization/tensorboard-2.0.0[${PYTHON_USEDEP}]
- $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' 'python2*')
- $(python_gen_cond_dep 'dev-python/functools32[${PYTHON_USEDEP}]' 'python2*')
)"
DEPEND="${RDEPEND}
dev-python/mock"