summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiogo Pereira <sir.suriv@gmail.com>2016-08-07 01:35:07 +0100
committerPatrice Clement <monsieurp@gentoo.org>2016-09-02 19:18:14 +0200
commite41f287d0c0c1ef9d47238639d5cb8a3136eadab (patch)
tree6cff0d2e40cceaacf5b3c73848f1c98f12d1b852 /dev-python/rtslib
parentdev-python/configshell: add version 1.6 (diff)
downloadgentoo-e41f287d0c0c1ef9d47238639d5cb8a3136eadab.tar.gz
gentoo-e41f287d0c0c1ef9d47238639d5cb8a3136eadab.tar.bz2
gentoo-e41f287d0c0c1ef9d47238639d5cb8a3136eadab.zip
dev-python/rtslib: add version 3.0_pre4
Gentoo-Bug: https://bugs.gentoo.org/453272 Reported-by: Andrew Hamilton <andrew@ahamilto.net> Closes: https://github.com/gentoo/gentoo/pull/2034 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'dev-python/rtslib')
-rw-r--r--dev-python/rtslib/Manifest1
-rw-r--r--dev-python/rtslib/rtslib-3.0_pre4.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/rtslib/Manifest b/dev-python/rtslib/Manifest
new file mode 100644
index 000000000000..c04bd4cc5e81
--- /dev/null
+++ b/dev-python/rtslib/Manifest
@@ -0,0 +1 @@
+DIST rtslib-3.0_pre4.tar.gz 63988 SHA256 1e4359d3897ccee0c6345f8d63292f2c8f71500f242baca12772877fbe25bda8 SHA512 5b4ff3dbaa379f177e08d0ffb54b575e7637c9ebf9ad98cdb2db2b93cde623d0c3a29c3ec9eb0a5542964438d8d5342691f483e2fdb81b7f1f64f37c701e0063 WHIRLPOOL 6ea742a6c756b8c473ef12f017ffc0ecdf2c9dae28f2169b1db99e5ac30f36806414b73c0bcb1e3c191582ae8bfd4ffc9cf15151537ad4354f15cc9c9dc8fa06
diff --git a/dev-python/rtslib/rtslib-3.0_pre4.ebuild b/dev-python/rtslib/rtslib-3.0_pre4.ebuild
new file mode 100644
index 000000000000..df18a05c3de1
--- /dev/null
+++ b/dev-python/rtslib/rtslib-3.0_pre4.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="RTSLib Community Edition for target_core_mod/ConfigFS"
+HOMEPAGE="http://linux-iscsi.org/wiki/targetcli"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="git://github.com/Datera/${PN}.git
+ https://github.com/Datera/${PN}.git"
+ KEYWORDS=""
+else
+ MY_PV=${PV/_/-}
+ SRC_URI="https://github.com/Datera/${PN}/archive/${PV/_/-}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/${PN}-${MY_PV}"
+ KEYWORDS="~amd64"
+fi
+
+DEPEND="dev-python/configobj[${PYTHON_USEDEP}]
+ dev-python/ipaddr[${PYTHON_USEDEP}]
+ dev-python/netifaces[${PYTHON_USEDEP}]
+ dev-python/pyparsing[${PYTHON_USEDEP}]
+ !dev-python/rtslib-fb"
+RDEPEND="${DEPEND}"
+
+src_install() {
+ distutils-r1_src_install
+ keepdir /var/target/fabric
+ insinto /var/target/fabric
+ doins specs/*.spec
+}