From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/scipy/
Date: Fri, 5 Jun 2020 10:55:50 +0000 (UTC) [thread overview]
Message-ID: <1591354548.760cd9532e1ec83eb8bf0193536fc57c9f3e873a.mgorny@gentoo> (raw)
commit: 760cd9532e1ec83eb8bf0193536fc57c9f3e873a
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 5 10:54:43 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jun 5 10:55:48 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=760cd953
sci-libs/scipy: Remove unmaintained live ebuild
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
sci-libs/scipy/scipy-9999.ebuild | 126 ---------------------------------------
1 file changed, 126 deletions(-)
diff --git a/sci-libs/scipy/scipy-9999.ebuild b/sci-libs/scipy/scipy-9999.ebuild
deleted file mode 100644
index 574e0220962..00000000000
--- a/sci-libs/scipy/scipy-9999.ebuild
+++ /dev/null
@@ -1,126 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{6,7} )
-PYTHON_REQ_USE="threads(+)"
-
-DOC_PV=${PV}
-
-inherit fortran-2 distutils-r1 flag-o-matic git-r3 multiprocessing toolchain-funcs
-
-DESCRIPTION="Scientific algorithms library for Python"
-HOMEPAGE="https://www.scipy.org/"
-EGIT_REPO_URI="https://github.com/scipy/scipy.git"
-
-LICENSE="BSD LGPL-2"
-SLOT="0"
-KEYWORDS=""
-IUSE="sparse test"
-RESTRICT="!test? ( test )"
-
-CDEPEND="
- >=dev-python/numpy-1.10[lapack,${PYTHON_USEDEP}]
- sci-libs/arpack:0=
- virtual/cblas
- virtual/lapack
- sparse? ( sci-libs/umfpack:0= )"
-DEPEND="${CDEPEND}
- dev-lang/swig
- >=dev-python/cython-0.23.4[${PYTHON_USEDEP}]
- virtual/pkgconfig
- test? ( dev-python/nose[${PYTHON_USEDEP}] )
- "
-
-RDEPEND="${CDEPEND}
- dev-python/pillow[${PYTHON_USEDEP}]"
-
-DOCS=( HACKING.rst.txt THANKS.txt )
-
-DISTUTILS_IN_SOURCE_BUILD=1
-
-pc_incdir() {
- $(tc-getPKG_CONFIG) --cflags-only-I $@ | \
- sed -e 's/^-I//' -e 's/[ ]*-I/:/g' -e 's/[ ]*$//' -e 's|^:||'
-}
-
-pc_libdir() {
- $(tc-getPKG_CONFIG) --libs-only-L $@ | \
- sed -e 's/^-L//' -e 's/[ ]*-L/:/g' -e 's/[ ]*$//' -e 's|^:||'
-}
-
-pc_libs() {
- $(tc-getPKG_CONFIG) --libs-only-l $@ | \
- sed -e 's/[ ]-l*\(pthread\|m\)\([ ]\|$\)//g' \
- -e 's/^-l//' -e 's/[ ]*-l/,/g' -e 's/[ ]*$//' \
- | tr ',' '\n' | sort -u | tr '\n' ',' | sed -e 's|,$||'
-}
-
-python_prepare_all() {
- # scipy automatically detects libraries by default
- export {FFTW,FFTW3,UMFPACK}=None
- use sparse && unset UMFPACK
- # the missing symbols are in -lpythonX.Y, but since the version can
- # differ, we just introduce the same scaryness as on Linux/ELF
- [[ ${CHOST} == *-darwin* ]] \
- && append-ldflags -bundle "-undefined dynamic_lookup" \
- || append-ldflags -shared
- [[ -z ${FC} ]] && export FC="$(tc-getFC)"
- # hack to force F77 to be FC until bug #278772 is fixed
- [[ -z ${F77} ]] && export F77="$(tc-getFC)"
- export F90="${FC}"
- export SCIPY_FCONFIG="config_fc --noopt --noarch"
- append-fflags -fPIC
-
- local libdir="${EPREFIX}"/usr/$(get_libdir)
- cat >> site.cfg <<-EOF || die
- [blas]
- include_dirs = $(pc_incdir cblas)
- library_dirs = $(pc_libdir cblas blas):${libdir}
- blas_libs = $(pc_libs cblas blas)
- [lapack]
- library_dirs = $(pc_libdir lapack):${libdir}
- lapack_libs = $(pc_libs lapack)
- EOF
-
- # Drop hashes to force rebuild of cython based .c code
- rm cythonize.dat || die
-
- distutils-r1_python_prepare_all
-}
-
-python_compile() {
- ${EPYTHON} tools/cythonize.py || die
- distutils-r1_python_compile \
- "-j $(makeopts_jobs)" \
- ${SCIPY_FCONFIG}
-}
-
-python_test() {
- # fails with bdist_egg. should it be fixed in distutils-r1 eclass?
- distutils_install_for_testing ${SCIPY_FCONFIG}
- cd "${TEST_DIR}" || die "no ${TEST_DIR} available"
- einfo "Run test I"
- "${PYTHON}" -c \
- 'import numpy as np; print("relaxed strides checking:", np.ones((10,1),order="C").flags.f_contiguous)' \
- || die
- einfo "Run test II"
- # https://github.com/scipy/scipy/issues/5426
- "${EPYTHON}" -c \
- "import scipy, sys; r = scipy.test('fast', verbose=2, raise_warnings='release'); sys.exit(0 if r.wasSuccessful() else 1)" \
- || die "Tests fail with ${EPYTHON}"
-# "${EPYTHON}" -c \
-# "import scipy, sys; r = scipy.test('fast',verbose=2); sys.exit(0 if r.wasSuccessful() else 1)" \
-# || die "Tests fail with ${EPYTHON}"
-}
-
-python_install() {
- distutils-r1_python_install ${SCIPY_FCONFIG}
-}
-
-pkg_postinst() {
- elog "You might want to set the variable SCIPY_PIL_IMAGE_VIEWER"
- elog "to your prefered image viewer. Example:"
- elog "\t echo \"export SCIPY_PIL_IMAGE_VIEWER=display\" >> ~/.bashrc"
-}
next reply other threads:[~2020-06-05 10:55 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-05 10:55 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-08-02 12:03 [gentoo-commits] repo/gentoo:master commit in: sci-libs/scipy/ Michał Górny
2020-07-24 14:31 Michał Górny
2020-07-08 8:26 Michał Górny
2020-06-22 15:36 Michał Górny
2020-06-16 22:02 David Seifert
2020-06-10 8:11 Michał Górny
2020-06-10 7:37 Michał Górny
2020-06-07 21:03 Alexey Shvetsov
2020-06-05 13:13 Michał Górny
2020-06-05 10:55 Michał Górny
2020-05-13 10:08 Agostino Sarubbo
2020-05-12 14:47 Agostino Sarubbo
2020-03-07 15:11 Michał Górny
2020-01-27 20:54 Michał Górny
2020-01-27 18:18 Rick Farina
2020-01-27 4:59 Benda XU
2019-12-30 12:59 Michał Górny
2019-12-26 2:42 Jason Zaman
2018-06-27 21:04 Pacho Ramos
2018-06-14 13:11 Alexey Shvetsov
2018-05-17 13:52 Thomas Deutschmann
2018-03-30 17:26 Sergei Trofimovich
2018-03-29 6:17 Sergei Trofimovich
2017-11-30 11:52 Marek Szuba
2017-07-04 17:43 Sebastien Fabbro
2017-06-28 4:02 Sebastien Fabbro
2017-05-20 9:52 Justin Lecher
2017-05-19 8:13 Justin Lecher
2017-03-19 12:45 David Seifert
2017-03-11 1:58 Zac Medico
2016-10-08 12:13 David Seifert
2016-03-16 11:51 Agostino Sarubbo
2016-02-14 10:11 Agostino Sarubbo
2016-01-29 9:09 Justin Lecher
2016-01-26 16:42 Agostino Sarubbo
2016-01-25 19:45 Justin Lecher
2016-01-25 19:45 Justin Lecher
2015-11-11 17:27 Justin Lecher
2015-10-31 10:25 Justin Lecher
2015-10-30 12:03 Justin Lecher
2015-10-29 8:20 Justin Lecher
2015-10-25 18:10 Justin Lecher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1591354548.760cd9532e1ec83eb8bf0193536fc57c9f3e873a.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox