Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/lesspipe/
Date: Thu, 22 Jul 2021 07:25:46
Message-Id: 1626938736.9a7c8363e700e7ff43ef94dfa2ec2d32b5dc0446.polynomial-c@gentoo
1 commit: 9a7c8363e700e7ff43ef94dfa2ec2d32b5dc0446
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 22 07:07:01 2021 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 22 07:25:36 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a7c8363
7
8 app-text/lesspipe: Bump to version 1.86
9
10 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
11
12 app-text/lesspipe/Manifest | 1 +
13 app-text/lesspipe/lesspipe-1.86.ebuild | 45 ++++++++++++++++++++++++++++++++++
14 2 files changed, 46 insertions(+)
15
16 diff --git a/app-text/lesspipe/Manifest b/app-text/lesspipe/Manifest
17 index f6fac7d4bba..047709596ab 100644
18 --- a/app-text/lesspipe/Manifest
19 +++ b/app-text/lesspipe/Manifest
20 @@ -1 +1,2 @@
21 DIST lesspipe-1.85.tar.gz 120568 BLAKE2B d2c00f4121dc1bbed6b82220dac038068bbff87c732385399542cb212d4664c74d018db07829f90c38e938cb8623a443888c74b0d003fff725d0ddf207d8109e SHA512 420d087b9fc9783b9404855e4656b88c10852502bd2f1931978b7dc7ff15eba1a375b217184480f9b341322c12e7336d0861ba9c2f673f2b2a7fb340a381f5b2
22 +DIST lesspipe-1.86.tar.gz 120910 BLAKE2B 1065bd95707991380cee8b1be917ae66a6537fdd721e9ec0c326b1ce3358ae518dd28902505967fc086e57e9d3e603e27a328f38c79ae38fe70e5e2a8306b59a SHA512 88a890b91ff3d889f32f23d85d76ef96947e8f1175d54d4301e8891587e87bf1c0a147f1fd5391e52badf4ee31229d337b97c5d5e5f74f4dde966eb93294cfb2
23
24 diff --git a/app-text/lesspipe/lesspipe-1.86.ebuild b/app-text/lesspipe/lesspipe-1.86.ebuild
25 new file mode 100644
26 index 00000000000..6ebe2f17d7a
27 --- /dev/null
28 +++ b/app-text/lesspipe/lesspipe-1.86.ebuild
29 @@ -0,0 +1,45 @@
30 +# Copyright 1999-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DESCRIPTION="a preprocessor for less"
36 +HOMEPAGE="https://github.com/wofr06/lesspipe"
37 +SRC_URI="https://github.com/wofr06/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
38 +
39 +LICENSE="GPL-2"
40 +SLOT="0"
41 +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"
42 +IUSE=""
43 +
44 +# Tests are broken in 1.84, 1.85.
45 +# Please check again on bumps!
46 +# bug #734896
47 +RESTRICT="test"
48 +
49 +DEPEND="dev-lang/perl"
50 +RDEPEND="${DEPEND}
51 + !<sys-apps/less-483-r1"
52 +
53 +src_configure() {
54 + # Not an autoconf script.
55 + ./configure --fixed || die
56 +}
57 +
58 +src_compile() {
59 + # Nothing to build.
60 + :
61 +}
62 +
63 +src_install() {
64 + emake PREFIX="${EPREFIX}/usr" DESTDIR="${D}" install
65 + einstalldocs
66 +}
67 +
68 +pkg_preinst() {
69 + if [[ -z ${REPLACING_VERSIONS} ]] ; then
70 + elog "This package installs 'lesspipe.sh' which is distinct from 'lesspipe'."
71 + elog "The latter is the Gentoo-specific version. Make sure to update your"
72 + elog "LESSOPEN environment variable if you wish to use this copy."
73 + fi
74 +}