1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 EGIT_REPO_URI="https://github.com/aspiers/git-deps"
9 PYTHON_COMPAT=( python2_7 )
11 inherit eutils git-r3 python-single-r1
13 DESCRIPTION="git commit dependency analysis tool"
14 HOMEPAGE="https://github.com/aspiers/git-deps"
20 $(python_gen_cond_dep '
21 dev-python/flask[${PYTHON_MULTI_USEDEP}]
22 dev-python/pygit2[${PYTHON_MULTI_USEDEP}]
28 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
33 python-single-r1_pkg_setup
37 python_newscript git-deps.py git-deps
42 elog "Notes regarding the '--serve' option:"
43 elog "Please run 'npm install browserify' once"
44 elog "Copy the html sources:"
45 elog "rsync -av ${EROOT}/usr/share/${PN}/html ~/git-deps-html"
46 elog "cd ~/git-deps-html"
48 elog "browserify -t coffeeify -d js/git-deps-graph.coffee -o js/bundle.js"