diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2011-07-26 17:50:10 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2011-07-26 17:50:10 +0000 |
commit | 5cc8eaa9034ac86d0dcae318d9a4666d53e6d3b4 (patch) | |
tree | 1f900977ebc6eedad22f2ae250e0676ed914e2f4 /sci-libs/scikits_learn | |
parent | Stable for HPPA (bug #376057). (diff) | |
download | historical-5cc8eaa9034ac86d0dcae318d9a4666d53e6d3b4.tar.gz historical-5cc8eaa9034ac86d0dcae318d9a4666d53e6d3b4.tar.bz2 historical-5cc8eaa9034ac86d0dcae318d9a4666d53e6d3b4.zip |
Version bump
Package-Manager: portage-2.1.10.7/cvs/Linux x86_64
Diffstat (limited to 'sci-libs/scikits_learn')
-rw-r--r-- | sci-libs/scikits_learn/ChangeLog | 8 | ||||
-rw-r--r-- | sci-libs/scikits_learn/Manifest | 10 | ||||
-rw-r--r-- | sci-libs/scikits_learn/scikits_learn-0.8.1.ebuild | 73 |
3 files changed, 86 insertions, 5 deletions
diff --git a/sci-libs/scikits_learn/ChangeLog b/sci-libs/scikits_learn/ChangeLog index 6e24d3a0120e..0997d7bbe68a 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-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/scikits_learn/ChangeLog,v 1.4 2011/06/09 14:17:02 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/scikits_learn/ChangeLog,v 1.5 2011/07/26 17:50:10 bicatali Exp $ + +*scikits_learn-0.8.1 (26 Jul 2011) + + 26 Jul 2011; SĂ©bastien Fabbro <bicatali@gentoo.org> + +scikits_learn-0.8.1.ebuild: + Version bump *scikits_learn-0.8 (09 Jun 2011) diff --git a/sci-libs/scikits_learn/Manifest b/sci-libs/scikits_learn/Manifest index cd658f562062..cd55bee9cb33 100644 --- a/sci-libs/scikits_learn/Manifest +++ b/sci-libs/scikits_learn/Manifest @@ -2,15 +2,17 @@ Hash: SHA1 DIST scikits.learn-0.7.1.tar.gz 1044263 RMD160 ac6a6101231c33bd7da023fb42e2feda79976aa2 SHA1 10b30b9c3ac3795be5bbfa88e4ae79632960507f SHA256 bbb0883ab40acbb7aa6a4e0d72cb1f4e4e115ce5e3857506f4fd324928f30f32 +DIST scikits.learn-0.8.1.tar.gz 1575522 RMD160 f04e2ea2cf45f71ad90dcc6e5167c54787f012e5 SHA1 b846b1acce62af58b067a8aebcafd0cde271d1fc SHA256 00b3010f2cd4bc60d7ce4fd65e0ae10c398ab5366b981ee41ac3ce4b2d173c33 DIST scikits.learn-0.8.tar.gz 1575079 RMD160 7f9b9611c5b2ca7b50414e091ed60ef3a304def4 SHA1 6f6ca69254be2bc6e75ca0fcb955ba0fd863687e SHA256 8d75955938b0503083e35d8675a800d87ea0f591ab1492a190673f3502c9f2f1 EBUILD scikits_learn-0.7.1.ebuild 1722 RMD160 a16fef1c5bca419cfc5a3b5a3ad51051d1118457 SHA1 845226344ff9f9e23b3748f11ba820558466764d SHA256 9199a6718d9005e022a53ef8448b09a5428ae249adf93f77bbb4391acf6c7dca +EBUILD scikits_learn-0.8.1.ebuild 1722 RMD160 729a4c1b00ddf1d257d531a1665da5b89084782a SHA1 d4e39483b3fcad5055aceedf9bcd47a0f3bd699d SHA256 9ea541251a3d24236c0f9b82db6c68f2c410c9f9e836f2c7a8cdc208f7b7a95b EBUILD scikits_learn-0.8.ebuild 1720 RMD160 98d9031caede0386f1ed59404331895d5fc90b0c SHA1 43d5b9233aa2a6ad12ba5ad1f2a811a9c39be791 SHA256 98ea6e8ff04981e617e77c11f48e5354978c95c3e199a75ec4e5bb8909caa7bb -MISC ChangeLog 1558 RMD160 eff78eb90a731752d548ff435f474cfbae6dd522 SHA1 a5b03de53e4e1b46129bd7f346ebe83f5fd9b804 SHA256 f709cb238874020c9a8ed01a4001fd77cdc03177c19c2dcf0900311514d5953a +MISC ChangeLog 1696 RMD160 0a425d809d80f13571a91e9f811b06872d33ed35 SHA1 c3efe6353adc528915bbeaa1467b599e9342e8b0 SHA256 f39da7c26bad37684f2d74a3f4378ffc7dc0040fcac6c43f4e95c4e27722f9f5 MISC metadata.xml 360 RMD160 b7e8ec0449f59c0dd0a7e3810b7c86b260d51530 SHA1 a54074283be9e7d2a113220e92a622b6fb4bfe45 SHA256 6d8c6ea79bfa70bc97b21c3b11454f4e47e31c20442a9ff96230d535562e945c -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEARECAAYFAk3w1fsACgkQ1ycZbhPLE2C1KQCfWfvCzCPwA+vygCVaHvJAUuVv -M3cAn29wsLCKAUxC6sBX4TIAkQyI3VRM -=foVa +iEYEARECAAYFAk4u/nEACgkQ1ycZbhPLE2A5UgCfXsy3LMf2lF4+vQKQsSgaAWmt +RhUAmwXQ/Dxbo8/R4g/Gfw/u4bT7jvWx +=79Sk -----END PGP SIGNATURE----- diff --git a/sci-libs/scikits_learn/scikits_learn-0.8.1.ebuild b/sci-libs/scikits_learn/scikits_learn-0.8.1.ebuild new file mode 100644 index 000000000000..2a89d5fd1533 --- /dev/null +++ b/sci-libs/scikits_learn/scikits_learn-0.8.1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2011 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.8.1.ebuild,v 1.1 2011/07/26 17:50:10 bicatali Exp $ + +EAPI="3" + +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" +DISTUTILS_SRC_TEST="setup.py" + +inherit distutils + +MY_P="${P/scikits_/scikits.}" + +DESCRIPTION="A set of python modules for machine learning and data mining" +HOMEPAGE="http://scikit-learn.sourceforge.net/" +SRC_URI="mirror://sourceforge/scikit-learn/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples" + +CDEPEND="sci-libs/scipy + >=sci-libs/libsvm-2.91" +RDEPEND="${CDEPEND} + sci-libs/scikits + dev-python/matplotlib" +DEPEND="${CDEPEND} + dev-python/cython + dev-python/setuptools + doc? ( dev-python/sphinx dev-python/matplotlib )" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + # use stock libsvm + cat <<-EOF >> site.cfg + [libsvm] + libraries=svm + library_dirs=${EPREFIX}/usr/$(get_libdir) + include_dirs=${EPREFIX}/usr/include/ + EOF +} + +src_compile() { + distutils_src_compile + if use doc; then + cd "${S}/doc" + export VARTEXFONTS="${T}"/fonts + MPLCONFIGDIR="${S}/build-$(PYTHON -f --ABI)" \ + PYTHONPATH=$(ls -d "${S}"/build-$(PYTHON -f --ABI)/lib*) \ + emake html latex || die + fi +} + +src_install() { + find "${S}" -name \*LICENSE.txt -delete + distutils_src_install + remove_scikits() { + rm -f "${ED}"$(python_get_sitedir)/scikits/__init__.py || die + } + python_execute_function -q remove_scikits + insinto /usr/share/doc/${PF} + if use doc; then + doins "${DISTDIR}"/scikits.learn.pdf || die + doins -r build/sphinx/html || die + fi + if use examples; then + doins -r examples || die + fi +} |