1 |
commit: f73c27503f9a144a73ff160d5b03c33ea80ba406 |
2 |
Author: Diogo Pereira <sir.suriv <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Aug 6 22:18:59 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=f73c2750 |
7 |
|
8 |
dev-python/rtslib: update live ebuild |
9 |
|
10 |
* Bump to EAPI 6 |
11 |
* Update git repository URI |
12 |
* Change license to Apache-2.0 |
13 |
* Add DEPEND on dev-python/pyparsing |
14 |
|
15 |
Closes: https://github.com/gentoo/gentoo/pull/2034 |
16 |
|
17 |
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> |
18 |
|
19 |
dev-python/rtslib/rtslib-9999.ebuild | 32 ++++++++++++++++++++------------ |
20 |
1 file changed, 20 insertions(+), 12 deletions(-) |
21 |
|
22 |
diff --git a/dev-python/rtslib/rtslib-9999.ebuild b/dev-python/rtslib/rtslib-9999.ebuild |
23 |
index 361b601..df18a05 100644 |
24 |
--- a/dev-python/rtslib/rtslib-9999.ebuild |
25 |
+++ b/dev-python/rtslib/rtslib-9999.ebuild |
26 |
@@ -1,29 +1,37 @@ |
27 |
-# Copyright 1999-2015 Gentoo Foundation |
28 |
+# Copyright 1999-2016 Gentoo Foundation |
29 |
# Distributed under the terms of the GNU General Public License v2 |
30 |
# $Id$ |
31 |
|
32 |
-EAPI=5 |
33 |
+EAPI=6 |
34 |
|
35 |
-EGIT_REPO_URI="git://linux-iscsi.org/${PN}.git" |
36 |
PYTHON_COMPAT=( python2_7 ) |
37 |
|
38 |
-inherit distutils-r1 git-2 |
39 |
+inherit distutils-r1 |
40 |
|
41 |
DESCRIPTION="RTSLib Community Edition for target_core_mod/ConfigFS" |
42 |
-HOMEPAGE="http://linux-iscsi.org/" |
43 |
-SRC_URI="" |
44 |
+HOMEPAGE="http://linux-iscsi.org/wiki/targetcli" |
45 |
|
46 |
-LICENSE="AGPL-3" |
47 |
+LICENSE="Apache-2.0" |
48 |
SLOT="0" |
49 |
-KEYWORDS="" |
50 |
IUSE="" |
51 |
|
52 |
-DEPEND=" |
53 |
- dev-python/configobj[${PYTHON_USEDEP}] |
54 |
+if [[ ${PV} == 9999 ]]; then |
55 |
+ inherit git-r3 |
56 |
+ EGIT_REPO_URI="git://github.com/Datera/${PN}.git |
57 |
+ https://github.com/Datera/${PN}.git" |
58 |
+ KEYWORDS="" |
59 |
+else |
60 |
+ MY_PV=${PV/_/-} |
61 |
+ SRC_URI="https://github.com/Datera/${PN}/archive/${PV/_/-}.tar.gz -> ${P}.tar.gz" |
62 |
+ S="${WORKDIR}/${PN}-${MY_PV}" |
63 |
+ KEYWORDS="~amd64" |
64 |
+fi |
65 |
+ |
66 |
+DEPEND="dev-python/configobj[${PYTHON_USEDEP}] |
67 |
dev-python/ipaddr[${PYTHON_USEDEP}] |
68 |
dev-python/netifaces[${PYTHON_USEDEP}] |
69 |
- !dev-python/rtslib-fb[${PYTHON_USEDEP}] |
70 |
- " |
71 |
+ dev-python/pyparsing[${PYTHON_USEDEP}] |
72 |
+ !dev-python/rtslib-fb" |
73 |
RDEPEND="${DEPEND}" |
74 |
|
75 |
src_install() { |