1 |
commit: e41f287d0c0c1ef9d47238639d5cb8a3136eadab |
2 |
Author: Diogo Pereira <sir.suriv <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Aug 7 00:35:07 2016 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 2 17:18:14 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e41f287d |
7 |
|
8 |
dev-python/rtslib: add version 3.0_pre4 |
9 |
|
10 |
Gentoo-Bug: https://bugs.gentoo.org/453272 |
11 |
Reported-by: Andrew Hamilton <andrew <AT> ahamilto.net> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/2034 |
13 |
|
14 |
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> |
15 |
|
16 |
dev-python/rtslib/Manifest | 1 + |
17 |
dev-python/rtslib/rtslib-3.0_pre4.ebuild | 42 ++++++++++++++++++++++++++++++++ |
18 |
2 files changed, 43 insertions(+) |
19 |
|
20 |
diff --git a/dev-python/rtslib/Manifest b/dev-python/rtslib/Manifest |
21 |
new file mode 100644 |
22 |
index 00000000..c04bd4c |
23 |
--- /dev/null |
24 |
+++ b/dev-python/rtslib/Manifest |
25 |
@@ -0,0 +1 @@ |
26 |
+DIST rtslib-3.0_pre4.tar.gz 63988 SHA256 1e4359d3897ccee0c6345f8d63292f2c8f71500f242baca12772877fbe25bda8 SHA512 5b4ff3dbaa379f177e08d0ffb54b575e7637c9ebf9ad98cdb2db2b93cde623d0c3a29c3ec9eb0a5542964438d8d5342691f483e2fdb81b7f1f64f37c701e0063 WHIRLPOOL 6ea742a6c756b8c473ef12f017ffc0ecdf2c9dae28f2169b1db99e5ac30f36806414b73c0bcb1e3c191582ae8bfd4ffc9cf15151537ad4354f15cc9c9dc8fa06 |
27 |
|
28 |
diff --git a/dev-python/rtslib/rtslib-3.0_pre4.ebuild b/dev-python/rtslib/rtslib-3.0_pre4.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000..df18a05 |
31 |
--- /dev/null |
32 |
+++ b/dev-python/rtslib/rtslib-3.0_pre4.ebuild |
33 |
@@ -0,0 +1,42 @@ |
34 |
+# Copyright 1999-2016 Gentoo Foundation |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+# $Id$ |
37 |
+ |
38 |
+EAPI=6 |
39 |
+ |
40 |
+PYTHON_COMPAT=( python2_7 ) |
41 |
+ |
42 |
+inherit distutils-r1 |
43 |
+ |
44 |
+DESCRIPTION="RTSLib Community Edition for target_core_mod/ConfigFS" |
45 |
+HOMEPAGE="http://linux-iscsi.org/wiki/targetcli" |
46 |
+ |
47 |
+LICENSE="Apache-2.0" |
48 |
+SLOT="0" |
49 |
+IUSE="" |
50 |
+ |
51 |
+if [[ ${PV} == 9999 ]]; then |
52 |
+ inherit git-r3 |
53 |
+ EGIT_REPO_URI="git://github.com/Datera/${PN}.git |
54 |
+ https://github.com/Datera/${PN}.git" |
55 |
+ KEYWORDS="" |
56 |
+else |
57 |
+ MY_PV=${PV/_/-} |
58 |
+ SRC_URI="https://github.com/Datera/${PN}/archive/${PV/_/-}.tar.gz -> ${P}.tar.gz" |
59 |
+ S="${WORKDIR}/${PN}-${MY_PV}" |
60 |
+ KEYWORDS="~amd64" |
61 |
+fi |
62 |
+ |
63 |
+DEPEND="dev-python/configobj[${PYTHON_USEDEP}] |
64 |
+ dev-python/ipaddr[${PYTHON_USEDEP}] |
65 |
+ dev-python/netifaces[${PYTHON_USEDEP}] |
66 |
+ dev-python/pyparsing[${PYTHON_USEDEP}] |
67 |
+ !dev-python/rtslib-fb" |
68 |
+RDEPEND="${DEPEND}" |
69 |
+ |
70 |
+src_install() { |
71 |
+ distutils-r1_src_install |
72 |
+ keepdir /var/target/fabric |
73 |
+ insinto /var/target/fabric |
74 |
+ doins specs/*.spec |
75 |
+} |