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: Fri, 06 Apr 2018 13:12:03
Message-Id: 1523020312.c7136dfab6a9b2dd25a8dd8f1eb5ad11c0dd527c.polynomial-c@gentoo
1 commit: c7136dfab6a9b2dd25a8dd8f1eb5ad11c0dd527c
2 Author: Asgeir Bjarni Ingvarsson <asgeir <AT> fundinn <DOT> org>
3 AuthorDate: Fri Apr 6 11:35:29 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 6 13:11:52 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7136dfa
7
8 app-text/lesspipe: Switch to EAPI-6
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11 Closes: https://github.com/gentoo/gentoo/pull/7832
12
13 app-text/lesspipe/lesspipe-1.83-r1.ebuild | 40 +++++++++++++++++++++++++++++++
14 1 file changed, 40 insertions(+)
15
16 diff --git a/app-text/lesspipe/lesspipe-1.83-r1.ebuild b/app-text/lesspipe/lesspipe-1.83-r1.ebuild
17 new file mode 100644
18 index 00000000000..d62cceae539
19 --- /dev/null
20 +++ b/app-text/lesspipe/lesspipe-1.83-r1.ebuild
21 @@ -0,0 +1,40 @@
22 +# Copyright 1999-2018 Gentoo Foundation
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI="6"
26 +
27 +DESCRIPTION="a preprocessor for less"
28 +HOMEPAGE="https://github.com/wofr06/lesspipe"
29 +SRC_URI="https://www-zeuthen.desy.de/~friebel/unix/less/${P}.tar.gz"
30 +
31 +LICENSE="GPL-2"
32 +SLOT="0"
33 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
34 +IUSE=""
35 +
36 +DEPEND="dev-lang/perl"
37 +RDEPEND="${DEPEND}
38 + !<sys-apps/less-483-r1"
39 +
40 +src_configure() {
41 + # Not an autoconf script.
42 + ./configure --fixed || die
43 +}
44 +
45 +src_compile() {
46 + # Nothing to build.
47 + :
48 +}
49 +
50 +src_install() {
51 + emake PREFIX="${EPREFIX}/usr" DESTDIR="${D}" install
52 + dodoc ChangeLog README TODO
53 +}
54 +
55 +pkg_preinst() {
56 + if [[ -z ${REPLACING_VERSIONS} ]] ; then
57 + elog "This package installs 'lesspipe.sh' which is distinct from 'lesspipe'."
58 + elog "The latter is the Gentoo-specific version. Make sure to update your"
59 + elog "LESSOPEN environment variable if you wish to use this copy."
60 + fi
61 +}