Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/ctags/
Date: Thu, 20 Jul 2017 22:04:54
Message-Id: 1500588278.f6e8c8a37a391b32b0906805af08e0426fa4bd66.monsieurp@gentoo
1 commit: f6e8c8a37a391b32b0906805af08e0426fa4bd66
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 20 22:04:38 2017 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 20 22:04:38 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6e8c8a3
7
8 dev-util/ctags: version bump.
9
10 Courtesy of nelo <AT> wallus.de.
11
12 Gentoo-Bug: https://bugs.gentoo.org/624032
13
14 Package-Manager: Portage-2.3.6, Repoman-2.3.1
15
16 dev-util/ctags/Manifest | 1 +
17 dev-util/ctags/ctags-20170704.ebuild | 75 ++++++++++++++++++++++++++++++++++++
18 2 files changed, 76 insertions(+)
19
20 diff --git a/dev-util/ctags/Manifest b/dev-util/ctags/Manifest
21 index 8c49aa0c073..8693e359a93 100644
22 --- a/dev-util/ctags/Manifest
23 +++ b/dev-util/ctags/Manifest
24 @@ -1,4 +1,5 @@
25 DIST ctags-20161028.tar.xz 852108 SHA256 8c10b3728ed90793fa25e5225e8cf56ee0a01b5da6d2bcdccd97e8ec0db2da4e SHA512 2b991ca47fc77d26da43f55753624d1b21363dbeec4aff3daa57762ff81df97b18b067e8989f5d92d36dd8c02abc04ad42296dd5da3659ae0c8901001287c75e WHIRLPOOL ac8b51f9d453c7d5ae52044d711949112f0523c61c5de12827188c694f616c5108ff4af86e2b810da859b88ba9ada1a9f9d36ba52060ebb16ed570f185caea95
26 +DIST ctags-20170704.zip 2522952 SHA256 94d21334e4f814a30338bca90a207da5c4c3b4dc75ea757daae0da366276b6af SHA512 d44ef77d81fcfcaf72754df8ab00c1385bad0186c5af0c9385521b9716ef1c3730e13a7e0b52f2ffd3cc30dde236d2417a74296e63cf1ecf2832acb6f0af2f4e WHIRLPOOL e495b8540c0ba6b5d686f09695bcfef05da898099510f6deb64995f13bc8ab4fe943c2cdc83dc89dcca05e4d51a87467d9d805aaa7566b61b6769a48d26a7de9
27 DIST ctags-5.8.tar.gz 479927 SHA256 0e44b45dcabe969e0bbbb11e30c246f81abe5d32012db37395eb57d66e9e99c7 SHA512 981912cd335978cde22864e977947fc75326572fb29518e559cc4a8ac1edc84b3604165218a666e36353f17da4f89f8e967acdb88696f816748eb946d79eaa15 WHIRLPOOL 04506a4495025907ee5fe41b9c4ff104dd234fc9ef39bd594158b36c550bf511b6ab5980a98736f9857dc47b99f1718a7ae2928fd4a1d1c0b57dfd3d79fce2ea
28 DIST ctags-5.8_p20140919.tar.gz 582289 SHA256 eebc85bd0206988250d9b24a7d02918bbca751259b086d5f53f31b4b39f571ee SHA512 3b6ad6e2d1f683dffe9e79c607f9cc222c4aa3c1f5113540cd18ea66d8f862917c9d849ee81d8b33a57ddd09749fa28fde74868d48479269a6e17b6c0451342d WHIRLPOOL 0c4008e914aed33097641fbb517f33e2ccf771a968ae3d1f6288422cdb634dda054ece11dd6204d624c9c78d4a36cecc4bb9d696d07f2bba24f3099aa3758f48
29 DIST ctags-ada-mode-4.3.11.tar.bz2 14060 SHA256 d25a3fd26b356adbd068f10a0b68691d36c154c04b96304b96386e169e4b6b57 SHA512 51c71e13ef658cd6682f04c94485315c4a702080ef2c7786fc9881b03c86f1c1d43aa1a69c452e4b0b2f7a78383804b66b159542cb4eae0cd309bc1ddbe2eb6e WHIRLPOOL 7e0ded8c97d3651e1afe48ec836697a4a19264baf3b203f6e98c134b88e3ab0eee7ac660789f5b955f0f827128996988694aa6c4bc78f18adf52724c5230da5d
30
31 diff --git a/dev-util/ctags/ctags-20170704.ebuild b/dev-util/ctags/ctags-20170704.ebuild
32 new file mode 100644
33 index 00000000000..634a328b19f
34 --- /dev/null
35 +++ b/dev-util/ctags/ctags-20170704.ebuild
36 @@ -0,0 +1,75 @@
37 +# Copyright 1999-2017 Gentoo Foundation
38 +# Distributed under the terms of the GNU General Public License v2
39 +
40 +EAPI=6
41 +
42 +inherit autotools
43 +
44 +COMMITHASH="0645b2c833e4ca956970cc96fab32a1b04c0c55c"
45 +
46 +DESCRIPTION="Exuberant Ctags creates tags files for code browsing in editors"
47 +HOMEPAGE="https://ctags.io/ https://github.com/universal-ctags/ctags"
48 +SRC_URI="https://github.com/universal-ctags/ctags/archive/${COMMITHASH}.zip -> ${P}.zip"
49 +
50 +LICENSE="GPL-2"
51 +SLOT="0"
52 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
53 +IUSE="json xml yaml"
54 +
55 +CDEPEND="
56 + json? ( dev-libs/jansson )
57 + xml? ( dev-libs/libxml2:2 )
58 + yaml? ( dev-libs/libyaml )
59 +"
60 +
61 +RDEPEND="
62 + ${CDEPEND}
63 + app-eselect/eselect-ctags
64 +"
65 +
66 +DEPEND="
67 + ${CDEPEND}
68 + dev-python/docutils
69 + virtual/pkgconfig
70 + app-arch/unzip
71 +"
72 +
73 +S="${WORKDIR}/${PN}-${COMMITHASH}"
74 +
75 +src_prepare() {
76 + default
77 + ./misc/dist-test-cases > makefiles/test-cases.mak || die
78 + eautoreconf
79 +}
80 +
81 +src_configure() {
82 + econf \
83 + $(use_enable json) \
84 + $(use_enable xml) \
85 + $(use_enable yaml) \
86 + --disable-readlib \
87 + --disable-etags \
88 + --enable-tmpdir="${EPREFIX}"/tmp
89 +}
90 +
91 +src_install() {
92 + emake prefix="${ED}"/usr mandir="${ED}"/usr/share/man install
93 +
94 + # namepace collision with X/Emacs-provided /usr/bin/ctags -- we
95 + # rename ctags to exuberant-ctags (Mandrake does this also).
96 + mv "${ED}"/usr/bin/{ctags,exuberant-ctags} || die
97 + mv "${ED}"/usr/share/man/man1/{ctags,exuberant-ctags}.1 || die
98 +}
99 +
100 +pkg_postinst() {
101 + eselect ctags update
102 +
103 + if [[ -z "$REPLACING_VERSIONS" ]]; then
104 + elog "You can set the version to be started by /usr/bin/ctags through"
105 + elog "the ctags eselect module. \"man ctags.eselect\" for details."
106 + fi
107 +}
108 +
109 +pkg_postrm() {
110 + eselect ctags update
111 +}