1 |
commit: d14634fca4bcffb64c6f3ba227df9ee35505c20c |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 2 21:47:16 2022 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 2 21:47:16 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d14634fc |
7 |
|
8 |
dev-libs/link-grammar: drop 5.10.2 |
9 |
|
10 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
11 |
|
12 |
dev-libs/link-grammar/Manifest | 1 - |
13 |
.../files/link-grammar-5.10.2-musl.patch | 13 --- |
14 |
dev-libs/link-grammar/link-grammar-5.10.2.ebuild | 116 --------------------- |
15 |
3 files changed, 130 deletions(-) |
16 |
|
17 |
diff --git a/dev-libs/link-grammar/Manifest b/dev-libs/link-grammar/Manifest |
18 |
index 3a97a6932144..a09777eb5c2c 100644 |
19 |
--- a/dev-libs/link-grammar/Manifest |
20 |
+++ b/dev-libs/link-grammar/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST link-grammar-5.10.2.tar.gz 3853934 BLAKE2B d2cb64a6b0146f40ce5b197c21ded94f1256360615c2332a1c546f6b6c71c98d2500e97b0fcabae964377a04143fa13ba3af324f2de729cfccd280e53f6fb7c3 SHA512 71bc881cb628fe1898403024d8e949b2fbf44f5d20445f6fff7bb6038646840556d734434beb7eb43b63f661e18333657deaeb1b8c96b50d5fe3b6ef727565c2 |
23 |
DIST link-grammar-5.10.4.tar.gz 4593602 BLAKE2B 0515aed27ae8df85ceddb9685ce90db2b6e7671235b9b445b6728b1ac417d6d43b3705566066ff9735fc98c32746342c224f2399bb0f2573784f20b5f998e7be SHA512 a215694f76e15286c478884ea8a13b32976d06ea45d10897dc1b303f256a2c0af94c9f90da26b314ce5e03009b494ab526c729b66f2b1ed46ff3e8b02cb6fd08 |
24 |
|
25 |
diff --git a/dev-libs/link-grammar/files/link-grammar-5.10.2-musl.patch b/dev-libs/link-grammar/files/link-grammar-5.10.2-musl.patch |
26 |
deleted file mode 100644 |
27 |
index 8015e3ceb1e4..000000000000 |
28 |
--- a/dev-libs/link-grammar/files/link-grammar-5.10.2-musl.patch |
29 |
+++ /dev/null |
30 |
@@ -1,13 +0,0 @@ |
31 |
---- a/link-grammar/minisat/minisat/utils/System.h |
32 |
-+++ b/link-grammar/minisat/minisat/utils/System.h |
33 |
-@@ -21,10 +21,6 @@ |
34 |
- #ifndef Minisat_System_h |
35 |
- #define Minisat_System_h |
36 |
- |
37 |
--#if defined(__linux__) |
38 |
--#include <fpu_control.h> |
39 |
--#endif |
40 |
-- |
41 |
- #include "minisat/mtl/IntTypes.h" |
42 |
- |
43 |
- //------------------------------------------------------------------------------------------------- |
44 |
|
45 |
diff --git a/dev-libs/link-grammar/link-grammar-5.10.2.ebuild b/dev-libs/link-grammar/link-grammar-5.10.2.ebuild |
46 |
deleted file mode 100644 |
47 |
index 2d703fde38ff..000000000000 |
48 |
--- a/dev-libs/link-grammar/link-grammar-5.10.2.ebuild |
49 |
+++ /dev/null |
50 |
@@ -1,116 +0,0 @@ |
51 |
-# Copyright 1999-2022 Gentoo Authors |
52 |
-# Distributed under the terms of the GNU General Public License v2 |
53 |
- |
54 |
-EAPI=8 |
55 |
- |
56 |
-PYTHON_COMPAT=( python3_{8..10} ) |
57 |
- |
58 |
-inherit autotools python-r1 out-of-source |
59 |
- |
60 |
-DESCRIPTION="A Syntactic English parser" |
61 |
-HOMEPAGE="https://www.abisource.com/projects/link-grammar/ https://www.link.cs.cmu.edu/link/" |
62 |
-SRC_URI="https://www.abisource.com/downloads/${PN}/${PV}/${P}.tar.gz" |
63 |
- |
64 |
-LICENSE="LGPL-2.1" |
65 |
-SLOT="0/5" |
66 |
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv sparc ~x86" |
67 |
-IUSE="aspell +hunspell python" # pcre |
68 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
69 |
- |
70 |
-# XXX: sqlite is automagic |
71 |
-# Does not build with >=sci-mathematics/minisat-2, bug #593662 |
72 |
-# add pcre support: pcre? ( dev-libs/libpcre ) |
73 |
-RDEPEND=" |
74 |
- dev-db/sqlite:3 |
75 |
- aspell? ( app-text/aspell ) |
76 |
- hunspell? ( app-text/hunspell ) |
77 |
- python? ( ${PYTHON_DEPS} ) |
78 |
- !sci-mathematics/minisat" |
79 |
-DEPEND="${RDEPEND}" |
80 |
-BDEPEND=" |
81 |
- dev-lang/swig:0 |
82 |
- sys-devel/autoconf-archive |
83 |
- virtual/pkgconfig" |
84 |
- |
85 |
-PATCHES=( |
86 |
- "${FILESDIR}"/${PN}-5.8.1-lld.patch |
87 |
- "${FILESDIR}"/${P}-musl.patch |
88 |
-) |
89 |
- |
90 |
-pkg_setup() { |
91 |
- if use aspell && use hunspell; then |
92 |
- ewarn "You have enabled 'aspell' and 'hunspell' support, but both cannot coexist," |
93 |
- ewarn "only hunspell will be built. Press Ctrl+C and set only 'aspell' USE flag if" |
94 |
- ewarn "you want aspell support." |
95 |
- fi |
96 |
-} |
97 |
- |
98 |
-src_prepare() { |
99 |
- default |
100 |
- eautoreconf |
101 |
-} |
102 |
- |
103 |
-my_src_configure() { |
104 |
- local myconf=( |
105 |
- --disable-maintainer-mode |
106 |
- --disable-editline |
107 |
- # java is hopelessly broken, invokes maven at build time (bug #806157) |
108 |
- --disable-java-bindings |
109 |
- --disable-perl-bindings |
110 |
- --disable-static |
111 |
- --enable-sat-solver=bundled |
112 |
- $(use_enable aspell) |
113 |
- $(use_enable hunspell) |
114 |
- $(usev hunspell --with-hunspell-dictdir="${EPREFIX}"/usr/share/myspell) |
115 |
- # $(use_enable pcre regex-tokenizer) |
116 |
- # $(use_with pcre) |
117 |
- ) |
118 |
- |
119 |
- econf \ |
120 |
- --disable-python-bindings \ |
121 |
- "${myconf[@]}" |
122 |
- |
123 |
- if use python; then |
124 |
- python_configure() { |
125 |
- econf \ |
126 |
- --enable-python-bindings \ |
127 |
- "${myconf[@]}" |
128 |
- } |
129 |
- python_foreach_impl run_in_build_dir python_configure |
130 |
- fi |
131 |
-} |
132 |
- |
133 |
-my_src_compile() { |
134 |
- local -x MAIN_BUILD_DIR="${BUILD_DIR}" |
135 |
- default |
136 |
- |
137 |
- if use python; then |
138 |
- python_compile() { |
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 |
- } |
144 |
- python_foreach_impl run_in_build_dir python_compile |
145 |
- fi |
146 |
-} |
147 |
- |
148 |
-my_src_install() { |
149 |
- local -x MAIN_BUILD_DIR="${BUILD_DIR}" |
150 |
- default |
151 |
- |
152 |
- if use python; then |
153 |
- python_install() { |
154 |
- emake -C bindings/python \ |
155 |
- VPATH="${S}:${MAIN_BUILD_DIR}" \ |
156 |
- _clinkgrammar_la_DEPENDENCIES="${MAIN_BUILD_DIR}"/link-grammar/liblink-grammar.la \ |
157 |
- _clinkgrammar_la_LIBADD="${MAIN_BUILD_DIR}"/link-grammar/liblink-grammar.la \ |
158 |
- DESTDIR="${D}" \ |
159 |
- install |
160 |
- } |
161 |
- python_foreach_impl run_in_build_dir python_install |
162 |
- fi |
163 |
- |
164 |
- # no static archives |
165 |
- find "${ED}" -name '*.la' -delete || die |
166 |
-} |