1 |
bicatali 12/02/05 00:41:35 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: scikits_learn-0.10.ebuild |
5 |
Removed: scikits_learn-0.8.1.ebuild |
6 |
Log: |
7 |
Version bump |
8 |
|
9 |
(Portage version: 2.1.10.41/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.3 sci-libs/scikits_learn/metadata.xml |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/scikits_learn/metadata.xml?rev=1.3&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/scikits_learn/metadata.xml?rev=1.3&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/scikits_learn/metadata.xml?r1=1.2&r2=1.3 |
17 |
|
18 |
Index: metadata.xml |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/sci-libs/scikits_learn/metadata.xml,v |
21 |
retrieving revision 1.2 |
22 |
retrieving revision 1.3 |
23 |
diff -u -r1.2 -r1.3 |
24 |
--- metadata.xml 24 Jan 2012 10:28:17 -0000 1.2 |
25 |
+++ metadata.xml 5 Feb 2012 00:41:35 -0000 1.3 |
26 |
@@ -1,8 +1,8 @@ |
27 |
<?xml version="1.0" encoding="UTF-8"?> |
28 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
29 |
<pkgmetadata> |
30 |
- <herd>sci</herd> |
31 |
- <longdescription lang="en"> |
32 |
+<herd>sci</herd> |
33 |
+<longdescription lang="en"> |
34 |
scikits.learn is a python library for machine learning. It aims to |
35 |
implement classic machine learning algorithms while remaining simple |
36 |
and efficient. |
37 |
|
38 |
|
39 |
|
40 |
1.9 sci-libs/scikits_learn/ChangeLog |
41 |
|
42 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/scikits_learn/ChangeLog?rev=1.9&view=markup |
43 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/scikits_learn/ChangeLog?rev=1.9&content-type=text/plain |
44 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/scikits_learn/ChangeLog?r1=1.8&r2=1.9 |
45 |
|
46 |
Index: ChangeLog |
47 |
=================================================================== |
48 |
RCS file: /var/cvsroot/gentoo-x86/sci-libs/scikits_learn/ChangeLog,v |
49 |
retrieving revision 1.8 |
50 |
retrieving revision 1.9 |
51 |
diff -u -r1.8 -r1.9 |
52 |
--- ChangeLog 24 Jan 2012 10:28:17 -0000 1.8 |
53 |
+++ ChangeLog 5 Feb 2012 00:41:35 -0000 1.9 |
54 |
@@ -1,6 +1,12 @@ |
55 |
# ChangeLog for sci-libs/scikits_learn |
56 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
57 |
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/scikits_learn/ChangeLog,v 1.8 2012/01/24 10:28:17 jlec Exp $ |
58 |
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/scikits_learn/ChangeLog,v 1.9 2012/02/05 00:41:35 bicatali Exp $ |
59 |
+ |
60 |
+*scikits_learn-0.10 (05 Feb 2012) |
61 |
+ |
62 |
+ 05 Feb 2012; Sébastien Fabbro <bicatali@g.o> |
63 |
+ -scikits_learn-0.8.1.ebuild, +scikits_learn-0.10.ebuild, metadata.xml: |
64 |
+ Version bump |
65 |
|
66 |
24 Jan 2012; Justin Lecher <jlec@g.o> scikits_learn-0.9.ebuild, |
67 |
metadata.xml: |
68 |
|
69 |
|
70 |
|
71 |
1.1 sci-libs/scikits_learn/scikits_learn-0.10.ebuild |
72 |
|
73 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/scikits_learn/scikits_learn-0.10.ebuild?rev=1.1&view=markup |
74 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/scikits_learn/scikits_learn-0.10.ebuild?rev=1.1&content-type=text/plain |
75 |
|
76 |
Index: scikits_learn-0.10.ebuild |
77 |
=================================================================== |
78 |
# Copyright 1999-2012 Gentoo Foundation |
79 |
# Distributed under the terms of the GNU General Public License v2 |
80 |
# $Header: /var/cvsroot/gentoo-x86/sci-libs/scikits_learn/scikits_learn-0.10.ebuild,v 1.1 2012/02/05 00:41:35 bicatali Exp $ |
81 |
|
82 |
EAPI=4 |
83 |
inherit flag-o-matic |
84 |
|
85 |
PYTHON_DEPEND="2" |
86 |
SUPPORT_PYTHON_ABIS="1" |
87 |
RESTRICT_PYTHON_ABIS="3.*" |
88 |
DISTUTILS_SRC_TEST="setup.py" |
89 |
|
90 |
inherit distutils |
91 |
|
92 |
MYPN="${PN/scikits_/scikit-}" |
93 |
|
94 |
DESCRIPTION="A set of python modules for machine learning and data mining" |
95 |
HOMEPAGE="http://scikit-learn.org" |
96 |
SRC_URI="mirror://sourceforge/${MYPN}/${MYPN}-${PV}.tar.gz" |
97 |
|
98 |
LICENSE="BSD" |
99 |
SLOT="0" |
100 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
101 |
IUSE="doc examples" |
102 |
|
103 |
CDEPEND="sci-libs/scipy |
104 |
>=sci-libs/libsvm-2.91" |
105 |
RDEPEND="${CDEPEND} |
106 |
sci-libs/scikits |
107 |
dev-python/matplotlib" |
108 |
DEPEND="${CDEPEND} |
109 |
dev-python/cython |
110 |
dev-python/setuptools |
111 |
doc? ( dev-python/sphinx dev-python/matplotlib )" |
112 |
|
113 |
S="${WORKDIR}/${MYPN}-${PV}" |
114 |
|
115 |
src_prepare() { |
116 |
# use stock libsvm |
117 |
cat <<-EOF >> site.cfg |
118 |
[libsvm] |
119 |
libraries=svm |
120 |
library_dirs=${EPREFIX}/usr/$(get_libdir) |
121 |
include_dirs=${EPREFIX}/usr/include/ |
122 |
EOF |
123 |
# bug #397605 |
124 |
[[ ${CHOST} == *-darwin* ]] \ |
125 |
&& append-ldflags -bundle "-undefined dynamic_lookup" \ |
126 |
|| append-ldflags -shared |
127 |
} |
128 |
|
129 |
src_compile() { |
130 |
distutils_src_compile |
131 |
if use doc; then |
132 |
cd "${S}/doc" |
133 |
export VARTEXFONTS="${T}"/fonts |
134 |
MPLCONFIGDIR="${S}/build-$(PYTHON -f --ABI)" \ |
135 |
PYTHONPATH=$(ls -d "${S}"/build-$(PYTHON -f --ABI)/lib*) \ |
136 |
emake html latex |
137 |
fi |
138 |
} |
139 |
|
140 |
src_install() { |
141 |
find "${S}" -name \*LICENSE.txt -delete |
142 |
distutils_src_install |
143 |
remove_scikits() { |
144 |
rm -f "${ED}"$(python_get_sitedir)/scikits/__init__.py || die |
145 |
} |
146 |
python_execute_function -q remove_scikits |
147 |
insinto /usr/share/doc/${PF} |
148 |
use doc && doins "${DISTDIR}"/scikits.learn.pdf && \ |
149 |
doins -r build/sphinx/html |
150 |
use examples && doins -r examples |
151 |
} |