1 |
commit: e51c2e662a365f1b3923462d52a8151c3c03de80 |
2 |
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Mar 31 18:19:53 2019 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 31 18:20:13 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e51c2e66 |
7 |
|
8 |
dev-util/ctags: version bump. |
9 |
|
10 |
Bug: https://bugs.gentoo.org/524004 |
11 |
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> |
12 |
Package-Manager: Portage-2.3.62, Repoman-2.3.11 |
13 |
|
14 |
dev-util/ctags/Manifest | 1 + |
15 |
dev-util/ctags/ctags-20190331.ebuild | 71 ++++++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 72 insertions(+) |
17 |
|
18 |
diff --git a/dev-util/ctags/Manifest b/dev-util/ctags/Manifest |
19 |
index f169b7db96f..0e5f747b355 100644 |
20 |
--- a/dev-util/ctags/Manifest |
21 |
+++ b/dev-util/ctags/Manifest |
22 |
@@ -1,2 +1,3 @@ |
23 |
DIST ctags-20161028.tar.xz 852108 BLAKE2B a4c954c560bb2d0165c12b4ec4f7b7c2c674acde98d438d9388f5d6102d325759faa3d4801eb0f63da70064fdeb32ef1c1cdd4124ade8d87cd9632b77c823e1a SHA512 2b991ca47fc77d26da43f55753624d1b21363dbeec4aff3daa57762ff81df97b18b067e8989f5d92d36dd8c02abc04ad42296dd5da3659ae0c8901001287c75e |
24 |
DIST ctags-20170704.tar.gz 1295281 BLAKE2B b58917a876d90df528f51bcd572301dcba8fa8ce8998bdb0a245d7d58033e37c2984af963a312c83b364dafd37633270f5f5d06fdb635a927066282e9382f6a2 SHA512 6ed134347a4be16a5dcff35186bd949e73bea645908a5ac43082b92fdfa6040b0b99ea04590948ae8308d4e9eb1042c83a4f0df006709f15cebfbf0741d73641 |
25 |
+DIST ctags-20190331.tar.gz 1537104 BLAKE2B 354ddf48cdc9421e70d9d37ec7251e51f7f78564dc4f6236d12e2e18519369c39c22585830fd301b7eff4898d550b824776541198b8c4a31425711776b14fde4 SHA512 414faef7628ecaa66fcd5f172781a32194e1d58637dded1f7e55c138239ad777796bb1510bd447af3ad8243b7178e6f4859139305b0c0efe298182408f34524c |
26 |
|
27 |
diff --git a/dev-util/ctags/ctags-20190331.ebuild b/dev-util/ctags/ctags-20190331.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..472405a3975 |
30 |
--- /dev/null |
31 |
+++ b/dev-util/ctags/ctags-20190331.ebuild |
32 |
@@ -0,0 +1,71 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+ |
38 |
+inherit autotools |
39 |
+ |
40 |
+COMMITHASH="95975bd157cc1326120977ce530f0477bcbf43b1" |
41 |
+ |
42 |
+DESCRIPTION="Exuberant Ctags creates tags files for code browsing in editors" |
43 |
+HOMEPAGE="https://ctags.io/ https://github.com/universal-ctags/ctags" |
44 |
+SRC_URI="https://github.com/universal-ctags/ctags/archive/${COMMITHASH}.tar.gz -> ${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="GPL-2" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
49 |
+IUSE="json xml yaml" |
50 |
+ |
51 |
+CDEPEND=" |
52 |
+ json? ( dev-libs/jansson ) |
53 |
+ xml? ( dev-libs/libxml2:2 ) |
54 |
+ yaml? ( dev-libs/libyaml )" |
55 |
+ |
56 |
+RDEPEND=" |
57 |
+ ${CDEPEND} |
58 |
+ app-eselect/eselect-ctags" |
59 |
+ |
60 |
+DEPEND=" |
61 |
+ ${CDEPEND} |
62 |
+ dev-python/docutils |
63 |
+ virtual/pkgconfig" |
64 |
+ |
65 |
+S="${WORKDIR}/${PN}-${COMMITHASH}" |
66 |
+ |
67 |
+src_prepare() { |
68 |
+ default |
69 |
+ ./misc/dist-test-cases > makefiles/test-cases.mak || die |
70 |
+ eautoreconf |
71 |
+} |
72 |
+ |
73 |
+src_configure() { |
74 |
+ econf \ |
75 |
+ $(use_enable json) \ |
76 |
+ $(use_enable xml) \ |
77 |
+ $(use_enable yaml) \ |
78 |
+ --disable-readlib \ |
79 |
+ --disable-etags \ |
80 |
+ --enable-tmpdir="${EPREFIX}"/tmp |
81 |
+} |
82 |
+ |
83 |
+src_install() { |
84 |
+ emake prefix="${ED}"/usr mandir="${ED}"/usr/share/man install |
85 |
+ |
86 |
+ # namepace collision with X/Emacs-provided /usr/bin/ctags -- we |
87 |
+ # rename ctags to exuberant-ctags (Mandrake does this also). |
88 |
+ mv "${ED}"/usr/bin/{ctags,exuberant-ctags} || die |
89 |
+ mv "${ED}"/usr/share/man/man1/{ctags,exuberant-ctags}.1 || die |
90 |
+} |
91 |
+ |
92 |
+pkg_postinst() { |
93 |
+ eselect ctags update |
94 |
+ |
95 |
+ if [[ -z "$REPLACING_VERSIONS" ]]; then |
96 |
+ elog "You can set the version to be started by /usr/bin/ctags through" |
97 |
+ elog "the ctags eselect module. \"man ctags.eselect\" for details." |
98 |
+ fi |
99 |
+} |
100 |
+ |
101 |
+pkg_postrm() { |
102 |
+ eselect ctags update |
103 |
+} |