1 |
bicatali 12/11/30 00:25:42 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: scikits_learn-0.12.1.ebuild |
5 |
Log: |
6 |
Version bump |
7 |
|
8 |
(Portage version: 2.2.01.21313-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360) |
9 |
|
10 |
Revision Changes Path |
11 |
1.14 sci-libs/scikits_learn/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/scikits_learn/ChangeLog?rev=1.14&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/scikits_learn/ChangeLog?rev=1.14&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/scikits_learn/ChangeLog?r1=1.13&r2=1.14 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sci-libs/scikits_learn/ChangeLog,v |
20 |
retrieving revision 1.13 |
21 |
retrieving revision 1.14 |
22 |
diff -u -r1.13 -r1.14 |
23 |
--- ChangeLog 21 Jun 2012 19:17:13 -0000 1.13 |
24 |
+++ ChangeLog 30 Nov 2012 00:25:42 -0000 1.14 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for sci-libs/scikits_learn |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/scikits_learn/ChangeLog,v 1.13 2012/06/21 19:17:13 bicatali Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/scikits_learn/ChangeLog,v 1.14 2012/11/30 00:25:42 bicatali Exp $ |
30 |
+ |
31 |
+*scikits_learn-0.12.1 (30 Nov 2012) |
32 |
+ |
33 |
+ 30 Nov 2012; Sébastien Fabbro <bicatali@g.o> |
34 |
+ +files/0.12.1-linalg.patch, +scikits_learn-0.12.1.ebuild: |
35 |
+ Version bump |
36 |
|
37 |
21 Jun 2012; Sébastien Fabbro <bicatali@g.o> |
38 |
-scikits_learn-0.10-r1.ebuild, scikits_learn-0.11.ebuild: |
39 |
@@ -101,4 +107,3 @@ |
40 |
26 Mar 2010; Sébastien Fabbro <bicatali@g.o> |
41 |
+scikits_learn-0.2.ebuild, +metadata.xml: |
42 |
Initial import |
43 |
- |
44 |
|
45 |
|
46 |
|
47 |
1.1 sci-libs/scikits_learn/scikits_learn-0.12.1.ebuild |
48 |
|
49 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/scikits_learn/scikits_learn-0.12.1.ebuild?rev=1.1&view=markup |
50 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/scikits_learn/scikits_learn-0.12.1.ebuild?rev=1.1&content-type=text/plain |
51 |
|
52 |
Index: scikits_learn-0.12.1.ebuild |
53 |
=================================================================== |
54 |
# Copyright 1999-2012 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
# $Header: /var/cvsroot/gentoo-x86/sci-libs/scikits_learn/scikits_learn-0.12.1.ebuild,v 1.1 2012/11/30 00:25:42 bicatali Exp $ |
57 |
|
58 |
EAPI=4 |
59 |
|
60 |
PYTHON_DEPEND="2" |
61 |
SUPPORT_PYTHON_ABIS="1" |
62 |
RESTRICT_PYTHON_ABIS="2.7-pypy-*" |
63 |
|
64 |
inherit distutils multilib flag-o-matic |
65 |
|
66 |
MYPN="${PN/scikits_/scikit-}" |
67 |
|
68 |
DESCRIPTION="Python modules for machine learning and data mining" |
69 |
HOMEPAGE="http://scikit-learn.org" |
70 |
SRC_URI="mirror://sourceforge/${MYPN}/${MYPN}-${PV}.tar.gz" |
71 |
|
72 |
LICENSE="BSD" |
73 |
SLOT="0" |
74 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
75 |
IUSE="doc examples" |
76 |
|
77 |
RDEPEND=" |
78 |
sci-libs/scikits |
79 |
sci-libs/scipy |
80 |
dev-python/matplotlib" |
81 |
DEPEND=" |
82 |
dev-python/cython |
83 |
dev-python/setuptools |
84 |
sci-libs/scipy |
85 |
doc? ( dev-python/sphinx dev-python/matplotlib )" |
86 |
|
87 |
S="${WORKDIR}/${MYPN}-${PV}" |
88 |
|
89 |
src_prepare() { |
90 |
epatch "${FILESDIR}"/0.12.1-linalg.patch |
91 |
|
92 |
# bug #397605 |
93 |
[[ ${CHOST} == *-darwin* ]] \ |
94 |
&& append-ldflags -bundle "-undefined dynamic_lookup" \ |
95 |
|| append-ldflags -shared |
96 |
|
97 |
# scikits-learn now uses the horrible numpy.distutils automagic |
98 |
export SCIPY_FCONFIG="config_fc --noopt --noarch" |
99 |
} |
100 |
|
101 |
src_compile() { |
102 |
distutils_src_compile ${SCIPY_FCONFIG} |
103 |
if use doc; then |
104 |
cd "${S}/doc" |
105 |
local d=$(ls -d "${S}"/build-$(PYTHON -f --ABI)/lib*) |
106 |
ln -s "${S}"/sklearn/datasets/{data,descr,images} \ |
107 |
"${d}"/sklearn/datasets |
108 |
VARTEXFONTS="${T}"/fonts \ |
109 |
MPLCONFIGDIR="${S}/build-$(PYTHON -f --ABI)" \ |
110 |
PYTHONPATH="${d}" \ |
111 |
emake html |
112 |
rm -r "${d}"/sklearn/datasets/{data,desr,images} |
113 |
fi |
114 |
} |
115 |
|
116 |
src_test() { |
117 |
# doc builds and runs tests |
118 |
use doc && return |
119 |
testing() { |
120 |
"$(PYTHON)" setup.py build_ext --inplace ${SCIPY_FCONFIG} || die |
121 |
PYTHONPATH=. nosetests sklearn --exe || die |
122 |
} |
123 |
python_execute_function testing |
124 |
} |
125 |
|
126 |
src_install() { |
127 |
find "${S}" -name \*LICENSE.txt -delete |
128 |
distutils_src_install ${SCIPY_FCONFIG} |
129 |
insinto /usr/share/doc/${PF} |
130 |
use doc && dohtml -r doc/_build/html |
131 |
use examples && doins -r examples |
132 |
} |