From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0C307138330 for ; Sun, 2 Oct 2016 11:42:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 52ADB21C075; Sun, 2 Oct 2016 11:42:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 38BE121C075 for ; Sun, 2 Oct 2016 11:42:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A6357340C6F for ; Sun, 2 Oct 2016 11:42:27 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8E1882490 for ; Sun, 2 Oct 2016 11:42:25 +0000 (UTC) From: "Nicolas Bock" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Nicolas Bock" Message-ID: <1475408517.d05ca01d311d921cd6ffaeea1a9902a1b8040218.nicolasbock@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/git-deps/files/, dev-vcs/git-deps/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-vcs/git-deps/files/html_location.patch dev-vcs/git-deps/git-deps-9999.ebuild X-VCS-Directories: dev-vcs/git-deps/ dev-vcs/git-deps/files/ X-VCS-Committer: nicolasbock X-VCS-Committer-Name: Nicolas Bock X-VCS-Revision: d05ca01d311d921cd6ffaeea1a9902a1b8040218 X-VCS-Branch: master Date: Sun, 2 Oct 2016 11:42:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 5b88edbd-b5da-494b-b741-185417a902f6 X-Archives-Hash: 64ba5302f4cf98e89f897ca067bfcacb commit: d05ca01d311d921cd6ffaeea1a9902a1b8040218 Author: Nicolas Bock gentoo org> AuthorDate: Sat Oct 1 17:00:39 2016 +0000 Commit: Nicolas Bock gentoo org> CommitDate: Sun Oct 2 11:41:57 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d05ca01d dev-vcs/git-deps: Clean up of ebuild Package-Manager: portage-2.3.0 dev-vcs/git-deps/files/html_location.patch | 13 ------------- dev-vcs/git-deps/git-deps-9999.ebuild | 16 +++++++++------- 2 files changed, 9 insertions(+), 20 deletions(-) diff --git a/dev-vcs/git-deps/files/html_location.patch b/dev-vcs/git-deps/files/html_location.patch deleted file mode 100644 index ad1434b..00000000 --- a/dev-vcs/git-deps/files/html_location.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- git-deps.orig 2016-07-05 14:15:35.520601179 +0200 -+++ git-deps 2016-07-05 14:18:38.601254285 +0200 -@@ -689,9 +689,7 @@ - abort("Cannot find flask module which is required for webserver mode.") - - webserver = Flask('git-deps') -- here = os.path.dirname(os.path.realpath(__file__)) -- root = os.path.join(here, 'html') -- webserver.root_path = root -+ webserver.root_path = os.path.expanduser('~/git-deps-html') - - ########################################################## - # Static content diff --git a/dev-vcs/git-deps/git-deps-9999.ebuild b/dev-vcs/git-deps/git-deps-9999.ebuild index 450af38..0e5eb8a 100644 --- a/dev-vcs/git-deps/git-deps-9999.ebuild +++ b/dev-vcs/git-deps/git-deps-9999.ebuild @@ -7,9 +7,9 @@ EAPI=6 EGIT_REPO_URI="https://github.com/aspiers/git-deps" EGIT_BRANCH=master -PYTHON_COMPAT=( python2_7 python3_3 python3_4 ) +PYTHON_COMPAT=( python2_7 ) -inherit eutils git-r3 python-r1 +inherit eutils git-r3 python-single-r1 DESCRIPTION="git commit dependency analysis tool" HOMEPAGE="https://github.com/aspiers/git-deps" @@ -18,20 +18,22 @@ LICENSE="GPL-2" SLOT="0" RDEPEND=" - dev-python/flask - dev-python/pygit2 + dev-python/flask[${PYTHON_USEDEP}] + dev-python/pygit2[${PYTHON_USEDEP}] net-libs/nodejs ${PYTHON_DEPS} " DEPEND="${RDEPEND}" REQUIRED_USE="${PYTHON_REQUIRED_USE}" -PATCHES="${FILESDIR}/html_location.patch" - HTML_DOCS="html/." +pkg_setup() { + python-single-r1_pkg_setup +} + src_install() { - python_foreach_impl python_newexe git-deps.py git-deps + python_newscript git-deps.py git-deps einstalldocs }