commit:     c3b880a3b86f0fa3a3d9ee350654c3ded3a1d2db
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  2 18:58:54 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Aug  2 18:58:54 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3b880a3

dev-python/babelfish: add Python 3.9

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/babelfish/babelfish-0.5.5-r1.ebuild | 12 +++---------
 dev-python/babelfish/babelfish-9999.ebuild     | 13 +++----------
 2 files changed, 6 insertions(+), 19 deletions(-)

diff --git a/dev-python/babelfish/babelfish-0.5.5-r1.ebuild 
b/dev-python/babelfish/babelfish-0.5.5-r1.ebuild
index 878569ad886..d279ec9809e 100644
--- a/dev-python/babelfish/babelfish-0.5.5-r1.ebuild
+++ b/dev-python/babelfish/babelfish-0.5.5-r1.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6,7,8,9} )
 
 inherit distutils-r1
 
@@ -14,11 +14,5 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="amd64 x86"
-IUSE=""
 
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-RDEPEND="${DEPEND}"
-
-python_test() {
-       esetup.py test
-}
+distutils_enable_tests setup.py

diff --git a/dev-python/babelfish/babelfish-9999.ebuild 
b/dev-python/babelfish/babelfish-9999.ebuild
index dcc8f1dacc4..382197499a3 100644
--- a/dev-python/babelfish/babelfish-9999.ebuild
+++ b/dev-python/babelfish/babelfish-9999.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{7,8,9} )
 
 inherit distutils-r1 git-r3
 
@@ -13,12 +13,5 @@ EGIT_REPO_URI="https://github.com/Diaoul/${PN}.git";
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS=""
-IUSE=""
 
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-RDEPEND="${DEPEND}"
-
-python_test() {
-       esetup.py test
-}
+distutils_enable_tests setup.py

Reply via email to