Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-libs/libsvm: metadata.xml ChangeLog libsvm-2.85.ebuild
Date: Tue, 08 Jan 2008 14:58:16
Message-Id: E1JCFu9-0001NO-0V@stork.gentoo.org
1 bicatali 08/01/08 14:58:13
2
3 Modified: metadata.xml ChangeLog
4 Added: libsvm-2.85.ebuild
5 Log:
6 Version bump. sci team taking over maintainship. Closes bug #203081.
7 (Portage version: 2.1.4_rc14)
8
9 Revision Changes Path
10 1.3 sci-libs/libsvm/metadata.xml
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/libsvm/metadata.xml?rev=1.3&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/libsvm/metadata.xml?rev=1.3&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/libsvm/metadata.xml?r1=1.2&r2=1.3
15
16 Index: metadata.xml
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-libs/libsvm/metadata.xml,v
19 retrieving revision 1.2
20 retrieving revision 1.3
21 diff -u -r1.2 -r1.3
22 --- metadata.xml 25 Dec 2007 17:14:02 -0000 1.2
23 +++ metadata.xml 8 Jan 2008 14:58:12 -0000 1.3
24 @@ -1,8 +1,12 @@
25 <?xml version="1.0" encoding="UTF-8"?>
26 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
27 <pkgmetadata>
28 - <herd>no-herd</herd>
29 - <maintainer>
30 - <email>maintainer-needed@g.o</email>
31 - </maintainer>
32 +<herd>sci</herd>
33 +<longdescription lang="en">
34 + The LIBSVM library is used to calculate Support Vector Machine
35 + optimizations with a great variety of options. It includes
36 + one-class, two-class, multiclass, regression-mode, and probablistic
37 + output functionality. It is primarily of interest to machine-learning
38 + researchers and artificial intelligence application developers.
39 +</longdescription>
40 </pkgmetadata>
41
42
43
44 1.9 sci-libs/libsvm/ChangeLog
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/libsvm/ChangeLog?rev=1.9&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/libsvm/ChangeLog?rev=1.9&content-type=text/plain
48 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/libsvm/ChangeLog?r1=1.8&r2=1.9
49
50 Index: ChangeLog
51 ===================================================================
52 RCS file: /var/cvsroot/gentoo-x86/sci-libs/libsvm/ChangeLog,v
53 retrieving revision 1.8
54 retrieving revision 1.9
55 diff -u -r1.8 -r1.9
56 --- ChangeLog 25 Dec 2007 17:14:02 -0000 1.8
57 +++ ChangeLog 8 Jan 2008 14:58:12 -0000 1.9
58 @@ -1,6 +1,12 @@
59 # ChangeLog for sci-libs/libsvm
60 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
61 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/libsvm/ChangeLog,v 1.8 2007/12/25 17:14:02 phreak Exp $
62 +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
63 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/libsvm/ChangeLog,v 1.9 2008/01/08 14:58:12 bicatali Exp $
64 +
65 +*libsvm-2.85 (08 Jan 2008)
66 +
67 + 08 Jan 2008; Sébastien Fabbro <bicatali@g.o> metadata.xml,
68 + +libsvm-2.85.ebuild:
69 + Version bump. sci team taking over maintainship. Closes bug #203081.
70
71 25 Dec 2007; Christian Heim <phreak@g.o> metadata.xml:
72 Removing usata from metadata.xml as per #22931. Assigning to maintainer-needed.
73
74
75
76 1.1 sci-libs/libsvm/libsvm-2.85.ebuild
77
78 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/libsvm/libsvm-2.85.ebuild?rev=1.1&view=markup
79 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/libsvm/libsvm-2.85.ebuild?rev=1.1&content-type=text/plain
80
81 Index: libsvm-2.85.ebuild
82 ===================================================================
83 # Copyright 1999-2008 Gentoo Foundation
84 # Distributed under the terms of the GNU General Public License v2
85 # $Header: /var/cvsroot/gentoo-x86/sci-libs/libsvm/libsvm-2.85.ebuild,v 1.1 2008/01/08 14:58:12 bicatali Exp $
86
87 inherit java-pkg-opt-2 python toolchain-funcs multilib
88
89 DESCRIPTION="Library for Support Vector Machines"
90 HOMEPAGE="http://www.csie.ntu.edu.tw/~cjlin/libsvm/"
91 SRC_URI="http://www.csie.ntu.edu.tw/~cjlin/libsvm/${P}.tar.gz"
92
93 LICENSE="BSD"
94 SLOT="0"
95 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
96 IUSE="java python tools"
97
98 DEPEND="java? ( >=virtual/jdk-1.4 )"
99 RDEPEND="${DEPEND}
100 tools? ( sci-visualization/gnuplot )"
101
102 src_compile() {
103 emake \
104 CXXC="$(tc-getCXX)" \
105 CFLAGS="${CXXFLAGS}" \
106 || die "emake failed"
107
108 sed -i -e 's@\.\./@/usr/bin/@g' tools/*.py || die
109
110 if use python ; then
111 pushd python
112 python_version || die
113 emake \
114 CC="$(tc-getCXX)" \
115 CFLAGS="${CXXFLAGS} -I/usr/include/python${PYVER} -I.." \
116 all || die "emake for python modules failed"
117 popd
118 fi
119
120 if use java ; then
121 pushd java
122 local JAVAC_FLAGS="$(java-pkg_javac-args)"
123 sed -i \
124 -e "s/JAVAC_FLAGS =/JAVAC_FLAGS=${JAVAC_FLAGS}/g" \
125 Makefile || die
126 emake || die "emake for java modules failed"
127 popd
128 fi
129 }
130
131 src_install() {
132 dobin svm-train svm-predict svm-scale || die
133 dohtml FAQ.html
134 dodoc README
135
136 if use tools; then
137 pushd tools
138 insinto /usr/share/doc/${PF}/tools
139 doins easy.py grid.py subset.py
140 docinto tools
141 dodoc README
142 popd
143 fi
144
145 if use python ; then
146 pushd python
147 python_version || die
148 insinto /usr/$(get_libdir)/python${PYVER}/site-packages
149 doins svmc.so svm.py || die
150 docinto python
151 dodoc README
152 popd
153 fi
154
155 if use java; then
156 pushd java
157 java-pkg_dojar libsvm.jar
158 docinto java
159 dohtml test_applet.html
160 popd
161 fi
162 }
163
164
165
166 --
167 gentoo-commits@l.g.o mailing list