commit: f9bfa20b5ca4393f975ebd6f70090d236a2da778 Author: Diogo Pereira <sir.suriv <AT> gmail <DOT> com> AuthorDate: Sun Aug 7 00:36:29 2016 +0000 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> CommitDate: Fri Sep 2 17:18:14 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9bfa20b
sys-block/targetcli: add version 3.0_pre4 Gentoo-Bug: https://bugs.gentoo.org/453276 Reported-by: Andrew Hamilton <andrew <AT> ahamilto.net> Closes: https://github.com/gentoo/gentoo/pull/2034 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> sys-block/targetcli/Manifest | 1 + sys-block/targetcli/targetcli-3.0_pre4.ebuild | 46 +++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/sys-block/targetcli/Manifest b/sys-block/targetcli/Manifest new file mode 100644 index 00000000..665728c --- /dev/null +++ b/sys-block/targetcli/Manifest @@ -0,0 +1 @@ +DIST targetcli-3.0_pre4.tar.gz 37299 SHA256 4f389c7de68f25034867770ecae45810340b33512dfae9827e5174db3408df88 SHA512 42e74fe8f7d26ad5693d6cd527d44d77b23f793b33071466819bf29032b71a6ad22924350fc53c78ed93c15ef30abb46b42209c5f16fbf8ade0819d6e26b70f7 WHIRLPOOL 5bb7f03a6fc0d56ab6a4197638dd7376eee1141e6e1f3f6c9e86ab307ff42ac5036a99de5fbdd42ba5708106c2098800d0d2b9af312fe08c72135e4f2a695b17 diff --git a/sys-block/targetcli/targetcli-3.0_pre4.ebuild b/sys-block/targetcli/targetcli-3.0_pre4.ebuild new file mode 100644 index 00000000..5701d51 --- /dev/null +++ b/sys-block/targetcli/targetcli-3.0_pre4.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 linux-info + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="git://github.com/Datera/${PN}.git + https://github.com/Datera/${PN}.git" + KEYWORDS="" +else + MY_PV=${PV/_/-} + SRC_URI="https://github.com/Datera/${PN}/archive/${PV/_/-}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-${MY_PV}" + KEYWORDS="~amd64" +fi + +DESCRIPTION="CLI and shell for the Linux SCSI target" +HOMEPAGE="http://linux-iscsi.org/wiki/targetcli" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="" + +DEPEND="dev-python/configshell[${PYTHON_USEDEP}] + dev-python/prettytable[${PYTHON_USEDEP}] + dev-python/rtslib[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND} + dev-python/urwid[${PYTHON_USEDEP}]" + +pkg_pretend() { + if use kernel_linux; then + linux-info_get_any_version + if ! linux_config_exists; then + eerror "Unable to check your kernel for SCSI target support" + else + CONFIG_CHECK="~TARGET_CORE" + check_extra_config + fi + fi +}
