diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2012-12-10 18:32:50 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2012-12-10 18:32:50 +0000 |
commit | f3477f5a8fc449a55f5e7690a7ad1e901ffe78b1 (patch) | |
tree | 56209aa6af59c538ae83e3b79585595799df204c /sci-libs | |
parent | Add ~ppc, wrt bug #414611 (diff) | |
download | gentoo-2-f3477f5a8fc449a55f5e7690a7ad1e901ffe78b1.tar.gz gentoo-2-f3477f5a8fc449a55f5e7690a7ad1e901ffe78b1.tar.bz2 gentoo-2-f3477f5a8fc449a55f5e7690a7ad1e901ffe78b1.zip |
Restricting python-3, removed old
(Portage version: 2.2.01.21418-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/scikits_learn/ChangeLog | 6 | ||||
-rw-r--r-- | sci-libs/scikits_learn/scikits_learn-0.11.ebuild | 77 | ||||
-rw-r--r-- | sci-libs/scikits_learn/scikits_learn-0.12.1.ebuild | 4 |
3 files changed, 7 insertions, 80 deletions
diff --git a/sci-libs/scikits_learn/ChangeLog b/sci-libs/scikits_learn/ChangeLog index a7a388c326e7..b64850ecd9b3 100644 --- a/sci-libs/scikits_learn/ChangeLog +++ b/sci-libs/scikits_learn/ChangeLog @@ -1,6 +1,10 @@ # 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.14 2012/11/30 00:25:42 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/scikits_learn/ChangeLog,v 1.15 2012/12/10 18:32:50 bicatali Exp $ + + 10 Dec 2012; Sébastien Fabbro <bicatali@gentoo.org> + -scikits_learn-0.11.ebuild, scikits_learn-0.12.1.ebuild: + Restricting python-3, removed old *scikits_learn-0.12.1 (30 Nov 2012) diff --git a/sci-libs/scikits_learn/scikits_learn-0.11.ebuild b/sci-libs/scikits_learn/scikits_learn-0.11.ebuild deleted file mode 100644 index 864a499f918d..000000000000 --- a/sci-libs/scikits_learn/scikits_learn-0.11.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2012 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.11.ebuild,v 1.2 2012/06/21 19:17:13 bicatali Exp $ - -EAPI=4 - -PYTHON_DEPEND="2" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="3.* 2.7-pypy-*" -DISTUTILS_SRC_TEST="setup.py" - -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" - -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}/${MYPN}-${PV}" - -src_prepare() { - epatch "${FILESDIR}"/0.10-atlas.patch - # use stock libsvm - cat <<-EOF >> site.cfg - [libsvm] - libraries=svm - library_dirs=${EPREFIX}/usr/$(get_libdir) - include_dirs=${EPREFIX}/usr/include/ - EOF - # bug #397605 - [[ ${CHOST} == *-darwin* ]] \ - && append-ldflags -bundle "-undefined dynamic_lookup" \ - || append-ldflags -shared -} - -src_compile() { - distutils_src_compile - 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_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} - use doc && dohtml -r doc/_build/html - use examples && doins -r examples -} diff --git a/sci-libs/scikits_learn/scikits_learn-0.12.1.ebuild b/sci-libs/scikits_learn/scikits_learn-0.12.1.ebuild index 0e2c3fac912c..75e1a0f6bf13 100644 --- a/sci-libs/scikits_learn/scikits_learn-0.12.1.ebuild +++ b/sci-libs/scikits_learn/scikits_learn-0.12.1.ebuild @@ -1,12 +1,12 @@ # Copyright 1999-2012 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.12.1.ebuild,v 1.1 2012/11/30 00:25:42 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/scikits_learn/scikits_learn-0.12.1.ebuild,v 1.2 2012/12/10 18:32:50 bicatali Exp $ EAPI=4 PYTHON_DEPEND="2" SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="2.7-pypy-*" +RESTRICT_PYTHON_ABIS="3.* 2.7-pypy-*" inherit distutils multilib flag-o-matic |