public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/git-deps/files/, dev-vcs/git-deps/
@ 2016-10-02 11:42 Nicolas Bock
  0 siblings, 0 replies; only message in thread
From: Nicolas Bock @ 2016-10-02 11:42 UTC (permalink / raw
  To: gentoo-commits

commit:     d05ca01d311d921cd6ffaeea1a9902a1b8040218
Author:     Nicolas Bock <nicolasbock <AT> gentoo <DOT> org>
AuthorDate: Sat Oct  1 17:00:39 2016 +0000
Commit:     Nicolas Bock <nicolasbock <AT> gentoo <DOT> 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
 }
 


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-10-02 11:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-02 11:42 [gentoo-commits] repo/gentoo:master commit in: dev-vcs/git-deps/files/, dev-vcs/git-deps/ Nicolas Bock

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox