From: Diogo Pereira Date: Fri, 14 Oct 2016 22:37:02 +0000 (+0100) Subject: sys-block/targetcli-fb: new package. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=9a633d3b9f80e476311b364c96c3a164cf530733;p=gentoo.git sys-block/targetcli-fb: new package. 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 --- diff --git a/sys-block/targetcli-fb/Manifest b/sys-block/targetcli-fb/Manifest new file mode 100644 index 000000000000..fa8bd94b6df5 --- /dev/null +++ b/sys-block/targetcli-fb/Manifest @@ -0,0 +1 @@ +DIST targetcli-fb-2.1.44.tar.gz 34278 SHA256 4b916c0cf8f6f959baf22186380e926fa09bb3b15dedbd2aca0ad7df531193b7 SHA512 eb744c039357f5c1e6bef1947a9dd42f29dec7306a53d29d32d270515457a78ef6521cf12939fc4ae0075ace3ae8bd857de4855569c740640572cf7815162bab WHIRLPOOL 7086353f5eb8772b8eed0b4594018c924774d98548bc98c635de704c904694a0879feceb223400face34b84faac93d7e22d586ff12e5c168821ee8c6619929cf diff --git a/sys-block/targetcli-fb/metadata.xml b/sys-block/targetcli-fb/metadata.xml new file mode 100644 index 000000000000..3fb345140c07 --- /dev/null +++ b/sys-block/targetcli-fb/metadata.xml @@ -0,0 +1,24 @@ + + + + + sir.suriv@gmail.com + Diogo Pereira + + + proxy-maint@gentoo.org + Proxy Maintainers + + + targetcli-fb is a command-line interface for configuring + the Linux-IO generic SCSI target. + + + + agrover@redhat.com + Andy Grover + + open-iscsi/targetcli-fb + https://github.com/open-iscsi/targetcli-fb + + diff --git a/sys-block/targetcli-fb/targetcli-fb-2.1.44.ebuild b/sys-block/targetcli-fb/targetcli-fb-2.1.44.ebuild new file mode 100644 index 000000000000..68ca6972877b --- /dev/null +++ b/sys-block/targetcli-fb/targetcli-fb-2.1.44.ebuild @@ -0,0 +1,36 @@ +# 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%%-*}" +}