diff options
author | Nicolas Bock <nicolasbock@gentoo.org> | 2016-07-05 14:25:13 +0200 |
---|---|---|
committer | Nicolas Bock <nicolasbock@gentoo.org> | 2016-07-05 14:25:34 +0200 |
commit | 39202202da618f981cd753829288ce8cc8deb520 (patch) | |
tree | f58cac1397121af2ec86bfb077120d0518a8f65a /dev-vcs | |
parent | dev-vcs/git-deps: Added instructions for html pages (diff) | |
download | gentoo-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')
-rw-r--r-- | dev-vcs/git-deps/files/html_location.patch | 13 | ||||
-rw-r--r-- | dev-vcs/git-deps/git-deps-9999.ebuild | 2 |
2 files changed, 15 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 000000000000..ad1434b4e17a --- /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 b42af867ac90..450af384cc6c 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() { |