diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-vcs/git-deps/git-deps-9999.ebuild | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-vcs/git-deps/git-deps-9999.ebuild')
-rw-r--r-- | dev-vcs/git-deps/git-deps-9999.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/dev-vcs/git-deps/git-deps-9999.ebuild b/dev-vcs/git-deps/git-deps-9999.ebuild new file mode 100644 index 000000000000..f66f91356572 --- /dev/null +++ b/dev-vcs/git-deps/git-deps-9999.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EGIT_REPO_URI="https://github.com/aspiers/git-deps" +EGIT_BRANCH=master + +PYTHON_COMPAT=( python2_7 ) + +inherit eutils git-r3 python-single-r1 + +DESCRIPTION="git commit dependency analysis tool" +HOMEPAGE="https://github.com/aspiers/git-deps" + +LICENSE="GPL-2" +SLOT="0" + +RDEPEND=" + dev-python/flask[${PYTHON_USEDEP}] + dev-python/pygit2[${PYTHON_USEDEP}] + net-libs/nodejs + ${PYTHON_DEPS} + " +DEPEND="${RDEPEND}" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +HTML_DOCS="html/." + +pkg_setup() { + python-single-r1_pkg_setup +} + +src_install() { + python_newscript git-deps.py git-deps + einstalldocs +} + +pkg_postinst() { + 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" +} |