From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/less/
Date: Wed, 3 May 2023 22:23:39 +0000 (UTC) [thread overview]
Message-ID: <1683152572.545079fa11d8f118fe07888a0f83f814193e104f.sam@gentoo> (raw)
commit: 545079fa11d8f118fe07888a0f83f814193e104f
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed May 3 22:22:52 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed May 3 22:22:52 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=545079fa
sys-apps/less: add 633
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-apps/less/Manifest | 1 +
sys-apps/less/less-633.ebuild | 80 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 81 insertions(+)
diff --git a/sys-apps/less/Manifest b/sys-apps/less/Manifest
index bfc5c2350f15..e7ca470d197a 100644
--- a/sys-apps/less/Manifest
+++ b/sys-apps/less/Manifest
@@ -1,2 +1,3 @@
DIST less-608.tar.gz 362346 BLAKE2B 988940745fef1222c43b0bf4edec7cc7206ded0ac5d89d3faf4dab706a249913581c2fe7aa6063cf3d717176ed07b69299d3e791ba8a60358483fe9d1bf7f7c6 SHA512 7945b7f88921832ebb1b45fba8cbb449ee0133342796b654a52c146dfff3d84db18724ee84e53349eeea6017a0ebe2d8eb5366210275981dde7bb7190118fa66
DIST less-632.tar.gz 375440 BLAKE2B 26c27a2e25882a4ce34e5e6e83bc0af784c8d4e8ac20691e0e31f1021bfb30f96e07024a6ff1ad634f7812875e0d920bd52394ccdba47a2a944ba7de92aa4c97 SHA512 5104f1fd76cdd59dfa957a61f8ccffe7c6e79345b94a5961abbd30f2d059f2b6d4b359a27dd5528993e5e1248c655439c1e4a39fd92234e4af23c7167f69f066
+DIST less-633.tar.gz 375733 BLAKE2B e9df180794af365f86734c6b8fde766c1bba42b111717ee5e1cf11001fc7ec3d78910db9bb7c51a76816086f599808b1b60f514011ec40e37650d6bc4f8b3d5c SHA512 a29aaf72abca07fb29d12f218bbd422a39e3898b3d53e8dbd5265ae47ecf68b88c3381aa3a9bf7caa8db1e2d8e2c138b333f0d69fddd4cf014e39118c53f7fb1
diff --git a/sys-apps/less/less-633.ebuild b/sys-apps/less/less-633.ebuild
new file mode 100644
index 000000000000..77a01bd02a54
--- /dev/null
+++ b/sys-apps/less/less-633.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+WANT_AUTOMAKE=none
+WANT_LIBTOOL=none
+
+if [[ ${PV} == 9999 ]]; then
+ EGIT_REPO_URI="https://github.com/gwsw/less"
+ inherit git-r3
+fi
+
+inherit autotools
+
+# Releases are usually first a beta then promoted to stable if no
+# issues were found. Upstream explicitly ask "to not generally distribute"
+# the beta versions. It's okay to keyword beta versions if they fix
+# a serious bug, but otherwise try to avoid it.
+
+MY_PV=${PV/_beta/-beta}
+MY_P=${PN}-${MY_PV}
+DESCRIPTION="Excellent text file viewer"
+HOMEPAGE="https://www.greenwoodsoftware.com/less/"
+[[ ${PV} != 9999 ]] && SRC_URI="https://www.greenwoodsoftware.com/less/${MY_P}.tar.gz"
+S="${WORKDIR}"/${MY_P/?beta}
+
+LICENSE="|| ( GPL-3 BSD-2 )"
+SLOT="0"
+if [[ ${PV} != 9999 && ${PV} != *_beta* ]] ; then
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~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"
+fi
+IUSE="pcre"
+# As of 623_beta, lesstest is not included in dist tarballs
+# https://github.com/gwsw/less/issues/344
+RESTRICT="test"
+
+DEPEND="
+ >=app-misc/editor-wrapper-3
+ >=sys-libs/ncurses-5.2:=
+ pcre? ( dev-libs/libpcre2 )
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ default
+ # Per upstream README to prepare live build
+ [[ ${PV} == 9999 ]] && emake -f Makefile.aut distfiles
+ # Upstream uses unpatched autoconf-2.69, which breaks with clang-16.
+ # https://bugs.gentoo.org/870412
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ --with-regex=$(usex pcre pcre2 posix)
+ --with-editor="${EPREFIX}"/usr/libexec/editor
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_test() {
+ emake check VERBOSE=1
+}
+
+src_install() {
+ default
+
+ newbin "${FILESDIR}"/lesspipe-r1.sh lesspipe
+ newenvd "${FILESDIR}"/less.envd 70less
+}
+
+pkg_preinst() {
+ if has_version "<${CATEGORY}/${PN}-483-r1" ; then
+ elog "The lesspipe.sh symlink has been dropped. If you are still setting"
+ elog "LESSOPEN to that, you will need to update it to '|lesspipe %s'."
+ elog "Colorization support has been dropped. If you want that, check out"
+ elog "the new app-text/lesspipe package."
+ fi
+}
next reply other threads:[~2023-05-03 22:23 UTC|newest]
Thread overview: 232+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-03 22:23 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-07 2:55 [gentoo-commits] repo/gentoo:master commit in: sys-apps/less/ Sam James
2024-11-25 22:38 Sam James
2024-11-23 20:15 Arthur Zamarin
2024-11-23 16:27 Sam James
2024-11-23 16:18 Sam James
2024-11-23 16:08 Sam James
2024-11-23 16:02 Michał Górny
2024-11-03 21:11 Andreas Sturmlechner
2024-10-18 10:52 Sam James
2024-04-26 17:10 Sam James
2024-04-17 22:01 Sam James
2024-04-17 22:01 Sam James
2024-04-15 7:07 Arthur Zamarin
2024-04-15 6:27 Sam James
2024-04-15 6:27 Sam James
2024-04-15 6:27 Sam James
2024-04-15 6:27 Sam James
2024-03-04 11:09 Sam James
2024-01-23 16:40 Sam James
2024-01-23 4:17 Sam James
2024-01-20 13:00 Sam James
2024-01-18 0:28 Sam James
2024-01-17 6:30 Arthur Zamarin
2024-01-17 5:57 Sam James
2024-01-17 5:50 Sam James
2024-01-17 5:50 Sam James
2024-01-17 5:33 Sam James
2023-12-28 4:04 Sam James
2023-12-04 8:37 Sam James
2023-10-10 6:30 Sam James
2023-10-10 6:30 Sam James
2023-07-17 22:04 Sam James
2023-06-17 19:44 Arthur Zamarin
2023-06-17 15:13 Sam James
2023-06-17 7:43 Arthur Zamarin
2023-06-17 7:43 Arthur Zamarin
2023-06-17 7:43 Arthur Zamarin
2023-06-17 6:12 Sam James
2023-06-17 5:57 Sam James
2023-06-17 5:57 Sam James
2023-06-01 4:21 Sam James
2023-06-01 3:34 Sam James
2023-06-01 3:34 Sam James
2023-06-01 3:29 Sam James
2023-06-01 3:29 Sam James
2023-06-01 3:29 Sam James
2023-06-01 3:29 Sam James
2023-05-03 22:26 Sam James
2023-05-01 0:09 Sam James
2023-05-01 0:09 Sam James
2023-04-09 18:31 Sam James
2023-02-28 4:31 Sam James
2023-02-28 4:31 Sam James
2023-02-24 18:36 Sam James
2023-02-16 6:04 Sam James
2023-02-16 5:01 Sam James
2023-02-15 19:21 Arthur Zamarin
2023-02-15 9:57 Sam James
2023-02-15 9:57 Sam James
2023-02-15 9:57 Sam James
2023-02-15 9:57 Sam James
2023-02-15 9:57 Sam James
2023-02-09 3:54 Sam James
2023-01-10 15:32 Sam James
2022-12-29 23:44 Robin H. Johnson
2022-12-12 21:20 Mike Gilbert
2022-11-24 16:53 Mike Gilbert
2022-11-24 16:53 Mike Gilbert
2022-11-24 9:50 Sam James
2022-11-23 18:26 Mike Gilbert
2022-11-23 17:59 Mike Gilbert
2022-11-23 17:59 Mike Gilbert
2022-11-04 8:16 Agostino Sarubbo
2022-11-03 19:13 Sam James
2022-09-03 19:43 Sam James
2022-04-17 17:06 Sam James
2021-10-04 1:28 Sam James
2021-09-03 21:02 Sam James
2021-09-03 18:03 Sam James
2021-09-01 18:32 Sam James
2021-09-01 18:32 Sam James
2021-08-31 17:45 Sam James
2021-08-31 17:45 Sam James
2021-06-04 12:35 Lars Wendler
2021-06-04 12:35 Lars Wendler
2021-05-30 11:19 Lars Wendler
2021-05-23 12:14 David Seifert
2021-05-17 16:36 Sergei Trofimovich
2021-05-15 18:04 Sam James
2021-05-15 18:04 Sam James
2021-05-15 18:03 Sam James
2021-05-15 18:02 Sam James
2021-05-15 17:59 Sam James
2021-05-15 17:56 Sam James
2021-05-15 17:55 Sam James
2021-05-15 13:13 Lars Wendler
2021-04-28 23:43 Sam James
2021-04-28 18:09 Lars Wendler
2021-04-28 18:09 Lars Wendler
2021-04-08 9:21 Lars Wendler
2021-03-05 17:03 Lars Wendler
2021-01-06 15:26 Fabian Groffen
2020-12-27 18:13 Fabian Groffen
2020-11-17 19:05 Agostino Sarubbo
2020-11-04 0:52 Sam James
2020-10-28 22:35 Sergei Trofimovich
2020-10-28 22:33 Sergei Trofimovich
2020-10-28 22:30 Sergei Trofimovich
2020-10-28 22:27 Sergei Trofimovich
2020-10-28 16:18 Sam James
2020-10-28 4:10 Sam James
2020-10-27 22:00 Thomas Deutschmann
2020-07-03 7:38 Lars Wendler
2020-07-03 7:38 Lars Wendler
2020-05-20 19:14 Lars Wendler
2020-05-20 19:14 Lars Wendler
2020-05-12 10:01 Lars Wendler
2020-05-07 14:07 Lars Wendler
2020-05-07 14:07 Lars Wendler
2020-05-04 17:36 Thomas Deutschmann
2020-03-30 18:59 Lars Wendler
2020-03-30 18:59 Lars Wendler
2020-03-18 7:59 Lars Wendler
2020-03-18 7:59 Lars Wendler
2020-03-15 17:38 Mart Raudsepp
2020-02-12 16:14 Agostino Sarubbo
2020-01-27 11:27 Mikle Kolyada
2020-01-26 11:32 Sergei Trofimovich
2020-01-23 12:18 Agostino Sarubbo
2020-01-23 10:56 Agostino Sarubbo
2020-01-23 10:52 Agostino Sarubbo
2020-01-23 10:40 Agostino Sarubbo
2020-01-23 10:36 Agostino Sarubbo
2020-01-23 9:43 Agostino Sarubbo
2020-01-21 15:09 Lars Wendler
2019-06-12 8:47 Lars Wendler
2019-05-04 11:10 Mikle Kolyada
2019-02-18 6:17 Lars Wendler
2019-02-18 6:17 Lars Wendler
2019-02-15 9:36 Lars Wendler
2019-02-15 9:36 Lars Wendler
2019-02-15 9:36 Lars Wendler
2018-12-23 17:02 Mikle Kolyada
2018-12-23 9:47 Lars Wendler
2018-12-23 9:47 Lars Wendler
2018-12-05 14:11 Lars Wendler
2018-12-05 14:11 Lars Wendler
2018-12-03 12:38 Lars Wendler
2018-12-03 12:38 Lars Wendler
2018-11-27 8:29 Lars Wendler
2018-11-27 8:29 Lars Wendler
2018-11-20 11:37 Lars Wendler
2018-11-20 11:37 Lars Wendler
2018-11-08 13:34 Lars Wendler
2018-11-08 13:34 Lars Wendler
2018-11-03 17:45 Lars Wendler
2018-11-03 17:45 Lars Wendler
2018-10-30 16:38 Lars Wendler
2018-10-30 14:24 Lars Wendler
2018-10-30 14:24 Lars Wendler
2018-09-19 9:07 Lars Wendler
2018-09-19 9:07 Lars Wendler
2018-09-17 8:00 Lars Wendler
2018-09-17 8:00 Lars Wendler
2018-09-15 12:40 Mikle Kolyada
2018-09-14 12:17 Tobias Klausmann
2018-09-11 12:45 Lars Wendler
2018-09-11 12:45 Lars Wendler
2018-09-09 1:12 Thomas Deutschmann
2018-09-08 12:53 Mart Raudsepp
2018-09-07 23:03 Sergei Trofimovich
2018-09-07 22:57 Sergei Trofimovich
2018-09-07 22:54 Sergei Trofimovich
2018-09-07 22:43 Sergei Trofimovich
2018-09-07 13:42 Mikle Kolyada
2018-09-04 18:38 Sergei Trofimovich
2018-09-03 12:22 Mikle Kolyada
2018-08-20 0:12 Mikle Kolyada
2018-05-16 9:38 Lars Wendler
2018-05-16 9:38 Lars Wendler
2018-03-03 13:12 Tobias Klausmann
2018-02-18 10:53 Lars Wendler
2018-02-18 10:53 Lars Wendler
2018-01-13 6:30 Mike Frysinger
2018-01-10 6:19 Markus Meier
2018-01-09 22:26 Sergei Trofimovich
2018-01-06 14:25 Sergei Trofimovich
2018-01-01 23:51 Mikle Kolyada
2018-01-01 22:09 Sergei Trofimovich
2017-11-15 17:40 Lars Wendler
2017-11-15 17:40 Lars Wendler
2017-09-25 22:21 Lars Wendler
2017-09-25 22:21 Lars Wendler
2017-07-11 12:20 Lars Wendler
2017-07-11 12:20 Lars Wendler
2017-07-03 21:12 Lars Wendler
2017-06-26 22:57 Lars Wendler
2017-06-26 22:57 Lars Wendler
2017-04-22 9:53 Lars Wendler
2017-04-22 9:53 Lars Wendler
2017-04-08 11:34 Lars Wendler
2017-04-07 8:09 Lars Wendler
2017-02-27 10:44 Lars Wendler
2017-02-27 10:44 Lars Wendler
2016-12-28 17:46 Mike Frysinger
2016-12-27 9:06 Agostino Sarubbo
2016-12-25 10:23 Agostino Sarubbo
2016-12-25 10:14 Agostino Sarubbo
2016-12-25 10:09 Agostino Sarubbo
2016-12-24 10:26 Agostino Sarubbo
2016-12-24 10:18 Agostino Sarubbo
2016-12-23 4:35 Aaron Bauman
2016-10-25 20:27 Lars Wendler
2016-04-06 22:09 Mike Frysinger
2016-04-06 22:09 Mike Frysinger
2016-04-06 22:09 Mike Frysinger
2016-03-07 9:19 Lars Wendler
2016-03-01 7:54 Lars Wendler
2016-03-01 7:54 Lars Wendler
2016-02-29 8:46 Stephen Klimaszewski
2015-12-27 9:46 Mikle Kolyada
2015-11-22 8:17 Markus Meier
2015-11-16 14:19 Agostino Sarubbo
2015-11-15 18:26 Matt Turner
2015-11-12 9:40 Agostino Sarubbo
2015-11-11 9:12 Agostino Sarubbo
2015-11-09 10:31 Agostino Sarubbo
2015-11-09 4:02 Jeroen Roovers
2015-09-26 8:07 Mike Frysinger
2015-09-02 6:46 Lars Wendler
2015-08-10 22:36 Chris Reffett
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1683152572.545079fa11d8f118fe07888a0f83f814193e104f.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox