* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/git-deps/, dev-vcs/git-deps/files/
@ 2016-07-05 12:25 Nicolas Bock
0 siblings, 0 replies; only message in thread
From: Nicolas Bock @ 2016-07-05 12:25 UTC (permalink / raw
To: gentoo-commits
commit: 39202202da618f981cd753829288ce8cc8deb520
Author: Nicolas Bock <nicolasbock <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 5 12:25:13 2016 +0000
Commit: Nicolas Bock <nicolasbock <AT> gentoo <DOT> org>
CommitDate: Tue Jul 5 12:25:34 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39202202
dev-vcs/git-deps: Add patch for html pages
Package-Manager: portage-2.2.28
dev-vcs/git-deps/files/html_location.patch | 13 +++++++++++++
dev-vcs/git-deps/git-deps-9999.ebuild | 2 ++
2 files changed, 15 insertions(+)
diff --git a/dev-vcs/git-deps/files/html_location.patch b/dev-vcs/git-deps/files/html_location.patch
new file mode 100644
index 0000000..ad1434b
--- /dev/null
+++ b/dev-vcs/git-deps/files/html_location.patch
@@ -0,0 +1,13 @@
+--- 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 b42af86..450af38 100644
--- a/dev-vcs/git-deps/git-deps-9999.ebuild
+++ b/dev-vcs/git-deps/git-deps-9999.ebuild
@@ -26,6 +26,8 @@ RDEPEND="
DEPEND="${RDEPEND}"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+PATCHES="${FILESDIR}/html_location.patch"
+
HTML_DOCS="html/."
src_install() {
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-07-05 12:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-05 12:25 [gentoo-commits] repo/gentoo:master commit in: dev-vcs/git-deps/, dev-vcs/git-deps/files/ Nicolas Bock
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox