1 |
commit: 2d09596d0b6cbd34a9a4f133f82b3b3c31e663a0 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 30 20:44:30 2017 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 30 22:25:15 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d09596d |
7 |
|
8 |
dev-libs/link-grammar: remove old |
9 |
|
10 |
Package-Manager: Portage-2.3.8, Repoman-2.3.2 |
11 |
|
12 |
dev-libs/link-grammar/Manifest | 1 - |
13 |
dev-libs/link-grammar/link-grammar-5.3.10.ebuild | 155 ----------------------- |
14 |
2 files changed, 156 deletions(-) |
15 |
|
16 |
diff --git a/dev-libs/link-grammar/Manifest b/dev-libs/link-grammar/Manifest |
17 |
index fb34a93c186..26ae979fde2 100644 |
18 |
--- a/dev-libs/link-grammar/Manifest |
19 |
+++ b/dev-libs/link-grammar/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST link-grammar-5.3.10.tar.gz 3612522 SHA256 7ead9a5190cfac2f8a0f8b2608fd48b6d71a50aa55cb4fedd3f52e85a4df0a95 SHA512 b91c79c6c668c7d1ccb0f29e3762e4426f082421fc3a15e77bfacbc3681d4f969db7015010504dc8418e4d8c90847ed156bcc0ea01fd6589ef31c4d35af6e989 WHIRLPOOL 3c1d05f3523e6b411b653803c4f2490078d3a227eec3fc4497c0d801127c00fe3eca7bb9d1b868b2c776b59829ea96da42ceee70d24d6617f9040b0164dfe1bc |
22 |
DIST link-grammar-5.3.11.tar.gz 3632617 SHA256 73ca3ae82ec7ddbfce827eb7017a2953afea2cea854b4d7517139881e1170cd7 SHA512 09671d187deac3b9530dd63eb4497de9c2c9db32d79da06c677bdbccac015adef06813819692a92d15499c7cb347071c58b73c52505af154bdc8a8fcd409ddd2 WHIRLPOOL c4f1cfa11d7d1b07dfdd15d9798789fd5c7b2d8f79d12e717c9b92527757b7b9e67c9813deb8aac93e60a145c0783c23f3ee9654e570858ec428af094ba95831 |
23 |
|
24 |
diff --git a/dev-libs/link-grammar/link-grammar-5.3.10.ebuild b/dev-libs/link-grammar/link-grammar-5.3.10.ebuild |
25 |
deleted file mode 100644 |
26 |
index fdfa8ffeb61..00000000000 |
27 |
--- a/dev-libs/link-grammar/link-grammar-5.3.10.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,155 +0,0 @@ |
30 |
-# Copyright 1999-2017 Gentoo Foundation |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=6 |
34 |
-GNOME2_LA_PUNT="yes" |
35 |
-PYTHON_COMPAT=( python{2_7,3_4,3_5} ) |
36 |
- |
37 |
-inherit autotools eutils gnome2 java-pkg-opt-2 python-r1 |
38 |
- |
39 |
-DESCRIPTION="A Syntactic English parser" |
40 |
-HOMEPAGE="http://www.abisource.com/projects/link-grammar/ http://www.link.cs.cmu.edu/link/" |
41 |
-SRC_URI="http://www.abisource.com/downloads/${PN}/${PV}/${P}.tar.gz" |
42 |
- |
43 |
-LICENSE="LGPL-2.1" |
44 |
-SLOT="0" |
45 |
-KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~sparc x86" |
46 |
-IUSE="aspell +hunspell java python static-libs threads" |
47 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
48 |
- |
49 |
-RDEPEND=" |
50 |
- aspell? ( app-text/aspell ) |
51 |
- hunspell? ( app-text/hunspell ) |
52 |
- java? ( |
53 |
- >=virtual/jdk-1.6:* |
54 |
- dev-java/ant-core ) |
55 |
- python? ( ${PYTHON_DEPS} ) |
56 |
-" |
57 |
-DEPEND="${RDEPEND} |
58 |
- dev-lang/swig:0 |
59 |
- sys-devel/autoconf-archive |
60 |
- virtual/pkgconfig |
61 |
-" |
62 |
- |
63 |
-NORMAL_BUILD_DIR="${WORKDIR}/${P}-normal" |
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 |
-} |
73 |
- |
74 |
-src_prepare() { |
75 |
- use java && java-pkg-opt-2_src_prepare |
76 |
- |
77 |
- # http://bugzilla.abisource.com/show_bug.cgi?id=13806 |
78 |
- eapply "${FILESDIR}"/${PN}-5.3.9-out-of-source-build.patch |
79 |
- eautoreconf |
80 |
- |
81 |
- if use python ; then |
82 |
- prepare_python() { |
83 |
- mkdir -p "${BUILD_DIR}" || die |
84 |
- } |
85 |
- python_foreach_impl prepare_python |
86 |
- fi |
87 |
- |
88 |
- mkdir -p "${NORMAL_BUILD_DIR}" || die |
89 |
- gnome2_src_prepare |
90 |
-} |
91 |
- |
92 |
-src_configure() { |
93 |
- local myconf=( |
94 |
- --disable-editline |
95 |
- --disable-perl-bindings |
96 |
- --enable-shared |
97 |
- $(use_enable aspell) |
98 |
- $(use_enable hunspell) |
99 |
- $(usex hunspell --with-hunspell-dictdir=/usr/share/myspell) |
100 |
- $(use_enable java java-bindings) |
101 |
- $(use_enable static-libs static) |
102 |
- $(use_enable threads pthreads) |
103 |
- ) |
104 |
- |
105 |
- cd "${NORMAL_BUILD_DIR}" || die |
106 |
- ECONF_SOURCE="${S}" gnome2_src_configure \ |
107 |
- --disable-python-bindings \ |
108 |
- --disable-python3-bindings \ |
109 |
- ${myconf[@]} |
110 |
- |
111 |
- if use python ; then |
112 |
- prepare_python() { |
113 |
- if python_is_python3; then |
114 |
- ECONF_SOURCE="${S}" gnome2_src_configure \ |
115 |
- --disable-python-bindings \ |
116 |
- --enable-python3-bindings \ |
117 |
- ${myconf[@]} |
118 |
- else |
119 |
- ECONF_SOURCE="${S}" gnome2_src_configure \ |
120 |
- --enable-python-bindings \ |
121 |
- --disable-python3-bindings \ |
122 |
- ${myconf[@]} |
123 |
- fi |
124 |
- } |
125 |
- python_foreach_impl run_in_build_dir prepare_python |
126 |
- fi |
127 |
-} |
128 |
- |
129 |
-src_compile() { |
130 |
- cd "${NORMAL_BUILD_DIR}" || die |
131 |
- gnome2_src_compile |
132 |
- |
133 |
- if use python ; then |
134 |
- compile_binding() { |
135 |
- local pysuffix |
136 |
- if python_is_python3; then |
137 |
- pysuffix=3 |
138 |
- else |
139 |
- pysuffix= |
140 |
- fi |
141 |
- |
142 |
- emake -C bindings/python$pysuffix \ |
143 |
- VPATH="${S}:${NORMAL_BUILD_DIR}" \ |
144 |
- _clinkgrammar_la_DEPENDENCIES="${NORMAL_BUILD_DIR}"/link-grammar/liblink-grammar.la \ |
145 |
- _clinkgrammar_la_LIBADD="${NORMAL_BUILD_DIR}"/link-grammar/liblink-grammar.la |
146 |
- } |
147 |
- python_foreach_impl run_in_build_dir compile_binding |
148 |
- fi |
149 |
-} |
150 |
- |
151 |
-src_test() { |
152 |
- cd "${NORMAL_BUILD_DIR}" || die |
153 |
- ln -s "${S}"/data tests/data || die |
154 |
- emake check |
155 |
-} |
156 |
- |
157 |
-src_install() { |
158 |
- cd "${NORMAL_BUILD_DIR}" || die |
159 |
- gnome2_src_install |
160 |
- |
161 |
- if use python ; then |
162 |
- install_binding() { |
163 |
- local pysuffix |
164 |
- if python_is_python3; then |
165 |
- pysuffix=3 |
166 |
- else |
167 |
- pysuffix= |
168 |
- fi |
169 |
- |
170 |
- emake -C bindings/python$pysuffix \ |
171 |
- VPATH="${S}:${NORMAL_BUILD_DIR}" \ |
172 |
- _clinkgrammar_la_DEPENDENCIES="${NORMAL_BUILD_DIR}"/link-grammar/liblink-grammar.la \ |
173 |
- _clinkgrammar_la_LIBADD="${NORMAL_BUILD_DIR}"/link-grammar/liblink-grammar.la \ |
174 |
- DESTDIR="${D}" \ |
175 |
- install |
176 |
- } |
177 |
- python_foreach_impl run_in_build_dir install_binding |
178 |
- fi |
179 |
-} |
180 |
- |
181 |
-pkg_preinst() { |
182 |
- use java && java-pkg-opt-2_pkg_preinst |
183 |
- gnome2_pkg_preinst |
184 |
-} |