Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/git-deps/
Date: Sat, 08 Oct 2016 11:55:37
Message-Id: 1475926515.54816ff161c5965171dac5bbd765757e63e064c7.pacho@gentoo
1 commit: 54816ff161c5965171dac5bbd765757e63e064c7
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 8 11:35:15 2016 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 8 11:35:15 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54816ff1
7
8 Revert "Remove masked for removal package"
9
10 This reverts commit b1638ccb950f026b98e0787fbb88e67de8a28558.
11
12 dev-vcs/git-deps/git-deps-9999.ebuild | 48 +++++++++++++++++++++++++++++++++++
13 dev-vcs/git-deps/metadata.xml | 12 +++++++++
14 2 files changed, 60 insertions(+)
15
16 diff --git a/dev-vcs/git-deps/git-deps-9999.ebuild b/dev-vcs/git-deps/git-deps-9999.ebuild
17 new file mode 100644
18 index 00000000..0e5eb8a
19 --- /dev/null
20 +++ b/dev-vcs/git-deps/git-deps-9999.ebuild
21 @@ -0,0 +1,48 @@
22 +# Copyright 1999-2016 Gentoo Foundation
23 +# Distributed under the terms of the GNU General Public License v2
24 +# $Id$
25 +
26 +EAPI=6
27 +
28 +EGIT_REPO_URI="https://github.com/aspiers/git-deps"
29 +EGIT_BRANCH=master
30 +
31 +PYTHON_COMPAT=( python2_7 )
32 +
33 +inherit eutils git-r3 python-single-r1
34 +
35 +DESCRIPTION="git commit dependency analysis tool"
36 +HOMEPAGE="https://github.com/aspiers/git-deps"
37 +
38 +LICENSE="GPL-2"
39 +SLOT="0"
40 +
41 +RDEPEND="
42 + dev-python/flask[${PYTHON_USEDEP}]
43 + dev-python/pygit2[${PYTHON_USEDEP}]
44 + net-libs/nodejs
45 + ${PYTHON_DEPS}
46 + "
47 +DEPEND="${RDEPEND}"
48 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
49 +
50 +HTML_DOCS="html/."
51 +
52 +pkg_setup() {
53 + python-single-r1_pkg_setup
54 +}
55 +
56 +src_install() {
57 + python_newscript git-deps.py git-deps
58 + einstalldocs
59 +}
60 +
61 +pkg_postinst() {
62 + elog "Notes regarding the '--serve' option:"
63 + elog "Please run 'npm install browserify' once"
64 + elog "Copy the html sources:"
65 + elog "rsync -av ${EROOT}/usr/share/${PN}/html ~/git-deps-html"
66 + elog "cd ~/git-deps-html"
67 + elog "npm install"
68 + elog "browserify -t coffeeify -d js/git-deps-graph.coffee -o js/bundle.js"
69 +}
70
71 diff --git a/dev-vcs/git-deps/metadata.xml b/dev-vcs/git-deps/metadata.xml
72 new file mode 100644
73 index 00000000..80bc337
74 --- /dev/null
75 +++ b/dev-vcs/git-deps/metadata.xml
76 @@ -0,0 +1,12 @@
77 +<?xml version="1.0" encoding="UTF-8"?>
78 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
79 +<pkgmetadata>
80 + <maintainer type="person">
81 + <email>nicolasbock@g.o</email>
82 + <name>Nicolas Bock</name>
83 + </maintainer>
84 + <longdescription lang="en">
85 + git-deps is a tool for performing automatic analysis of dependencies
86 + between commits in a git repository.
87 + </longdescription>
88 +</pkgmetadata>