Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-block/targetcli-fb/
Date: Thu, 27 Oct 2016 22:27:23
Message-Id: 1477607192.9a633d3b9f80e476311b364c96c3a164cf530733.monsieurp@gentoo
1 commit: 9a633d3b9f80e476311b364c96c3a164cf530733
2 Author: Diogo Pereira <sir.suriv <AT> gmail <DOT> com>
3 AuthorDate: Fri Oct 14 22:37:02 2016 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 27 22:26:32 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a633d3b
7
8 sys-block/targetcli-fb: new package.
9
10 targetcli-fb is a fork of targetcli maintained by Red Hat.
11
12 Gentoo-Bug: https://bugs.gentoo.org/590722
13 Closes: https://github.com/gentoo/gentoo/pull/2042
14
15 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
16
17 sys-block/targetcli-fb/Manifest | 1 +
18 sys-block/targetcli-fb/metadata.xml | 24 +++++++++++++++
19 sys-block/targetcli-fb/targetcli-fb-2.1.44.ebuild | 36 +++++++++++++++++++++++
20 3 files changed, 61 insertions(+)
21
22 diff --git a/sys-block/targetcli-fb/Manifest b/sys-block/targetcli-fb/Manifest
23 new file mode 100644
24 index 00000000..fa8bd94
25 --- /dev/null
26 +++ b/sys-block/targetcli-fb/Manifest
27 @@ -0,0 +1 @@
28 +DIST targetcli-fb-2.1.44.tar.gz 34278 SHA256 4b916c0cf8f6f959baf22186380e926fa09bb3b15dedbd2aca0ad7df531193b7 SHA512 eb744c039357f5c1e6bef1947a9dd42f29dec7306a53d29d32d270515457a78ef6521cf12939fc4ae0075ace3ae8bd857de4855569c740640572cf7815162bab WHIRLPOOL 7086353f5eb8772b8eed0b4594018c924774d98548bc98c635de704c904694a0879feceb223400face34b84faac93d7e22d586ff12e5c168821ee8c6619929cf
29
30 diff --git a/sys-block/targetcli-fb/metadata.xml b/sys-block/targetcli-fb/metadata.xml
31 new file mode 100644
32 index 00000000..3fb3451
33 --- /dev/null
34 +++ b/sys-block/targetcli-fb/metadata.xml
35 @@ -0,0 +1,24 @@
36 +<?xml version="1.0" encoding="UTF-8"?>
37 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
38 +<pkgmetadata>
39 +<maintainer type="person">
40 + <email>sir.suriv@×××××.com</email>
41 + <name>Diogo Pereira</name>
42 +</maintainer>
43 +<maintainer type="project">
44 + <email>proxy-maint@g.o</email>
45 + <name>Proxy Maintainers</name>
46 +</maintainer>
47 +<longdescription lang="en">
48 + targetcli-fb is a command-line interface for configuring
49 + the Linux-IO generic SCSI target.
50 +</longdescription>
51 +<upstream>
52 + <maintainer status="active">
53 + <email>agrover@××××××.com</email>
54 + <name>Andy Grover</name>
55 + </maintainer>
56 + <remote-id type="github">open-iscsi/targetcli-fb</remote-id>
57 + <bugs-to>https://github.com/open-iscsi/targetcli-fb</bugs-to>
58 +</upstream>
59 +</pkgmetadata>
60
61 diff --git a/sys-block/targetcli-fb/targetcli-fb-2.1.44.ebuild b/sys-block/targetcli-fb/targetcli-fb-2.1.44.ebuild
62 new file mode 100644
63 index 00000000..68ca697
64 --- /dev/null
65 +++ b/sys-block/targetcli-fb/targetcli-fb-2.1.44.ebuild
66 @@ -0,0 +1,36 @@
67 +# Copyright 1999-2016 Gentoo Foundation
68 +# Distributed under the terms of the GNU General Public License v2
69 +# $Id$
70 +
71 +EAPI=6
72 +
73 +PYTHON_COMPAT=( python{2_7,3_4,3_5} )
74 +
75 +inherit distutils-r1 linux-info versionator
76 +
77 +MY_PV=$(replace_version_separator 2 '.fb' ${PV})
78 +
79 +DESCRIPTION="Command shell for managing Linux LIO kernel target"
80 +HOMEPAGE="https://github.com/open-iscsi/targetcli-fb"
81 +SRC_URI="https://github.com/open-iscsi/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
82 +
83 +LICENSE="Apache-2.0"
84 +SLOT="0"
85 +KEYWORDS="~amd64 ~x86"
86 +IUSE=""
87 +
88 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
89 +RDEPEND="dev-python/configshell-fb[${PYTHON_USEDEP}]
90 + dev-python/dbus-python[${PYTHON_USEDEP}]
91 + dev-python/rtslib-fb[${PYTHON_USEDEP}]
92 + dev-python/six[${PYTHON_USEDEP}]
93 + !sys-block/targetcli"
94 +
95 +S=${WORKDIR}/${PN}-${MY_PV}
96 +
97 +src_install() {
98 + distutils-r1_src_install
99 +
100 + keepdir /etc/target /etc/target/backup
101 + doman "${PN%%-*}"
102 +}