commit: e63b113e155e35be3e50875f8407a6e32f057e3d Author: Nicolas Bock <nicolasbock <AT> gentoo <DOT> org> AuthorDate: Tue Jul 5 12:14:27 2016 +0000 Commit: Nicolas Bock <nicolasbock <AT> gentoo <DOT> org> CommitDate: Tue Jul 5 12:25:31 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e63b113e
dev-vcs/git-deps: Added instructions for html pages Package-Manager: portage-2.2.28 dev-vcs/git-deps/git-deps-9999.ebuild | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/dev-vcs/git-deps/git-deps-9999.ebuild b/dev-vcs/git-deps/git-deps-9999.ebuild index 3058952..b42af86 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" }
