commit: 9a633d3b9f80e476311b364c96c3a164cf530733 Author: Diogo Pereira <sir.suriv <AT> gmail <DOT> com> AuthorDate: Fri Oct 14 22:37:02 2016 +0000 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> CommitDate: Thu Oct 27 22:26:32 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a633d3b
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 <AT> gentoo.org> sys-block/targetcli-fb/Manifest | 1 + sys-block/targetcli-fb/metadata.xml | 24 +++++++++++++++ sys-block/targetcli-fb/targetcli-fb-2.1.44.ebuild | 36 +++++++++++++++++++++++ 3 files changed, 61 insertions(+) diff --git a/sys-block/targetcli-fb/Manifest b/sys-block/targetcli-fb/Manifest new file mode 100644 index 00000000..fa8bd94 --- /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 00000000..3fb3451 --- /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>[email protected]</email> + <name>Diogo Pereira</name> +</maintainer> +<maintainer type="project"> + <email>[email protected]</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>[email protected]</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 00000000..68ca697 --- /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%%-*}" +}
