commit:     69bb7587050a5a4e68e7fcb64b69b7b75477cdf2
Author:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Wed Oct  7 01:43:30 2020 +0000
Commit:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Wed Oct  7 01:43:30 2020 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=69bb7587

dev-python/python-vxi11: version bump to 0.9

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>

 dev-python/python-vxi11/python-vxi11-0.9.ebuild  | 21 +++++++++++++++++++++
 dev-python/python-vxi11/python-vxi11-9999.ebuild | 21 ++++++++++++++-------
 2 files changed, 35 insertions(+), 7 deletions(-)

diff --git a/dev-python/python-vxi11/python-vxi11-0.9.ebuild 
b/dev-python/python-vxi11/python-vxi11-0.9.ebuild
new file mode 100644
index 000000000..fc6f73ae7
--- /dev/null
+++ b/dev-python/python-vxi11/python-vxi11-0.9.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6..9} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+inherit distutils-r1
+
+DESCRIPTION="Provides a pure Python VXI-11 driver for controlling instruments 
over Ethernet"
+HOMEPAGE="https://github.com/python-ivi/python-vxi11";
+
+if [[ ${PV} == 9999 ]] ; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/python-ivi/python-vxi11";
+else
+       
SRC_URI="https://github.com/python-ivi/python-vxi11/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+       KEYWORDS="~amd64"
+fi
+
+LICENSE="MIT"
+SLOT="0"

diff --git a/dev-python/python-vxi11/python-vxi11-9999.ebuild 
b/dev-python/python-vxi11/python-vxi11-9999.ebuild
index f0da2f343..fc6f73ae7 100644
--- a/dev-python/python-vxi11/python-vxi11-9999.ebuild
+++ b/dev-python/python-vxi11/python-vxi11-9999.ebuild
@@ -1,14 +1,21 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-PYTHON_COMPAT=( python2_7 python{3_4,3_5} )
-
-inherit distutils-r1 git-r3
+EAPI=7
+PYTHON_COMPAT=( python3_{6..9} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+inherit distutils-r1
 
 DESCRIPTION="Provides a pure Python VXI-11 driver for controlling instruments 
over Ethernet"
 HOMEPAGE="https://github.com/python-ivi/python-vxi11";
-EGIT_REPO_URI="https://github.com/python-ivi/${PN}.git 
git://github.com/python-ivi/${PN}.git"
+
+if [[ ${PV} == 9999 ]] ; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/python-ivi/python-vxi11";
+else
+       
SRC_URI="https://github.com/python-ivi/python-vxi11/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+       KEYWORDS="~amd64"
+fi
 
 LICENSE="MIT"
-SLOT="0"
\ No newline at end of file
+SLOT="0"

Reply via email to