summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2013-01-30 17:47:02 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2013-01-30 17:47:02 +0000
commit1ad1105b6ac0895e027c54310fcd5d7cca55abdc (patch)
tree4517896890e6d2dcb10fbb4df9ea746f12921850 /sci-libs/scikits_learn
parentVersion bump to 4.0.0.2 to mitigate issue with the calc errors. Dep strings t... (diff)
downloadhistorical-1ad1105b6ac0895e027c54310fcd5d7cca55abdc.tar.gz
historical-1ad1105b6ac0895e027c54310fcd5d7cca55abdc.tar.bz2
historical-1ad1105b6ac0895e027c54310fcd5d7cca55abdc.zip
Version bump
Package-Manager: portage-2.2.01.21688-prefix/cvs/Linux x86_64 Manifest-Sign-Key: 0x13CB1360
Diffstat (limited to 'sci-libs/scikits_learn')
-rw-r--r--sci-libs/scikits_learn/ChangeLog10
-rw-r--r--sci-libs/scikits_learn/Manifest10
-rw-r--r--sci-libs/scikits_learn/scikits_learn-0.13.ebuild77
3 files changed, 91 insertions, 6 deletions
diff --git a/sci-libs/scikits_learn/ChangeLog b/sci-libs/scikits_learn/ChangeLog
index b64850ecd9b3..055d37ee592c 100644
--- a/sci-libs/scikits_learn/ChangeLog
+++ b/sci-libs/scikits_learn/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-libs/scikits_learn
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/scikits_learn/ChangeLog,v 1.15 2012/12/10 18:32:50 bicatali Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/scikits_learn/ChangeLog,v 1.16 2013/01/30 17:42:10 bicatali Exp $
+
+*scikits_learn-0.13 (30 Jan 2013)
+
+ 30 Jan 2013; Sébastien Fabbro <bicatali@gentoo.org>
+ +scikits_learn-0.13.ebuild:
+ Version bump
10 Dec 2012; Sébastien Fabbro <bicatali@gentoo.org>
-scikits_learn-0.11.ebuild, scikits_learn-0.12.1.ebuild:
diff --git a/sci-libs/scikits_learn/Manifest b/sci-libs/scikits_learn/Manifest
index f23b59eacfe7..c9e38b72d44a 100644
--- a/sci-libs/scikits_learn/Manifest
+++ b/sci-libs/scikits_learn/Manifest
@@ -4,13 +4,15 @@ Hash: SHA256
AUX 0.10-atlas.patch 2524 SHA256 25f0d89b50c36931ccb52be02676bb2c7f78a0f4f270f01319eea287af132e94 SHA512 733628a21213cafefa0849da3ba99892e7c690b4ca1d5917bdef4a0b4623b686532cbf789f9303264342fe7b0e073ff420ede73ee6acc8d7adc56340425d04a8 WHIRLPOOL 8110029e9e58524a739d9130675ef2b0a23c1bc90e73fe9cbb44713452a38f636dfb6fd1030ef360434acadc94b11e13fe391f49875765087043e4222f9bdac6
AUX 0.12.1-linalg.patch 1310 SHA256 347bb5f43138f9f1ba57f14b4b9ef4d3ade3fb4dbadc22d827c11445621814f3 SHA512 6c974d8853c15f85221f1c611ad6987287dac4117ce136bbd3380b3fc2040e3bcbc4e42be6b9be0e14d41cf6fc900b050fa441a1f27acf6a933f9524e8512549 WHIRLPOOL c28726d7d975cf493724519f987f6183b92af73e35ab8c98857db400523d46d884903d69db1fb3ab8d3b0a07d0d178d33f39266c8f2b17eea53fc789a318bb56
DIST scikit-learn-0.12.1.tar.gz 2964072 SHA256 f542e58a15c93e118036801b55441470e9fc668e8811c39cc0f935a800ff8eaf SHA512 d9d65c36fb8314b9a7e749718d53491661d6007968b59bfa47e84e724c5a44fac8ae7d06150b04a33916542749bf8cfc240fcedb6b0ab02cce0e1ffa23115df2 WHIRLPOOL 53089e2ec6eee5d31b39087187dcc13a11fa9307bcbfdf404c1a9b0580dbaecee742bc7dfd14216b6d80c43484a32a5c3d62704c06488760a6d2bf4bc8560c0a
+DIST scikit-learn-0.13.tar.gz 3464031 SHA256 f89e716fcee123e621ded23d5e1cb25105e48ef17e1fc73b3f439bc745bc913a SHA512 d889cce2dfa46746c9735fa9b7dc44032748895bc39cd734c03804e0a4fda3c95b76114b191130122e9049873519984702283c0a831b0c24ba81d2a5fc8e20fc WHIRLPOOL 4d9891e8c18efa0faad0e452263d7a5ca970d3e593e6be1f32a82c71bb98d728feb3ed24c6b5cf85846f0f5c435173c93427bbd29fb04af8f85ae0ba3222a4d5
EBUILD scikits_learn-0.12.1.ebuild 2006 SHA256 9cade9db8f220a7747a1b5be1d50d9ff724114c1686bbaa70c3c12b1d7f05570 SHA512 5f93b62402b1edc0afc0742921f9e96acad9f27a2c167b6c250184fe95d001cc55552244eee008302099c0aeb6232649b970af7910565d509ef584513c04df50 WHIRLPOOL f47def6873ecd2af85d429ca21af4efed56b54454f12c17edbb00a4bbf5128b47823ed499074d86de3debc44a836dd3c40f3fde293f4c9a08f11f9b127a725a7
-MISC ChangeLog 3435 SHA256 22e49fb070898105c76fd63d1c0d0737cae605254e0a9165b70603195a6bb1ed SHA512 e343d88d307eed7605257c96f239adf890048c89f12422a34ac1fbbd202184bf65e8acc93f20510e3db61ba3c4549c043d68d4a4abaeca409744167a94c88589 WHIRLPOOL e75ddbb750fb20226de12289507f5a9070880f5c06ec8a8786ce0ff6c19a15f1fc1302b283dbdbf9469d3fc7131ea53bf45e097ff81e7e4040f2632f371cf9c2
+EBUILD scikits_learn-0.13.ebuild 1961 SHA256 fca4a9076f9e3decdd7419bcfd59896ecef6e19f64abaafc79ba54654ec6f560 SHA512 0fa8646ed12712d928cc52996be31b7f05e1af4f917928c6087da173fed467df98850395b8b2935146dfd7b8206bf10bfd2321d27985a03666834b9539abfb79 WHIRLPOOL 98bd45369006d4aa847b98cbfcca4a5ea63808c0728094bfc84ded897b0d958d52e362ce28152d4d12e360abbd5c73f82b3cd088a8e2665db235add94015e924
+MISC ChangeLog 3571 SHA256 8fea3d312a9985466f8ceb5421afbcb8e9346d515ff47aca4d2fdbc97dd9787d SHA512 8c14a69ffc349f7af983387f14b0f019b82f61dafa3ecdd7cfeee4923ff9aae456d05016a10db599510abcc478096a31ce7ba502ad4eb879daf5758d7871b1fd WHIRLPOOL 4618fd0334d25c453fee29f6a240eed73205563b29b392577c3fb891f7e80079e4994e2517b5a3e3f8525ffcfa76abbc1e59e6b3e9d68818a13906d056e373d2
MISC metadata.xml 360 SHA256 6d8c6ea79bfa70bc97b21c3b11454f4e47e31c20442a9ff96230d535562e945c SHA512 328186381a1b178f863b9fbe0bc9c699fbf5d60ff37363f20be3c0f6d83abff8fd3b56464ca4ae48aaee463e6bee93132ba225389540071e061b792cff2ab5ab WHIRLPOOL b974fa2483272b6fe8f2c716b961260b0b6123aab445cf8ddc91280dc489b370b311c15b2830088aca2c61770ad3f05278df12a711422f90a1f2cc2f4abe4d26
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEAREIAAYFAlDGKtcACgkQ1ycZbhPLE2BWZACeILLbhnZ8+i19r0r3yZdj0jn5
-aUIAn3u1sUpckwQduW95RloewtLQXtB8
-=6n1n
+iEYEAREIAAYFAlEJXJEACgkQ1ycZbhPLE2DoNwCfV5QLCO1UGiN/ChrvS2fFKNbl
+a68An14eDfEjfGEEYdHuUKH+IYjOKyk6
+=O+Rz
-----END PGP SIGNATURE-----
diff --git a/sci-libs/scikits_learn/scikits_learn-0.13.ebuild b/sci-libs/scikits_learn/scikits_learn-0.13.ebuild
new file mode 100644
index 000000000000..672b0e26cfc1
--- /dev/null
+++ b/sci-libs/scikits_learn/scikits_learn-0.13.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $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 $
+
+EAPI=4
+
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.* 2.7-pypy-*"
+
+inherit distutils multilib flag-o-matic
+
+MYPN="${PN/scikits_/scikit-}"
+
+DESCRIPTION="Python modules for machine learning and data mining"
+HOMEPAGE="http://scikit-learn.org"
+SRC_URI="mirror://sourceforge/${MYPN}/${MYPN}-${PV}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples"
+
+RDEPEND="
+ sci-libs/scikits
+ sci-libs/scipy
+ dev-python/matplotlib"
+DEPEND="
+ dev-python/cython
+ dev-python/setuptools
+ sci-libs/scipy
+ doc? ( dev-python/sphinx dev-python/matplotlib )"
+
+S="${WORKDIR}/${MYPN}-${PV}"
+
+src_prepare() {
+ # bug #397605
+ [[ ${CHOST} == *-darwin* ]] \
+ && append-ldflags -bundle "-undefined dynamic_lookup" \
+ || append-ldflags -shared
+
+ # scikits-learn now uses the horrible numpy.distutils automagic
+ export SCIPY_FCONFIG="config_fc --noopt --noarch"
+}
+
+src_compile() {
+ distutils_src_compile ${SCIPY_FCONFIG}
+ if use doc; then
+ cd "${S}/doc"
+ local d=$(ls -d "${S}"/build-$(PYTHON -f --ABI)/lib*)
+ ln -s "${S}"/sklearn/datasets/{data,descr,images} \
+ "${d}"/sklearn/datasets
+ VARTEXFONTS="${T}"/fonts \
+ MPLCONFIGDIR="${S}/build-$(PYTHON -f --ABI)" \
+ PYTHONPATH="${d}" \
+ emake html
+ rm -r "${d}"/sklearn/datasets/{data,desr,images}
+ fi
+}
+
+src_test() {
+ # doc builds and runs tests
+ use doc && return
+ testing() {
+ "$(PYTHON)" setup.py build_ext --inplace ${SCIPY_FCONFIG} || die
+ PYTHONPATH=. nosetests sklearn --exe || die
+ }
+ python_execute_function testing
+}
+
+src_install() {
+ find "${S}" -name \*LICENSE.txt -delete
+ distutils_src_install ${SCIPY_FCONFIG}
+ insinto /usr/share/doc/${PF}
+ use doc && dohtml -r doc/_build/html
+ use examples && doins -r examples
+}