Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/tre/
Date: Mon, 29 Aug 2022 19:43:52
Message-Id: 1661802219.45761fc435bc86572659144f86f335dbc5b4688c.asturm@gentoo
1 commit: 45761fc435bc86572659144f86f335dbc5b4688c
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 28 15:05:22 2022 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 29 19:43:39 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45761fc4
7
8 dev-libs/tre: drop 0.8.0-r2, 0.8.0_p20210321, EAPI-6--
9
10 Closes: https://bugs.gentoo.org/851972
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 dev-libs/tre/Manifest | 1 -
14 dev-libs/tre/tre-0.8.0-r2.ebuild | 67 -------------------
15 dev-libs/tre/tre-0.8.0_p20210321.ebuild | 112 --------------------------------
16 3 files changed, 180 deletions(-)
17
18 diff --git a/dev-libs/tre/Manifest b/dev-libs/tre/Manifest
19 index 92f10ffb9446..8a3e6468e4cc 100644
20 --- a/dev-libs/tre/Manifest
21 +++ b/dev-libs/tre/Manifest
22 @@ -1,2 +1 @@
23 -DIST tre-0.8.0.tar.bz2 380714 BLAKE2B b2af6e805e9e19fd69debf2f881ddfb591317f69db4e29a04e1899eb69100b8ac7744f86fa438530509ca2ee8aa1d346d416c6391f13247cd9398f4c59c2ed85 SHA512 db7465993e0d25eee8e52f974427b8a040234cf0f017769eb94ee88bc6261821336aad7f762bfa82db7e2212d8449bc221592586f061c528a59a550773cbc263
24 DIST tre-0.8.0_p20210321.tar.gz 146294 BLAKE2B d740bd0e99f50f5e4d8105f5260e43a81b6af9857a21e386e437ab8d48a9e0de23eae03e96cf6b9f4d2d37f72d0fa73ef7343086271ea80f166bdba3f04475a9 SHA512 950c81f681970fc737cfdd6815445f05a018fc742b964cea3ce19f0249c677dd715ece4ff8e543fa9f3fd23b503eafa00aea00dbae063af9bc7e08dc1bc33aed
25
26 diff --git a/dev-libs/tre/tre-0.8.0-r2.ebuild b/dev-libs/tre/tre-0.8.0-r2.ebuild
27 deleted file mode 100644
28 index 4558fd3f46e8..000000000000
29 --- a/dev-libs/tre/tre-0.8.0-r2.ebuild
30 +++ /dev/null
31 @@ -1,67 +0,0 @@
32 -# Copyright 1999-2022 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=6
36 -
37 -inherit multilib
38 -
39 -DESCRIPTION="Lightweight, robust, and efficient POSIX compliant regexp matching library"
40 -HOMEPAGE="https://laurikari.net/tre/ https://github.com/laurikari/tre/"
41 -SRC_URI="https://laurikari.net/tre/${P}.tar.bz2"
42 -
43 -LICENSE="BSD-2"
44 -SLOT="0"
45 -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~x86-solaris"
46 -IUSE="nls static-libs"
47 -
48 -RDEPEND="
49 - !app-text/agrep
50 - !dev-ruby/amatch
51 - !app-misc/glimpse"
52 -
53 -DEPEND="
54 - ${RDEPEND}
55 - virtual/pkgconfig
56 - nls? ( sys-devel/gettext )"
57 -
58 -PATCHES=(
59 - "${FILESDIR}/${PV}-pkgcfg.patch"
60 - "${FILESDIR}/${PV}-CVE-2016-8559.patch"
61 -)
62 -
63 -src_prepare() {
64 - default
65 -}
66 -
67 -src_configure() {
68 - econf \
69 - --enable-agrep \
70 - --enable-system-abi \
71 - $(use_enable nls) \
72 - $(use_enable static-libs static)
73 -}
74 -
75 -src_test() {
76 - if locale -a | grep -iq en_US.iso88591; then
77 - emake -j1 check
78 - else
79 - ewarn "If you like to run the test,"
80 - ewarn "please make sure en_US.ISO-8859-1 is installed."
81 - die "en_US.ISO-8859-1 locale is missing"
82 - fi
83 -}
84 -
85 -src_install() {
86 - local HTML_DOCS=( doc/*.{css,html} )
87 -
88 - default
89 -
90 - # 626480
91 - mv "${ED%/}"/usr/bin/agrep{,-tre}$(get_exeext) || die
92 -}
93 -
94 -pkg_postinst() {
95 - ewarn "app-misc/glimpse, app-text/agrep and this package all provide agrep."
96 - ewarn "If this causes any unforeseen incompatibilities please file a bug"
97 - ewarn "on https://bugs.gentoo.org."
98 -}
99
100 diff --git a/dev-libs/tre/tre-0.8.0_p20210321.ebuild b/dev-libs/tre/tre-0.8.0_p20210321.ebuild
101 deleted file mode 100644
102 index f45acf24a58f..000000000000
103 --- a/dev-libs/tre/tre-0.8.0_p20210321.ebuild
104 +++ /dev/null
105 @@ -1,112 +0,0 @@
106 -# Copyright 1999-2022 Gentoo Authors
107 -# Distributed under the terms of the GNU General Public License v2
108 -
109 -EAPI=8
110 -
111 -COMMIT="6092368aabdd0dbb0fbceb2766a37b98e0ff6911"
112 -PYTHON_COMPAT=( python3_{8..10} pypy3 )
113 -
114 -inherit autotools distutils-r1
115 -
116 -DESCRIPTION="Lightweight, robust, and efficient POSIX compliant regexp matching library"
117 -HOMEPAGE="
118 - https://laurikari.net/tre/
119 - https://github.com/laurikari/tre
120 -"
121 -SRC_URI="https://github.com/laurikari/tre/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
122 -S="${WORKDIR}/${PN}-${COMMIT}"
123 -
124 -LICENSE="BSD-2"
125 -SLOT="0"
126 -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~x86-solaris"
127 -IUSE="+agrep +alloca +approx debug nls profile python"
128 -
129 -RDEPEND="
130 - agrep? (
131 - !app-text/agrep
132 - !dev-ruby/amatch
133 - !app-misc/glimpse
134 - )
135 - python? ( ${PYTHON_DEPS} )
136 -"
137 -DEPEND="
138 - ${RDEPEND}
139 - nls? ( sys-devel/gettext )
140 -"
141 -BDEPEND="virtual/pkgconfig"
142 -
143 -REQUIRED_USE="
144 - agrep? ( approx )
145 - python? ( ${PYTHON_REQUIRED_USE} )
146 -"
147 -
148 -PATCHES=(
149 - "${FILESDIR}/0.8.0-pkgcfg.patch"
150 - "${FILESDIR}/0.8.0-CVE-2016-8559.patch"
151 - "${FILESDIR}/${PN}-chicken.patch"
152 - "${FILESDIR}/${PN}-issue37.patch"
153 - "${FILESDIR}/${PN}-issue50.patch"
154 - "${FILESDIR}/${PN}-issue55-part1.patch"
155 - "${FILESDIR}/${PN}-issue55-part2.patch"
156 - "${FILESDIR}/${PN}-python3.patch"
157 - "${FILESDIR}/${PN}-tests.patch"
158 -)
159 -
160 -src_prepare() {
161 - default
162 - eautoreconf
163 -}
164 -
165 -src_configure() {
166 - local myconf=(
167 - --disable-static
168 - --disable-system-abi
169 - --enable-multibyte
170 - --enable-wchar
171 - $(use_enable agrep)
172 - $(use_enable approx)
173 - $(use_enable debug)
174 - $(use_enable nls)
175 - $(use_enable profile)
176 - $(use_with alloca)
177 - )
178 - econf "${myconf[@]}"
179 -}
180 -
181 -src_test() {
182 - if locale -a | grep -iq en_US.iso88591; then
183 - emake -j1 check
184 - else
185 - ewarn "If you like to run the test,"
186 - ewarn "please make sure en_US.ISO-8859-1 is installed."
187 - die "en_US.ISO-8859-1 locale is missing"
188 - fi
189 -}
190 -
191 -src_compile() {
192 - default
193 - if use python; then
194 - pushd "python" || die
195 - python_foreach_impl distutils-r1_python_compile
196 - popd || die
197 - fi
198 -}
199 -
200 -src_install() {
201 - local HTML_DOCS=( doc/*.{css,html} )
202 -
203 - default
204 - use python && python_foreach_impl python_install
205 -}
206 -
207 -pkg_postinst() {
208 - ewarn "app-misc/glimpse, app-text/agrep and this package all provide agrep."
209 - ewarn "If this causes any unforeseen incompatibilities please file a bug"
210 - ewarn "on https://bugs.gentoo.org."
211 -}
212 -
213 -python_install() {
214 - pushd "python" || die
215 - distutils-r1_python_install
216 - popd || die
217 -}