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: sys-apps/less/
Date: Wed, 20 May 2020 19:14:08
Message-Id: 1590002034.bbb819b88d536e79c1417463bbb42aeb7dd1795c.polynomial-c@gentoo
1 commit: bbb819b88d536e79c1417463bbb42aeb7dd1795c
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 20 18:42:02 2020 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed May 20 19:13:54 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbb819b8
7
8 sys-apps/less: Bump to version 562
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.22
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 sys-apps/less/Manifest | 1 +
14 sys-apps/less/less-562.ebuild | 44 +++++++++++++++++++++++++++++++++++++++++++
15 2 files changed, 45 insertions(+)
16
17 diff --git a/sys-apps/less/Manifest b/sys-apps/less/Manifest
18 index a87d83ebe17..11191153126 100644
19 --- a/sys-apps/less/Manifest
20 +++ b/sys-apps/less/Manifest
21 @@ -2,3 +2,4 @@ DIST less-551.tar.gz 347007 BLAKE2B 033a043340f888616c8342703597b9232ae1c8e62775
22 DIST less-557.tar.gz 335142 BLAKE2B 1c8645d70b1eb6d6d7f88c62ae77cce64e39262b32608cc4a27c0c8a79a2f84506ae41f76bd8eceeac8d294192f8d9006b7ab503482b2a4cdd6a2837ab187851 SHA512 5d82942d90c098fe81bf070e77c5d388eef83eaf4f4c48bc1ea6c0f718b04d09cc1071448e0f4cdf443872842d8ace9339036e77ee8a0baf6f4d02e91e87848b
23 DIST less-560.tar.gz 335124 BLAKE2B e65ad2f0e99b633b8be59027b1b97cf3613ae4d2d1dfa2ca9ebbee71bdbe07fcee127f2554122789726def8a5137cf76a850a4767f005b168be714fe11f0da9d SHA512 8dd39e7bdf8274548e70d27ba1ac863c5957646c8fdd708fd87bffb204149252e4bbd8839969b507ba34f2d2d712bd0689d4fd5fb944bec1e40885bbcf06f40d
24 DIST less-561.tar.gz 335311 BLAKE2B a319b835d8151a5cd69a6b9ea75455231bd822bf2312cbaa5214f8508ba2bbba2d80e3d383adb771e6c5ffa21f86e0e5c2aa999a828b340d3b3ddbd3adb9fe59 SHA512 b06cd8013a7774ae3492ba1c80b94f6aab8c07d4694bb3f474187a9aef369eab81c1e3e5d33bcdca305be155a9c8292e65d062354111c6de8cecd174d5a8a667
25 +DIST less-562.tar.gz 335444 BLAKE2B 4830673d17594aea7424ee88b82bc2e073275a77ed39c067c032a0b79b0d15f8c0d97f98381a57192e985054cd04b3a824ef6c3e6ef796885a9677681a4cb109 SHA512 c9a0f43da0fcdb515e5d4f56a666fa7c8b12d52fd5a1cd4f6cc5f79133376400b0ef24a206c0cf5fd3558fba9a8055f219038bad8c3dadf0504ea96c419c4573
26
27 diff --git a/sys-apps/less/less-562.ebuild b/sys-apps/less/less-562.ebuild
28 new file mode 100644
29 index 00000000000..375e2585ca5
30 --- /dev/null
31 +++ b/sys-apps/less/less-562.ebuild
32 @@ -0,0 +1,44 @@
33 +# Copyright 1999-2020 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +DESCRIPTION="Excellent text file viewer"
39 +HOMEPAGE="http://www.greenwoodsoftware.com/less/"
40 +SRC_URI="http://www.greenwoodsoftware.com/less/${P}.tar.gz"
41 +
42 +LICENSE="|| ( GPL-3 BSD-2 )"
43 +SLOT="0"
44 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
45 +IUSE="pcre unicode"
46 +
47 +DEPEND=">=app-misc/editor-wrapper-3
48 + >=sys-libs/ncurses-5.2:0=
49 + pcre? ( dev-libs/libpcre2 )"
50 +RDEPEND="${DEPEND}"
51 +
52 +src_configure() {
53 + export ac_cv_lib_ncursesw_initscr=$(usex unicode)
54 + export ac_cv_lib_ncurses_initscr=$(usex !unicode)
55 + local myeconfargs=(
56 + --with-regex=$(usex pcre pcre2 posix)
57 + --with-editor="${EPREFIX}"/usr/libexec/editor
58 + )
59 + econf "${myeconfargs[@]}"
60 +}
61 +
62 +src_install() {
63 + default
64 +
65 + newbin "${FILESDIR}"/lesspipe.sh lesspipe
66 + newenvd "${FILESDIR}"/less.envd 70less
67 +}
68 +
69 +pkg_preinst() {
70 + if has_version "<${CATEGORY}/${PN}-483-r1" ; then
71 + elog "The lesspipe.sh symlink has been dropped. If you are still setting"
72 + elog "LESSOPEN to that, you will need to update it to '|lesspipe %s'."
73 + elog "Colorization support has been dropped. If you want that, check out"
74 + elog "the new app-text/lesspipe package."
75 + fi
76 +}