1 |
commit: 2396614ce72a7470e85c250178b0b4416d1966b2 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 4 12:26:53 2021 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 4 12:26:53 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2396614c |
7 |
|
8 |
sys-apps/less: Bump to version 590 |
9 |
|
10 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
11 |
|
12 |
sys-apps/less/Manifest | 1 + |
13 |
sys-apps/less/less-590.ebuild | 44 +++++++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 45 insertions(+) |
15 |
|
16 |
diff --git a/sys-apps/less/Manifest b/sys-apps/less/Manifest |
17 |
index 99f077019d6..8e026700f63 100644 |
18 |
--- a/sys-apps/less/Manifest |
19 |
+++ b/sys-apps/less/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST less-581.2.tar.gz 349230 BLAKE2B 3f9d3c94f3d9eae5ecd033c5f16a575bd3a179ca335b0318e097a916c6713379cafbe6c57459e86866e890a432fb02be9102726b35c46d9bdd07ca1b35f83058 SHA512 b1189396c798d7cb8655175f31b1af6163dcf8e8d7a72531161cc8396e72e0cf5858ce7b39173be603f9f16eda498f2805cf42c2b92ec6970fd9d2b603fb7b92 |
22 |
DIST less-586.tar.gz 351861 BLAKE2B fa3d4eadc740d751daf5303867c2ecf411663b64177e14544bdb30aa1b19c1414020b53e27a1a0666cc1922781a11c44ff1bac0adee4e784edf4ca82913596a4 SHA512 14579e1c682e0c30d614e85cdd969c007ecb613930376a46c0c5614e02c596ea0d0ab50211ed28095206ea70698fd1ccf6762888dfa149773d7b515cf3b2ca7c |
23 |
DIST less-589.tar.gz 352390 BLAKE2B d91eaf0e4a3c14bb8a1c1b820965922c9e795cc8c6489c04dad79d14bc634db1e8e20aae9578ca5375d4d1f1fb861a510527ee9433437457d653453eabf5dce9 SHA512 c2a610c894e98853e73d83cf2c7e94ff75a868280b2ab7fa01676c35d35fdbba808f3630fa4954eca40f0823e654df4c287885499bb24f4d0b7b4558fb91977e |
24 |
+DIST less-590.tar.gz 352574 BLAKE2B 0f640f1b6b4d4925c4904ee77460e8becd2dae168fe5c1483bf6a9cfabe9eb0abdc4d4811507ba88a2b4cff6c238158bd8b4463b63d3d7863b44ce8538d32adb SHA512 426fa5840fd43c17bd5a452ad35ad24f2d6684623c6914403fd0059af62266bf2138e6828c7d73a1cef26a736c0d2b8ed4ab180eea8297281dae79a4228eb903 |
25 |
|
26 |
diff --git a/sys-apps/less/less-590.ebuild b/sys-apps/less/less-590.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..c91345dc9f3 |
29 |
--- /dev/null |
30 |
+++ b/sys-apps/less/less-590.ebuild |
31 |
@@ -0,0 +1,44 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+DESCRIPTION="Excellent text file viewer" |
38 |
+HOMEPAGE="http://www.greenwoodsoftware.com/less/" |
39 |
+SRC_URI="http://www.greenwoodsoftware.com/less/${P}.tar.gz" |
40 |
+ |
41 |
+LICENSE="|| ( GPL-3 BSD-2 )" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
44 |
+IUSE="pcre unicode" |
45 |
+ |
46 |
+DEPEND=">=app-misc/editor-wrapper-3 |
47 |
+ >=sys-libs/ncurses-5.2:0= |
48 |
+ pcre? ( dev-libs/libpcre2 )" |
49 |
+RDEPEND="${DEPEND}" |
50 |
+ |
51 |
+src_configure() { |
52 |
+ export ac_cv_lib_ncursesw_initscr=$(usex unicode) |
53 |
+ export ac_cv_lib_ncurses_initscr=$(usex !unicode) |
54 |
+ local myeconfargs=( |
55 |
+ --with-regex=$(usex pcre pcre2 posix) |
56 |
+ --with-editor="${EPREFIX}"/usr/libexec/editor |
57 |
+ ) |
58 |
+ econf "${myeconfargs[@]}" |
59 |
+} |
60 |
+ |
61 |
+src_install() { |
62 |
+ default |
63 |
+ |
64 |
+ newbin "${FILESDIR}"/lesspipe-r1.sh lesspipe |
65 |
+ newenvd "${FILESDIR}"/less.envd 70less |
66 |
+} |
67 |
+ |
68 |
+pkg_preinst() { |
69 |
+ if has_version "<${CATEGORY}/${PN}-483-r1" ; then |
70 |
+ elog "The lesspipe.sh symlink has been dropped. If you are still setting" |
71 |
+ elog "LESSOPEN to that, you will need to update it to '|lesspipe %s'." |
72 |
+ elog "Colorization support has been dropped. If you want that, check out" |
73 |
+ elog "the new app-text/lesspipe package." |
74 |
+ fi |
75 |
+} |