public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Pacho Ramos" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/global/
Date: Tue, 30 Jul 2024 08:49:58 +0000 (UTC)	[thread overview]
Message-ID: <1722329281.12726351846f2027d8486882ed3dd9b2f6fe54e3.pacho@gentoo> (raw)

commit:     12726351846f2027d8486882ed3dd9b2f6fe54e3
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 30 08:14:38 2024 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Tue Jul 30 08:48:01 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12726351

dev-util/global: add 6.6.13

Closes: https://bugs.gentoo.org/929542
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 dev-util/global/Manifest             |   1 +
 dev-util/global/global-6.6.13.ebuild | 102 +++++++++++++++++++++++++++++++++++
 2 files changed, 103 insertions(+)

diff --git a/dev-util/global/Manifest b/dev-util/global/Manifest
index 859a5626f707..21699ebae4ab 100644
--- a/dev-util/global/Manifest
+++ b/dev-util/global/Manifest
@@ -1,2 +1,3 @@
 DIST global-6.6.10.tar.gz 2999863 BLAKE2B 496bac144c935893b29e23bbb1fa4583a5d6d0ab1b8cd818ff592d7259bb6fa832d79666703f2ac179b5fd39095fd922b8861ad73879c5bac299f9b785797c0b SHA512 babbba6a8dc701b401a12d9961cb7510983e44c7f80836d6d0da165fd0d8cc695e20b7c241526839aef2a70c8bbf97727d910ff17c37751ba3438267139b45d1
+DIST global-6.6.13.tar.gz 3003671 BLAKE2B 476c918bad8f6d246ef6b50bcccdee9040ced2b529737e55cd5daa62d2b96d9f5073e1a48d98fe2ec0c2da68b1fb557b0f0f7d7d25eba8c5c5d784dda7b29cb1 SHA512 072d10a6911cef3bf66b5cf17e101f9c1ff29c993bf7db4c99164e5c1b18b4e3ddec31962c77beea2685cb116330919abb9b226d472d0003949a91286d0f1b6d
 DIST global-6.6.4.tar.gz 2988969 BLAKE2B 784087537094d27c10d1f2bc992e799c35ab6ce3b86e041c31279e6954b203e80676b3158ba95e7957456b75a213d70998aae9047836cd4d388212236f05a081 SHA512 cb4ed451d3aaf47c4c59cdc3f74c97d3171108177d4846b5dac843589710e66d87c9d7bbe080c3770329e8e40105ac52dcafb4609257347593cca4d94711f483

diff --git a/dev-util/global/global-6.6.13.ebuild b/dev-util/global/global-6.6.13.ebuild
new file mode 100644
index 000000000000..3307ec39c98c
--- /dev/null
+++ b/dev-util/global/global-6.6.13.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit autotools elisp-common python-single-r1
+
+DESCRIPTION="Tag system to find an object location in various sources"
+HOMEPAGE="https://www.gnu.org/software/global/global.html"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc emacs"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+	${PYTHON_DEPS}
+	dev-libs/libltdl
+	dev-db/sqlite
+	sys-libs/ncurses
+	$(python_gen_cond_dep '
+		dev-python/pygments[${PYTHON_USEDEP}]
+	')
+	emacs? ( >=app-editors/emacs-23.1:* )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	doc? (
+		app-text/texi2html
+		app-text/texlive-core
+		sys-apps/texinfo
+	)
+"
+
+SITEFILE="50gtags-gentoo.el"
+
+PATCHES=(
+	"${FILESDIR}/${PN}-6.2.9-tinfo.patch"
+)
+
+src_prepare() {
+	default
+	eautoreconf
+}
+
+src_configure() {
+	local myeconfargs=(
+		--with-python-interpreter="${PYTHON}"
+		--with-sqlite3 # avoid using bundled copy
+		$(use_with emacs lispdir "${SITELISP}/${PN}")
+	)
+
+	econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+	if use doc; then
+		texi2pdf -q -o doc/global.pdf doc/global.texi || die
+		texi2html -o doc/global.html doc/global.texi || die
+	fi
+
+	if use emacs; then
+		elisp-compile *.el
+	fi
+
+	emake
+}
+
+src_install() {
+	default
+
+	rm -rf "${ED}"/var/lib || die
+
+	insinto /etc
+	doins gtags.conf
+
+	insinto /usr/share/vim/vimfiles/plugin
+	doins gtags.vim
+
+	if use emacs; then
+		elisp-install ${PN} *.{el,elc}
+		elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+	fi
+
+	if use doc; then
+		# doc/global.pdf is generated if tex executable (e.g. /usr/bin/tex) is available.
+		[[ -f doc/global.pdf ]] && DOCS+=( doc/global.pdf )
+	fi
+
+	find "${ED}" -name '*.la' -type f -delete || die
+}
+
+pkg_postinst() {
+	use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+	use emacs && elisp-site-regen
+}


             reply	other threads:[~2024-07-30  8:50 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-30  8:49 Pacho Ramos [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-07-06  6:54 [gentoo-commits] repo/gentoo:master commit in: dev-util/global/ Sam James
2023-07-06  4:02 Sam James
2023-07-06  2:11 Sam James
2020-09-09 16:01 Sam James
2020-08-01  8:53 Sergei Trofimovich
2019-12-31  2:40 Naohiro Aota
2018-02-11 10:53 Michał Górny
2017-12-02 12:52 David Seifert
2017-07-30 19:32 Patrice Clement

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1722329281.12726351846f2027d8486882ed3dd9b2f6fe54e3.pacho@gentoo \
    --to=pacho@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox