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