Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/less/
Date: Tue, 28 Feb 2023 04:31:45
Message-Id: 1677558691.2580d310c9ad0c967fe4d96d2fccd7e735346ae5.sam@gentoo
1 commit: 2580d310c9ad0c967fe4d96d2fccd7e735346ae5
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 28 04:31:21 2023 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 28 04:31:31 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2580d310
7
8 sys-apps/less: drop 618_beta, 623_beta
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 sys-apps/less/Manifest | 2 -
13 sys-apps/less/less-618_beta.ebuild | 69 ----------------------------------
14 sys-apps/less/less-623_beta.ebuild | 77 --------------------------------------
15 3 files changed, 148 deletions(-)
16
17 diff --git a/sys-apps/less/Manifest b/sys-apps/less/Manifest
18 index ddd76c9a8c80..7763951a20f2 100644
19 --- a/sys-apps/less/Manifest
20 +++ b/sys-apps/less/Manifest
21 @@ -1,4 +1,2 @@
22 DIST less-608.tar.gz 362346 BLAKE2B 988940745fef1222c43b0bf4edec7cc7206ded0ac5d89d3faf4dab706a249913581c2fe7aa6063cf3d717176ed07b69299d3e791ba8a60358483fe9d1bf7f7c6 SHA512 7945b7f88921832ebb1b45fba8cbb449ee0133342796b654a52c146dfff3d84db18724ee84e53349eeea6017a0ebe2d8eb5366210275981dde7bb7190118fa66
23 -DIST less-618-beta.tar.gz 365786 BLAKE2B b1957ab49059a2df14d8ba5daf1d8543adc4546c44b537d86959e2e1fe2df93f99ceb8ef47097b6f84f75f7740e161269b4e1d5dd263b8171212c87e650a02fe SHA512 6197aa20c77a846e53b376aa63c2863242c40663e72213f66c3597bd8c38a9458163d0c9ba0ca7690574c07348bb7d3e108c3b50dbbedbc9e5707a14d946b280
24 -DIST less-623-beta.tar.gz 373094 BLAKE2B 661fdb129678a57ef2188b4cd89809b14eaae62b98bb8ec2394cb7b48faf10a3ccdb690f371178e9ed43548ebce1af840cb5042e9019fa747bcec2dca4158dc7 SHA512 60843c668f90ae47cdf4d10849a63481ab67af679b831cbe8955861ae9f238006322734ec3ae49d9aced7927018bf3e0d9fdab98077289b4ffc78f6075041667
25 DIST less-629-beta.tar.gz 374918 BLAKE2B 0276006cf81f310a3d25add7cfaedfd678b03f99d48b75eb462fb6dda6e171c495fa6af170257fb286a35b0d6f380136c5d37b6d9a088ee08d42d4f32033afcb SHA512 5b5d7f86b0e2d00d65257b1d27511fdab21fda52f60102f7dd6c31d1314edcf75754dc9a268c03ebfe08ffc7b88f3b7cad0fa5a9504d66b11bc13f5f52cab558
26
27 diff --git a/sys-apps/less/less-618_beta.ebuild b/sys-apps/less/less-618_beta.ebuild
28 deleted file mode 100644
29 index afce93c3d215..000000000000
30 --- a/sys-apps/less/less-618_beta.ebuild
31 +++ /dev/null
32 @@ -1,69 +0,0 @@
33 -# Copyright 1999-2023 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=8
37 -
38 -WANT_AUTOMAKE=none
39 -WANT_LIBTOOL=none
40 -
41 -if [[ ${PV} == 9999 ]]; then
42 - EGIT_REPO_URI="https://github.com/gwsw/less"
43 - inherit git-r3
44 -fi
45 -
46 -inherit autotools
47 -
48 -# Releases are usually first a beta then promoted to stable if no
49 -# issues were found. Upstream explicitly ask "to not generally distribute"
50 -# the beta versions. It's okay to keyword beta versions if they fix
51 -# a serious bug, but otherwise try to avoid it.
52 -
53 -MY_PV=${PV/_beta/-beta}
54 -MY_P=${PN}-${MY_PV}
55 -DESCRIPTION="Excellent text file viewer"
56 -HOMEPAGE="http://www.greenwoodsoftware.com/less/"
57 -[[ ${PV} != 9999 ]] && SRC_URI="http://www.greenwoodsoftware.com/less/${MY_P}.tar.gz"
58 -S="${WORKDIR}"/${MY_P/?beta}
59 -
60 -LICENSE="|| ( GPL-3 BSD-2 )"
61 -SLOT="0"
62 -#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"
63 -IUSE="pcre"
64 -
65 -DEPEND=">=app-misc/editor-wrapper-3
66 - >=sys-libs/ncurses-5.2:0=
67 - pcre? ( dev-libs/libpcre2 )"
68 -RDEPEND="${DEPEND}"
69 -
70 -src_prepare() {
71 - default
72 - # Per upstream README to prepare live build
73 - [[ ${PV} == 9999 ]] && emake -f Makefile.aut distfiles
74 - # Upstream uses unpatched autoconf-2.69, which breaks with clang-16.
75 - # https://bugs.gentoo.org/870412
76 - eautoreconf
77 -}
78 -
79 -src_configure() {
80 - local myeconfargs=(
81 - --with-regex=$(usex pcre pcre2 posix)
82 - --with-editor="${EPREFIX}"/usr/libexec/editor
83 - )
84 - econf "${myeconfargs[@]}"
85 -}
86 -
87 -src_install() {
88 - default
89 -
90 - newbin "${FILESDIR}"/lesspipe-r1.sh lesspipe
91 - newenvd "${FILESDIR}"/less.envd 70less
92 -}
93 -
94 -pkg_preinst() {
95 - if has_version "<${CATEGORY}/${PN}-483-r1" ; then
96 - elog "The lesspipe.sh symlink has been dropped. If you are still setting"
97 - elog "LESSOPEN to that, you will need to update it to '|lesspipe %s'."
98 - elog "Colorization support has been dropped. If you want that, check out"
99 - elog "the new app-text/lesspipe package."
100 - fi
101 -}
102
103 diff --git a/sys-apps/less/less-623_beta.ebuild b/sys-apps/less/less-623_beta.ebuild
104 deleted file mode 100644
105 index 84957e8eccd9..000000000000
106 --- a/sys-apps/less/less-623_beta.ebuild
107 +++ /dev/null
108 @@ -1,77 +0,0 @@
109 -# Copyright 1999-2023 Gentoo Authors
110 -# Distributed under the terms of the GNU General Public License v2
111 -
112 -EAPI=8
113 -
114 -WANT_AUTOMAKE=none
115 -WANT_LIBTOOL=none
116 -
117 -if [[ ${PV} == 9999 ]]; then
118 - EGIT_REPO_URI="https://github.com/gwsw/less"
119 - inherit git-r3
120 -fi
121 -
122 -inherit autotools
123 -
124 -# Releases are usually first a beta then promoted to stable if no
125 -# issues were found. Upstream explicitly ask "to not generally distribute"
126 -# the beta versions. It's okay to keyword beta versions if they fix
127 -# a serious bug, but otherwise try to avoid it.
128 -
129 -MY_PV=${PV/_beta/-beta}
130 -MY_P=${PN}-${MY_PV}
131 -DESCRIPTION="Excellent text file viewer"
132 -HOMEPAGE="http://www.greenwoodsoftware.com/less/"
133 -[[ ${PV} != 9999 ]] && SRC_URI="http://www.greenwoodsoftware.com/less/${MY_P}.tar.gz"
134 -S="${WORKDIR}"/${MY_P/?beta}
135 -
136 -LICENSE="|| ( GPL-3 BSD-2 )"
137 -SLOT="0"
138 -#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"
139 -IUSE="pcre"
140 -# As of 623_beta, lesstest is not included in dist tarballs
141 -RESTRICT="test"
142 -
143 -DEPEND="
144 - >=app-misc/editor-wrapper-3
145 - >=sys-libs/ncurses-5.2:=
146 - pcre? ( dev-libs/libpcre2 )
147 -"
148 -RDEPEND="${DEPEND}"
149 -
150 -src_prepare() {
151 - default
152 - # Per upstream README to prepare live build
153 - [[ ${PV} == 9999 ]] && emake -f Makefile.aut distfiles
154 - # Upstream uses unpatched autoconf-2.69, which breaks with clang-16.
155 - # https://bugs.gentoo.org/870412
156 - eautoreconf
157 -}
158 -
159 -src_configure() {
160 - local myeconfargs=(
161 - --with-regex=$(usex pcre pcre2 posix)
162 - --with-editor="${EPREFIX}"/usr/libexec/editor
163 - )
164 - econf "${myeconfargs[@]}"
165 -}
166 -
167 -src_test() {
168 - emake check VERBOSE=1
169 -}
170 -
171 -src_install() {
172 - default
173 -
174 - newbin "${FILESDIR}"/lesspipe-r1.sh lesspipe
175 - newenvd "${FILESDIR}"/less.envd 70less
176 -}
177 -
178 -pkg_preinst() {
179 - if has_version "<${CATEGORY}/${PN}-483-r1" ; then
180 - elog "The lesspipe.sh symlink has been dropped. If you are still setting"
181 - elog "LESSOPEN to that, you will need to update it to '|lesspipe %s'."
182 - elog "Colorization support has been dropped. If you want that, check out"
183 - elog "the new app-text/lesspipe package."
184 - fi
185 -}