1 |
commit: 0793bf473d7c71659e020be3f2674ce940f11092 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 15 19:15:26 2017 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 15 19:23:25 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0793bf47 |
7 |
|
8 |
dev-libs/link-grammar: remove old |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
dev-libs/link-grammar/Manifest | 2 - |
13 |
dev-libs/link-grammar/link-grammar-5.3.7.ebuild | 65 ---------- |
14 |
dev-libs/link-grammar/link-grammar-5.3.9.ebuild | 155 ------------------------ |
15 |
3 files changed, 222 deletions(-) |
16 |
|
17 |
diff --git a/dev-libs/link-grammar/Manifest b/dev-libs/link-grammar/Manifest |
18 |
index ff34afa6ea..fb34a93c18 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.3.10.tar.gz 3612522 SHA256 7ead9a5190cfac2f8a0f8b2608fd48b6d71a50aa55cb4fedd3f52e85a4df0a95 SHA512 b91c79c6c668c7d1ccb0f29e3762e4426f082421fc3a15e77bfacbc3681d4f969db7015010504dc8418e4d8c90847ed156bcc0ea01fd6589ef31c4d35af6e989 WHIRLPOOL 3c1d05f3523e6b411b653803c4f2490078d3a227eec3fc4497c0d801127c00fe3eca7bb9d1b868b2c776b59829ea96da42ceee70d24d6617f9040b0164dfe1bc |
23 |
DIST link-grammar-5.3.11.tar.gz 3632617 SHA256 73ca3ae82ec7ddbfce827eb7017a2953afea2cea854b4d7517139881e1170cd7 SHA512 09671d187deac3b9530dd63eb4497de9c2c9db32d79da06c677bdbccac015adef06813819692a92d15499c7cb347071c58b73c52505af154bdc8a8fcd409ddd2 WHIRLPOOL c4f1cfa11d7d1b07dfdd15d9798789fd5c7b2d8f79d12e717c9b92527757b7b9e67c9813deb8aac93e60a145c0783c23f3ee9654e570858ec428af094ba95831 |
24 |
-DIST link-grammar-5.3.7.tar.gz 3555475 SHA256 d0cf0061cccccfdc7c539e1f402da11b5fe2783940546560cd11a05382263a6a SHA512 f1a1e03841f847d427acb24cfb7a7a552ade6731253cf5f2ce6fcb82be387426d7cb5b47a82523f01fc56771c0667881ae663380dbc644e775694029c7fef740 WHIRLPOOL 86bf7f2e26a6e3e5c560c85719d2a8823846ad1d4a273641104111bff2523c431f459a38415c22c12db61dc344ac99e8dd33dcb7210ee42d5517f39c1e0ff90f |
25 |
-DIST link-grammar-5.3.9.tar.gz 3597250 SHA256 fa0a9957607705a42dbfa6bddae6567fdd11c0f648157dc824bb6facf873156a SHA512 1fa7c36c53c0525e774239fd3d9c6159ae6416b0ca3d1a4d6883c77443132fed22d13d367f26dc335b75e40ecdb163e0057d1cd1f76ffa92c7f7cbd18f31266f WHIRLPOOL 8954f0d285e9b1b045781a2cf40d401dfafb51a3f7506251d4542509d260f7f501375f9a9b036359717e7b3d0a90d5a78cd02df947bc7d9027eff274caacf61b |
26 |
|
27 |
diff --git a/dev-libs/link-grammar/link-grammar-5.3.7.ebuild b/dev-libs/link-grammar/link-grammar-5.3.7.ebuild |
28 |
deleted file mode 100644 |
29 |
index 0d99094da0..0000000000 |
30 |
--- a/dev-libs/link-grammar/link-grammar-5.3.7.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,65 +0,0 @@ |
33 |
-# Copyright 1999-2016 Gentoo Foundation |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
-# $Id$ |
36 |
- |
37 |
-EAPI=6 |
38 |
-GNOME2_LA_PUNT="yes" |
39 |
-PYTHON_COMPAT=( python{2_7,3_4,3_5} ) |
40 |
- |
41 |
-inherit autotools eutils gnome2 java-pkg-opt-2 python-any-r1 |
42 |
- |
43 |
-DESCRIPTION="A Syntactic English parser" |
44 |
-HOMEPAGE="http://www.abisource.com/projects/link-grammar/ http://www.link.cs.cmu.edu/link/" |
45 |
-SRC_URI="http://www.abisource.com/downloads/${PN}/${PV}/${P}.tar.gz" |
46 |
- |
47 |
-LICENSE="LGPL-2.1" |
48 |
-SLOT="0" |
49 |
-KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~sparc x86" |
50 |
- |
51 |
-IUSE="aspell +hunspell java python static-libs threads" |
52 |
- |
53 |
-RDEPEND=" |
54 |
- aspell? ( app-text/aspell ) |
55 |
- hunspell? ( app-text/hunspell ) |
56 |
- java? ( |
57 |
- >=virtual/jdk-1.6:* |
58 |
- dev-java/ant-core ) |
59 |
- python? ( ${PYTHON_DEPS} ) |
60 |
-" |
61 |
-DEPEND="${RDEPEND} |
62 |
- dev-lang/swig:0 |
63 |
-" |
64 |
- |
65 |
-pkg_setup() { |
66 |
- if use aspell && use hunspell; then |
67 |
- ewarn "You have enabled 'aspell' and 'hunspell' support, but both cannot coexist," |
68 |
- ewarn "only hunspell will be built. Press Ctrl+C and set only 'aspell' USE flag if" |
69 |
- ewarn "you want aspell support." |
70 |
- fi |
71 |
- use java && java-pkg-opt-2_pkg_setup |
72 |
- use python && python-any-r1_pkg_setup |
73 |
-} |
74 |
- |
75 |
-src_prepare() { |
76 |
- use java && java-pkg-opt-2_src_prepare |
77 |
- AT_M4DIR="ac-helpers/" eautoreconf |
78 |
- gnome2_src_prepare |
79 |
-} |
80 |
- |
81 |
-src_configure() { |
82 |
- gnome2_src_configure \ |
83 |
- --disable-perl-bindings \ |
84 |
- --enable-shared \ |
85 |
- $(use_enable aspell) \ |
86 |
- $(use_enable hunspell) \ |
87 |
- $(usex hunspell --with-hunspell-dictdir=/usr/share/myspell) \ |
88 |
- $(use_enable java java-bindings) \ |
89 |
- $(use_enable python python-bindings) \ |
90 |
- $(use_enable static-libs static) \ |
91 |
- $(use_enable threads pthreads) |
92 |
-} |
93 |
- |
94 |
-pkg_preinst() { |
95 |
- use java && java-pkg-opt-2_pkg_preinst |
96 |
- gnome2_pkg_preinst |
97 |
-} |
98 |
|
99 |
diff --git a/dev-libs/link-grammar/link-grammar-5.3.9.ebuild b/dev-libs/link-grammar/link-grammar-5.3.9.ebuild |
100 |
deleted file mode 100644 |
101 |
index 96fadd6e4b..0000000000 |
102 |
--- a/dev-libs/link-grammar/link-grammar-5.3.9.ebuild |
103 |
+++ /dev/null |
104 |
@@ -1,155 +0,0 @@ |
105 |
-# Copyright 1999-2016 Gentoo Foundation |
106 |
-# Distributed under the terms of the GNU General Public License v2 |
107 |
-# $Id$ |
108 |
- |
109 |
-EAPI=6 |
110 |
-GNOME2_LA_PUNT="yes" |
111 |
-PYTHON_COMPAT=( python{2_7,3_4,3_5} ) |
112 |
- |
113 |
-inherit autotools eutils gnome2 java-pkg-opt-2 python-r1 |
114 |
- |
115 |
-DESCRIPTION="A Syntactic English parser" |
116 |
-HOMEPAGE="http://www.abisource.com/projects/link-grammar/ http://www.link.cs.cmu.edu/link/" |
117 |
-SRC_URI="http://www.abisource.com/downloads/${PN}/${PV}/${P}.tar.gz" |
118 |
- |
119 |
-LICENSE="LGPL-2.1" |
120 |
-SLOT="0" |
121 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
122 |
- |
123 |
-IUSE="aspell +hunspell java python static-libs threads" |
124 |
- |
125 |
-RDEPEND=" |
126 |
- aspell? ( app-text/aspell ) |
127 |
- hunspell? ( app-text/hunspell ) |
128 |
- java? ( |
129 |
- >=virtual/jdk-1.6:* |
130 |
- dev-java/ant-core ) |
131 |
- python? ( ${PYTHON_DEPS} ) |
132 |
-" |
133 |
-DEPEND="${RDEPEND} |
134 |
- dev-lang/swig:0 |
135 |
- sys-devel/autoconf-archive |
136 |
- virtual/pkgconfig |
137 |
-" |
138 |
- |
139 |
-NORMAL_BUILD_DIR="${WORKDIR}/${P}-normal" |
140 |
- |
141 |
-pkg_setup() { |
142 |
- if use aspell && use hunspell; then |
143 |
- ewarn "You have enabled 'aspell' and 'hunspell' support, but both cannot coexist," |
144 |
- ewarn "only hunspell will be built. Press Ctrl+C and set only 'aspell' USE flag if" |
145 |
- ewarn "you want aspell support." |
146 |
- fi |
147 |
- use java && java-pkg-opt-2_pkg_setup |
148 |
-} |
149 |
- |
150 |
-src_prepare() { |
151 |
- use java && java-pkg-opt-2_src_prepare |
152 |
- |
153 |
- eapply "${FILESDIR}"/${P}-out-of-source-build.patch |
154 |
- eautoreconf |
155 |
- |
156 |
- if use python ; then |
157 |
- prepare_python() { |
158 |
- mkdir -p "${BUILD_DIR}" || die |
159 |
- } |
160 |
- python_foreach_impl prepare_python |
161 |
- fi |
162 |
- |
163 |
- mkdir -p "${NORMAL_BUILD_DIR}" || die |
164 |
- gnome2_src_prepare |
165 |
-} |
166 |
- |
167 |
-src_configure() { |
168 |
- local myconf=( |
169 |
- --disable-editline |
170 |
- --disable-perl-bindings |
171 |
- --enable-shared |
172 |
- $(use_enable aspell) |
173 |
- $(use_enable hunspell) |
174 |
- $(usex hunspell --with-hunspell-dictdir=/usr/share/myspell) |
175 |
- $(use_enable java java-bindings) |
176 |
- $(use_enable static-libs static) |
177 |
- $(use_enable threads pthreads) |
178 |
- ) |
179 |
- |
180 |
- cd "${NORMAL_BUILD_DIR}" || die |
181 |
- ECONF_SOURCE="${S}" gnome2_src_configure \ |
182 |
- --disable-python-bindings \ |
183 |
- --disable-python3-bindings \ |
184 |
- ${myconf[@]} |
185 |
- |
186 |
- if use python ; then |
187 |
- prepare_python() { |
188 |
- if python_is_python3; then |
189 |
- ECONF_SOURCE="${S}" gnome2_src_configure \ |
190 |
- --disable-python-bindings \ |
191 |
- --enable-python3-bindings \ |
192 |
- ${myconf[@]} |
193 |
- else |
194 |
- ECONF_SOURCE="${S}" gnome2_src_configure \ |
195 |
- --enable-python-bindings \ |
196 |
- --disable-python3-bindings \ |
197 |
- ${myconf[@]} |
198 |
- fi |
199 |
- } |
200 |
- python_foreach_impl run_in_build_dir prepare_python |
201 |
- fi |
202 |
-} |
203 |
- |
204 |
-src_compile() { |
205 |
- cd "${NORMAL_BUILD_DIR}" || die |
206 |
- gnome2_src_compile |
207 |
- |
208 |
- if use python ; then |
209 |
- compile_binding() { |
210 |
- local pysuffix |
211 |
- if python_is_python3; then |
212 |
- pysuffix=3 |
213 |
- else |
214 |
- pysuffix= |
215 |
- fi |
216 |
- |
217 |
- emake -C bindings/python$pysuffix \ |
218 |
- VPATH="${S}:${NORMAL_BUILD_DIR}" \ |
219 |
- _clinkgrammar_la_DEPENDENCIES="${NORMAL_BUILD_DIR}"/link-grammar/liblink-grammar.la \ |
220 |
- _clinkgrammar_la_LIBADD="${NORMAL_BUILD_DIR}"/link-grammar/liblink-grammar.la |
221 |
- } |
222 |
- python_foreach_impl run_in_build_dir compile_binding |
223 |
- fi |
224 |
-} |
225 |
- |
226 |
-src_test() { |
227 |
- cd "${NORMAL_BUILD_DIR}" || die |
228 |
- ln -s "${S}"/data tests/data || die |
229 |
- emake check |
230 |
-} |
231 |
- |
232 |
-src_install() { |
233 |
- cd "${NORMAL_BUILD_DIR}" || die |
234 |
- gnome2_src_install |
235 |
- |
236 |
- if use python ; then |
237 |
- install_binding() { |
238 |
- local pysuffix |
239 |
- if python_is_python3; then |
240 |
- pysuffix=3 |
241 |
- else |
242 |
- pysuffix= |
243 |
- fi |
244 |
- |
245 |
- emake -C bindings/python$pysuffix \ |
246 |
- VPATH="${S}:${NORMAL_BUILD_DIR}" \ |
247 |
- _clinkgrammar_la_DEPENDENCIES="${NORMAL_BUILD_DIR}"/link-grammar/liblink-grammar.la \ |
248 |
- _clinkgrammar_la_LIBADD="${NORMAL_BUILD_DIR}"/link-grammar/liblink-grammar.la \ |
249 |
- DESTDIR="${D}" \ |
250 |
- install |
251 |
- } |
252 |
- python_foreach_impl run_in_build_dir install_binding |
253 |
- fi |
254 |
-} |
255 |
- |
256 |
-pkg_preinst() { |
257 |
- use java && java-pkg-opt-2_pkg_preinst |
258 |
- gnome2_pkg_preinst |
259 |
-} |