public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
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, 16 Aug 2021 02:43:07 +0000 (UTC)	[thread overview]
Message-ID: <1629081266.0e53f989f919b8721b66ef63776ad10d19f34a2b.sam@gentoo> (raw)

commit:     0e53f989f919b8721b66ef63776ad10d19f34a2b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 16 02:34:26 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Aug 16 02:34:26 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e53f989

app-text/lesspipe: add 1.88

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-text/lesspipe/Manifest             |  1 +
 app-text/lesspipe/lesspipe-1.88.ebuild | 60 ++++++++++++++++++++++++++++++++++
 2 files changed, 61 insertions(+)

diff --git a/app-text/lesspipe/Manifest b/app-text/lesspipe/Manifest
index 2bab6100fc5..6075dbbc12c 100644
--- a/app-text/lesspipe/Manifest
+++ b/app-text/lesspipe/Manifest
@@ -1,3 +1,4 @@
 DIST lesspipe-1.85.tar.gz 120568 BLAKE2B d2c00f4121dc1bbed6b82220dac038068bbff87c732385399542cb212d4664c74d018db07829f90c38e938cb8623a443888c74b0d003fff725d0ddf207d8109e SHA512 420d087b9fc9783b9404855e4656b88c10852502bd2f1931978b7dc7ff15eba1a375b217184480f9b341322c12e7336d0861ba9c2f673f2b2a7fb340a381f5b2
 DIST lesspipe-1.86.tar.gz 120910 BLAKE2B 1065bd95707991380cee8b1be917ae66a6537fdd721e9ec0c326b1ce3358ae518dd28902505967fc086e57e9d3e603e27a328f38c79ae38fe70e5e2a8306b59a SHA512 88a890b91ff3d889f32f23d85d76ef96947e8f1175d54d4301e8891587e87bf1c0a147f1fd5391e52badf4ee31229d337b97c5d5e5f74f4dde966eb93294cfb2
 DIST lesspipe-1.87.tar.gz 120935 BLAKE2B 3c6348c4a00cddfdf11832fda58582483e07e94a1834d6128329e2902356990f1c590300508127a365179a43b0d5c0c82bafd5b0a3a5945270084c8a94e1e3a2 SHA512 774168c6cbb7b13f2efaf7d19a1bba378e51c25553b8ea0bd9783de3a6d0bf7a3f7abf79332b40180eaa1f67274edebf51cb90c13a0fbd4051f33cecc20124b2
+DIST lesspipe-1.88.tar.gz 121053 BLAKE2B 9d754c38b7e13f11799c22ac75d1a3636a1c5a38f1f83bda5b41d24ae9a6ecda0191190edf72132b0bb4e09a16aa3696cad906269ad09c9d2e1f26b44cc6937e SHA512 ece17095e2ba4cabeb689f7a4eb2e04297ec4fd3910af719a067487127bea3f11d2946542048cf152cf9d269152fc5dfa4a57abb0ccd8f60c5e1f9f106f23559

diff --git a/app-text/lesspipe/lesspipe-1.88.ebuild b/app-text/lesspipe/lesspipe-1.88.ebuild
new file mode 100644
index 00000000000..bc53c82f7b8
--- /dev/null
+++ b/app-text/lesspipe/lesspipe-1.88.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="A preprocessor for less"
+HOMEPAGE="https://github.com/wofr06/lesspipe"
+SRC_URI="https://github.com/wofr06/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+
+# Tests are broken in 1.84, 1.85.
+# Still fragile in 1.88. Passes when lesspipe is not installed.
+# Please check again on bumps!
+# bug #734896
+RESTRICT="test"
+
+DEPEND="dev-lang/perl"
+RDEPEND="${DEPEND}
+	!<sys-apps/less-483-r1"
+
+src_prepare() {
+	default
+
+	# Drop a failing test. Not ideal, however:
+	# The test suite for this package is pretty fragile; it's more valuable
+	# to have _something_ failing/passing overall, than relying on a single
+	# test which seems to fail due to an unpredictable external command.
+	sed -i -e '/#needs pstotext ps2ascii/d' TESTCMDS || die
+}
+
+src_configure() {
+	# Not an autoconf script.
+	./configure --fixed || die
+}
+
+src_compile() {
+	# Nothing to build (avoids the "all" target)
+	:
+}
+
+src_test() {
+	# LC_ALL=C manages to fix one test failure
+	LC_ALL=C ./test.pl -d || die "Tests failed!"
+}
+
+src_install() {
+	emake PREFIX="${EPREFIX}/usr" DESTDIR="${D}" install
+	einstalldocs
+}
+
+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
+}


             reply	other threads:[~2021-08-16 20:48 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-16  2:43 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-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-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=1629081266.0e53f989f919b8721b66ef63776ad10d19f34a2b.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