Gentoo Archives: gentoo-commits

From: Aisha Tammy <gentoo@×××××.cc>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: dev-python/python-vxi11/
Date: Wed, 07 Oct 2020 01:45:10
Message-Id: 1602035010.69bb7587050a5a4e68e7fcb64b69b7b75477cdf2.epsilon-0@gentoo
1 commit: 69bb7587050a5a4e68e7fcb64b69b7b75477cdf2
2 Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
3 AuthorDate: Wed Oct 7 01:43:30 2020 +0000
4 Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
5 CommitDate: Wed Oct 7 01:43:30 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=69bb7587
7
8 dev-python/python-vxi11: version bump to 0.9
9
10 Package-Manager: Portage-3.0.8, Repoman-3.0.1
11 Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
12
13 dev-python/python-vxi11/python-vxi11-0.9.ebuild | 21 +++++++++++++++++++++
14 dev-python/python-vxi11/python-vxi11-9999.ebuild | 21 ++++++++++++++-------
15 2 files changed, 35 insertions(+), 7 deletions(-)
16
17 diff --git a/dev-python/python-vxi11/python-vxi11-0.9.ebuild b/dev-python/python-vxi11/python-vxi11-0.9.ebuild
18 new file mode 100644
19 index 000000000..fc6f73ae7
20 --- /dev/null
21 +++ b/dev-python/python-vxi11/python-vxi11-0.9.ebuild
22 @@ -0,0 +1,21 @@
23 +# Copyright 1999-2020 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=7
27 +PYTHON_COMPAT=( python3_{6..9} )
28 +DISTUTILS_USE_SETUPTOOLS=rdepend
29 +inherit distutils-r1
30 +
31 +DESCRIPTION="Provides a pure Python VXI-11 driver for controlling instruments over Ethernet"
32 +HOMEPAGE="https://github.com/python-ivi/python-vxi11"
33 +
34 +if [[ ${PV} == 9999 ]] ; then
35 + inherit git-r3
36 + EGIT_REPO_URI="https://github.com/python-ivi/python-vxi11"
37 +else
38 + SRC_URI="https://github.com/python-ivi/python-vxi11/archive/v${PV}.tar.gz -> ${P}.tar.gz"
39 + KEYWORDS="~amd64"
40 +fi
41 +
42 +LICENSE="MIT"
43 +SLOT="0"
44
45 diff --git a/dev-python/python-vxi11/python-vxi11-9999.ebuild b/dev-python/python-vxi11/python-vxi11-9999.ebuild
46 index f0da2f343..fc6f73ae7 100644
47 --- a/dev-python/python-vxi11/python-vxi11-9999.ebuild
48 +++ b/dev-python/python-vxi11/python-vxi11-9999.ebuild
49 @@ -1,14 +1,21 @@
50 -# Copyright 1999-2016 Gentoo Foundation
51 +# Copyright 1999-2020 Gentoo Authors
52 # Distributed under the terms of the GNU General Public License v2
53
54 -EAPI=6
55 -PYTHON_COMPAT=( python2_7 python{3_4,3_5} )
56 -
57 -inherit distutils-r1 git-r3
58 +EAPI=7
59 +PYTHON_COMPAT=( python3_{6..9} )
60 +DISTUTILS_USE_SETUPTOOLS=rdepend
61 +inherit distutils-r1
62
63 DESCRIPTION="Provides a pure Python VXI-11 driver for controlling instruments over Ethernet"
64 HOMEPAGE="https://github.com/python-ivi/python-vxi11"
65 -EGIT_REPO_URI="https://github.com/python-ivi/${PN}.git git://github.com/python-ivi/${PN}.git"
66 +
67 +if [[ ${PV} == 9999 ]] ; then
68 + inherit git-r3
69 + EGIT_REPO_URI="https://github.com/python-ivi/python-vxi11"
70 +else
71 + SRC_URI="https://github.com/python-ivi/python-vxi11/archive/v${PV}.tar.gz -> ${P}.tar.gz"
72 + KEYWORDS="~amd64"
73 +fi
74
75 LICENSE="MIT"
76 -SLOT="0"
77 \ No newline at end of file
78 +SLOT="0"