From: Nicolas Bock Date: Tue, 5 Jul 2016 12:14:27 +0000 (+0200) Subject: dev-vcs/git-deps: Added instructions for html pages X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=e63b113e155e35be3e50875f8407a6e32f057e3d;p=gentoo.git dev-vcs/git-deps: Added instructions for html pages Package-Manager: portage-2.2.28 --- diff --git a/dev-vcs/git-deps/git-deps-9999.ebuild b/dev-vcs/git-deps/git-deps-9999.ebuild index 30589529d240..b42af867ac90 100644 --- a/dev-vcs/git-deps/git-deps-9999.ebuild +++ b/dev-vcs/git-deps/git-deps-9999.ebuild @@ -9,7 +9,7 @@ EGIT_BRANCH=master PYTHON_COMPAT=( python2_7 python3_3 python3_4 ) -inherit git-r3 python-r1 +inherit eutils git-r3 python-r1 DESCRIPTION="git commit dependency analysis tool" HOMEPAGE="https://github.com/aspiers/git-deps" @@ -26,10 +26,19 @@ RDEPEND=" DEPEND="${RDEPEND}" REQUIRED_USE="${PYTHON_REQUIRED_USE}" +HTML_DOCS="html/." + src_install() { python_foreach_impl python_newexe git-deps.py git-deps + einstalldocs } pkg_postinst() { - einfo "Please run 'npm install browserify' to use git-deps with the web UI." + elog "Notes regarding the '--serve' option:" + elog "Please run 'npm install browserify' once" + elog "Copy the html sources:" + elog "rsync -av ${EROOT}/usr/share/${PN}/html ~/git-deps-html" + elog "cd ~/git-deps-html" + elog "npm install" + elog "browserify -t coffeeify -d js/git-deps-graph.coffee -o js/bundle.js" }