diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2011-03-30 19:11:22 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2011-03-30 19:11:22 +0000 |
commit | 067722a2af034d140d469f401461d89c5785754e (patch) | |
tree | 3479f35ae8426d2043e145d9d8315d02f6159f08 /sci-libs/scikits_learn | |
parent | Version bumped. udev-167 defaults to using subdir udev in /run if it exists, ... (diff) | |
download | historical-067722a2af034d140d469f401461d89c5785754e.tar.gz historical-067722a2af034d140d469f401461d89c5785754e.tar.bz2 historical-067722a2af034d140d469f401461d89c5785754e.zip |
Bump
Package-Manager: portage-2.1.9.45/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.7.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 44803084110a..c02559fc9189 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.2 2011/03/07 20:13:26 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/scikits_learn/ChangeLog,v 1.3 2011/03/30 19:11:22 bicatali Exp $ + +*scikits_learn-0.7.1 (30 Mar 2011) + + 30 Mar 2011; SĂ©bastien Fabbro <bicatali@gentoo.org> + +scikits_learn-0.7.1.ebuild: + Bump *scikits_learn-0.7 (05 Mar 2011) diff --git a/sci-libs/scikits_learn/Manifest b/sci-libs/scikits_learn/Manifest index a26e0ebd3ec3..86c0d20f2d54 100644 --- a/sci-libs/scikits_learn/Manifest +++ b/sci-libs/scikits_learn/Manifest @@ -2,15 +2,17 @@ Hash: SHA1 DIST scikits.learn-0.6.tar.gz 1029594 RMD160 7d793e0ede3944939749273209323fe2b1718bbf SHA1 675488b920c909c1a3b72d407d8bf1dbbfdf22b1 SHA256 f6a6534dbebbbeb4d57918ddf3f85030b560173843ef7b5db5d4145b67fd9622 +DIST scikits.learn-0.7.1.tar.gz 1044263 RMD160 ac6a6101231c33bd7da023fb42e2feda79976aa2 SHA1 10b30b9c3ac3795be5bbfa88e4ae79632960507f SHA256 bbb0883ab40acbb7aa6a4e0d72cb1f4e4e115ce5e3857506f4fd324928f30f32 DIST scikits.learn-0.7.tar.gz 1044254 RMD160 d6571b972a5d7d82d1378e05882b9c567dc64386 SHA1 81939f6600c7b4414cb9a77b48fa3d37993e5779 SHA256 e64d4ceee27553925e9f396ddb3c412042bdf4182ab9746860800430b5c71fca EBUILD scikits_learn-0.6.ebuild 1712 RMD160 b35a9f951587d0ad8c92f5697a79147fe31fa118 SHA1 2ee3ba2de3da105b7215ab91de21ac3baa99a1e9 SHA256 36c1fc1014562bfb248a5784b96d9a7dc66b3ba1f9d3fd12c90418487f93d64c +EBUILD scikits_learn-0.7.1.ebuild 1722 RMD160 a16fef1c5bca419cfc5a3b5a3ad51051d1118457 SHA1 845226344ff9f9e23b3748f11ba820558466764d SHA256 9199a6718d9005e022a53ef8448b09a5428ae249adf93f77bbb4391acf6c7dca EBUILD scikits_learn-0.7.ebuild 1720 RMD160 99958ed0c3d78630b59957d113565d7a4f17bc5d SHA1 f2a47ba29aae769cce7db3acdd61840c096496bb SHA256 6bded96b22549f34aff635be561702fa363ddeaeae6b947974f1a6b2fd809d7c -MISC ChangeLog 1238 RMD160 e9c7cd84db9b971ef02f4b6053ec35314916abb7 SHA1 5341cdb0400ac1713774fd7a4cbd2dc431c8d9c2 SHA256 1d0613f71c9413aa539e1c2dc8483f92357c6f2432def2208649876561ed9f39 +MISC ChangeLog 1368 RMD160 6f57743ff1400f34aa693e5eaf74fd42e6f56a1c SHA1 4891b3fe0509a5984c4ae330cc35b6a42c573654 SHA256 6f3961c1253b6220c94eee6b2c0b5fb10ca9d09f3af3395214b8e3dc671db752 MISC metadata.xml 360 RMD160 b7e8ec0449f59c0dd0a7e3810b7c86b260d51530 SHA1 a54074283be9e7d2a113220e92a622b6fb4bfe45 SHA256 6d8c6ea79bfa70bc97b21c3b11454f4e47e31c20442a9ff96230d535562e945c -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEARECAAYFAk11PHAACgkQ1ycZbhPLE2AP5QCgr7HcHsAqHATgjKcBjIjn1vB0 -DDIAnR3qNGBQQ94VtjmzjgATbEA9pE1L -=AxeW +iEYEARECAAYFAk2TgGQACgkQ1ycZbhPLE2A+bACgl2GUZNzoFkbxkQ5Ao7vHeGzr +kYMAn1KZFWgNeYX+MkSqVoG5YtLyoBHe +=KLVj -----END PGP SIGNATURE----- diff --git a/sci-libs/scikits_learn/scikits_learn-0.7.1.ebuild b/sci-libs/scikits_learn/scikits_learn-0.7.1.ebuild new file mode 100644 index 000000000000..6d6049d2bc25 --- /dev/null +++ b/sci-libs/scikits_learn/scikits_learn-0.7.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.7.1.ebuild,v 1.1 2011/03/30 19:11:22 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 +} |