1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python2_7 )
10 DESCRIPTION="RTSLib Community Edition for target_core_mod/ConfigFS"
11 HOMEPAGE="http://linux-iscsi.org/wiki/targetcli"
17 if [[ ${PV} == 9999 ]]; then
19 EGIT_REPO_URI="https://github.com/Datera/${PN}.git"
23 SRC_URI="https://github.com/Datera/${PN}/archive/${PV/_/-}.tar.gz -> ${P}.tar.gz"
24 S="${WORKDIR}/${PN}-${MY_PV}"
28 DEPEND="dev-python/configobj[${PYTHON_USEDEP}]
29 dev-python/ipaddr[${PYTHON_USEDEP}]
30 dev-python/netifaces[${PYTHON_USEDEP}]
31 dev-python/pyparsing[${PYTHON_USEDEP}]
32 !dev-python/rtslib-fb"
36 distutils-r1_src_install
37 keepdir /var/target/fabric
38 insinto /var/target/fabric