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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E1D271581D3 for ; Sun, 2 Jun 2024 05:35:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 189BFE2A85; Sun, 2 Jun 2024 05:35:55 +0000 (UTC) Received: from smtp.gentoo.org (mail.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EAB67E2A87 for ; Sun, 2 Jun 2024 05:35:54 +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 2618533BEA5 for ; Sun, 2 Jun 2024 05:35:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8407E1A8D for ; Sun, 2 Jun 2024 05:35:52 +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: <1717306014.ae2c29a2f2105e861b9f119fbc99825b1d082ff2.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/lesspipe/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/lesspipe/Manifest app-text/lesspipe/lesspipe-2.13.ebuild X-VCS-Directories: app-text/lesspipe/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: ae2c29a2f2105e861b9f119fbc99825b1d082ff2 X-VCS-Branch: master Date: Sun, 2 Jun 2024 05:35:52 +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: 9cf03692-38b0-4f9a-ae01-bc661e1ddbc8 X-Archives-Hash: b097ac642bfd4d2672ce0633fb71cf90 commit: ae2c29a2f2105e861b9f119fbc99825b1d082ff2 Author: Sam James gentoo org> AuthorDate: Sun Jun 2 05:26:54 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sun Jun 2 05:26:54 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae2c29a2 app-text/lesspipe: add 2.13 Signed-off-by: Sam James gentoo.org> app-text/lesspipe/Manifest | 1 + app-text/lesspipe/lesspipe-2.13.ebuild | 63 ++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/app-text/lesspipe/Manifest b/app-text/lesspipe/Manifest index 2deb7f2d7be7..936d407f9e76 100644 --- a/app-text/lesspipe/Manifest +++ b/app-text/lesspipe/Manifest @@ -1,2 +1,3 @@ DIST lesspipe-2.11.tar.gz 171212 BLAKE2B aa7cf35f00d9db4ad7cb48ae89089a4d0c5d6c6e41ec902bc7ba6d4fd218f8ea90e1fdf3d6fcbac1dd1f86eb841a0daa6838b0086905fd4b0535d91040ef85aa SHA512 ed75d8529bd24876b11a50d0ada476299569d0fe716c390de84a0630ae475594f96370ffbed64fc5d9e2417dcbaa7b2f68630e32f665dff799667c2653b0265f DIST lesspipe-2.12.tar.gz 171915 BLAKE2B b1181cc5ca6ec8ca918bff31def6d6fde5f6bcfde9d48e0a23a088ee9ff178e3e9ff330b1c27a3d74b63d227c94292141414bec8c25d0035f9fec01c6760b8b9 SHA512 9c6945b0f5a5672e3b9b0035ebc63ab3197c1b3d1dfc3d4a2280c1f11421d98ccc5c016273a308a96f61a47f4da6d6658502534284fff81fd75365a4ba91c27e +DIST lesspipe-2.13.tar.gz 173413 BLAKE2B 06752c71822233bf7f5f9f55b416222963a05cb9b7ce60d204b989d5d7052e5d24ca26f0ddc9e2520789e89cf8e2be456a77f616adefe65e637d0761948a734d SHA512 e4e2448f9d001c1da3ca2d9ad029598cc51bd3ce381f77d4b77093d8df8162111726af09690611f91542b2f8f437dcc448b95505adfc92a724bff151490ddd3d diff --git a/app-text/lesspipe/lesspipe-2.13.ebuild b/app-text/lesspipe/lesspipe-2.13.ebuild new file mode 100644 index 000000000000..9b06994b07f0 --- /dev/null +++ b/app-text/lesspipe/lesspipe-2.13.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit edo + +DESCRIPTION="Preprocessor for less" +HOMEPAGE="https://github.com/wofr06/lesspipe" +SRC_URI="https://github.com/wofr06/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="test" + +# Please check again on bumps! (bug #734896) +RESTRICT="!test? ( test ) test" + +RDEPEND=" + dev-lang/perl + dev-perl/Text-CSV +" +BDEPEND=" + ${RDEPEND} + virtual/pkgconfig + test? ( app-editors/vim ) +" + +src_configure() { + # Not an autoconf script. + # + # PG0301 + # By default, only completions for installed shells are installed. + # Unconditionally install zsh too. + edo ./configure --prefix="${EPREFIX}"/usr --all-completions +} + +src_compile() { + # Nothing to build (avoids the "all" target) + : +} + +src_install() { + emake PREFIX="${EPREFIX}/usr" DESTDIR="${D}" install + einstalldocs + + # The upstream Makefile intentionally installs to the wrong directory, then prints: + # In bash, please preload the completion, dynamic invocation does not work + # . /usr/share/bash-completion/less_completion + # Or consider installing the file less_completion in /etc/bashcompletion.d + rm "${ED}"/usr/share/bash-completion/less_completion || die + insinto /etc/bash_completion.d + doins less_completion +} + +pkg_preinst() { + if [[ -z ${REPLACING_VERSIONS} ]] ; then + elog "This package installs 'lesspipe.sh' which is distinct from 'lesspipe'." + elog "The latter is the Gentoo-specific version. Make sure to update your" + elog "LESSOPEN environment variable if you wish to use this copy." + fi +}