1 |
commit: f1ef02f862b4dd03c4d796d01344fff5ed397951 |
2 |
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 27 09:51:47 2020 +0000 |
4 |
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 27 09:51:47 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=f1ef02f8 |
7 |
|
8 |
dev-python/PyVISA: Bump to Python 3.6. |
9 |
|
10 |
Update homepage. |
11 |
|
12 |
Package-Manager: Portage-2.3.79, Repoman-2.3.18 |
13 |
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org> |
14 |
|
15 |
dev-python/PyVISA/PyVISA-1.8.ebuild | 13 ++++--------- |
16 |
dev-python/PyVISA/PyVISA-9999.ebuild | 15 +++++---------- |
17 |
dev-python/PyVISA/metadata.xml | 2 +- |
18 |
3 files changed, 10 insertions(+), 20 deletions(-) |
19 |
|
20 |
diff --git a/dev-python/PyVISA/PyVISA-1.8.ebuild b/dev-python/PyVISA/PyVISA-1.8.ebuild |
21 |
index e16717b37..bc6311678 100644 |
22 |
--- a/dev-python/PyVISA/PyVISA-1.8.ebuild |
23 |
+++ b/dev-python/PyVISA/PyVISA-1.8.ebuild |
24 |
@@ -1,13 +1,13 @@ |
25 |
-# Copyright 1999-2017 Gentoo Foundation |
26 |
+# Copyright 1999-2020 Gentoo Authors |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
|
29 |
-EAPI=6 |
30 |
-PYTHON_COMPAT=( python2_7 python{3_4,3_5} ) |
31 |
+EAPI=7 |
32 |
+PYTHON_COMPAT=( python3_6 ) |
33 |
|
34 |
inherit distutils-r1 |
35 |
|
36 |
DESCRIPTION="Python VISA bindings for GPIB, RS232, and USB instruments" |
37 |
-HOMEPAGE="https://github.com/hgrecco/pyvisa" |
38 |
+HOMEPAGE="https://pyvisa.readthedocs.io" |
39 |
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
40 |
|
41 |
LICENSE="MIT" |
42 |
@@ -15,11 +15,6 @@ SLOT="0" |
43 |
KEYWORDS="~amd64" |
44 |
IUSE="test" |
45 |
|
46 |
-RDEPEND=" |
47 |
- $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7) |
48 |
- " |
49 |
-DEPEND="${RDEPEND}" |
50 |
- |
51 |
python_test() { |
52 |
esetup.py test |
53 |
} |
54 |
|
55 |
diff --git a/dev-python/PyVISA/PyVISA-9999.ebuild b/dev-python/PyVISA/PyVISA-9999.ebuild |
56 |
index a51331354..cc113f649 100644 |
57 |
--- a/dev-python/PyVISA/PyVISA-9999.ebuild |
58 |
+++ b/dev-python/PyVISA/PyVISA-9999.ebuild |
59 |
@@ -1,24 +1,19 @@ |
60 |
-# Copyright 1999-2016 Gentoo Foundation |
61 |
+# Copyright 1999-2020 Gentoo Authors |
62 |
# Distributed under the terms of the GNU General Public License v2 |
63 |
|
64 |
-EAPI=6 |
65 |
-PYTHON_COMPAT=( python2_7 python{3_4,3_5} ) |
66 |
+EAPI=7 |
67 |
+PYTHON_COMPAT=( python3_6 ) |
68 |
|
69 |
inherit distutils-r1 git-r3 |
70 |
|
71 |
DESCRIPTION="Python VISA bindings for GPIB, RS232, and USB instruments" |
72 |
-HOMEPAGE="https://github.com/hgrecco/pyvisa-py" |
73 |
+HOMEPAGE="https://pyvisa.readthedocs.io" |
74 |
EGIT_REPO_URI="https://github.com/hgrecco/${PN}.git git://github.com/${PN}/${PN}.git" |
75 |
|
76 |
LICENSE="MIT" |
77 |
SLOT="0" |
78 |
IUSE="test" |
79 |
|
80 |
-RDEPEND=" |
81 |
- $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7) |
82 |
- " |
83 |
-DEPEND="${RDEPEND}" |
84 |
- |
85 |
python_test() { |
86 |
esetup.py test |
87 |
-} |
88 |
\ No newline at end of file |
89 |
+} |
90 |
|
91 |
diff --git a/dev-python/PyVISA/metadata.xml b/dev-python/PyVISA/metadata.xml |
92 |
index 1a5f4a861..332d2e0dc 100644 |
93 |
--- a/dev-python/PyVISA/metadata.xml |
94 |
+++ b/dev-python/PyVISA/metadata.xml |
95 |
@@ -15,7 +15,7 @@ Architecture" (VISA), in order to control measurement devices and |
96 |
test equipment via GPIB, RS232, Ethernet or USB. |
97 |
</longdescription> |
98 |
<upstream> |
99 |
- <remote-id type="github">hgrecco/pyvisa-py</remote-id> |
100 |
+ <remote-id type="github">pyvisa/pyvisa</remote-id> |
101 |
<remote-id type="pypi">PyVISA</remote-id> |
102 |
</upstream> |
103 |
</pkgmetadata> |