From: Nicolas Bock Date: Tue, 5 Jul 2016 12:25:13 +0000 (+0200) Subject: dev-vcs/git-deps: Add patch for html pages X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=39202202da618f981cd753829288ce8cc8deb520;p=gentoo.git dev-vcs/git-deps: Add patch for html pages Package-Manager: portage-2.2.28 --- 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() {