diff options
author | Diogo Pereira <sir.suriv@gmail.com> | 2016-10-14 23:37:02 +0100 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2016-10-28 00:26:32 +0200 |
commit | 9a633d3b9f80e476311b364c96c3a164cf530733 (patch) | |
tree | 6537853e1ae9818b9efa406e243eb332133810b5 /sys-block | |
parent | dev-python/configshell-fb: new package. (diff) | |
download | gentoo-9a633d3b9f80e476311b364c96c3a164cf530733.tar.gz gentoo-9a633d3b9f80e476311b364c96c3a164cf530733.tar.bz2 gentoo-9a633d3b9f80e476311b364c96c3a164cf530733.zip |
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 <monsieurp@gentoo.org>
Diffstat (limited to 'sys-block')
-rw-r--r-- | sys-block/targetcli-fb/Manifest | 1 | ||||
-rw-r--r-- | sys-block/targetcli-fb/metadata.xml | 24 | ||||
-rw-r--r-- | sys-block/targetcli-fb/targetcli-fb-2.1.44.ebuild | 36 |
3 files changed, 61 insertions, 0 deletions
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 @@ +<?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> 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%%-*}" +} |