public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Nicolas Bock" <nicolasbock@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/git-deps/
Date: Tue,  5 Jul 2016 12:25:40 +0000 (UTC)	[thread overview]
Message-ID: <1467721531.e63b113e155e35be3e50875f8407a6e32f057e3d.nicolasbock@gentoo> (raw)

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"
 }


             reply	other threads:[~2016-07-05 12:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-05 12:25 Nicolas Bock [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-02-09 16:25 [gentoo-commits] repo/gentoo:master commit in: dev-vcs/git-deps/ Michał Górny
2016-10-08 11:55 Pacho Ramos
2016-10-08 11:55 Pacho Ramos
2016-08-23 12:10 Nicolas Bock
2016-07-08 17:58 Austin English
2016-07-04  5:02 Nicolas Bock
2016-06-29 10:53 Nicolas Bock

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1467721531.e63b113e155e35be3e50875f8407a6e32f057e3d.nicolasbock@gentoo \
    --to=nicolasbock@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox