targetcli-fb is a fork of targetcli maintained by Red Hat.
Gentoo-Bug: https://bugs.gentoo.org/590722
Closes: https://github.com/gentoo/gentoo/pull/2042
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
--- /dev/null
+DIST targetcli-fb-2.1.44.tar.gz 34278 SHA256 4b916c0cf8f6f959baf22186380e926fa09bb3b15dedbd2aca0ad7df531193b7 SHA512 eb744c039357f5c1e6bef1947a9dd42f29dec7306a53d29d32d270515457a78ef6521cf12939fc4ae0075ace3ae8bd857de4855569c740640572cf7815162bab WHIRLPOOL 7086353f5eb8772b8eed0b4594018c924774d98548bc98c635de704c904694a0879feceb223400face34b84faac93d7e22d586ff12e5c168821ee8c6619929cf
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>sir.suriv@gmail.com</email>
+ <name>Diogo Pereira</name>
+</maintainer>
+<maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+</maintainer>
+<longdescription lang="en">
+ targetcli-fb is a command-line interface for configuring
+ the Linux-IO generic SCSI target.
+</longdescription>
+<upstream>
+ <maintainer status="active">
+ <email>agrover@redhat.com</email>
+ <name>Andy Grover</name>
+ </maintainer>
+ <remote-id type="github">open-iscsi/targetcli-fb</remote-id>
+ <bugs-to>https://github.com/open-iscsi/targetcli-fb</bugs-to>
+</upstream>
+</pkgmetadata>
--- /dev/null
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+
+inherit distutils-r1 linux-info versionator
+
+MY_PV=$(replace_version_separator 2 '.fb' ${PV})
+
+DESCRIPTION="Command shell for managing Linux LIO kernel target"
+HOMEPAGE="https://github.com/open-iscsi/targetcli-fb"
+SRC_URI="https://github.com/open-iscsi/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND="dev-python/configshell-fb[${PYTHON_USEDEP}]
+ dev-python/dbus-python[${PYTHON_USEDEP}]
+ dev-python/rtslib-fb[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+ !sys-block/targetcli"
+
+S=${WORKDIR}/${PN}-${MY_PV}
+
+src_install() {
+ distutils-r1_src_install
+
+ keepdir /etc/target /etc/target/backup
+ doman "${PN%%-*}"
+}