From efe1a350240189c1e78657ecd20de0104ac6cf61 Mon Sep 17 00:00:00 2001 From: Diogo Pereira Date: Sat, 6 Aug 2016 23:15:38 +0100 Subject: [PATCH] dev-python/configshell: update live ebuild * Bump to EAPI 6 * Update git repository URI * Change license to Apache-2.0 * Remove DEPEND on dev-python/simpleparse * Add DEPEND on dev-python/pyparsing * Add RDEPEND on dev-python/urwid Closes: https://github.com/gentoo/gentoo/pull/2034 Signed-off-by: Patrice Clement --- .../configshell/configshell-9999.ebuild | 32 +++++++++++-------- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/dev-python/configshell/configshell-9999.ebuild b/dev-python/configshell/configshell-9999.ebuild index f12b9c3c4b5db..dbc88ecbdaeb6 100644 --- a/dev-python/configshell/configshell-9999.ebuild +++ b/dev-python/configshell/configshell-9999.ebuild @@ -1,25 +1,31 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 +EAPI=6 -EGIT_REPO_URI="git://linux-iscsi.org/${PN}.git" PYTHON_COMPAT=( python2_7 ) -inherit distutils-r1 git-r3 +inherit distutils-r1 DESCRIPTION="ConfigShell Community Edition for target_core_mod/ConfigFS" -HOMEPAGE="http://linux-iscsi.org/" -SRC_URI="" +HOMEPAGE="http://linux-iscsi.org/wiki/targetcli" -LICENSE="AGPL-3" +LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="" IUSE="" -DEPEND=" - dev-python/epydoc[${PYTHON_USEDEP}] - dev-python/simpleparse[${PYTHON_USEDEP}] - " -RDEPEND="${DEPEND}" +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="git://github.com/Datera/${PN}.git + https://github.com/Datera/${PN}.git" + KEYWORDS="" +else + SRC_URI="https://github.com/Datera/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +DEPEND="dev-python/epydoc[${PYTHON_USEDEP}] + dev-python/pyparsing[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND} + dev-python/urwid[${PYTHON_USEDEP}]"