commit:     809156a6ce6bd89c545441696611afadae1fc815
Author:     Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Tue Oct 20 19:51:09 2020 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Tue Oct 20 19:51:09 2020 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=809156a6

dev-python/PyVISA: PYTHON_COMPAT, dep, and test updates

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Horea Christian <chr <AT> chymera.eu>

 dev-python/PyVISA/PyVISA-1.9.1.ebuild | 17 ++++++++---------
 dev-python/PyVISA/PyVISA-9999.ebuild  | 16 ++++++++++------
 2 files changed, 18 insertions(+), 15 deletions(-)

diff --git a/dev-python/PyVISA/PyVISA-1.9.1.ebuild 
b/dev-python/PyVISA/PyVISA-1.9.1.ebuild
index 5520ac62b..e56a983c5 100644
--- a/dev-python/PyVISA/PyVISA-1.9.1.ebuild
+++ b/dev-python/PyVISA/PyVISA-1.9.1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-PYTHON_COMPAT=( python2_7 python3_{5,6} )
+EAPI=7
+PYTHON_COMPAT=( python3_{6..9} )
 
 inherit distutils-r1
 
@@ -15,11 +15,10 @@ SLOT="0"
 KEYWORDS="~amd64"
 IUSE="test"
 
-RDEPEND="
-       $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7)
-       "
+RDEPEND=""
 DEPEND="${RDEPEND}"
 
-python_test() {
-       esetup.py test
-}
+distutils_enable_tests unittest
+#python_test() {
+#      esetup.py test
+#}

diff --git a/dev-python/PyVISA/PyVISA-9999.ebuild 
b/dev-python/PyVISA/PyVISA-9999.ebuild
index 65af77c0e..5c5a1ce95 100644
--- a/dev-python/PyVISA/PyVISA-9999.ebuild
+++ b/dev-python/PyVISA/PyVISA-9999.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-PYTHON_COMPAT=( python2_7 python3_{5,6} )
+EAPI=7
+PYTHON_COMPAT=( python3_{6..9} )
 
 inherit distutils-r1 git-r3
 
@@ -14,6 +14,10 @@ LICENSE="MIT"
 SLOT="0"
 IUSE="test"
 
-python_test() {
-       esetup.py test
-}
+RDEPEND=""
+DEPEND="${RDEPEND}"
+
+distutils_enable_tests unittest
+#python_test() {
+#      esetup.py test
+#}

Reply via email to