commit:     98133e8128660303ed88177f9f87bda8f4cc7928
Author:     Jason Zaman <perfinion <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  2 09:22:01 2019 +0000
Commit:     Jason Zaman <perfinion <AT> gentoo <DOT> org>
CommitDate: Mon Dec  2 14:49:55 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98133e81

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 <AT> gentoo.org>

 sci-libs/tensorflow/tensorflow-1.14.0-r2.ebuild  | 3 +--
 sci-libs/tensorflow/tensorflow-1.15.0_rc0.ebuild | 4 +---
 sci-libs/tensorflow/tensorflow-2.0.0.ebuild      | 4 +---
 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 b30050d97da..058b3c2aa83 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 e9f0fe1e0ab..e41b07049ea 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 e2067d413e5..4c12428e6e4 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"

Reply via email to