Сравнение ctags-20211017.0 с ctags-20220828.0-r1

/usr/portage/dev-util/ctags/ctags-20220828.0-r1.ebuild 2023-10-09 14:52:30.956368387 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
5 5

  
6
inherit autotools
6
PYTHON_COMPAT=( python3_{9..11} )
7
inherit autotools python-any-r1
7 8

  
8 9
DESCRIPTION="Exuberant Ctags creates tags files for code browsing in editors"
9 10
HOMEPAGE="https://ctags.io/ https://github.com/universal-ctags/ctags"
11

  
10 12
if [[ ${PV} == *99999999* ]] ; then
11
	inherit git-r3
12 13
	EGIT_REPO_URI="https://github.com/universal-ctags/ctags"
14
	inherit git-r3
13 15
else
14 16
	SRC_URI="https://github.com/universal-ctags/ctags/archive/refs/tags/p5.9.${PV}.tar.gz -> ${P}.tar.gz"
15
	S="${WORKDIR}/${PN}-p5.9.${PV}"
16
	KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
17
	S="${WORKDIR}"/${PN}-p5.9.${PV}
18

  
19
	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
17 20
fi
18 21

  
19 22
LICENSE="GPL-2+"
20 23
SLOT="0"
21
IUSE="json xml yaml"
24
IUSE="json pcre seccomp test xml yaml"
25
RESTRICT="!test? ( test )"
22 26

  
23 27
DEPEND="
24 28
	json? ( dev-libs/jansson:= )
29
	pcre? ( dev-libs/libpcre2 )
30
	seccomp? ( sys-libs/libseccomp )
25 31
	xml? ( dev-libs/libxml2:2 )
26 32
	yaml? ( dev-libs/libyaml )
27 33
"
28
RDEPEND="
29
	${DEPEND}
30
	app-eselect/eselect-ctags
31
"
34
RDEPEND="${DEPEND}"
32 35
BDEPEND="
33 36
	dev-python/docutils
34 37
	virtual/pkgconfig
38
	test? ( ${PYTHON_DEPS} )
35 39
"
40
IDEPEND="app-eselect/eselect-ctags"
41

  
42
pkg_setup() {
43
	use test && python-any-r1_pkg_setup
44
}
36 45

  
37 46
src_prepare() {
38 47
	# Ignore check-genfile test (calls git which errors out)
......
48 57
src_configure() {
49 58
	econf \
50 59
		$(use_enable json) \
60
		$(use_enable pcre pcre2) \
61
		$(use_enable seccomp) \
51 62
		$(use_enable xml) \
52 63
		$(use_enable yaml) \
53 64
		--disable-etags \
......
57 68
src_install() {
58 69
	emake prefix="${ED}"/usr mandir="${ED}"/usr/share/man install
59 70

  
60
	# namepace collision with X/Emacs-provided /usr/bin/ctags -- we
71
	# Namepace collision with X/Emacs-provided /usr/bin/ctags -- we
61 72
	# rename ctags to exuberant-ctags (Mandrake does this also).
62 73
	mv "${ED}"/usr/bin/{ctags,exuberant-ctags} || die
63 74
	mv "${ED}"/usr/share/man/man1/{ctags,exuberant-ctags}.1 || die
......
66 77
pkg_postinst() {
67 78
	eselect ctags update
68 79

  
69
	if [[ -z "$REPLACING_VERSIONS" ]]; then
70
		elog "You can set the version to be started by /usr/bin/ctags through"
80
	if [[ -z "${REPLACING_VERSIONS}" ]]; then
81
		elog "You can set the version to be started by ${EROOT}/usr/bin/ctags through"
71 82
		elog "the ctags eselect module. \"man ctags.eselect\" for details."
72 83
	fi
73 84
}
Спасибо!