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>
This commit is contained in:
Diogo Pereira
2016-08-07 01:35:07 +01:00
committed by Patrice Clement
parent 91c059a0c8
commit e41f287d0c
2 changed files with 43 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST rtslib-3.0_pre4.tar.gz 63988 SHA256 1e4359d3897ccee0c6345f8d63292f2c8f71500f242baca12772877fbe25bda8 SHA512 5b4ff3dbaa379f177e08d0ffb54b575e7637c9ebf9ad98cdb2db2b93cde623d0c3a29c3ec9eb0a5542964438d8d5342691f483e2fdb81b7f1f64f37c701e0063 WHIRLPOOL 6ea742a6c756b8c473ef12f017ffc0ecdf2c9dae28f2169b1db99e5ac30f36806414b73c0bcb1e3c191582ae8bfd4ffc9cf15151537ad4354f15cc9c9dc8fa06

View File

@@ -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
}