Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/lesspipe/
Date: Wed, 26 Aug 2020 15:21:50
Message-Id: 1598455296.5282d5cf600e03b171260897d50096a1fefb9b19.whissi@gentoo
1 commit: 5282d5cf600e03b171260897d50096a1fefb9b19
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 26 15:19:54 2020 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 26 15:21:36 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5282d5cf
7
8 app-text/lesspipe: bump to v1.85
9
10 Package-Manager: Portage-3.0.4, Repoman-3.0.1
11 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
12
13 app-text/lesspipe/Manifest | 1 +
14 app-text/lesspipe/lesspipe-1.85.ebuild | 40 ++++++++++++++++++++++++++++++++++
15 2 files changed, 41 insertions(+)
16
17 diff --git a/app-text/lesspipe/Manifest b/app-text/lesspipe/Manifest
18 index b755f267471..19eee9627cf 100644
19 --- a/app-text/lesspipe/Manifest
20 +++ b/app-text/lesspipe/Manifest
21 @@ -1,2 +1,3 @@
22 DIST lesspipe-1.83.tar.gz 115129 BLAKE2B 24d9e4a226537a44c01c316528e085c6d2d7889b2ae5166d70b85e12c5f0b34e825e039a70071d7e75947e1c63d527decb21973631e910de42c75ec3ee17436c SHA512 c6418ac2bfc2dee9d32d56b0ea4a94954b1431db54fef8b67a9cf7d961cf4a23d87b2f41b2a4560d2333029c6d4ed5c6f399cb635f857bd43f1603993b5cb55d
23 DIST lesspipe-1.84.tar.gz 119657 BLAKE2B 671b504022bdba82eea03d7a83960d5ed148d851d0420f179967f46d38a88ab90c9928a462e01744134aedfe710dba741430e78743451b1b65e603e5d89ae139 SHA512 f11ef23610f722d62ddf7e084b03967ed59d21af6ac207d4456f625c93c3c58c87ec5907cf6bca00ae5550dcddfc9b7f0be5de51f9ff81044fcff1f1cde81267
24 +DIST lesspipe-1.85.tar.gz 120568 BLAKE2B d2c00f4121dc1bbed6b82220dac038068bbff87c732385399542cb212d4664c74d018db07829f90c38e938cb8623a443888c74b0d003fff725d0ddf207d8109e SHA512 420d087b9fc9783b9404855e4656b88c10852502bd2f1931978b7dc7ff15eba1a375b217184480f9b341322c12e7336d0861ba9c2f673f2b2a7fb340a381f5b2
25
26 diff --git a/app-text/lesspipe/lesspipe-1.85.ebuild b/app-text/lesspipe/lesspipe-1.85.ebuild
27 new file mode 100644
28 index 00000000000..6d1b0a34f4c
29 --- /dev/null
30 +++ b/app-text/lesspipe/lesspipe-1.85.ebuild
31 @@ -0,0 +1,40 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI="7"
36 +
37 +DESCRIPTION="a preprocessor for less"
38 +HOMEPAGE="https://github.com/wofr06/lesspipe"
39 +SRC_URI="https://github.com/wofr06/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
40 +
41 +LICENSE="GPL-2"
42 +SLOT="0"
43 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
44 +IUSE=""
45 +
46 +DEPEND="dev-lang/perl"
47 +RDEPEND="${DEPEND}
48 + !<sys-apps/less-483-r1"
49 +
50 +src_configure() {
51 + # Not an autoconf script.
52 + ./configure --fixed || die
53 +}
54 +
55 +src_compile() {
56 + # Nothing to build.
57 + :
58 +}
59 +
60 +src_install() {
61 + emake PREFIX="${EPREFIX}/usr" DESTDIR="${D}" install
62 + einstalldocs
63 +}
64 +
65 +pkg_preinst() {
66 + if [[ -z ${REPLACING_VERSIONS} ]] ; then
67 + elog "This package installs 'lesspipe.sh' which is distinct from 'lesspipe'."
68 + elog "The latter is the Gentoo-specific version. Make sure to update your"
69 + elog "LESSOPEN environment variable if you wish to use this copy."
70 + fi
71 +}