summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Bock <nicolasbock@gentoo.org>2016-07-05 14:25:13 +0200
committerNicolas Bock <nicolasbock@gentoo.org>2016-07-05 14:25:34 +0200
commit39202202da618f981cd753829288ce8cc8deb520 (patch)
treef58cac1397121af2ec86bfb077120d0518a8f65a /dev-vcs/git-deps/files/html_location.patch
parentdev-vcs/git-deps: Added instructions for html pages (diff)
downloadgentoo-39202202da618f981cd753829288ce8cc8deb520.tar.gz
gentoo-39202202da618f981cd753829288ce8cc8deb520.tar.bz2
gentoo-39202202da618f981cd753829288ce8cc8deb520.zip
dev-vcs/git-deps: Add patch for html pages
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-vcs/git-deps/files/html_location.patch')
-rw-r--r--dev-vcs/git-deps/files/html_location.patch13
1 files changed, 13 insertions, 0 deletions
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 00000000000..ad1434b4e17
--- /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