Сравнение global-6.6.4 с global-6.6.10

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

  
4
EAPI=7
4
EAPI=8
5 5

  
6
inherit autotools elisp-common
6
PYTHON_COMPAT=( python3_{10..11} )
7
inherit autotools elisp-common python-single-r1
7 8

  
8
DESCRIPTION="tag system to find an object location in various sources"
9
DESCRIPTION="Tag system to find an object location in various sources"
9 10
HOMEPAGE="https://www.gnu.org/software/global/global.html"
10 11
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
11 12

  
12 13
LICENSE="GPL-3+"
13 14
SLOT="0"
14
KEYWORDS="amd64 ppc x86"
15
IUSE="doc emacs vim"
15
KEYWORDS="~amd64 ~ppc ~x86"
16
IUSE="doc emacs"
17
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
16 18

  
17 19
RDEPEND="
20
	${PYTHON_DEPS}
21
	dev-libs/libltdl
22
	dev-db/sqlite
18 23
	sys-libs/ncurses
24
	$(python_gen_cond_dep '
25
		dev-python/pygments[${PYTHON_USEDEP}]
26
	')
19 27
	emacs? ( >=app-editors/emacs-23.1:* )
20
	vim? ( || (
21
			app-editors/vim
22
			app-editors/gvim
23
		)
24
	)
25
	|| (
26
		dev-libs/libltdl:0
27
		sys-devel/libtool:2
28
	)"
29

  
30
DEPEND="${RDEPEND}
28
"
29
DEPEND="${RDEPEND}"
30
BDEPEND="
31 31
	doc? (
32 32
		app-text/texi2html
33
		app-text/texlive-core
33 34
		sys-apps/texinfo
34
	)"
35
	)
36
"
35 37

  
36 38
SITEFILE="50gtags-gentoo.el"
37 39

  
38 40
PATCHES=(
39 41
	"${FILESDIR}/${PN}-6.2.9-tinfo.patch"
40
	"${FILESDIR}/${PN}-6.6.4-fno-common.patch"
41
	"${FILESDIR}/${PN}-6.6.4-Fix-build-with-Clang-16.patch"
42 42
)
43 43

  
44
DOCS=( AUTHORS FAQ NEWS README THANKS )
45

  
46 44
src_prepare() {
47 45
	default
48 46
	eautoreconf
49 47
}
50 48

  
51 49
src_configure() {
52
	econf \
53
		"$(use_with emacs lispdir "${SITELISP}/${PN}")"
50
	local myeconfargs=(
51
		--with-python-interpreter="${PYTHON}"
52
		--with-sqlite3 # avoid using bundled copy
53
		$(use_with emacs lispdir "${SITELISP}/${PN}")
54
	)
55

  
56
	econf "${myeconfargs[@]}"
54 57
}
55 58

  
56 59
src_compile() {
57 60
	if use doc; then
58
		texi2pdf -q -o doc/global.pdf doc/global.texi
59
		texi2html -o doc/global.html doc/global.texi
61
		texi2pdf -q -o doc/global.pdf doc/global.texi || die
62
		texi2html -o doc/global.html doc/global.texi || die
60 63
	fi
61 64

  
62 65
	if use emacs; then
......
69 72
src_install() {
70 73
	default
71 74

  
75
	rm -rf "${ED}"/var/lib || die
76

  
72 77
	insinto /etc
73 78
	doins gtags.conf
74 79

  
75
	if use vim; then
76
		insinto /usr/share/vim/vimfiles/plugin
77
		doins gtags.vim
78
	fi
80
	insinto /usr/share/vim/vimfiles/plugin
81
	doins gtags.vim
79 82

  
80 83
	if use emacs; then
81 84
		elisp-install ${PN} *.{el,elc}
......
87 90
		[[ -f doc/global.pdf ]] && DOCS+=( doc/global.pdf )
88 91
	fi
89 92

  
90
	einstalldocs
91 93
	find "${ED}" -name '*.la' -type f -delete || die
92 94
}
93 95

  
Спасибо!