Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/link-grammar/
Date: Sat, 22 Jan 2022 13:12:55
Message-Id: 1642857163.9adc856bfb618bbacd4c3b0c910ebfd5b98d45c8.soap@gentoo
1 commit: 9adc856bfb618bbacd4c3b0c910ebfd5b98d45c8
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 22 13:12:43 2022 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 22 13:12:43 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9adc856b
7
8 dev-libs/link-grammar: drop 5.8.1, 5.9.1
9
10 Signed-off-by: David Seifert <soap <AT> gentoo.org>
11
12 dev-libs/link-grammar/Manifest | 2 -
13 dev-libs/link-grammar/link-grammar-5.8.1.ebuild | 123 ------------------------
14 dev-libs/link-grammar/link-grammar-5.9.1.ebuild | 113 ----------------------
15 3 files changed, 238 deletions(-)
16
17 diff --git a/dev-libs/link-grammar/Manifest b/dev-libs/link-grammar/Manifest
18 index e40a0cacbd15..056fc5165ccc 100644
19 --- a/dev-libs/link-grammar/Manifest
20 +++ b/dev-libs/link-grammar/Manifest
21 @@ -1,4 +1,2 @@
22 DIST link-grammar-5.10.2.tar.gz 3853934 BLAKE2B d2cb64a6b0146f40ce5b197c21ded94f1256360615c2332a1c546f6b6c71c98d2500e97b0fcabae964377a04143fa13ba3af324f2de729cfccd280e53f6fb7c3 SHA512 71bc881cb628fe1898403024d8e949b2fbf44f5d20445f6fff7bb6038646840556d734434beb7eb43b63f661e18333657deaeb1b8c96b50d5fe3b6ef727565c2
23 DIST link-grammar-5.8.0.tar.gz 3782125 BLAKE2B 8027e91212d3269b8e3ceaa5c837ad961cd2dfd92849d3989094ab771d97d30f4b228cfc1e32e9e843676aa439d790fb444823f7db69004538ad068c7bf28a45 SHA512 1262e2faf1de6f05a62f9d622f43c02253b4c241342df9b443a70ae04bd328d1fc49cd2f91c881e694f67215005833fec8b1fa9d395b1e547985b376c7415d2e
24 -DIST link-grammar-5.8.1.tar.gz 3791847 BLAKE2B 8c89b95eaae87f0b576374c3f8c00529d61b62004718424d1ac1a41b694d8b56ba75d0a7068e1411376c260781f5adae8512976a6572e54f18d84abe98c1839e SHA512 0ef99d3ccb3d922a946f1f73b8b81cee9ece156886dab3367837e1e9f79944967da1391daf7f96ea5a95a0abdd346b642111a7939eb9aa079557c10b3efe8022
25 -DIST link-grammar-5.9.1.tar.gz 3809872 BLAKE2B fe0c407e2e4ea4201036647cbea7d4c2606fa9943653fcc2d3505963a00773006912b8af5c2762acf498220d2f48319a031736d59790c0fed616432973ea24ec SHA512 c8d8bc99ddd6f6190ebcb24fcafc79497c3eeab1deb3099691f55c735a0a607a8372a8dca5cd86ce7c20cd3a45e4f1cbf91bef39dc781a5b5a2246006b4f601e
26
27 diff --git a/dev-libs/link-grammar/link-grammar-5.8.1.ebuild b/dev-libs/link-grammar/link-grammar-5.8.1.ebuild
28 deleted file mode 100644
29 index 2cdb1a11a0e9..000000000000
30 --- a/dev-libs/link-grammar/link-grammar-5.8.1.ebuild
31 +++ /dev/null
32 @@ -1,123 +0,0 @@
33 -# Copyright 1999-2021 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -PYTHON_COMPAT=( python3_{7..9} )
39 -
40 -inherit autotools java-pkg-opt-2 python-r1 out-of-source
41 -
42 -DESCRIPTION="A Syntactic English parser"
43 -HOMEPAGE="https://www.abisource.com/projects/link-grammar/ https://www.link.cs.cmu.edu/link/"
44 -SRC_URI="https://www.abisource.com/downloads/${PN}/${PV}/${P}.tar.gz"
45 -
46 -LICENSE="LGPL-2.1"
47 -SLOT="0/5"
48 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
49 -IUSE="aspell +hunspell java python" # pcre
50 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
51 -
52 -# XXX: sqlite is automagic
53 -# Does not build with >=sci-mathematics/minisat-2, bug #593662
54 -# add pcre support: pcre? ( dev-libs/libpcre )
55 -RDEPEND="
56 - dev-db/sqlite:3
57 - aspell? ( app-text/aspell )
58 - hunspell? ( app-text/hunspell )
59 - java? (
60 - >=virtual/jdk-1.6:*
61 - dev-java/ant-core
62 - )
63 - python? ( ${PYTHON_DEPS} )
64 - !sci-mathematics/minisat"
65 -DEPEND="${RDEPEND}"
66 -BDEPEND="
67 - dev-lang/swig:0
68 - sys-devel/autoconf-archive
69 - virtual/pkgconfig"
70 -
71 -pkg_setup() {
72 - if use aspell && use hunspell; then
73 - ewarn "You have enabled 'aspell' and 'hunspell' support, but both cannot coexist,"
74 - ewarn "only hunspell will be built. Press Ctrl+C and set only 'aspell' USE flag if"
75 - ewarn "you want aspell support."
76 - fi
77 - use java && java-pkg-opt-2_pkg_setup
78 -}
79 -
80 -src_prepare() {
81 - default
82 - use java && java-pkg-opt-2_src_prepare
83 -
84 - eapply "${FILESDIR}"/${P}-lld.patch
85 -
86 - eautoreconf
87 -}
88 -
89 -my_src_configure() {
90 - local myconf=(
91 - --disable-maintainer-mode
92 - --disable-editline
93 - --disable-perl-bindings
94 - --disable-static
95 - --enable-sat-solver=bundled
96 - $(use_enable aspell)
97 - $(use_enable hunspell)
98 - $(usex hunspell --with-hunspell-dictdir="${EPREFIX}"/usr/share/myspell '')
99 - $(use_enable java java-bindings)
100 - # $(use_enable pcre regex-tokenizer)
101 - # $(use_with pcre)
102 - )
103 -
104 - econf \
105 - --disable-python-bindings \
106 - "${myconf[@]}"
107 -
108 - if use python; then
109 - python_configure() {
110 - econf \
111 - --enable-python-bindings \
112 - "${myconf[@]}"
113 - }
114 - python_foreach_impl run_in_build_dir python_configure
115 - fi
116 -}
117 -
118 -my_src_compile() {
119 - local -x MAIN_BUILD_DIR="${BUILD_DIR}"
120 - default
121 -
122 - if use python; then
123 - python_compile() {
124 - emake -C bindings/python \
125 - VPATH="${S}:${MAIN_BUILD_DIR}" \
126 - _clinkgrammar_la_DEPENDENCIES="${MAIN_BUILD_DIR}"/link-grammar/liblink-grammar.la \
127 - _clinkgrammar_la_LIBADD="${MAIN_BUILD_DIR}"/link-grammar/liblink-grammar.la
128 - }
129 - python_foreach_impl run_in_build_dir python_compile
130 - fi
131 -}
132 -
133 -my_src_install() {
134 - local -x MAIN_BUILD_DIR="${BUILD_DIR}"
135 - default
136 -
137 - if use python; then
138 - python_install() {
139 - emake -C bindings/python \
140 - VPATH="${S}:${MAIN_BUILD_DIR}" \
141 - _clinkgrammar_la_DEPENDENCIES="${MAIN_BUILD_DIR}"/link-grammar/liblink-grammar.la \
142 - _clinkgrammar_la_LIBADD="${MAIN_BUILD_DIR}"/link-grammar/liblink-grammar.la \
143 - DESTDIR="${D}" \
144 - install
145 - }
146 - python_foreach_impl run_in_build_dir python_install
147 - fi
148 -
149 - # no static archives
150 - find "${ED}" -name '*.la' -delete || die
151 -}
152 -
153 -pkg_preinst() {
154 - use java && java-pkg-opt-2_pkg_preinst
155 -}
156
157 diff --git a/dev-libs/link-grammar/link-grammar-5.9.1.ebuild b/dev-libs/link-grammar/link-grammar-5.9.1.ebuild
158 deleted file mode 100644
159 index 9cd72d301f29..000000000000
160 --- a/dev-libs/link-grammar/link-grammar-5.9.1.ebuild
161 +++ /dev/null
162 @@ -1,113 +0,0 @@
163 -# Copyright 1999-2022 Gentoo Authors
164 -# Distributed under the terms of the GNU General Public License v2
165 -
166 -EAPI=8
167 -
168 -PYTHON_COMPAT=( python3_{8..10} )
169 -
170 -inherit autotools python-r1 out-of-source
171 -
172 -DESCRIPTION="A Syntactic English parser"
173 -HOMEPAGE="https://www.abisource.com/projects/link-grammar/ https://www.link.cs.cmu.edu/link/"
174 -SRC_URI="https://www.abisource.com/downloads/${PN}/${PV}/${P}.tar.gz"
175 -
176 -LICENSE="LGPL-2.1"
177 -SLOT="0/5"
178 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
179 -IUSE="aspell +hunspell python" # pcre
180 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
181 -
182 -# XXX: sqlite is automagic
183 -# Does not build with >=sci-mathematics/minisat-2, bug #593662
184 -# add pcre support: pcre? ( dev-libs/libpcre )
185 -RDEPEND="
186 - dev-db/sqlite:3
187 - aspell? ( app-text/aspell )
188 - hunspell? ( app-text/hunspell )
189 - python? ( ${PYTHON_DEPS} )
190 - !sci-mathematics/minisat"
191 -DEPEND="${RDEPEND}"
192 -BDEPEND="
193 - dev-lang/swig:0
194 - sys-devel/autoconf-archive
195 - virtual/pkgconfig"
196 -
197 -PATCHES=( "${FILESDIR}"/${PN}-5.8.1-lld.patch )
198 -
199 -pkg_setup() {
200 - if use aspell && use hunspell; then
201 - ewarn "You have enabled 'aspell' and 'hunspell' support, but both cannot coexist,"
202 - ewarn "only hunspell will be built. Press Ctrl+C and set only 'aspell' USE flag if"
203 - ewarn "you want aspell support."
204 - fi
205 -}
206 -
207 -src_prepare() {
208 - default
209 - eautoreconf
210 -}
211 -
212 -my_src_configure() {
213 - local myconf=(
214 - --disable-maintainer-mode
215 - --disable-editline
216 - # java is hopelessly broken, invokes maven at build time (bug #806157)
217 - --disable-java-bindings
218 - --disable-perl-bindings
219 - --disable-static
220 - --enable-sat-solver=bundled
221 - $(use_enable aspell)
222 - $(use_enable hunspell)
223 - $(usev hunspell --with-hunspell-dictdir="${EPREFIX}"/usr/share/myspell)
224 - # $(use_enable pcre regex-tokenizer)
225 - # $(use_with pcre)
226 - )
227 -
228 - econf \
229 - --disable-python-bindings \
230 - "${myconf[@]}"
231 -
232 - if use python; then
233 - python_configure() {
234 - econf \
235 - --enable-python-bindings \
236 - "${myconf[@]}"
237 - }
238 - python_foreach_impl run_in_build_dir python_configure
239 - fi
240 -}
241 -
242 -my_src_compile() {
243 - local -x MAIN_BUILD_DIR="${BUILD_DIR}"
244 - default
245 -
246 - if use python; then
247 - python_compile() {
248 - emake -C bindings/python \
249 - VPATH="${S}:${MAIN_BUILD_DIR}" \
250 - _clinkgrammar_la_DEPENDENCIES="${MAIN_BUILD_DIR}"/link-grammar/liblink-grammar.la \
251 - _clinkgrammar_la_LIBADD="${MAIN_BUILD_DIR}"/link-grammar/liblink-grammar.la
252 - }
253 - python_foreach_impl run_in_build_dir python_compile
254 - fi
255 -}
256 -
257 -my_src_install() {
258 - local -x MAIN_BUILD_DIR="${BUILD_DIR}"
259 - default
260 -
261 - if use python; then
262 - python_install() {
263 - emake -C bindings/python \
264 - VPATH="${S}:${MAIN_BUILD_DIR}" \
265 - _clinkgrammar_la_DEPENDENCIES="${MAIN_BUILD_DIR}"/link-grammar/liblink-grammar.la \
266 - _clinkgrammar_la_LIBADD="${MAIN_BUILD_DIR}"/link-grammar/liblink-grammar.la \
267 - DESTDIR="${D}" \
268 - install
269 - }
270 - python_foreach_impl run_in_build_dir python_install
271 - fi
272 -
273 - # no static archives
274 - find "${ED}" -name '*.la' -delete || die
275 -}