Gentoo Archives: gentoo-commits

From: Flammie Pirinen <flammie@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-misc/hfst/
Date: Tue, 31 Jul 2012 21:34:55
Message-Id: 1343770004.2529650d850c9182944e28359fabebecc8534123.flammie@gentoo
1 commit: 2529650d850c9182944e28359fabebecc8534123
2 Author: Flammie Pirinen <flammie <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jul 31 21:26:44 2012 +0000
4 Commit: Flammie Pirinen <flammie <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 31 21:26:44 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=2529650d
7
8 Version bump hfst to 3.3.12
9
10 (Portage version: 2.1.10.65/git/Linux i686, unsigned Manifest commit)
11
12 ---
13 sci-misc/hfst/ChangeLog | 8 +++++++-
14 sci-misc/hfst/hfst-2.2.ebuild | 4 ++--
15 sci-misc/hfst/hfst-3.0.2.ebuild | 4 ++--
16 sci-misc/hfst/hfst-3.3.12.ebuild | 34 ++++++++++++++++++++++++++++++++++
17 sci-misc/hfst/metadata.xml | 24 ++++++++++++++++++------
18 5 files changed, 63 insertions(+), 11 deletions(-)
19
20 diff --git a/sci-misc/hfst/ChangeLog b/sci-misc/hfst/ChangeLog
21 index a1485e9..67c498d 100644
22 --- a/sci-misc/hfst/ChangeLog
23 +++ b/sci-misc/hfst/ChangeLog
24 @@ -1,7 +1,13 @@
25 # ChangeLog for sci-misc/hfst
26 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
27 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 # $Header: $
29
30 +*hfst-3.3.12 (31 Jul 2012)
31 +
32 + 31 Jul 2012; Flammie Pirinen <flammie@g.o> +hfst-3.3.12.ebuild,
33 + metadata.xml:
34 + Version bump hfst to 3.3.12
35 +
36 25 Oct 2011; Justin Lecher <jlec@g.o> metadata.xml:
37 Removed no-herd from herd tag in metadata.xml
38
39
40 diff --git a/sci-misc/hfst/hfst-2.2.ebuild b/sci-misc/hfst/hfst-2.2.ebuild
41 index 7e7d56f..dd7a361 100644
42 --- a/sci-misc/hfst/hfst-2.2.ebuild
43 +++ b/sci-misc/hfst/hfst-2.2.ebuild
44 @@ -1,4 +1,4 @@
45 -# Copyright 1999-2011 Gentoo Foundation
46 +# Copyright 1999-2012 Gentoo Foundation
47 # Distributed under the terms of the GNU General Public License v2
48 # $Header: $
49
50 @@ -6,7 +6,7 @@ EAPI=4
51
52 DESCRIPTION="Helsinki Finite State Transducer API and tools"
53 HOMEPAGE="http://hfst.sourceforge.net/"
54 -SRC_URI="mirror://sourceforge/hfst/hfst-2.2.tar.gz"
55 +SRC_URI="mirror://sourceforge/hfst/archive/hfst-2.2.tar.gz"
56
57 LICENSE="GPL-3"
58 SLOT="0"
59
60 diff --git a/sci-misc/hfst/hfst-3.0.2.ebuild b/sci-misc/hfst/hfst-3.0.2.ebuild
61 index 9ed89b6..7c1b02b 100644
62 --- a/sci-misc/hfst/hfst-3.0.2.ebuild
63 +++ b/sci-misc/hfst/hfst-3.0.2.ebuild
64 @@ -1,4 +1,4 @@
65 -# Copyright 1999-2011 Gentoo Foundation
66 +# Copyright 1999-2012 Gentoo Foundation
67 # Distributed under the terms of the GNU General Public License v2
68 # $Header: $
69
70 @@ -6,7 +6,7 @@ EAPI=4
71
72 DESCRIPTION="Helsinki Finite State Transducer API and tools"
73 HOMEPAGE="http://hfst.sourceforge.net/"
74 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
75 +SRC_URI="mirror://sourceforge/${PN}/archive/${P}.tar.gz"
76
77 LICENSE="GPL-3"
78 SLOT="0"
79
80 diff --git a/sci-misc/hfst/hfst-3.3.12.ebuild b/sci-misc/hfst/hfst-3.3.12.ebuild
81 new file mode 100644
82 index 0000000..45be9b7
83 --- /dev/null
84 +++ b/sci-misc/hfst/hfst-3.3.12.ebuild
85 @@ -0,0 +1,34 @@
86 +# Copyright 1999-2012 Gentoo Foundation
87 +# Distributed under the terms of the GNU General Public License v2
88 +# $Header: $
89 +
90 +EAPI=4
91 +
92 +DESCRIPTION="Helsinki Finite State Transducer API and tools"
93 +HOMEPAGE="http://hfst.sourceforge.net/"
94 +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
95 +
96 +LICENSE="GPL-3"
97 +SLOT="0"
98 +KEYWORDS="~x86"
99 +IUSE="+openfst sfst foma xml +glib"
100 +
101 +RDEPEND="
102 + openfst? ( >sci-misc/openfst-1.2 )
103 + sfst? ( >sci-misc/sfst-1.3 )
104 + foma? ( >sci-misc/foma-0.9.13 )
105 + xml? ( dev-libs/libxml2 dev-cpp/libxmlpp )
106 + glib? ( dev-libs/glib )"
107 +DEPEND="${RDEPEND}
108 + >=sys-devel/flex-2.5.35
109 + sys-devel/bison"
110 +
111 +src_configure() {
112 + econf \
113 + $(use_with openfst) \
114 + $(use_with sfst) \
115 + $(use_with foma) \
116 + $(use_enable xml apertium2fst) \
117 + $(use_with glib unicodehandler glib) \
118 + --enable-lexc
119 +}
120
121 diff --git a/sci-misc/hfst/metadata.xml b/sci-misc/hfst/metadata.xml
122 index 4093d00..efb6974 100644
123 --- a/sci-misc/hfst/metadata.xml
124 +++ b/sci-misc/hfst/metadata.xml
125 @@ -6,11 +6,23 @@
126 traditional FST-based linguistic morphology tools.
127 </longdescription>
128 <use>
129 - <flag name="openfst">Add optional support for openfst backend
130 - library (<pkg>sci-misc/openfst</pkg>)</flag>
131 - <!-- <flag name="foma">Add optional support for foma backend
132 - library (<pkg>sci-misc/foma</pkg>)</flag> -->
133 - <flag name="sfst">Add optional support for sfst backend
134 - library (<pkg>sci-misc/sfst</pkg>)</flag>
135 + <flag name="openfst">
136 + Add optional support for openfst backend library
137 + (<pkg>sci-misc/openfst</pkg>)
138 + </flag>
139 + <flag name="foma">
140 + Add optional support for foma backend library
141 + (<pkg>sci-misc/foma</pkg>)</flag>
142 + <flag name="sfst">
143 + Add optional support for sfst backend library
144 + (<pkg>sci-misc/sfst</pkg>)
145 + </flag>
146 + <flag name="glib">
147 + Parse UTF-8 and collate unicode using glib instead of
148 + homebrewn methods
149 + </flag>
150 + <flag name="xml">
151 + Include parsers for grammars and formats that require XML support
152 + </flag>
153 </use>
154 </pkgmetadata>