1 |
commit: e2bc7ce5cdf40a450d9077c7e73267974ec30cad |
2 |
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 5 22:43:03 2017 +0000 |
4 |
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 5 22:43:03 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2bc7ce5 |
7 |
|
8 |
dev-vcs/gitinspector: new version 0.4.4. |
9 |
|
10 |
New version, new EAPI, and some fixes to the install process. Some |
11 |
docs were being missed, and others installed to the wrong place. All |
12 |
better now. |
13 |
|
14 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
15 |
|
16 |
dev-vcs/gitinspector/Manifest | 2 +- |
17 |
dev-vcs/gitinspector/gitinspector-0.4.2.ebuild | 26 ---------------- |
18 |
dev-vcs/gitinspector/gitinspector-0.4.4.ebuild | 42 ++++++++++++++++++++++++++ |
19 |
3 files changed, 43 insertions(+), 27 deletions(-) |
20 |
|
21 |
diff --git a/dev-vcs/gitinspector/Manifest b/dev-vcs/gitinspector/Manifest |
22 |
index c7925e64c5d..9818beaf573 100644 |
23 |
--- a/dev-vcs/gitinspector/Manifest |
24 |
+++ b/dev-vcs/gitinspector/Manifest |
25 |
@@ -1 +1 @@ |
26 |
-DIST gitinspector-0.4.2.tar.gz 312781 SHA256 4c10d2a6a7964f0a38bd7fa8429f3d5095bf56d829c07a38256810cae0793f55 SHA512 144f2cf03f7cb426ccb9a28a6328bd54e6f13cf56d255829a78f31292be63d3f91dcd76525b1bdee514aff7ec20869acae9dc1f0683261ca9bbab29e660cc915 WHIRLPOOL 95fea80bf15f26d6147acca63a80786443a5d4bc6a35710825e73eed13e49212eab9535757f9b0958fec18ed5513a2905839e961631f77e0c9a8ccb816557505 |
27 |
+DIST gitinspector-0.4.4.tar.gz 312201 SHA256 c7a50772bf675d41b7c19508d8f2ea26725ce4ae16aba709d5b42db42e3d2459 SHA512 6e453a97f7b0bda73e376499268d9a46aa4ff1f8bb65092314a6d32031b0292056152b4e0e3781fbbe3aa6150373679bf78a8c83410882921ab40ce6d356fadb WHIRLPOOL d4c10d1d43296908e0c8463a23d9cd0c5178ea9513d10c1519b250e738357ec9dc4ee259552445a43b6eb2d061480bff51633e01ac5938bf01e0e05cd569d5af |
28 |
|
29 |
diff --git a/dev-vcs/gitinspector/gitinspector-0.4.2.ebuild b/dev-vcs/gitinspector/gitinspector-0.4.2.ebuild |
30 |
deleted file mode 100644 |
31 |
index 736348dafc3..00000000000 |
32 |
--- a/dev-vcs/gitinspector/gitinspector-0.4.2.ebuild |
33 |
+++ /dev/null |
34 |
@@ -1,26 +0,0 @@ |
35 |
-# Copyright 1999-2016 Gentoo Foundation |
36 |
-# Distributed under the terms of the GNU General Public License v2 |
37 |
- |
38 |
-EAPI=5 |
39 |
- |
40 |
-PYTHON_COMPAT=( python2_7 ) |
41 |
- |
42 |
-inherit distutils-r1 |
43 |
- |
44 |
-DESCRIPTION="Statistical analysis tool for git repositories" |
45 |
-HOMEPAGE="https://github.com/ejwa/gitinspector" |
46 |
-SRC_URI="https://github.com/ejwa/gitinspector/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
47 |
- |
48 |
-SLOT="0" |
49 |
-LICENSE="GPL-3+" |
50 |
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
51 |
-IUSE="test" |
52 |
- |
53 |
-RDEPEND="dev-vcs/git" |
54 |
-DEPEND=" |
55 |
- test? ( ${RDEPEND} )" |
56 |
- |
57 |
-python_prepare_all() { |
58 |
- [[ ${LC_ALL} == "C" ]] && export LC_ALL="en_US.utf8" |
59 |
- distutils-r1_python_prepare_all |
60 |
-} |
61 |
|
62 |
diff --git a/dev-vcs/gitinspector/gitinspector-0.4.4.ebuild b/dev-vcs/gitinspector/gitinspector-0.4.4.ebuild |
63 |
new file mode 100644 |
64 |
index 00000000000..8a2f93873ec |
65 |
--- /dev/null |
66 |
+++ b/dev-vcs/gitinspector/gitinspector-0.4.4.ebuild |
67 |
@@ -0,0 +1,42 @@ |
68 |
+# Copyright 1999-2017 Gentoo Foundation |
69 |
+# Distributed under the terms of the GNU General Public License v2 |
70 |
+ |
71 |
+EAPI=6 |
72 |
+ |
73 |
+PYTHON_COMPAT=( python2_7 ) |
74 |
+ |
75 |
+inherit distutils-r1 |
76 |
+ |
77 |
+DESCRIPTION="Statistical analysis tool for git repositories" |
78 |
+HOMEPAGE="https://github.com/ejwa/gitinspector" |
79 |
+SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
80 |
+ |
81 |
+SLOT="0" |
82 |
+LICENSE="GPL-3+" |
83 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
84 |
+IUSE="test" |
85 |
+ |
86 |
+RDEPEND="dev-vcs/git" |
87 |
+DEPEND="test? ( ${RDEPEND} )" |
88 |
+ |
89 |
+python_prepare_all() { |
90 |
+ [[ ${LC_ALL} == "C" ]] && export LC_ALL="en_US.utf8" |
91 |
+ |
92 |
+ # Otherwise this gets installed with the *.txt glob. |
93 |
+ rm LICENSE.txt || die 'failed to remove LICENSE.txt' |
94 |
+ |
95 |
+ # Use /usr/share/doc/${PF} instead of /usr/share/doc/${PN}. |
96 |
+ sed -i setup.py \ |
97 |
+ -e "s:share/doc/gitinspector:share/doc/${PF}:" \ |
98 |
+ || die 'failed to fix the documentation path in setup.py' |
99 |
+ |
100 |
+ distutils-r1_python_prepare_all |
101 |
+} |
102 |
+ |
103 |
+python_install_all() { |
104 |
+ distutils-r1_python_install_all |
105 |
+ |
106 |
+ # The distutils install routine misses some important documentation. |
107 |
+ doman docs/gitinspector.1 |
108 |
+ dodoc docs/*.{pdf,css,html,txt} |
109 |
+} |