From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B4BD115800D for ; Thu, 6 Jul 2023 02:11:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EDE24E0817; Thu, 6 Jul 2023 02:11:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D3DD6E0817 for ; Thu, 6 Jul 2023 02:11:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ED083340F3A for ; Thu, 6 Jul 2023 02:11:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4197CA86 for ; Thu, 6 Jul 2023 02:11:41 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1688608672.89e944eed5e50d90cf7802d345c97c2de1016999.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/global/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/global/Manifest dev-util/global/global-6.6.10.ebuild X-VCS-Directories: dev-util/global/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 89e944eed5e50d90cf7802d345c97c2de1016999 X-VCS-Branch: master Date: Thu, 6 Jul 2023 02:11:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8f3bb205-adc7-4a94-b285-77ed8702b27a X-Archives-Hash: 09d272103d4795c56118603eb1cd1fc7 commit: 89e944eed5e50d90cf7802d345c97c2de1016999 Author: Sam James gentoo org> AuthorDate: Thu Jul 6 01:57:52 2023 +0000 Commit: Sam James gentoo org> CommitDate: Thu Jul 6 01:57:52 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89e944ee dev-util/global: add 6.6.10 Closes: https://bugs.gentoo.org/763039 Signed-off-by: Sam James gentoo.org> dev-util/global/Manifest | 1 + dev-util/global/global-6.6.10.ebuild | 101 +++++++++++++++++++++++++++++++++++ 2 files changed, 102 insertions(+) diff --git a/dev-util/global/Manifest b/dev-util/global/Manifest index 40b667bfa42e..859a5626f707 100644 --- a/dev-util/global/Manifest +++ b/dev-util/global/Manifest @@ -1 +1,2 @@ +DIST global-6.6.10.tar.gz 2999863 BLAKE2B 496bac144c935893b29e23bbb1fa4583a5d6d0ab1b8cd818ff592d7259bb6fa832d79666703f2ac179b5fd39095fd922b8861ad73879c5bac299f9b785797c0b SHA512 babbba6a8dc701b401a12d9961cb7510983e44c7f80836d6d0da165fd0d8cc695e20b7c241526839aef2a70c8bbf97727d910ff17c37751ba3438267139b45d1 DIST global-6.6.4.tar.gz 2988969 BLAKE2B 784087537094d27c10d1f2bc992e799c35ab6ce3b86e041c31279e6954b203e80676b3158ba95e7957456b75a213d70998aae9047836cd4d388212236f05a081 SHA512 cb4ed451d3aaf47c4c59cdc3f74c97d3171108177d4846b5dac843589710e66d87c9d7bbe080c3770329e8e40105ac52dcafb4609257347593cca4d94711f483 diff --git a/dev-util/global/global-6.6.10.ebuild b/dev-util/global/global-6.6.10.ebuild new file mode 100644 index 000000000000..41abd9d57503 --- /dev/null +++ b/dev-util/global/global-6.6.10.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +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 + 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 +}