From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/lesspipe/
Date: Mon, 15 Apr 2024 06:51:55 +0000 (UTC) [thread overview]
Message-ID: <1713163890.f7b15433f1327fc6092e8fdf6628b32caa19bba9.sam@gentoo> (raw)
commit: f7b15433f1327fc6092e8fdf6628b32caa19bba9
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 15 06:32:37 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr 15 06:51:30 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7b15433
app-text/lesspipe: add 2.12
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-text/lesspipe/Manifest | 1 +
app-text/lesspipe/lesspipe-2.12.ebuild | 63 ++++++++++++++++++++++++++++++++++
2 files changed, 64 insertions(+)
diff --git a/app-text/lesspipe/Manifest b/app-text/lesspipe/Manifest
index e3cdae40bc16..2deb7f2d7be7 100644
--- a/app-text/lesspipe/Manifest
+++ b/app-text/lesspipe/Manifest
@@ -1 +1,2 @@
DIST lesspipe-2.11.tar.gz 171212 BLAKE2B aa7cf35f00d9db4ad7cb48ae89089a4d0c5d6c6e41ec902bc7ba6d4fd218f8ea90e1fdf3d6fcbac1dd1f86eb841a0daa6838b0086905fd4b0535d91040ef85aa SHA512 ed75d8529bd24876b11a50d0ada476299569d0fe716c390de84a0630ae475594f96370ffbed64fc5d9e2417dcbaa7b2f68630e32f665dff799667c2653b0265f
+DIST lesspipe-2.12.tar.gz 171915 BLAKE2B b1181cc5ca6ec8ca918bff31def6d6fde5f6bcfde9d48e0a23a088ee9ff178e3e9ff330b1c27a3d74b63d227c94292141414bec8c25d0035f9fec01c6760b8b9 SHA512 9c6945b0f5a5672e3b9b0035ebc63ab3197c1b3d1dfc3d4a2280c1f11421d98ccc5c016273a308a96f61a47f4da6d6658502534284fff81fd75365a4ba91c27e
diff --git a/app-text/lesspipe/lesspipe-2.12.ebuild b/app-text/lesspipe/lesspipe-2.12.ebuild
new file mode 100644
index 000000000000..9e0fa293f993
--- /dev/null
+++ b/app-text/lesspipe/lesspipe-2.12.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 ~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
+}
next reply other threads:[~2024-04-15 6:51 UTC|newest]
Thread overview: 63+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-15 6:51 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-08-29 5:16 [gentoo-commits] repo/gentoo:master commit in: app-text/lesspipe/ Jakov Smolić
2024-06-27 2:58 Sam James
2024-06-25 4:46 Sam James
2024-06-25 4:41 Sam James
2024-06-02 5:35 Sam James
2024-05-07 18:31 Arthur Zamarin
2024-04-15 6:51 Sam James
2024-03-14 7:58 Arthur Zamarin
2024-03-14 6:26 Sam James
2024-01-17 0:02 Sam James
2024-01-17 0:02 Sam James
2023-12-14 8:32 Sam James
2023-12-14 8:32 Sam James
2023-10-06 0:32 Sam James
2023-08-21 3:50 Sam James
2023-08-19 15:37 Arthur Zamarin
2023-06-27 7:14 Sam James
2023-06-26 16:47 Sam James
2023-03-04 6:17 Arthur Zamarin
2023-01-10 15:11 Sam James
2022-09-25 4:35 Sam James
2022-09-25 4:35 Sam James
2022-08-27 11:25 Sam James
2022-08-18 3:10 Sam James
2022-06-13 16:29 Sam James
2022-06-13 7:07 Agostino Sarubbo
2022-04-27 2:31 Sam James
2022-03-15 20:19 Sam James
2022-03-02 2:19 Sam James
2022-03-02 2:19 Sam James
2022-02-23 3:08 Sam James
2022-02-23 3:08 Sam James
2022-02-23 3:08 Sam James
2022-01-20 12:08 Sam James
2022-01-20 12:08 Sam James
2022-01-05 2:44 Sam James
2021-12-29 5:35 Sam James
2021-12-13 7:02 Agostino Sarubbo
2021-12-13 6:57 Agostino Sarubbo
2021-12-05 3:35 Sam James
2021-11-11 3:49 Sam James
2021-10-26 4:35 Sam James
2021-08-26 18:48 Sam James
2021-08-26 18:48 Sam James
2021-08-16 2:43 Sam James
2021-08-16 2:43 Sam James
2021-08-09 3:48 Sam James
2021-08-09 3:47 Sam James
2021-08-08 9:32 Lars Wendler
2021-07-22 7:25 Lars Wendler
2021-05-14 20:07 Sam James
2021-05-14 20:06 Sam James
2021-05-14 20:06 Sam James
2021-05-14 20:05 Sam James
2020-12-27 14:01 Fabian Groffen
2020-08-26 15:21 Thomas Deutschmann
2019-08-11 1:13 Thomas Deutschmann
2018-04-06 13:11 Lars Wendler
2018-04-06 13:11 Lars Wendler
2017-11-14 12:42 Manuel Rüger
2017-10-26 20:30 Thomas Deutschmann
2016-04-06 22:09 Mike Frysinger
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=1713163890.f7b15433f1327fc6092e8fdf6628b32caa19bba9.sam@gentoo \
--to=sam@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