Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 602524 Details for
Bug 704764
sci-libs/scikits_learn-0.22.1 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
scikits_learn-0.22.1.ebuild
scikits_learn-0.22.1.ebuild (text/plain), 1.98 KB, created by
José de Paula Rodrigues
on 2020-01-04 13:24:10 UTC
(
hide
)
Description:
scikits_learn-0.22.1.ebuild
Filename:
MIME Type:
Creator:
José de Paula Rodrigues
Created:
2020-01-04 13:24:10 UTC
Size:
1.98 KB
patch
obsolete
># Copyright 1999-2019 Gentoo Authors ># Distributed under the terms of the GNU General Public License v2 > >EAPI=7 > >PYTHON_COMPAT=( python3_{7,8} ) > >inherit distutils-r1 flag-o-matic > >MYPN="${PN/scikits_/scikit-}" >MYP="${MYPN}-${PV}" > >DESCRIPTION="Python modules for machine learning and data mining" >HOMEPAGE="http://scikit-learn.org" >SRC_URI="mirror://pypi/${MYPN:0:1}/${MYPN}/${MYP}.tar.gz" > >LICENSE="BSD" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="examples test" > >RDEPEND=" > dev-python/matplotlib[${PYTHON_USEDEP}] > dev-python/nose[${PYTHON_USEDEP}] > dev-python/numpy[lapack,${PYTHON_USEDEP}] > dev-python/joblib[${PYTHON_USEDEP}] > sci-libs/scipy[${PYTHON_USEDEP}] > virtual/blas:= > virtual/cblas:= >" > >DEPEND=" > dev-python/cython[${PYTHON_USEDEP}] > dev-python/numpy[lapack,${PYTHON_USEDEP}] > dev-python/setuptools[${PYTHON_USEDEP}] > sci-libs/scipy[${PYTHON_USEDEP}] > virtual/blas:= > virtual/cblas:= >" > >S="${WORKDIR}/${MYP}" > >python_prepare_all() { > # 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" > > # remove bundled cblas > rm -rf sklearn/src || die "failed to remove bundled cblas" > > distutils-r1_python_prepare_all >} > >python_compile() { > distutils-r1_python_compile ${SCIPY_FCONFIG} >} > >python_test() { > # doc builds and runs tests > use doc && return > distutils_install_for_testing ${SCIPY_FCONFIG} > esetup.py install \ > --root="${T}/test-${EPYTHON}" \ > --no-compile ${SCIPY_FCONFIG} > pushd "${T}/test-${EPYTHON}/$(python_get_sitedir)" || die > /dev/null > JOBLIB_MULTIPROCESSING=2 SKLEARN_SKIP_NETWORK_TESTS=1 nosetests -v sklearn --exe || die > popd > /dev/null >} > >python_install() { > distutils-r1_python_install ${SCIPY_FCONFIG} >} > >python_install_all() { > find "${S}" -name \*LICENSE.txt -delete > distutils-r1_python_install_all > if use examples; then > dodoc -r examples > docompress -x /usr/share/doc/${PF}/examples > fi > >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 704764
: 602524