1 |
commit: 7faf57b761061ee834f98c44b2d3973a7ffaa673 |
2 |
Author: Tiziano Müller <dev-zero <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Mar 2 09:22:13 2019 +0000 |
4 |
Commit: Tiziano Müller <dev-zero <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 2 09:26:00 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7faf57b7 |
7 |
|
8 |
dev-util/cflow: version bump to 1.6, adapt to EAPI-7 |
9 |
|
10 |
thanks to jer for the heads-up |
11 |
|
12 |
Closes: https://bugs.gentoo.org/678688 |
13 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
14 |
Signed-off-by: Tiziano Müller <dev-zero <AT> gentoo.org> |
15 |
|
16 |
dev-util/cflow/Manifest | 1 + |
17 |
dev-util/cflow/cflow-1.6.ebuild | 57 +++++++++++++++++++++++++++++++++++++++++ |
18 |
2 files changed, 58 insertions(+) |
19 |
|
20 |
diff --git a/dev-util/cflow/Manifest b/dev-util/cflow/Manifest |
21 |
index 3d16719493b..0bbf62def6d 100644 |
22 |
--- a/dev-util/cflow/Manifest |
23 |
+++ b/dev-util/cflow/Manifest |
24 |
@@ -1 +1,2 @@ |
25 |
DIST cflow-1.4.tar.bz2 634862 BLAKE2B ac8d31b2af7c11bc09f440f0f044f67a538a2a2d574146216b11239097553c41d4982594cc919fc6cc3b861a9b1bf1bd200a0c1f14ee8ab437b724bf6d84c6c7 SHA512 b8f8bd0e75e9ad0ba112313c576766b7cf72ef1e29ad0b0a2ce233f43b4196e311077be2134ff6e0fa0bb18375469ca6a969307fa7565a63ab60dec20400ee03 |
26 |
+DIST cflow-1.6.tar.bz2 836405 BLAKE2B 6cfbfa9f4bb503616cb0bf465e70d9951eb52e65addff16ef2a1ee79b1a115e46ac4747510dd1edf5ec1d96c29540152a6fb2227715cef9e19acbb895f5cda2e SHA512 eb26695b479205ea391623d78ee537cac084a168a52c2bf4f2e4206d7a3f813e6e3f92684903673af905172c3b1df3f8ab1ccb7986bd61ed53feee34fb3fd7c6 |
27 |
|
28 |
diff --git a/dev-util/cflow/cflow-1.6.ebuild b/dev-util/cflow/cflow-1.6.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..a7aa5e876cb |
31 |
--- /dev/null |
32 |
+++ b/dev-util/cflow/cflow-1.6.ebuild |
33 |
@@ -0,0 +1,57 @@ |
34 |
+# Copyright 1999-2019 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI="7" |
38 |
+ |
39 |
+inherit elisp-common |
40 |
+ |
41 |
+DESCRIPTION="C function call hierarchy analyzer" |
42 |
+HOMEPAGE="https://www.gnu.org/software/cflow/" |
43 |
+SRC_URI="http://ftp.gnu.org/gnu/cflow/${P}.tar.bz2" |
44 |
+ |
45 |
+LICENSE="GPL-3" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~ppc ~x86" |
48 |
+IUSE="debug emacs nls" |
49 |
+ |
50 |
+RDEPEND="emacs? ( virtual/emacs ) |
51 |
+ nls? ( virtual/libintl virtual/libiconv )" |
52 |
+BDEPEND="${RDEPEND} |
53 |
+ sys-devel/flex |
54 |
+ nls? ( sys-devel/gettext )" |
55 |
+ |
56 |
+SITEFILE="50${PN}-gentoo.el" |
57 |
+PATCHES=( "${FILESDIR}/cflow-1.4-info-direntry.patch" ) |
58 |
+ |
59 |
+src_configure() { |
60 |
+ econf \ |
61 |
+ $(use_enable nls) \ |
62 |
+ $(use_enable debug) \ |
63 |
+ EMACS=no |
64 |
+} |
65 |
+ |
66 |
+src_compile() { |
67 |
+ default |
68 |
+ |
69 |
+ if use emacs; then |
70 |
+ elisp-compile elisp/cflow-mode.el |
71 |
+ fi |
72 |
+} |
73 |
+ |
74 |
+src_install() { |
75 |
+ default |
76 |
+ doinfo doc/cflow.info |
77 |
+ |
78 |
+ if use emacs; then |
79 |
+ elisp-install ${PN} elisp/cflow-mode.{el,elc} |
80 |
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
81 |
+ fi |
82 |
+} |
83 |
+ |
84 |
+pkg_postinst() { |
85 |
+ use emacs && elisp-site-regen |
86 |
+} |
87 |
+ |
88 |
+pkg_postrm() { |
89 |
+ use emacs && elisp-site-regen |
90 |
+} |