* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-12-08 19:39 Arthur Zamarin
0 siblings, 0 replies; 209+ messages in thread
From: Arthur Zamarin @ 2023-12-08 19:39 UTC (permalink / raw
To: gentoo-commits
commit: 1d6a68a96877581a367dc83827cd3a28b0523e8c
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 8 19:39:32 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Dec 8 19:39:32 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d6a68a9
dev-python/scipy: Keyword 1.11.4 s390, #916250
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/scipy/scipy-1.11.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.11.4.ebuild b/dev-python/scipy/scipy-1.11.4.ebuild
index 6556c4b262d5..1cfa675469d7 100644
--- a/dev-python/scipy/scipy-1.11.4.ebuild
+++ b/dev-python/scipy/scipy-1.11.4.ebuild
@@ -38,7 +38,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2024-09-22 0:42 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2024-09-22 0:42 UTC (permalink / raw
To: gentoo-commits
commit: c6dc3a972814255ec7f009e79e81c78b0d846522
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 22 00:41:28 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 22 00:41:28 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6dc3a97
dev-python/scipy: Stabilize 1.14.1 ppc64, #939271
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.14.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.14.1.ebuild b/dev-python/scipy/scipy-1.14.1.ebuild
index 2e1ec6ce7593..3059a8fefe9d 100644
--- a/dev-python/scipy/scipy-1.14.1.ebuild
+++ b/dev-python/scipy/scipy-1.14.1.ebuild
@@ -37,7 +37,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86"
+ KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2024-09-07 13:21 Jakov Smolić
0 siblings, 0 replies; 209+ messages in thread
From: Jakov Smolić @ 2024-09-07 13:21 UTC (permalink / raw
To: gentoo-commits
commit: e47876b950ec7d46c70e0bba04bd3daa4da36fd5
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 7 13:21:11 2024 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Sat Sep 7 13:21:11 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e47876b9
dev-python/scipy: Stabilize 1.14.1 arm64, #939271
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
dev-python/scipy/scipy-1.14.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.14.1.ebuild b/dev-python/scipy/scipy-1.14.1.ebuild
index dc5d08b7caf8..2e1ec6ce7593 100644
--- a/dev-python/scipy/scipy-1.14.1.ebuild
+++ b/dev-python/scipy/scipy-1.14.1.ebuild
@@ -37,7 +37,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="amd64 arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86"
+ KEYWORDS="amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2024-09-07 11:26 Jakov Smolić
0 siblings, 0 replies; 209+ messages in thread
From: Jakov Smolić @ 2024-09-07 11:26 UTC (permalink / raw
To: gentoo-commits
commit: f023272267705bf436833dd50d659dba853c3b68
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 7 11:25:41 2024 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Sat Sep 7 11:25:41 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0232722
dev-python/scipy: Stabilize 1.14.1 amd64, #939271
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
dev-python/scipy/scipy-1.14.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.14.1.ebuild b/dev-python/scipy/scipy-1.14.1.ebuild
index 2a1083ab6864..dc5d08b7caf8 100644
--- a/dev-python/scipy/scipy-1.14.1.ebuild
+++ b/dev-python/scipy/scipy-1.14.1.ebuild
@@ -37,7 +37,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86"
+ KEYWORDS="amd64 arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2024-09-07 10:58 Michał Górny
0 siblings, 0 replies; 209+ messages in thread
From: Michał Górny @ 2024-09-07 10:58 UTC (permalink / raw
To: gentoo-commits
commit: 071e036bda459ddcd0d2927772f7157032cc440d
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 7 10:58:11 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Sep 7 10:58:11 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=071e036b
dev-python/scipy: Stabilize 1.14.1 x86, #939271
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/scipy-1.14.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.14.1.ebuild b/dev-python/scipy/scipy-1.14.1.ebuild
index 9cefa5132e80..2a1083ab6864 100644
--- a/dev-python/scipy/scipy-1.14.1.ebuild
+++ b/dev-python/scipy/scipy-1.14.1.ebuild
@@ -37,7 +37,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+ KEYWORDS="~amd64 arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2024-09-07 10:39 Arthur Zamarin
0 siblings, 0 replies; 209+ messages in thread
From: Arthur Zamarin @ 2024-09-07 10:39 UTC (permalink / raw
To: gentoo-commits
commit: 281f5f17cfd59e6ebca12e9614709ea7a6c7ec91
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 7 10:39:29 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Sep 7 10:39:29 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=281f5f17
dev-python/scipy: Stabilize 1.14.1 arm, #939271
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/scipy/scipy-1.14.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.14.1.ebuild b/dev-python/scipy/scipy-1.14.1.ebuild
index 14c9d3332cc5..9cefa5132e80 100644
--- a/dev-python/scipy/scipy-1.14.1.ebuild
+++ b/dev-python/scipy/scipy-1.14.1.ebuild
@@ -37,7 +37,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+ KEYWORDS="~amd64 arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2024-08-21 15:06 Michał Górny
0 siblings, 0 replies; 209+ messages in thread
From: Michał Górny @ 2024-08-21 15:06 UTC (permalink / raw
To: gentoo-commits
commit: 9c85c1adefb4efcc33cf1aea83a737a5608013f2
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 21 09:38:10 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Aug 21 15:06:17 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c85c1ad
dev-python/scipy: Bump to 1.14.1
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/Manifest | 1 +
dev-python/scipy/scipy-1.14.1.ebuild | 161 +++++++++++++++++++++++++++++++++++
2 files changed, 162 insertions(+)
diff --git a/dev-python/scipy/Manifest b/dev-python/scipy/Manifest
index 1e6b60d8065c..6416455905f3 100644
--- a/dev-python/scipy/Manifest
+++ b/dev-python/scipy/Manifest
@@ -1,2 +1,3 @@
DIST scipy-1.14.0.tar.gz 58618870 BLAKE2B bf9ed05628b02dc058555402995caae722cf6802bde80387d4e4477ec533589a66ca70b5dd44a32ddac652c7c69300406434b80e7cbc9aee2a78ae6b26ee4c2b SHA512 6579d988a2093602f5fc82203bbb5dc5690a95032484b5d5bd843d1e7995b3b89d802c7b38ec0345c1f3d8e22c98fb92b3982a1eadfcdf63607f929a52b56abf
+DIST scipy-1.14.1.tar.gz 58620554 BLAKE2B 5cb383648a5f3b8d0d321efcd66992212c59ce3fc3dbf812a2fa97c09cb18831b280af6c7689553644f83c531a266e9152e2a139a12aed08307e1ed64deea78e SHA512 20e3cf13590f76dfdc40ca8f90e6d5a68502e74415f37fa24fdb8169098e1d7f0aa631ae742c8c3e9573fa7d63da61986d51f35f090a3785873ae0761f7fcfa6
DIST scipy-html-1.14.0.zip 65723829 BLAKE2B ba47dbf00a5d2a53a9addc5ea68ab18b42f211a018b89aa4b0b57ff0dee02e410a3effc59ddf8fbbc5aa33075d45d86880aed3a14068da5bd7b62ee526199967 SHA512 93be0bafcc64cea1ba130bbcc77c0741acc4f819c84a5030391a22657a1bc63abe8434a2723f66b7ad04c0809dc6d02e3a97ffb8d94bd3d4a4bb759ee796b475
diff --git a/dev-python/scipy/scipy-1.14.1.ebuild b/dev-python/scipy/scipy-1.14.1.ebuild
new file mode 100644
index 000000000000..14c9d3332cc5
--- /dev/null
+++ b/dev-python/scipy/scipy-1.14.1.ebuild
@@ -0,0 +1,161 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FORTRAN_NEEDED=fortran
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=meson-python
+PYTHON_COMPAT=( pypy3 python3_{10..13} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit flag-o-matic fortran-2 distutils-r1
+
+DESCRIPTION="Scientific algorithms library for Python"
+HOMEPAGE="
+ https://scipy.org/
+ https://github.com/scipy/scipy/
+ https://pypi.org/project/scipy/
+"
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+
+ # Need submodules, so git for now.
+ EGIT_REPO_URI="https://github.com/scipy/scipy"
+ EGIT_BRANCH="maintenance/$(ver_cut 1-2).x"
+ EGIT_SUBMODULES=( '*' )
+else
+ inherit pypi
+
+ # Upstream is often behind with doc updates
+ DOC_PV=1.14.0
+
+ SRC_URI+="
+ doc? (
+ https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip
+ )"
+
+ if [[ ${PV} != *rc* ]] ; then
+ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+ fi
+fi
+
+LICENSE="BSD LGPL-2"
+SLOT="0"
+IUSE="doc +fortran test-rust"
+
+# umfpack is technically optional but it's preferred to have it available.
+DEPEND="
+ >=dev-python/numpy-1.23.5:=[lapack,${PYTHON_USEDEP}]
+ sci-libs/arpack:=
+ sci-libs/umfpack
+ virtual/cblas
+ >=virtual/lapack-3.8
+"
+RDEPEND="
+ ${DEPEND}
+ dev-python/pillow[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-lang/swig
+ >=dev-python/cython-3.0.8[${PYTHON_USEDEP}]
+ >=dev-python/meson-python-0.15.0[${PYTHON_USEDEP}]
+ >=dev-python/pybind11-2.12.0[${PYTHON_USEDEP}]
+ >=dev-build/meson-1.1.0
+ !kernel_Darwin? ( dev-util/patchelf )
+ virtual/pkgconfig
+ doc? ( app-arch/unzip )
+ fortran? (
+ >=dev-python/pythran-0.16.0[${PYTHON_USEDEP}]
+ )
+ test? (
+ >=dev-python/hypothesis-6.30[${PYTHON_USEDEP}]
+ )
+ test-rust? (
+ dev-python/pooch[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+src_unpack() {
+ default
+
+ if use doc; then
+ unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die
+ fi
+}
+
+python_configure_all() {
+ DISTUTILS_ARGS=(
+ -Dblas=blas
+ -Dlapack=lapack
+ -Duse-pythran=$(usex fortran true false)
+ )
+
+ # https://bugs.gentoo.org/932721
+ has_version '>=dev-python/numpy-2.0.0' && filter-lto
+}
+
+python_test() {
+ cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
+
+ local EPYTEST_DESELECT=(
+ # Network
+ scipy/datasets/tests/test_data.py::TestDatasets::test_existence_all
+ scipy/datasets/tests/test_data.py::TestDatasets::test_ascent
+ scipy/datasets/tests/test_data.py::TestDatasets::test_face
+ scipy/datasets/tests/test_data.py::TestDatasets::test_electrocardiogram
+
+ # Precision issue with diff. blas?
+ scipy/optimize/tests/test__basinhopping.py::Test_Metropolis::test_gh7799
+
+ # Crashes with assertion, not a regression
+ # https://github.com/scipy/scipy/issues/19321
+ scipy/signal/tests/test_signaltools.py::test_lfilter_bad_object
+
+ # timeouts
+ scipy/sparse/linalg/tests/test_propack.py::test_examples
+ # hang or incredibly slow
+ scipy/optimize/tests/test_lsq_linear.py::TestBVLS::test_large_rank_deficient
+ scipy/optimize/tests/test_lsq_linear.py::TestTRF::test_large_rank_deficient
+
+ # TODO
+ scipy/optimize/tests/test_minimize_constrained.py::TestTrustRegionConstr::test_list_of_problems
+ )
+ local EPYTEST_IGNORE=()
+
+ if ! has_version -b "dev-python/pooch[${PYTHON_USEDEP}]" ; then
+ EPYTEST_IGNORE+=(
+ scipy/datasets/tests/test_data.py
+ )
+ fi
+
+ case ${EPYTHON} in
+ pypy3)
+ EPYTEST_DESELECT+=(
+ # fd leaks in tests
+ # https://github.com/scipy/scipy/issues/19553
+ scipy/fft/_pocketfft/tests/test_real_transforms.py
+ # TODO
+ 'scipy/special/tests/test_data.py::test_boost[<Data for expi: expinti_data_long_ipp-expinti_data_long>]'
+ # missing dict.__ror__
+ # https://github.com/pypy/pypy/issues/4934
+ 'scipy/sparse/tests/test_dok.py::test_dunder_ror[dok_matrix]'
+ # mismatched exception message
+ scipy/optimize/tests/test_hessian_update_strategy.py::TestHessianUpdateStrategy::test_initialize_catch_illegal
+ )
+ ;;
+ esac
+
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest scipy
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( "${WORKDIR}"/html/. )
+
+ distutils-r1_python_install_all
+}
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2024-07-31 3:53 Eli Schwartz
0 siblings, 0 replies; 209+ messages in thread
From: Eli Schwartz @ 2024-07-31 3:53 UTC (permalink / raw
To: gentoo-commits
commit: b97c692bdf00d06a3eace3c2aea88b5b9bc9d46a
Author: Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 30 18:53:27 2024 +0000
Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Wed Jul 31 03:51:37 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b97c692b
dev-python/scipy: remove outdated workaround for pythran
The upstream issue was fixed and released in 0.16, which is also the
only version we package anymore. Bump the dependency to make sure people
actually updated this bdep, and drop our hack.
This also fixes the problem where people misdiagnose a faulty personal
environment as a portage bug, due to setting PYTHONPATH="". Well...
actually it may hide the issue entirely, if scipy.signal as the `signal`
module doesn't actually get used. :) But that is beside the point.
Bug: https://bugs.gentoo.org/936948
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>
dev-python/scipy/scipy-1.14.0.ebuild | 14 +-------------
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/dev-python/scipy/scipy-1.14.0.ebuild b/dev-python/scipy/scipy-1.14.0.ebuild
index cd7be229a991..d92a8af88f7a 100644
--- a/dev-python/scipy/scipy-1.14.0.ebuild
+++ b/dev-python/scipy/scipy-1.14.0.ebuild
@@ -67,7 +67,7 @@ BDEPEND="
virtual/pkgconfig
doc? ( app-arch/unzip )
fortran? (
- >=dev-python/pythran-0.14.0[${PYTHON_USEDEP}]
+ >=dev-python/pythran-0.16.0[${PYTHON_USEDEP}]
)
test? (
>=dev-python/hypothesis-6.30[${PYTHON_USEDEP}]
@@ -97,18 +97,6 @@ python_configure_all() {
# https://bugs.gentoo.org/932721
has_version '>=dev-python/numpy-2.0.0' && filter-lto
-
- # hide real scipy, to prevent pythran crashing when scipy is being
- # rebuilt for new numpy ABI
- # https://github.com/serge-sans-paille/pythran/issues/2194
- cat >> "${T}/scipy.py" <<-EOF || die
- raise ImportError("hide real scipy")
- EOF
-}
-
-python_compile() {
- local -x PYTHONPATH="${T}${PYTHONPATH+:${PYTHONPATH}}"
- distutils-r1_python_compile
}
python_test() {
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2024-07-13 15:18 Arthur Zamarin
0 siblings, 0 replies; 209+ messages in thread
From: Arthur Zamarin @ 2024-07-13 15:18 UTC (permalink / raw
To: gentoo-commits
commit: fc50b12dd069bd42938abb591642992d1fed371c
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 13 15:18:29 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 13 15:18:29 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc50b12d
dev-python/scipy: Stabilize 1.14.0 ppc64, #935951
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/scipy/scipy-1.14.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.14.0.ebuild b/dev-python/scipy/scipy-1.14.0.ebuild
index b6c22981999f..cd7be229a991 100644
--- a/dev-python/scipy/scipy-1.14.0.ebuild
+++ b/dev-python/scipy/scipy-1.14.0.ebuild
@@ -37,7 +37,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86"
+ KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2024-07-13 11:05 Arthur Zamarin
0 siblings, 0 replies; 209+ messages in thread
From: Arthur Zamarin @ 2024-07-13 11:05 UTC (permalink / raw
To: gentoo-commits
commit: f6e8f6204433793a03aad8bd6c25ff6571bc98d9
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 13 11:05:17 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 13 11:05:17 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6e8f620
dev-python/scipy: Stabilize 1.14.0 arm64, #935951
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/scipy/scipy-1.14.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.14.0.ebuild b/dev-python/scipy/scipy-1.14.0.ebuild
index cfc9587acbde..b6c22981999f 100644
--- a/dev-python/scipy/scipy-1.14.0.ebuild
+++ b/dev-python/scipy/scipy-1.14.0.ebuild
@@ -37,7 +37,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="amd64 arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86"
+ KEYWORDS="amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2024-07-13 10:06 Arthur Zamarin
0 siblings, 0 replies; 209+ messages in thread
From: Arthur Zamarin @ 2024-07-13 10:06 UTC (permalink / raw
To: gentoo-commits
commit: 213f38176159860408074bb55d392a1996110694
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 13 10:06:47 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 13 10:06:47 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=213f3817
dev-python/scipy: Stabilize 1.14.0 arm, #935951
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/scipy/scipy-1.14.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.14.0.ebuild b/dev-python/scipy/scipy-1.14.0.ebuild
index b719b696e890..cfc9587acbde 100644
--- a/dev-python/scipy/scipy-1.14.0.ebuild
+++ b/dev-python/scipy/scipy-1.14.0.ebuild
@@ -37,7 +37,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86"
+ KEYWORDS="amd64 arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2024-07-13 9:55 Arthur Zamarin
0 siblings, 0 replies; 209+ messages in thread
From: Arthur Zamarin @ 2024-07-13 9:55 UTC (permalink / raw
To: gentoo-commits
commit: 97ce08e82cd0d2d86cdd9a90f6226a001e304c05
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 13 09:55:44 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 13 09:55:44 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97ce08e8
dev-python/scipy: Stabilize 1.14.0 amd64, #935951
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/scipy/scipy-1.14.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.14.0.ebuild b/dev-python/scipy/scipy-1.14.0.ebuild
index dab0574a1b01..b719b696e890 100644
--- a/dev-python/scipy/scipy-1.14.0.ebuild
+++ b/dev-python/scipy/scipy-1.14.0.ebuild
@@ -37,7 +37,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86"
+ KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2024-07-13 8:28 Arthur Zamarin
0 siblings, 0 replies; 209+ messages in thread
From: Arthur Zamarin @ 2024-07-13 8:28 UTC (permalink / raw
To: gentoo-commits
commit: f3557f62c91e6c48cae9e7455b72967503886421
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 13 08:28:05 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 13 08:28:05 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3557f62
dev-python/scipy: Stabilize 1.14.0 x86, #935951
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/scipy/scipy-1.14.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.14.0.ebuild b/dev-python/scipy/scipy-1.14.0.ebuild
index 8e3a14e3952c..dab0574a1b01 100644
--- a/dev-python/scipy/scipy-1.14.0.ebuild
+++ b/dev-python/scipy/scipy-1.14.0.ebuild
@@ -37,7 +37,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2024-07-07 1:02 Ionen Wolkens
0 siblings, 0 replies; 209+ messages in thread
From: Ionen Wolkens @ 2024-07-07 1:02 UTC (permalink / raw
To: gentoo-commits
commit: 6b60992c0eb287ea0ddeedb43388507b2957b2fc
Author: Matoro Mahri <matoro_gentoo <AT> matoro <DOT> tk>
AuthorDate: Fri Jul 5 21:10:54 2024 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sun Jul 7 01:02:13 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b60992c
dev-python/scipy: Stabilize 1.13.1 arm, #933789
Signed-off-by: Matoro Mahri <matoro_gentoo <AT> matoro.tk>
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
dev-python/scipy/scipy-1.13.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.13.1.ebuild b/dev-python/scipy/scipy-1.13.1.ebuild
index 0c122874026f..402e4c9635ed 100644
--- a/dev-python/scipy/scipy-1.13.1.ebuild
+++ b/dev-python/scipy/scipy-1.13.1.ebuild
@@ -37,7 +37,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+ KEYWORDS="amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2024-07-07 1:02 Ionen Wolkens
0 siblings, 0 replies; 209+ messages in thread
From: Ionen Wolkens @ 2024-07-07 1:02 UTC (permalink / raw
To: gentoo-commits
commit: 9ff6636e69dabc77f95d38e410903b07a8e1ef18
Author: Matoro Mahri <matoro_gentoo <AT> matoro <DOT> tk>
AuthorDate: Fri Jul 5 21:23:13 2024 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sun Jul 7 01:02:13 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ff6636e
dev-python/scipy: Stabilize 1.13.1 x86, #933789
Signed-off-by: Matoro Mahri <matoro_gentoo <AT> matoro.tk>
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
dev-python/scipy/scipy-1.13.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.13.1.ebuild b/dev-python/scipy/scipy-1.13.1.ebuild
index 402e4c9635ed..5200331cde1f 100644
--- a/dev-python/scipy/scipy-1.13.1.ebuild
+++ b/dev-python/scipy/scipy-1.13.1.ebuild
@@ -37,7 +37,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+ KEYWORDS="amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2024-07-05 19:46 Viorel Munteanu
0 siblings, 0 replies; 209+ messages in thread
From: Viorel Munteanu @ 2024-07-05 19:46 UTC (permalink / raw
To: gentoo-commits
commit: 731fb603a882112c0bbbb38574b6ff74f93c73e2
Author: Matoro Mahri <matoro_gentoo <AT> matoro <DOT> tk>
AuthorDate: Fri Jul 5 19:39:43 2024 +0000
Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Fri Jul 5 19:45:39 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=731fb603
dev-python/scipy: Stabilize 1.13.1 amd64, #933789
Signed-off-by: Matoro Mahri <matoro_gentoo <AT> matoro.tk>
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>
dev-python/scipy/scipy-1.13.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.13.1.ebuild b/dev-python/scipy/scipy-1.13.1.ebuild
index 46e6f4a7ea8a..0c122874026f 100644
--- a/dev-python/scipy/scipy-1.13.1.ebuild
+++ b/dev-python/scipy/scipy-1.13.1.ebuild
@@ -37,7 +37,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+ KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2024-06-27 19:09 Michał Górny
0 siblings, 0 replies; 209+ messages in thread
From: Michał Górny @ 2024-06-27 19:09 UTC (permalink / raw
To: gentoo-commits
commit: e8dc21026f218294053b952402fc1cd3498e479a
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 27 19:09:01 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jun 27 19:09:40 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8dc2102
dev-python/scipy: Enable py3.13
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/scipy-1.14.0.ebuild | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.14.0.ebuild b/dev-python/scipy/scipy-1.14.0.ebuild
index 6d117893f18d..8e3a14e3952c 100644
--- a/dev-python/scipy/scipy-1.14.0.ebuild
+++ b/dev-python/scipy/scipy-1.14.0.ebuild
@@ -6,7 +6,7 @@ EAPI=8
FORTRAN_NEEDED=fortran
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=meson-python
-PYTHON_COMPAT=( pypy3 python3_{10..12} )
+PYTHON_COMPAT=( pypy3 python3_{10..13} )
PYTHON_REQ_USE="threads(+)"
inherit flag-o-matic fortran-2 distutils-r1
@@ -160,6 +160,12 @@ python_test() {
scipy/optimize/tests/test_hessian_update_strategy.py::TestHessianUpdateStrategy::test_initialize_catch_illegal
)
;;
+ python3.13)
+ EPYTEST_DESELECT+=(
+ # docstring formatting
+ scipy/misc/tests/test_doccer.py::test_decorator
+ )
+ ;;
esac
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2024-06-27 18:54 Patrick McLean
0 siblings, 0 replies; 209+ messages in thread
From: Patrick McLean @ 2024-06-27 18:54 UTC (permalink / raw
To: gentoo-commits
commit: 852a312f7cea343a2ada68e427171954ca56b420
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 27 18:53:43 2024 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Thu Jun 27 18:53:43 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=852a312f
dev-python/scipy: Filter LTO with numpy-2.0.0 (bug #932721)
Bug: https://bugs.gentoo.org/932721
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
dev-python/scipy/scipy-1.14.0.ebuild | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.14.0.ebuild b/dev-python/scipy/scipy-1.14.0.ebuild
index a37f5c5245cb..6d117893f18d 100644
--- a/dev-python/scipy/scipy-1.14.0.ebuild
+++ b/dev-python/scipy/scipy-1.14.0.ebuild
@@ -9,7 +9,7 @@ DISTUTILS_USE_PEP517=meson-python
PYTHON_COMPAT=( pypy3 python3_{10..12} )
PYTHON_REQ_USE="threads(+)"
-inherit fortran-2 distutils-r1
+inherit flag-o-matic fortran-2 distutils-r1
DESCRIPTION="Scientific algorithms library for Python"
HOMEPAGE="
@@ -95,6 +95,9 @@ python_configure_all() {
-Duse-pythran=$(usex fortran true false)
)
+ # https://bugs.gentoo.org/932721
+ has_version '>=dev-python/numpy-2.0.0' && filter-lto
+
# hide real scipy, to prevent pythran crashing when scipy is being
# rebuilt for new numpy ABI
# https://github.com/serge-sans-paille/pythran/issues/2194
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2024-06-25 8:01 Michał Górny
0 siblings, 0 replies; 209+ messages in thread
From: Michał Górny @ 2024-06-25 8:01 UTC (permalink / raw
To: gentoo-commits
commit: 854f4fba100e14f68e84b2b23cb5b5ea2ce6d4d6
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 25 03:26:29 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jun 25 08:01:37 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=854f4fba
dev-python/scipy: Bump to 1.14.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/Manifest | 2 +
dev-python/scipy/scipy-1.14.0.ebuild | 170 +++++++++++++++++++++++++++++++++++
2 files changed, 172 insertions(+)
diff --git a/dev-python/scipy/Manifest b/dev-python/scipy/Manifest
index 308e1728a20c..d0f7b049753a 100644
--- a/dev-python/scipy/Manifest
+++ b/dev-python/scipy/Manifest
@@ -3,7 +3,9 @@ DIST scipy-1.11.4.tar.gz 56336202 BLAKE2B a2091a1edb54eb73c2de6ed8c62a7e571f37b2
DIST scipy-1.12.0.tar.gz 56811768 BLAKE2B 03c142274f1466747935fa54fab427f3a48c1642406211fa1a0f8ad5e0f194baecf76182e0448a0fb647063871483239cd876ce431cd9406e396e6170912ab64 SHA512 376ed94c4caaf782814bb07047fff0b363f7b608a0399697c6e862432333cbe6d3abb351730a574a3f077b3cdd9cb7474090a460baffcfbd5546bcfee309b6e7
DIST scipy-1.13.0.tar.gz 57204550 BLAKE2B cfbb4e76efae952854e9ff4ed254e9819b58d224906e1ded3c6a914b1e28b5fad15f8bbbb4a9c413969d6e4b1faf4e0038a36729171ff06e640b241a9dd4af94 SHA512 9bd6fd3f76742a07e5bb003edf4c0e3a82edf749077502fbce3d16fe595d455846edcf57db12ec0a9d4792803e974355362d919047414badfcaededf1e4343f7
DIST scipy-1.13.1.tar.gz 57210720 BLAKE2B d58d673de9b8d6239a3de285982d65ba1baf0ca8b623276c19b85b1f4bb83c56e66c32d7a22d1d602435cfa086b5d56167cac55bdda608590aaddf677844f060 SHA512 28aafdbcae7229a3d11f192683b703cb485d45e4d90413d6564df3d9005bc8fd4df8bd92caffe657666828cd7253e7e0363c0948c74a1b8f3f3b7d4f4cfd9b36
+DIST scipy-1.14.0.tar.gz 58618870 BLAKE2B bf9ed05628b02dc058555402995caae722cf6802bde80387d4e4477ec533589a66ca70b5dd44a32ddac652c7c69300406434b80e7cbc9aee2a78ae6b26ee4c2b SHA512 6579d988a2093602f5fc82203bbb5dc5690a95032484b5d5bd843d1e7995b3b89d802c7b38ec0345c1f3d8e22c98fb92b3982a1eadfcdf63607f929a52b56abf
DIST scipy-html-1.11.0.zip 50421508 BLAKE2B cb5e4a4f8817a80f54ae73b4a47ba22d2438df46ebfe27ef5fdc2695fdd983226f4ccae925bf82b15d01ced4f4b6807384ecadac5e1aa7700aa887ad06b7d065 SHA512 33718bbd5e828687d93fccc441a53b6a2e8f54ac4952d3b69d4c4668f55cb6ef5aba33df9acda20b2400effa5ae71767b2a5602a365ad2045a6edd24ff89c253
DIST scipy-html-1.11.2.zip 50435722 BLAKE2B 460c67509a8bf50986f866ee2f90e634af21ddd71508efeef5681c2ee2130c3f79b4b428bc21277bfb310bb45ccad1fb38221ada43620055377cdc4839b9d1e5 SHA512 986a6e37f9e01dc4925ef22af6ff660bae1e4b66e57270262974c207dfb70285e3f8f548774d6e81d5f457b9198c0ba1c06e6d689fe5d54fdea878c1e5a7f797
DIST scipy-html-1.13.0.zip 65327245 BLAKE2B 5e5ffbf4ff4a28c5a003da0e5170ef5eef1b430ecca0284a89aed5f96f7afc549db001beb2e56b3debbd3527c57b773b25c35579b32d8a6d8e5e97a75db4d38b SHA512 792c32f077d76d47e42d02c5047990a6afdcdc9c31dcc7e9987e7a5aa62c56aec44dcf7d14e3f94ae59f8fb718ce89a2835b87d2aef7a16ce9a534361b7329d7
DIST scipy-html-1.13.1.zip 65288062 BLAKE2B 4eea1277870fcc0070d543139ef8b786d3c6841835601eb5447fed042d03035edfb556f824ccbf9946f1efa41da75372df1dd3789d045bdbaea7e156010bb8e6 SHA512 fc70eb7fa3763e40f2389ad31e1a78fcd2aa1b3db40927f57a583692143001c8b6a8f3f0ddea47eaf62adb30d1207765d8887a2a53baa1b8ed706b7fb348bbbf
+DIST scipy-html-1.14.0.zip 65723829 BLAKE2B ba47dbf00a5d2a53a9addc5ea68ab18b42f211a018b89aa4b0b57ff0dee02e410a3effc59ddf8fbbc5aa33075d45d86880aed3a14068da5bd7b62ee526199967 SHA512 93be0bafcc64cea1ba130bbcc77c0741acc4f819c84a5030391a22657a1bc63abe8434a2723f66b7ad04c0809dc6d02e3a97ffb8d94bd3d4a4bb759ee796b475
diff --git a/dev-python/scipy/scipy-1.14.0.ebuild b/dev-python/scipy/scipy-1.14.0.ebuild
new file mode 100644
index 000000000000..a37f5c5245cb
--- /dev/null
+++ b/dev-python/scipy/scipy-1.14.0.ebuild
@@ -0,0 +1,170 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FORTRAN_NEEDED=fortran
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=meson-python
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit fortran-2 distutils-r1
+
+DESCRIPTION="Scientific algorithms library for Python"
+HOMEPAGE="
+ https://scipy.org/
+ https://github.com/scipy/scipy/
+ https://pypi.org/project/scipy/
+"
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+
+ # Need submodules, so git for now.
+ EGIT_REPO_URI="https://github.com/scipy/scipy"
+ EGIT_BRANCH="maintenance/$(ver_cut 1-2).x"
+ EGIT_SUBMODULES=( '*' )
+else
+ inherit pypi
+
+ # Upstream is often behind with doc updates
+ DOC_PV=${PV}
+
+ SRC_URI+="
+ doc? (
+ https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip
+ )"
+
+ if [[ ${PV} != *rc* ]] ; then
+ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+ fi
+fi
+
+LICENSE="BSD LGPL-2"
+SLOT="0"
+IUSE="doc +fortran test-rust"
+
+# umfpack is technically optional but it's preferred to have it available.
+DEPEND="
+ >=dev-python/numpy-1.23.5:=[lapack,${PYTHON_USEDEP}]
+ sci-libs/arpack:=
+ sci-libs/umfpack
+ virtual/cblas
+ >=virtual/lapack-3.8
+"
+RDEPEND="
+ ${DEPEND}
+ dev-python/pillow[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-lang/swig
+ >=dev-python/cython-3.0.8[${PYTHON_USEDEP}]
+ >=dev-python/meson-python-0.15.0[${PYTHON_USEDEP}]
+ >=dev-python/pybind11-2.12.0[${PYTHON_USEDEP}]
+ >=dev-build/meson-1.1.0
+ !kernel_Darwin? ( dev-util/patchelf )
+ virtual/pkgconfig
+ doc? ( app-arch/unzip )
+ fortran? (
+ >=dev-python/pythran-0.14.0[${PYTHON_USEDEP}]
+ )
+ test? (
+ >=dev-python/hypothesis-6.30[${PYTHON_USEDEP}]
+ )
+ test-rust? (
+ dev-python/pooch[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+src_unpack() {
+ default
+
+ if use doc; then
+ unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die
+ fi
+}
+
+python_configure_all() {
+ DISTUTILS_ARGS=(
+ -Dblas=blas
+ -Dlapack=lapack
+ -Duse-pythran=$(usex fortran true false)
+ )
+
+ # hide real scipy, to prevent pythran crashing when scipy is being
+ # rebuilt for new numpy ABI
+ # https://github.com/serge-sans-paille/pythran/issues/2194
+ cat >> "${T}/scipy.py" <<-EOF || die
+ raise ImportError("hide real scipy")
+ EOF
+}
+
+python_compile() {
+ local -x PYTHONPATH="${T}${PYTHONPATH+:${PYTHONPATH}}"
+ distutils-r1_python_compile
+}
+
+python_test() {
+ cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
+
+ local EPYTEST_DESELECT=(
+ # Network
+ scipy/datasets/tests/test_data.py::TestDatasets::test_existence_all
+ scipy/datasets/tests/test_data.py::TestDatasets::test_ascent
+ scipy/datasets/tests/test_data.py::TestDatasets::test_face
+ scipy/datasets/tests/test_data.py::TestDatasets::test_electrocardiogram
+
+ # Precision issue with diff. blas?
+ scipy/optimize/tests/test__basinhopping.py::Test_Metropolis::test_gh7799
+
+ # Crashes with assertion, not a regression
+ # https://github.com/scipy/scipy/issues/19321
+ scipy/signal/tests/test_signaltools.py::test_lfilter_bad_object
+
+ # timeouts
+ scipy/sparse/linalg/tests/test_propack.py::test_examples
+ # hang or incredibly slow
+ scipy/optimize/tests/test_lsq_linear.py::TestBVLS::test_large_rank_deficient
+ scipy/optimize/tests/test_lsq_linear.py::TestTRF::test_large_rank_deficient
+
+ # TODO
+ scipy/optimize/tests/test_minimize_constrained.py::TestTrustRegionConstr::test_list_of_problems
+ )
+ local EPYTEST_IGNORE=()
+
+ if ! has_version -b "dev-python/pooch[${PYTHON_USEDEP}]" ; then
+ EPYTEST_IGNORE+=(
+ scipy/datasets/tests/test_data.py
+ )
+ fi
+
+ case ${EPYTHON} in
+ pypy3)
+ EPYTEST_DESELECT+=(
+ # fd leaks in tests
+ # https://github.com/scipy/scipy/issues/19553
+ scipy/fft/_pocketfft/tests/test_real_transforms.py
+ # TODO
+ 'scipy/special/tests/test_data.py::test_boost[<Data for expi: expinti_data_long_ipp-expinti_data_long>]'
+ # missing dict.__ror__
+ # https://github.com/pypy/pypy/issues/4934
+ 'scipy/sparse/tests/test_dok.py::test_dunder_ror[dok_matrix]'
+ # mismatched exception message
+ scipy/optimize/tests/test_hessian_update_strategy.py::TestHessianUpdateStrategy::test_initialize_catch_illegal
+ )
+ ;;
+ esac
+
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest scipy
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( "${WORKDIR}"/html/. )
+
+ distutils-r1_python_install_all
+}
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2024-06-08 7:28 Arthur Zamarin
0 siblings, 0 replies; 209+ messages in thread
From: Arthur Zamarin @ 2024-06-08 7:28 UTC (permalink / raw
To: gentoo-commits
commit: 203eadf968068390cc02dd0046c49c01f7385a83
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 8 07:28:29 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 8 07:28:29 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=203eadf9
dev-python/scipy: Stabilize 1.13.1 arm64, #933789
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/scipy/scipy-1.13.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.13.1.ebuild b/dev-python/scipy/scipy-1.13.1.ebuild
index 0f7cff9b94e5..6858c42f2bcd 100644
--- a/dev-python/scipy/scipy-1.13.1.ebuild
+++ b/dev-python/scipy/scipy-1.13.1.ebuild
@@ -37,7 +37,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+ KEYWORDS="~amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2024-05-24 19:32 Michał Górny
0 siblings, 0 replies; 209+ messages in thread
From: Michał Górny @ 2024-05-24 19:32 UTC (permalink / raw
To: gentoo-commits
commit: d0ac14a4ebe0f4b791bc057df61ffb1606dac57b
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri May 24 19:07:30 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri May 24 19:32:09 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0ac14a4
dev-python/scipy: Bump to 1.13.1
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/Manifest | 2 +
dev-python/scipy/scipy-1.13.1.ebuild | 166 +++++++++++++++++++++++++++++++++++
2 files changed, 168 insertions(+)
diff --git a/dev-python/scipy/Manifest b/dev-python/scipy/Manifest
index e85df05734f7..308e1728a20c 100644
--- a/dev-python/scipy/Manifest
+++ b/dev-python/scipy/Manifest
@@ -2,6 +2,8 @@ DIST scipy-1.11.3.tar.gz 56335652 BLAKE2B 2b35c24522b2bd498b4ebe84a854c8ec1e6291
DIST scipy-1.11.4.tar.gz 56336202 BLAKE2B a2091a1edb54eb73c2de6ed8c62a7e571f37b247c9af50947aa97b739342c96b87b20a82b1a238c859fa532c84249cbadde228366dcea3555e9a506c1ae55031 SHA512 2eb403f6de9723b411d948b8e1b5457078704c605b8e760d42362c82d802e167eaaf701ddb8b480af2bdf2efe4dbf66fcc4e97321519bb8dab19b0e2a8976beb
DIST scipy-1.12.0.tar.gz 56811768 BLAKE2B 03c142274f1466747935fa54fab427f3a48c1642406211fa1a0f8ad5e0f194baecf76182e0448a0fb647063871483239cd876ce431cd9406e396e6170912ab64 SHA512 376ed94c4caaf782814bb07047fff0b363f7b608a0399697c6e862432333cbe6d3abb351730a574a3f077b3cdd9cb7474090a460baffcfbd5546bcfee309b6e7
DIST scipy-1.13.0.tar.gz 57204550 BLAKE2B cfbb4e76efae952854e9ff4ed254e9819b58d224906e1ded3c6a914b1e28b5fad15f8bbbb4a9c413969d6e4b1faf4e0038a36729171ff06e640b241a9dd4af94 SHA512 9bd6fd3f76742a07e5bb003edf4c0e3a82edf749077502fbce3d16fe595d455846edcf57db12ec0a9d4792803e974355362d919047414badfcaededf1e4343f7
+DIST scipy-1.13.1.tar.gz 57210720 BLAKE2B d58d673de9b8d6239a3de285982d65ba1baf0ca8b623276c19b85b1f4bb83c56e66c32d7a22d1d602435cfa086b5d56167cac55bdda608590aaddf677844f060 SHA512 28aafdbcae7229a3d11f192683b703cb485d45e4d90413d6564df3d9005bc8fd4df8bd92caffe657666828cd7253e7e0363c0948c74a1b8f3f3b7d4f4cfd9b36
DIST scipy-html-1.11.0.zip 50421508 BLAKE2B cb5e4a4f8817a80f54ae73b4a47ba22d2438df46ebfe27ef5fdc2695fdd983226f4ccae925bf82b15d01ced4f4b6807384ecadac5e1aa7700aa887ad06b7d065 SHA512 33718bbd5e828687d93fccc441a53b6a2e8f54ac4952d3b69d4c4668f55cb6ef5aba33df9acda20b2400effa5ae71767b2a5602a365ad2045a6edd24ff89c253
DIST scipy-html-1.11.2.zip 50435722 BLAKE2B 460c67509a8bf50986f866ee2f90e634af21ddd71508efeef5681c2ee2130c3f79b4b428bc21277bfb310bb45ccad1fb38221ada43620055377cdc4839b9d1e5 SHA512 986a6e37f9e01dc4925ef22af6ff660bae1e4b66e57270262974c207dfb70285e3f8f548774d6e81d5f457b9198c0ba1c06e6d689fe5d54fdea878c1e5a7f797
DIST scipy-html-1.13.0.zip 65327245 BLAKE2B 5e5ffbf4ff4a28c5a003da0e5170ef5eef1b430ecca0284a89aed5f96f7afc549db001beb2e56b3debbd3527c57b773b25c35579b32d8a6d8e5e97a75db4d38b SHA512 792c32f077d76d47e42d02c5047990a6afdcdc9c31dcc7e9987e7a5aa62c56aec44dcf7d14e3f94ae59f8fb718ce89a2835b87d2aef7a16ce9a534361b7329d7
+DIST scipy-html-1.13.1.zip 65288062 BLAKE2B 4eea1277870fcc0070d543139ef8b786d3c6841835601eb5447fed042d03035edfb556f824ccbf9946f1efa41da75372df1dd3789d045bdbaea7e156010bb8e6 SHA512 fc70eb7fa3763e40f2389ad31e1a78fcd2aa1b3db40927f57a583692143001c8b6a8f3f0ddea47eaf62adb30d1207765d8887a2a53baa1b8ed706b7fb348bbbf
diff --git a/dev-python/scipy/scipy-1.13.1.ebuild b/dev-python/scipy/scipy-1.13.1.ebuild
new file mode 100644
index 000000000000..0f7cff9b94e5
--- /dev/null
+++ b/dev-python/scipy/scipy-1.13.1.ebuild
@@ -0,0 +1,166 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FORTRAN_NEEDED=fortran
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=meson-python
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit fortran-2 distutils-r1
+
+DESCRIPTION="Scientific algorithms library for Python"
+HOMEPAGE="
+ https://scipy.org/
+ https://github.com/scipy/scipy/
+ https://pypi.org/project/scipy/
+"
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+
+ # Need submodules, so git for now.
+ EGIT_REPO_URI="https://github.com/scipy/scipy"
+ EGIT_BRANCH="maintenance/$(ver_cut 1-2).x"
+ EGIT_SUBMODULES=( '*' )
+else
+ inherit pypi
+
+ # Upstream is often behind with doc updates
+ DOC_PV=${PV}
+
+ SRC_URI+="
+ doc? (
+ https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip
+ )"
+
+ if [[ ${PV} != *rc* ]] ; then
+ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+ fi
+fi
+
+LICENSE="BSD LGPL-2"
+SLOT="0"
+IUSE="doc +fortran test-rust"
+
+# umfpack is technically optional but it's preferred to have it available.
+DEPEND="
+ >=dev-python/numpy-1.22.4:=[lapack,${PYTHON_USEDEP}]
+ sci-libs/arpack:=
+ sci-libs/umfpack
+ virtual/cblas
+ >=virtual/lapack-3.8
+"
+RDEPEND="
+ ${DEPEND}
+ dev-python/pillow[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-lang/swig
+ >=dev-python/cython-3.0.8[${PYTHON_USEDEP}]
+ >=dev-python/meson-python-0.15.0[${PYTHON_USEDEP}]
+ >=dev-python/pybind11-2.12.0[${PYTHON_USEDEP}]
+ >=dev-build/meson-1.1.0
+ !kernel_Darwin? ( dev-util/patchelf )
+ virtual/pkgconfig
+ doc? ( app-arch/unzip )
+ fortran? ( >=dev-python/pythran-0.14.0[${PYTHON_USEDEP}] )
+ test? (
+ >=dev-python/hypothesis-6.30[${PYTHON_USEDEP}]
+ )
+ test-rust? (
+ dev-python/pooch[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+src_unpack() {
+ default
+
+ if use doc; then
+ unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die
+ fi
+}
+
+python_configure_all() {
+ DISTUTILS_ARGS=(
+ -Dblas=blas
+ -Dlapack=lapack
+ -Duse-pythran=$(usex fortran true false)
+ )
+
+ # hide real scipy, to prevent pythran crashing when scipy is being
+ # rebuilt for new numpy ABI
+ # https://github.com/serge-sans-paille/pythran/issues/2194
+ cat >> "${T}/scipy.py" <<-EOF || die
+ raise ImportError("hide real scipy")
+ EOF
+}
+
+python_compile() {
+ local -x PYTHONPATH="${T}${PYTHONPATH+:${PYTHONPATH}}"
+ distutils-r1_python_compile
+}
+
+python_test() {
+ cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
+
+ local EPYTEST_DESELECT=(
+ # Network
+ scipy/datasets/tests/test_data.py::TestDatasets::test_existence_all
+ scipy/datasets/tests/test_data.py::TestDatasets::test_ascent
+ scipy/datasets/tests/test_data.py::TestDatasets::test_face
+ scipy/datasets/tests/test_data.py::TestDatasets::test_electrocardiogram
+
+ # Precision issue with diff. blas?
+ scipy/optimize/tests/test__basinhopping.py::Test_Metropolis::test_gh7799
+
+ # Crashes with assertion, not a regression
+ # https://github.com/scipy/scipy/issues/19321
+ scipy/signal/tests/test_signaltools.py::test_lfilter_bad_object
+
+ # timeouts
+ scipy/sparse/linalg/tests/test_propack.py::test_examples
+ # hang or incredibly slow
+ scipy/optimize/tests/test_lsq_linear.py::TestBVLS::test_large_rank_deficient
+ scipy/optimize/tests/test_lsq_linear.py::TestTRF::test_large_rank_deficient
+
+ # TODO
+ scipy/optimize/tests/test_minimize_constrained.py::TestTrustRegionConstr::test_list_of_problems
+ )
+ local EPYTEST_IGNORE=()
+
+ if ! has_version -b "dev-python/pooch[${PYTHON_USEDEP}]" ; then
+ EPYTEST_IGNORE+=(
+ scipy/datasets/tests/test_data.py
+ )
+ fi
+
+ case ${EPYTHON} in
+ pypy3)
+ EPYTEST_DESELECT+=(
+ # fd leaks in tests
+ # https://github.com/scipy/scipy/issues/19553
+ scipy/fft/_pocketfft/tests/test_real_transforms.py
+ # TODO
+ 'scipy/special/tests/test_data.py::test_boost[<Data for expi: expinti_data_long_ipp-expinti_data_long>]'
+ # missing dict.__ror__
+ # https://github.com/pypy/pypy/issues/4934
+ 'scipy/sparse/tests/test_dok.py::test_dunder_ror[dok_matrix]'
+ )
+ ;;
+ esac
+
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest scipy
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( "${WORKDIR}"/html/. )
+
+ distutils-r1_python_install_all
+}
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2024-05-20 16:25 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2024-05-20 16:25 UTC (permalink / raw
To: gentoo-commits
commit: 191bb06fbc8823e897d58f5eb1f37be38a486c33
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon May 20 16:23:25 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon May 20 16:23:25 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=191bb06f
dev-python/scipy: fix revbump for numpy := dep
Fixes: 4f4b142db2feab8ce890134c04875e04e11423de
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/{scipy-1.11.3-r1.ebuild => scipy-1.11.3-r2.ebuild} | 0
dev-python/scipy/{scipy-1.11.4.ebuild => scipy-1.11.4-r1.ebuild} | 0
dev-python/scipy/{scipy-1.12.0.ebuild => scipy-1.12.0-r1.ebuild} | 0
3 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/dev-python/scipy/scipy-1.11.3-r1.ebuild b/dev-python/scipy/scipy-1.11.3-r2.ebuild
similarity index 100%
rename from dev-python/scipy/scipy-1.11.3-r1.ebuild
rename to dev-python/scipy/scipy-1.11.3-r2.ebuild
diff --git a/dev-python/scipy/scipy-1.11.4.ebuild b/dev-python/scipy/scipy-1.11.4-r1.ebuild
similarity index 100%
rename from dev-python/scipy/scipy-1.11.4.ebuild
rename to dev-python/scipy/scipy-1.11.4-r1.ebuild
diff --git a/dev-python/scipy/scipy-1.12.0.ebuild b/dev-python/scipy/scipy-1.12.0-r1.ebuild
similarity index 100%
rename from dev-python/scipy/scipy-1.12.0.ebuild
rename to dev-python/scipy/scipy-1.12.0-r1.ebuild
^ permalink raw reply [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2024-05-20 16:25 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2024-05-20 16:25 UTC (permalink / raw
To: gentoo-commits
commit: 0977dbe3190333d7c67ef8ad4d8c9d2f2e7db5e9
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon May 20 16:22:37 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon May 20 16:22:37 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0977dbe3
dev-python/scipy: drop 1.13.0_rc1
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/Manifest | 1 -
dev-python/scipy/scipy-1.13.0_rc1.ebuild | 155 -------------------------------
2 files changed, 156 deletions(-)
diff --git a/dev-python/scipy/Manifest b/dev-python/scipy/Manifest
index bb6e121a9ffd..e85df05734f7 100644
--- a/dev-python/scipy/Manifest
+++ b/dev-python/scipy/Manifest
@@ -2,7 +2,6 @@ DIST scipy-1.11.3.tar.gz 56335652 BLAKE2B 2b35c24522b2bd498b4ebe84a854c8ec1e6291
DIST scipy-1.11.4.tar.gz 56336202 BLAKE2B a2091a1edb54eb73c2de6ed8c62a7e571f37b247c9af50947aa97b739342c96b87b20a82b1a238c859fa532c84249cbadde228366dcea3555e9a506c1ae55031 SHA512 2eb403f6de9723b411d948b8e1b5457078704c605b8e760d42362c82d802e167eaaf701ddb8b480af2bdf2efe4dbf66fcc4e97321519bb8dab19b0e2a8976beb
DIST scipy-1.12.0.tar.gz 56811768 BLAKE2B 03c142274f1466747935fa54fab427f3a48c1642406211fa1a0f8ad5e0f194baecf76182e0448a0fb647063871483239cd876ce431cd9406e396e6170912ab64 SHA512 376ed94c4caaf782814bb07047fff0b363f7b608a0399697c6e862432333cbe6d3abb351730a574a3f077b3cdd9cb7474090a460baffcfbd5546bcfee309b6e7
DIST scipy-1.13.0.tar.gz 57204550 BLAKE2B cfbb4e76efae952854e9ff4ed254e9819b58d224906e1ded3c6a914b1e28b5fad15f8bbbb4a9c413969d6e4b1faf4e0038a36729171ff06e640b241a9dd4af94 SHA512 9bd6fd3f76742a07e5bb003edf4c0e3a82edf749077502fbce3d16fe595d455846edcf57db12ec0a9d4792803e974355362d919047414badfcaededf1e4343f7
-DIST scipy-1.13.0rc1.tar.gz 57201979 BLAKE2B 0e257dbe3707b373045eef21384f64847017ffd281e41acb4358e90fec7be5983462849fb199e0bf2ae7944d2a1511c181bd4b1d0ba01f8691062fb9fdebd689 SHA512 de03fdd61bde610bebe7ede8ef22c72e2f65f68e3584b70069b59539a1453a0f1b34baa065ff3cbcb109d3e9a02c705a964116ca11d85700c58ad094772962e2
DIST scipy-html-1.11.0.zip 50421508 BLAKE2B cb5e4a4f8817a80f54ae73b4a47ba22d2438df46ebfe27ef5fdc2695fdd983226f4ccae925bf82b15d01ced4f4b6807384ecadac5e1aa7700aa887ad06b7d065 SHA512 33718bbd5e828687d93fccc441a53b6a2e8f54ac4952d3b69d4c4668f55cb6ef5aba33df9acda20b2400effa5ae71767b2a5602a365ad2045a6edd24ff89c253
DIST scipy-html-1.11.2.zip 50435722 BLAKE2B 460c67509a8bf50986f866ee2f90e634af21ddd71508efeef5681c2ee2130c3f79b4b428bc21277bfb310bb45ccad1fb38221ada43620055377cdc4839b9d1e5 SHA512 986a6e37f9e01dc4925ef22af6ff660bae1e4b66e57270262974c207dfb70285e3f8f548774d6e81d5f457b9198c0ba1c06e6d689fe5d54fdea878c1e5a7f797
DIST scipy-html-1.13.0.zip 65327245 BLAKE2B 5e5ffbf4ff4a28c5a003da0e5170ef5eef1b430ecca0284a89aed5f96f7afc549db001beb2e56b3debbd3527c57b773b25c35579b32d8a6d8e5e97a75db4d38b SHA512 792c32f077d76d47e42d02c5047990a6afdcdc9c31dcc7e9987e7a5aa62c56aec44dcf7d14e3f94ae59f8fb718ce89a2835b87d2aef7a16ce9a534361b7329d7
diff --git a/dev-python/scipy/scipy-1.13.0_rc1.ebuild b/dev-python/scipy/scipy-1.13.0_rc1.ebuild
deleted file mode 100644
index 112b769a910a..000000000000
--- a/dev-python/scipy/scipy-1.13.0_rc1.ebuild
+++ /dev/null
@@ -1,155 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-FORTRAN_NEEDED=fortran
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=meson-python
-PYTHON_COMPAT=( pypy3 python3_{10..12} )
-PYTHON_REQ_USE="threads(+)"
-
-inherit flag-o-matic fortran-2 distutils-r1
-
-DESCRIPTION="Scientific algorithms library for Python"
-HOMEPAGE="
- https://scipy.org/
- https://github.com/scipy/scipy/
- https://pypi.org/project/scipy/
-"
-
-if [[ ${PV} == *9999* ]] ; then
- inherit git-r3
-
- # Need submodules, so git for now.
- EGIT_REPO_URI="https://github.com/scipy/scipy"
- EGIT_BRANCH="maintenance/$(ver_cut 1-2).x"
- EGIT_SUBMODULES=( '*' )
-else
- inherit pypi
-
- # Upstream is often behind with doc updates
- #DOC_PV=${PV}
- DOC_PV=1.11.2
-
- SRC_URI+="
- doc? (
- https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip
- )"
-
- if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
- fi
-fi
-
-LICENSE="BSD LGPL-2"
-SLOT="0"
-IUSE="doc +fortran test-rust"
-
-# umfpack is technically optional but it's preferred to have it available.
-DEPEND="
- >=dev-python/numpy-1.22.4:=[lapack,${PYTHON_USEDEP}]
- sci-libs/arpack:=
- sci-libs/umfpack
- virtual/cblas
- >=virtual/lapack-3.8
-"
-RDEPEND="
- ${DEPEND}
- dev-python/pillow[${PYTHON_USEDEP}]
-"
-BDEPEND="
- dev-lang/swig
- >=dev-python/cython-3.0.8[${PYTHON_USEDEP}]
- >=dev-python/meson-python-0.15.0[${PYTHON_USEDEP}]
- >=dev-python/pybind11-2.10.4[${PYTHON_USEDEP}]
- >=dev-build/meson-1.1.0
- !kernel_Darwin? ( dev-util/patchelf )
- virtual/pkgconfig
- doc? ( app-arch/unzip )
- fortran? ( >=dev-python/pythran-0.14.0[${PYTHON_USEDEP}] )
- test? (
- >=dev-python/hypothesis-6.30[${PYTHON_USEDEP}]
- )
- test-rust? (
- dev-python/pooch[${PYTHON_USEDEP}]
- )
-"
-
-EPYTEST_XDIST=1
-distutils_enable_tests pytest
-
-src_unpack() {
- default
-
- if use doc; then
- unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die
- fi
-}
-
-python_configure_all() {
- # https://github.com/scipy/scipy/pull/19857
- # Fixed in 1.13.0
- filter-lto
- DISTUTILS_ARGS=(
- -Dblas=blas
- -Dlapack=lapack
- -Duse-pythran=$(usex fortran true false)
- )
-}
-
-python_test() {
- cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
-
- local EPYTEST_DESELECT=(
- # Network
- scipy/datasets/tests/test_data.py::TestDatasets::test_existence_all
- scipy/datasets/tests/test_data.py::TestDatasets::test_ascent
- scipy/datasets/tests/test_data.py::TestDatasets::test_face
- scipy/datasets/tests/test_data.py::TestDatasets::test_electrocardiogram
-
- # Precision issue with diff. blas?
- scipy/optimize/tests/test__basinhopping.py::Test_Metropolis::test_gh7799
-
- # Crashes with assertion, not a regression
- # https://github.com/scipy/scipy/issues/19321
- scipy/signal/tests/test_signaltools.py::test_lfilter_bad_object
-
- # timeouts
- scipy/sparse/linalg/tests/test_propack.py::test_examples
- # hang or incredibly slow
- scipy/optimize/tests/test_lsq_linear.py::TestBVLS::test_large_rank_deficient
- scipy/optimize/tests/test_lsq_linear.py::TestTRF::test_large_rank_deficient
-
- # TODO
- scipy/optimize/tests/test_minimize_constrained.py::TestTrustRegionConstr::test_list_of_problems
- )
- local EPYTEST_IGNORE=()
-
- if ! has_version -b "dev-python/pooch[${PYTHON_USEDEP}]" ; then
- EPYTEST_IGNORE+=(
- scipy/datasets/tests/test_data.py
- )
- fi
-
- case ${EPYTHON} in
- pypy3)
- EPYTEST_DESELECT+=(
- # fd leaks in tests
- # https://github.com/scipy/scipy/issues/19553
- scipy/fft/_pocketfft/tests/test_real_transforms.py
- # TODO
- 'scipy/special/tests/test_data.py::test_boost[<Data for expi: expinti_data_long_ipp-expinti_data_long>]'
- )
- ;;
- esac
-
- local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
- epytest scipy
-}
-
-python_install_all() {
- use doc && local HTML_DOCS=( "${WORKDIR}"/html/. )
-
- distutils-r1_python_install_all
-}
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2024-04-03 18:51 Michał Górny
0 siblings, 0 replies; 209+ messages in thread
From: Michał Górny @ 2024-04-03 18:51 UTC (permalink / raw
To: gentoo-commits
commit: 4f4b142db2feab8ce890134c04875e04e11423de
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 3 18:16:23 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Apr 3 18:51:04 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f4b142d
dev-python/scipy: Use := slot op for numpy dep
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/scipy-1.11.3-r1.ebuild | 2 +-
dev-python/scipy/scipy-1.11.4.ebuild | 2 +-
dev-python/scipy/scipy-1.12.0.ebuild | 2 +-
dev-python/scipy/scipy-1.13.0_rc1.ebuild | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dev-python/scipy/scipy-1.11.3-r1.ebuild b/dev-python/scipy/scipy-1.11.3-r1.ebuild
index 53cfef682124..ada4553734a9 100644
--- a/dev-python/scipy/scipy-1.11.3-r1.ebuild
+++ b/dev-python/scipy/scipy-1.11.3-r1.ebuild
@@ -48,7 +48,7 @@ IUSE="doc +fortran test-rust"
# umfpack is technically optional but it's preferred to have it available.
DEPEND="
- >=dev-python/numpy-1.21.6[lapack,${PYTHON_USEDEP}]
+ >=dev-python/numpy-1.21.6:=[lapack,${PYTHON_USEDEP}]
sci-libs/arpack:=
sci-libs/umfpack
virtual/cblas
diff --git a/dev-python/scipy/scipy-1.11.4.ebuild b/dev-python/scipy/scipy-1.11.4.ebuild
index 9d60b95cd5e7..57a88fe87cf2 100644
--- a/dev-python/scipy/scipy-1.11.4.ebuild
+++ b/dev-python/scipy/scipy-1.11.4.ebuild
@@ -48,7 +48,7 @@ IUSE="doc +fortran test-rust"
# umfpack is technically optional but it's preferred to have it available.
DEPEND="
- >=dev-python/numpy-1.21.6[lapack,${PYTHON_USEDEP}]
+ >=dev-python/numpy-1.21.6:=[lapack,${PYTHON_USEDEP}]
sci-libs/arpack:=
sci-libs/umfpack
virtual/cblas
diff --git a/dev-python/scipy/scipy-1.12.0.ebuild b/dev-python/scipy/scipy-1.12.0.ebuild
index 6a3f615da136..d3dff15df08b 100644
--- a/dev-python/scipy/scipy-1.12.0.ebuild
+++ b/dev-python/scipy/scipy-1.12.0.ebuild
@@ -48,7 +48,7 @@ IUSE="doc +fortran test-rust"
# umfpack is technically optional but it's preferred to have it available.
DEPEND="
- >=dev-python/numpy-1.21.6[lapack,${PYTHON_USEDEP}]
+ >=dev-python/numpy-1.21.6:=[lapack,${PYTHON_USEDEP}]
sci-libs/arpack:=
sci-libs/umfpack
virtual/cblas
diff --git a/dev-python/scipy/scipy-1.13.0_rc1.ebuild b/dev-python/scipy/scipy-1.13.0_rc1.ebuild
index 37560902441b..112b769a910a 100644
--- a/dev-python/scipy/scipy-1.13.0_rc1.ebuild
+++ b/dev-python/scipy/scipy-1.13.0_rc1.ebuild
@@ -48,7 +48,7 @@ IUSE="doc +fortran test-rust"
# umfpack is technically optional but it's preferred to have it available.
DEPEND="
- >=dev-python/numpy-1.22.4[lapack,${PYTHON_USEDEP}]
+ >=dev-python/numpy-1.22.4:=[lapack,${PYTHON_USEDEP}]
sci-libs/arpack:=
sci-libs/umfpack
virtual/cblas
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2024-03-20 12:50 Michał Górny
0 siblings, 0 replies; 209+ messages in thread
From: Michał Górny @ 2024-03-20 12:50 UTC (permalink / raw
To: gentoo-commits
commit: b12daea1ac0483c737c21903be9d5b7aa7524b38
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 20 06:05:04 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Mar 20 12:50:25 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b12daea1
dev-python/scipy: Bump to 1.13.0_rc1
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/Manifest | 1 +
dev-python/scipy/scipy-1.13.0_rc1.ebuild | 155 +++++++++++++++++++++++++++++++
2 files changed, 156 insertions(+)
diff --git a/dev-python/scipy/Manifest b/dev-python/scipy/Manifest
index 152814475f62..b4d0a815a2b8 100644
--- a/dev-python/scipy/Manifest
+++ b/dev-python/scipy/Manifest
@@ -1,5 +1,6 @@
DIST scipy-1.11.3.tar.gz 56335652 BLAKE2B 2b35c24522b2bd498b4ebe84a854c8ec1e62917e7b899b3e3526abb9780c1e56f8e776a3bb1eab1bedb17a273fac881e5ffdaac808084a4f5a5f97428bff1029 SHA512 6491c4e479d9f4f02e677396a25ddca947a0dc6c009fc2ec34c658012a6224c0b535f14045bb011fbde9973ea987d184574ed64e6760c31798ec860eb0896fcf
DIST scipy-1.11.4.tar.gz 56336202 BLAKE2B a2091a1edb54eb73c2de6ed8c62a7e571f37b247c9af50947aa97b739342c96b87b20a82b1a238c859fa532c84249cbadde228366dcea3555e9a506c1ae55031 SHA512 2eb403f6de9723b411d948b8e1b5457078704c605b8e760d42362c82d802e167eaaf701ddb8b480af2bdf2efe4dbf66fcc4e97321519bb8dab19b0e2a8976beb
DIST scipy-1.12.0.tar.gz 56811768 BLAKE2B 03c142274f1466747935fa54fab427f3a48c1642406211fa1a0f8ad5e0f194baecf76182e0448a0fb647063871483239cd876ce431cd9406e396e6170912ab64 SHA512 376ed94c4caaf782814bb07047fff0b363f7b608a0399697c6e862432333cbe6d3abb351730a574a3f077b3cdd9cb7474090a460baffcfbd5546bcfee309b6e7
+DIST scipy-1.13.0rc1.tar.gz 57201979 BLAKE2B 0e257dbe3707b373045eef21384f64847017ffd281e41acb4358e90fec7be5983462849fb199e0bf2ae7944d2a1511c181bd4b1d0ba01f8691062fb9fdebd689 SHA512 de03fdd61bde610bebe7ede8ef22c72e2f65f68e3584b70069b59539a1453a0f1b34baa065ff3cbcb109d3e9a02c705a964116ca11d85700c58ad094772962e2
DIST scipy-html-1.11.0.zip 50421508 BLAKE2B cb5e4a4f8817a80f54ae73b4a47ba22d2438df46ebfe27ef5fdc2695fdd983226f4ccae925bf82b15d01ced4f4b6807384ecadac5e1aa7700aa887ad06b7d065 SHA512 33718bbd5e828687d93fccc441a53b6a2e8f54ac4952d3b69d4c4668f55cb6ef5aba33df9acda20b2400effa5ae71767b2a5602a365ad2045a6edd24ff89c253
DIST scipy-html-1.11.2.zip 50435722 BLAKE2B 460c67509a8bf50986f866ee2f90e634af21ddd71508efeef5681c2ee2130c3f79b4b428bc21277bfb310bb45ccad1fb38221ada43620055377cdc4839b9d1e5 SHA512 986a6e37f9e01dc4925ef22af6ff660bae1e4b66e57270262974c207dfb70285e3f8f548774d6e81d5f457b9198c0ba1c06e6d689fe5d54fdea878c1e5a7f797
diff --git a/dev-python/scipy/scipy-1.13.0_rc1.ebuild b/dev-python/scipy/scipy-1.13.0_rc1.ebuild
new file mode 100644
index 000000000000..37560902441b
--- /dev/null
+++ b/dev-python/scipy/scipy-1.13.0_rc1.ebuild
@@ -0,0 +1,155 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FORTRAN_NEEDED=fortran
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=meson-python
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit flag-o-matic fortran-2 distutils-r1
+
+DESCRIPTION="Scientific algorithms library for Python"
+HOMEPAGE="
+ https://scipy.org/
+ https://github.com/scipy/scipy/
+ https://pypi.org/project/scipy/
+"
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+
+ # Need submodules, so git for now.
+ EGIT_REPO_URI="https://github.com/scipy/scipy"
+ EGIT_BRANCH="maintenance/$(ver_cut 1-2).x"
+ EGIT_SUBMODULES=( '*' )
+else
+ inherit pypi
+
+ # Upstream is often behind with doc updates
+ #DOC_PV=${PV}
+ DOC_PV=1.11.2
+
+ SRC_URI+="
+ doc? (
+ https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip
+ )"
+
+ if [[ ${PV} != *rc* ]] ; then
+ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+ fi
+fi
+
+LICENSE="BSD LGPL-2"
+SLOT="0"
+IUSE="doc +fortran test-rust"
+
+# umfpack is technically optional but it's preferred to have it available.
+DEPEND="
+ >=dev-python/numpy-1.22.4[lapack,${PYTHON_USEDEP}]
+ sci-libs/arpack:=
+ sci-libs/umfpack
+ virtual/cblas
+ >=virtual/lapack-3.8
+"
+RDEPEND="
+ ${DEPEND}
+ dev-python/pillow[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-lang/swig
+ >=dev-python/cython-3.0.8[${PYTHON_USEDEP}]
+ >=dev-python/meson-python-0.15.0[${PYTHON_USEDEP}]
+ >=dev-python/pybind11-2.10.4[${PYTHON_USEDEP}]
+ >=dev-build/meson-1.1.0
+ !kernel_Darwin? ( dev-util/patchelf )
+ virtual/pkgconfig
+ doc? ( app-arch/unzip )
+ fortran? ( >=dev-python/pythran-0.14.0[${PYTHON_USEDEP}] )
+ test? (
+ >=dev-python/hypothesis-6.30[${PYTHON_USEDEP}]
+ )
+ test-rust? (
+ dev-python/pooch[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+src_unpack() {
+ default
+
+ if use doc; then
+ unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die
+ fi
+}
+
+python_configure_all() {
+ # https://github.com/scipy/scipy/pull/19857
+ # Fixed in 1.13.0
+ filter-lto
+ DISTUTILS_ARGS=(
+ -Dblas=blas
+ -Dlapack=lapack
+ -Duse-pythran=$(usex fortran true false)
+ )
+}
+
+python_test() {
+ cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
+
+ local EPYTEST_DESELECT=(
+ # Network
+ scipy/datasets/tests/test_data.py::TestDatasets::test_existence_all
+ scipy/datasets/tests/test_data.py::TestDatasets::test_ascent
+ scipy/datasets/tests/test_data.py::TestDatasets::test_face
+ scipy/datasets/tests/test_data.py::TestDatasets::test_electrocardiogram
+
+ # Precision issue with diff. blas?
+ scipy/optimize/tests/test__basinhopping.py::Test_Metropolis::test_gh7799
+
+ # Crashes with assertion, not a regression
+ # https://github.com/scipy/scipy/issues/19321
+ scipy/signal/tests/test_signaltools.py::test_lfilter_bad_object
+
+ # timeouts
+ scipy/sparse/linalg/tests/test_propack.py::test_examples
+ # hang or incredibly slow
+ scipy/optimize/tests/test_lsq_linear.py::TestBVLS::test_large_rank_deficient
+ scipy/optimize/tests/test_lsq_linear.py::TestTRF::test_large_rank_deficient
+
+ # TODO
+ scipy/optimize/tests/test_minimize_constrained.py::TestTrustRegionConstr::test_list_of_problems
+ )
+ local EPYTEST_IGNORE=()
+
+ if ! has_version -b "dev-python/pooch[${PYTHON_USEDEP}]" ; then
+ EPYTEST_IGNORE+=(
+ scipy/datasets/tests/test_data.py
+ )
+ fi
+
+ case ${EPYTHON} in
+ pypy3)
+ EPYTEST_DESELECT+=(
+ # fd leaks in tests
+ # https://github.com/scipy/scipy/issues/19553
+ scipy/fft/_pocketfft/tests/test_real_transforms.py
+ # TODO
+ 'scipy/special/tests/test_data.py::test_boost[<Data for expi: expinti_data_long_ipp-expinti_data_long>]'
+ )
+ ;;
+ esac
+
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest scipy
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( "${WORKDIR}"/html/. )
+
+ distutils-r1_python_install_all
+}
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2024-02-08 17:10 Arthur Zamarin
0 siblings, 0 replies; 209+ messages in thread
From: Arthur Zamarin @ 2024-02-08 17:10 UTC (permalink / raw
To: gentoo-commits
commit: f2b5f69d650fd9a94862449a93d326feac225b5a
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 8 17:10:43 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Feb 8 17:10:43 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2b5f69d
dev-python/scipy: Stabilize 1.12.0 arm64, #924078
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/scipy/scipy-1.12.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.12.0.ebuild b/dev-python/scipy/scipy-1.12.0.ebuild
index d5cef8fcf276..ccfd4aa102f7 100644
--- a/dev-python/scipy/scipy-1.12.0.ebuild
+++ b/dev-python/scipy/scipy-1.12.0.ebuild
@@ -38,7 +38,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+ KEYWORDS="~amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2024-02-08 15:28 Michał Górny
0 siblings, 0 replies; 209+ messages in thread
From: Michał Górny @ 2024-02-08 15:28 UTC (permalink / raw
To: gentoo-commits
commit: 4045cd2bcd8fdcf58af62edf7bcbad4138a9c09d
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 8 15:28:20 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Feb 8 15:28:42 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4045cd2b
dev-python/scipy: Stabilize 1.12.0 arm, #924078
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/scipy-1.12.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.12.0.ebuild b/dev-python/scipy/scipy-1.12.0.ebuild
index 2a9cb0843716..d5cef8fcf276 100644
--- a/dev-python/scipy/scipy-1.12.0.ebuild
+++ b/dev-python/scipy/scipy-1.12.0.ebuild
@@ -38,7 +38,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+ KEYWORDS="~amd64 arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2024-01-21 6:21 Michał Górny
0 siblings, 0 replies; 209+ messages in thread
From: Michał Górny @ 2024-01-21 6:21 UTC (permalink / raw
To: gentoo-commits
commit: 51b3613ac012cc1d4dba3fff5b6b96ede4869aab
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 21 05:06:22 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jan 21 06:21:37 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51b3613a
dev-python/scipy: Bump to 1.12.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/Manifest | 1 +
dev-python/scipy/scipy-1.12.0.ebuild | 151 +++++++++++++++++++++++++++++++++++
2 files changed, 152 insertions(+)
diff --git a/dev-python/scipy/Manifest b/dev-python/scipy/Manifest
index 6ec7c7daf817..152814475f62 100644
--- a/dev-python/scipy/Manifest
+++ b/dev-python/scipy/Manifest
@@ -1,4 +1,5 @@
DIST scipy-1.11.3.tar.gz 56335652 BLAKE2B 2b35c24522b2bd498b4ebe84a854c8ec1e62917e7b899b3e3526abb9780c1e56f8e776a3bb1eab1bedb17a273fac881e5ffdaac808084a4f5a5f97428bff1029 SHA512 6491c4e479d9f4f02e677396a25ddca947a0dc6c009fc2ec34c658012a6224c0b535f14045bb011fbde9973ea987d184574ed64e6760c31798ec860eb0896fcf
DIST scipy-1.11.4.tar.gz 56336202 BLAKE2B a2091a1edb54eb73c2de6ed8c62a7e571f37b247c9af50947aa97b739342c96b87b20a82b1a238c859fa532c84249cbadde228366dcea3555e9a506c1ae55031 SHA512 2eb403f6de9723b411d948b8e1b5457078704c605b8e760d42362c82d802e167eaaf701ddb8b480af2bdf2efe4dbf66fcc4e97321519bb8dab19b0e2a8976beb
+DIST scipy-1.12.0.tar.gz 56811768 BLAKE2B 03c142274f1466747935fa54fab427f3a48c1642406211fa1a0f8ad5e0f194baecf76182e0448a0fb647063871483239cd876ce431cd9406e396e6170912ab64 SHA512 376ed94c4caaf782814bb07047fff0b363f7b608a0399697c6e862432333cbe6d3abb351730a574a3f077b3cdd9cb7474090a460baffcfbd5546bcfee309b6e7
DIST scipy-html-1.11.0.zip 50421508 BLAKE2B cb5e4a4f8817a80f54ae73b4a47ba22d2438df46ebfe27ef5fdc2695fdd983226f4ccae925bf82b15d01ced4f4b6807384ecadac5e1aa7700aa887ad06b7d065 SHA512 33718bbd5e828687d93fccc441a53b6a2e8f54ac4952d3b69d4c4668f55cb6ef5aba33df9acda20b2400effa5ae71767b2a5602a365ad2045a6edd24ff89c253
DIST scipy-html-1.11.2.zip 50435722 BLAKE2B 460c67509a8bf50986f866ee2f90e634af21ddd71508efeef5681c2ee2130c3f79b4b428bc21277bfb310bb45ccad1fb38221ada43620055377cdc4839b9d1e5 SHA512 986a6e37f9e01dc4925ef22af6ff660bae1e4b66e57270262974c207dfb70285e3f8f548774d6e81d5f457b9198c0ba1c06e6d689fe5d54fdea878c1e5a7f797
diff --git a/dev-python/scipy/scipy-1.12.0.ebuild b/dev-python/scipy/scipy-1.12.0.ebuild
new file mode 100644
index 000000000000..2a9cb0843716
--- /dev/null
+++ b/dev-python/scipy/scipy-1.12.0.ebuild
@@ -0,0 +1,151 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FORTRAN_NEEDED=fortran
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=meson-python
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit flag-o-matic fortran-2 distutils-r1
+
+DESCRIPTION="Scientific algorithms library for Python"
+HOMEPAGE="
+ https://scipy.org/
+ https://github.com/scipy/scipy/
+ https://pypi.org/project/scipy/
+"
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+
+ # Need submodules, so git for now.
+ EGIT_REPO_URI="https://github.com/scipy/scipy"
+ EGIT_BRANCH="maintenance/$(ver_cut 1-2).x"
+ EGIT_SUBMODULES=( '*' )
+else
+ inherit pypi
+
+ # Upstream is often behind with doc updates
+ #DOC_PV=${PV}
+ DOC_PV=1.11.2
+
+ SRC_URI+="
+ doc? (
+ https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip
+ )"
+
+ if [[ ${PV} != *rc* ]] ; then
+ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+ fi
+fi
+
+LICENSE="BSD LGPL-2"
+SLOT="0"
+IUSE="doc +fortran test-rust"
+
+# umfpack is technically optional but it's preferred to have it available.
+DEPEND="
+ >=dev-python/numpy-1.21.6[lapack,${PYTHON_USEDEP}]
+ sci-libs/arpack:=
+ sci-libs/umfpack
+ virtual/cblas
+ >=virtual/lapack-3.8
+"
+RDEPEND="
+ ${DEPEND}
+ dev-python/pillow[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-lang/swig
+ >=dev-python/cython-0.29.35[${PYTHON_USEDEP}]
+ >=dev-python/meson-python-0.12.1[${PYTHON_USEDEP}]
+ >=dev-python/pybind11-2.10.4[${PYTHON_USEDEP}]
+ >=dev-build/meson-1.1.0
+ !kernel_Darwin? ( dev-util/patchelf )
+ virtual/pkgconfig
+ doc? ( app-arch/unzip )
+ fortran? ( dev-python/pythran[${PYTHON_USEDEP}] )
+ test? (
+ dev-python/hypothesis[${PYTHON_USEDEP}]
+ )
+ test-rust? (
+ dev-python/pooch[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+src_unpack() {
+ default
+
+ if use doc; then
+ unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die
+ fi
+}
+
+python_configure_all() {
+ # https://github.com/scipy/scipy/pull/19857
+ # Fixed in 1.13.0
+ filter-lto
+ DISTUTILS_ARGS=(
+ -Dblas=blas
+ -Dlapack=lapack
+ -Duse-pythran=$(usex fortran true false)
+ )
+}
+
+python_test() {
+ cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
+
+ local EPYTEST_DESELECT=(
+ # Network
+ scipy/datasets/tests/test_data.py::TestDatasets::test_existence_all
+ scipy/datasets/tests/test_data.py::TestDatasets::test_ascent
+ scipy/datasets/tests/test_data.py::TestDatasets::test_face
+ scipy/datasets/tests/test_data.py::TestDatasets::test_electrocardiogram
+
+ # Precision issue with diff. blas?
+ scipy/optimize/tests/test__basinhopping.py::Test_Metropolis::test_gh7799
+
+ # Crashes with assertion, not a regression
+ # https://github.com/scipy/scipy/issues/19321
+ scipy/signal/tests/test_signaltools.py::test_lfilter_bad_object
+
+ # timeouts
+ scipy/sparse/linalg/tests/test_propack.py::test_examples
+ # hang or incredibly slow
+ scipy/optimize/tests/test_lsq_linear.py::TestBVLS::test_large_rank_deficient
+ scipy/optimize/tests/test_lsq_linear.py::TestTRF::test_large_rank_deficient
+ )
+ local EPYTEST_IGNORE=()
+
+ if ! has_version -b "dev-python/pooch[${PYTHON_USEDEP}]" ; then
+ EPYTEST_IGNORE+=(
+ scipy/datasets/tests/test_data.py
+ )
+ fi
+
+ case ${EPYTHON} in
+ pypy3)
+ EPYTEST_DESELECT+=(
+ # fd leaks in tests
+ # https://github.com/scipy/scipy/issues/19553
+ scipy/fft/_pocketfft/tests/test_real_transforms.py
+ # TODO
+ 'scipy/special/tests/test_data.py::test_boost[<Data for expi: expinti_data_long_ipp-expinti_data_long>]'
+ )
+ ;;
+ esac
+
+ epytest scipy
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( "${WORKDIR}"/html/. )
+
+ distutils-r1_python_install_all
+}
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2024-01-16 5:47 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2024-01-16 5:47 UTC (permalink / raw
To: gentoo-commits
commit: 8c8e5446966b720e8c28d153932d801764dab28a
Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Tue Jan 16 05:18:55 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jan 16 05:47:45 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c8e5446
dev-python/scipy: filter LTO since it is unsafe
The underlying issue is really just a lot of old fortran code. Not all
compiled modules are actually LTO-unsafe. But handling this granularly
requires good cooperation with the build system. I handled this upstream
via https://github.com/scipy/scipy/pull/19857.
While we wait for scipy 1.13.0 to be released, prevent older scipy
versions from using LTO.
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.11.3-r1.ebuild | 5 ++++-
dev-python/scipy/scipy-1.11.4.ebuild | 5 ++++-
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/dev-python/scipy/scipy-1.11.3-r1.ebuild b/dev-python/scipy/scipy-1.11.3-r1.ebuild
index 9f68cd59364e..53cfef682124 100644
--- a/dev-python/scipy/scipy-1.11.3-r1.ebuild
+++ b/dev-python/scipy/scipy-1.11.3-r1.ebuild
@@ -9,7 +9,7 @@ DISTUTILS_USE_PEP517=meson-python
PYTHON_COMPAT=( pypy3 python3_{10..12} )
PYTHON_REQ_USE="threads(+)"
-inherit fortran-2 distutils-r1 multiprocessing
+inherit flag-o-matic fortran-2 distutils-r1 multiprocessing
DESCRIPTION="Scientific algorithms library for Python"
HOMEPAGE="
@@ -87,6 +87,9 @@ src_unpack() {
}
python_configure_all() {
+ # https://github.com/scipy/scipy/pull/19857
+ # Fixed in 1.13.0
+ filter-lto
DISTUTILS_ARGS=(
-Dblas=blas
-Dlapack=lapack
diff --git a/dev-python/scipy/scipy-1.11.4.ebuild b/dev-python/scipy/scipy-1.11.4.ebuild
index eb69b66541e5..9d60b95cd5e7 100644
--- a/dev-python/scipy/scipy-1.11.4.ebuild
+++ b/dev-python/scipy/scipy-1.11.4.ebuild
@@ -9,7 +9,7 @@ DISTUTILS_USE_PEP517=meson-python
PYTHON_COMPAT=( pypy3 python3_{10..12} )
PYTHON_REQ_USE="threads(+)"
-inherit fortran-2 distutils-r1 multiprocessing
+inherit flag-o-matic fortran-2 distutils-r1 multiprocessing
DESCRIPTION="Scientific algorithms library for Python"
HOMEPAGE="
@@ -87,6 +87,9 @@ src_unpack() {
}
python_configure_all() {
+ # https://github.com/scipy/scipy/pull/19857
+ # Fixed in 1.13.0
+ filter-lto
DISTUTILS_ARGS=(
-Dblas=blas
-Dlapack=lapack
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-12-09 17:02 Michał Górny
0 siblings, 0 replies; 209+ messages in thread
From: Michał Górny @ 2023-12-09 17:02 UTC (permalink / raw
To: gentoo-commits
commit: 58801d6be9fd75ef3aae601d3d0b3cc22c9ae046
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 9 16:58:38 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Dec 9 17:02:24 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58801d6b
dev-python/scipy: Remove old
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/Manifest | 5 --
dev-python/scipy/scipy-1.10.1.ebuild | 121 -----------------------------
dev-python/scipy/scipy-1.11.0-r1.ebuild | 128 -------------------------------
dev-python/scipy/scipy-1.11.1.ebuild | 130 --------------------------------
dev-python/scipy/scipy-1.11.2.ebuild | 125 ------------------------------
dev-python/scipy/scipy-1.11.3.ebuild | 129 -------------------------------
6 files changed, 638 deletions(-)
diff --git a/dev-python/scipy/Manifest b/dev-python/scipy/Manifest
index 456596767a77..6ec7c7daf817 100644
--- a/dev-python/scipy/Manifest
+++ b/dev-python/scipy/Manifest
@@ -1,9 +1,4 @@
-DIST scipy-1.10.1.tar.gz 42407997 BLAKE2B 807dceb1e056a1a2c0ec354e4e21f64e59cdab9eaf286cec3783bb93bf80efa00a71e7bd8d1898e8a2fdf86b614f035a0a97436dc4515574d73d9d4521824316 SHA512 767e1dee6285d98e4d58d8d8d1e3654b00e3216e9ad55455fc9473f1d044bef80ecce749bcd24d8f331367b882c9c3e6b652a6e901bb4296ddc7cc44699215b6
-DIST scipy-1.11.0.tar.gz 56030121 BLAKE2B e700bf8f9cffa7bc0f4832722010dcf2e03d8f93d13534f7f85734394c02536c1427cae5a097b59616f0873ba941579fcf2efd0baafc2037d9eca1f93362d38b SHA512 248cfbbedba73925b0461bf0f96c4a11bd4cfc7849cb18c58f6405074796ab0efdc4f056c58d344cb8833c0d2c6425f84e7ac6fe958cf98b1cc0bf16e7ff2444
-DIST scipy-1.11.1.tar.gz 56031509 BLAKE2B 456a80103f8c31c456f80e06b25d765f7ad5655dbdd49e99f476e78273f4291c578a8e99fda3f3a1e848c0e75e08629a09a8146b4a798e85edcaffb7ed1d34a9 SHA512 2859fc73c4fef713497f450b76a57d274bb46477a08ac909714823225f065a13c1e42a61ce67575cfc475e1e4612090cc4ca0920411fe32370c5b5c476352f97
-DIST scipy-1.11.2.tar.gz 56045065 BLAKE2B c92a27ef7b560c17bea7dbbc5ca7e192cc7ee8297b65887c3bad50509cca0f83314b688e8c9ef14228c7891e4c16e9d45920de7cb39a0456c7712ae752839203 SHA512 f6902d48617827d01f69c057f3c4790c7388bc58df0791ade96e073740253bc0529475f9fc22d00c23c0b649acaeb820792528d3805d0ac68588c329aa87b3f2
DIST scipy-1.11.3.tar.gz 56335652 BLAKE2B 2b35c24522b2bd498b4ebe84a854c8ec1e62917e7b899b3e3526abb9780c1e56f8e776a3bb1eab1bedb17a273fac881e5ffdaac808084a4f5a5f97428bff1029 SHA512 6491c4e479d9f4f02e677396a25ddca947a0dc6c009fc2ec34c658012a6224c0b535f14045bb011fbde9973ea987d184574ed64e6760c31798ec860eb0896fcf
DIST scipy-1.11.4.tar.gz 56336202 BLAKE2B a2091a1edb54eb73c2de6ed8c62a7e571f37b247c9af50947aa97b739342c96b87b20a82b1a238c859fa532c84249cbadde228366dcea3555e9a506c1ae55031 SHA512 2eb403f6de9723b411d948b8e1b5457078704c605b8e760d42362c82d802e167eaaf701ddb8b480af2bdf2efe4dbf66fcc4e97321519bb8dab19b0e2a8976beb
-DIST scipy-html-1.10.1.zip 49191107 BLAKE2B 5163ae3a62745992bcf94ab02ca2bb13fcf6d2ae0eb2a113ba29bc37a8e8f40ec70e39fe16e6371ce0bc31d4c8f0f46746be91b4fe2ad41c68a985c6f00fb8e7 SHA512 f3252452d3bfd400890f29460de2f97bf72732e0fc864582e906b78808e856ead5b1bf97cba531f2150e396408e585499d127004231421d20108e96040316232
DIST scipy-html-1.11.0.zip 50421508 BLAKE2B cb5e4a4f8817a80f54ae73b4a47ba22d2438df46ebfe27ef5fdc2695fdd983226f4ccae925bf82b15d01ced4f4b6807384ecadac5e1aa7700aa887ad06b7d065 SHA512 33718bbd5e828687d93fccc441a53b6a2e8f54ac4952d3b69d4c4668f55cb6ef5aba33df9acda20b2400effa5ae71767b2a5602a365ad2045a6edd24ff89c253
DIST scipy-html-1.11.2.zip 50435722 BLAKE2B 460c67509a8bf50986f866ee2f90e634af21ddd71508efeef5681c2ee2130c3f79b4b428bc21277bfb310bb45ccad1fb38221ada43620055377cdc4839b9d1e5 SHA512 986a6e37f9e01dc4925ef22af6ff660bae1e4b66e57270262974c207dfb70285e3f8f548774d6e81d5f457b9198c0ba1c06e6d689fe5d54fdea878c1e5a7f797
diff --git a/dev-python/scipy/scipy-1.10.1.ebuild b/dev-python/scipy/scipy-1.10.1.ebuild
deleted file mode 100644
index cc4e3e27f9d9..000000000000
--- a/dev-python/scipy/scipy-1.10.1.ebuild
+++ /dev/null
@@ -1,121 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-FORTRAN_NEEDED=fortran
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=meson-python
-PYTHON_COMPAT=( python3_{9..11} )
-PYTHON_REQ_USE="threads(+)"
-
-inherit fortran-2 distutils-r1 multiprocessing
-
-DESCRIPTION="Scientific algorithms library for Python"
-HOMEPAGE="
- https://scipy.org/
- https://github.com/scipy/scipy/
- https://pypi.org/project/scipy/
-"
-
-if [[ ${PV} == *9999* ]] ; then
- inherit git-r3
-
- # Need submodules, so git for now.
- EGIT_REPO_URI="https://github.com/scipy/scipy"
- EGIT_BRANCH="maintenance/$(ver_cut 1-2).x"
- EGIT_SUBMODULES=( '*' )
-else
- inherit pypi
-
- # Upstream is often behind with doc updates
- DOC_PV=${PV}
-
- SRC_URI+="
- doc? (
- https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip
- )"
-
- if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="amd64 arm arm64 -hppa ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86"
- fi
-fi
-
-LICENSE="BSD LGPL-2"
-SLOT="0"
-IUSE="doc +fortran test-rust"
-
-# umfpack is technically optional but it's preferred to have it available.
-DEPEND="
- >=dev-python/numpy-1.19.5[lapack,${PYTHON_USEDEP}]
- sci-libs/arpack:=
- sci-libs/umfpack
- virtual/cblas
- >=virtual/lapack-3.8
-"
-RDEPEND="
- ${DEPEND}
- dev-python/pillow[${PYTHON_USEDEP}]
-"
-BDEPEND="
- dev-lang/swig
- >=dev-python/cython-0.29.18[${PYTHON_USEDEP}]
- >=dev-python/meson-python-0.11[${PYTHON_USEDEP}]
- dev-python/pybind11[${PYTHON_USEDEP}]
- >=dev-util/meson-0.62.2
- dev-util/patchelf
- virtual/pkgconfig
- doc? ( app-arch/unzip )
- fortran? ( dev-python/pythran[${PYTHON_USEDEP}] )
- test? (
- dev-python/pytest-xdist[${PYTHON_USEDEP}]
- )
- test-rust? (
- dev-python/pooch[${PYTHON_USEDEP}]
- )
-"
-
-distutils_enable_tests pytest
-
-src_unpack() {
- default
-
- if use doc; then
- unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die
- fi
-}
-
-python_configure_all() {
- export SCIPY_USE_PYTHRAN=$(usex fortran 1 0)
- DISTUTILS_ARGS=(
- -Dblas=blas
- -Dlapack=lapack
- )
-}
-
-python_test() {
- cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
-
- local EPYTEST_DESELECT=(
- # Network
- scipy/datasets/tests/test_data.py::TestDatasets::test_existence_all
- scipy/datasets/tests/test_data.py::TestDatasets::test_ascent
- scipy/datasets/tests/test_data.py::TestDatasets::test_face
- scipy/datasets/tests/test_data.py::TestDatasets::test_electrocardiogram
- )
- local EPYTEST_IGNORE=()
-
- if ! has_version -b "dev-python/pooch[${PYTHON_USEDEP}]" ; then
- EPYTEST_IGNORE+=(
- scipy/datasets/tests/test_data.py
- )
- fi
-
- epytest -n "$(makeopts_jobs)" scipy
-}
-
-python_install_all() {
- use doc && local HTML_DOCS=( "${WORKDIR}"/html/. )
-
- distutils-r1_python_install_all
-}
diff --git a/dev-python/scipy/scipy-1.11.0-r1.ebuild b/dev-python/scipy/scipy-1.11.0-r1.ebuild
deleted file mode 100644
index 8ec6a1291e42..000000000000
--- a/dev-python/scipy/scipy-1.11.0-r1.ebuild
+++ /dev/null
@@ -1,128 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-FORTRAN_NEEDED=fortran
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=meson-python
-PYTHON_COMPAT=( python3_{10..11} )
-PYTHON_REQ_USE="threads(+)"
-
-inherit fortran-2 distutils-r1 multiprocessing
-
-DESCRIPTION="Scientific algorithms library for Python"
-HOMEPAGE="
- https://scipy.org/
- https://github.com/scipy/scipy/
- https://pypi.org/project/scipy/
-"
-
-if [[ ${PV} == *9999* ]] ; then
- inherit git-r3
-
- # Need submodules, so git for now.
- EGIT_REPO_URI="https://github.com/scipy/scipy"
- EGIT_BRANCH="maintenance/$(ver_cut 1-2).x"
- EGIT_SUBMODULES=( '*' )
-else
- inherit pypi
-
- # Upstream is often behind with doc updates
- DOC_PV=${PV}
-
- SRC_URI+="
- doc? (
- https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip
- )"
-
- if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm ~arm64 -hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
- fi
-fi
-
-LICENSE="BSD LGPL-2"
-SLOT="0"
-IUSE="doc +fortran test-rust"
-
-# umfpack is technically optional but it's preferred to have it available.
-DEPEND="
- >=dev-python/numpy-1.21.6[lapack,${PYTHON_USEDEP}]
- sci-libs/arpack:=
- sci-libs/umfpack
- virtual/cblas
- >=virtual/lapack-3.8
-"
-RDEPEND="
- ${DEPEND}
- dev-python/pillow[${PYTHON_USEDEP}]
-"
-BDEPEND="
- dev-lang/swig
- >=dev-python/cython-0.29.35[${PYTHON_USEDEP}]
- >=dev-python/meson-python-0.12.1[${PYTHON_USEDEP}]
- >=dev-python/pybind11-2.10.4[${PYTHON_USEDEP}]
- >=dev-util/meson-1.1.0
- dev-util/patchelf
- virtual/pkgconfig
- doc? ( app-arch/unzip )
- fortran? ( dev-python/pythran[${PYTHON_USEDEP}] )
- test? (
- dev-python/pytest-xdist[${PYTHON_USEDEP}]
- )
- test-rust? (
- dev-python/pooch[${PYTHON_USEDEP}]
- )
-"
-
-distutils_enable_tests pytest
-
-PATCHES=(
- "${FILESDIR}"/${P}-determinant-1x1-matrix.patch
-)
-
-src_unpack() {
- default
-
- if use doc; then
- unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die
- fi
-}
-
-python_configure_all() {
- DISTUTILS_ARGS=(
- -Dblas=blas
- -Dlapack=lapack
- -Duse-pythran=$(usex fortran true false)
- )
-}
-
-python_test() {
- cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
-
- local EPYTEST_DESELECT=(
- # Network
- scipy/datasets/tests/test_data.py::TestDatasets::test_existence_all
- scipy/datasets/tests/test_data.py::TestDatasets::test_ascent
- scipy/datasets/tests/test_data.py::TestDatasets::test_face
- scipy/datasets/tests/test_data.py::TestDatasets::test_electrocardiogram
-
- # Precision issue with diff. blas?
- scipy/optimize/tests/test__basinhopping.py::Test_Metropolis::test_gh7799
- )
- local EPYTEST_IGNORE=()
-
- if ! has_version -b "dev-python/pooch[${PYTHON_USEDEP}]" ; then
- EPYTEST_IGNORE+=(
- scipy/datasets/tests/test_data.py
- )
- fi
-
- epytest -n "$(makeopts_jobs)" scipy
-}
-
-python_install_all() {
- use doc && local HTML_DOCS=( "${WORKDIR}"/html/. )
-
- distutils-r1_python_install_all
-}
diff --git a/dev-python/scipy/scipy-1.11.1.ebuild b/dev-python/scipy/scipy-1.11.1.ebuild
deleted file mode 100644
index 0675e02bafd4..000000000000
--- a/dev-python/scipy/scipy-1.11.1.ebuild
+++ /dev/null
@@ -1,130 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-FORTRAN_NEEDED=fortran
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=meson-python
-PYTHON_COMPAT=( python3_{10..11} )
-PYTHON_REQ_USE="threads(+)"
-
-inherit fortran-2 distutils-r1 multiprocessing
-
-DESCRIPTION="Scientific algorithms library for Python"
-HOMEPAGE="
- https://scipy.org/
- https://github.com/scipy/scipy/
- https://pypi.org/project/scipy/
-"
-
-if [[ ${PV} == *9999* ]] ; then
- inherit git-r3
-
- # Need submodules, so git for now.
- EGIT_REPO_URI="https://github.com/scipy/scipy"
- EGIT_BRANCH="maintenance/$(ver_cut 1-2).x"
- EGIT_SUBMODULES=( '*' )
-else
- inherit pypi
-
- # Upstream is often behind with doc updates
- #DOC_PV=${PV}
- DOC_PV=1.11.0
-
- SRC_URI+="
- doc? (
- https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip
- )"
-
- if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="amd64 arm arm64 -hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
- fi
-fi
-
-LICENSE="BSD LGPL-2"
-SLOT="0"
-IUSE="doc +fortran test-rust"
-
-# umfpack is technically optional but it's preferred to have it available.
-DEPEND="
- >=dev-python/numpy-1.21.6[lapack,${PYTHON_USEDEP}]
- sci-libs/arpack:=
- sci-libs/umfpack
- virtual/cblas
- >=virtual/lapack-3.8
-"
-RDEPEND="
- ${DEPEND}
- dev-python/pillow[${PYTHON_USEDEP}]
-"
-BDEPEND="
- dev-lang/swig
- >=dev-python/cython-0.29.35[${PYTHON_USEDEP}]
- >=dev-python/meson-python-0.12.1[${PYTHON_USEDEP}]
- >=dev-python/pybind11-2.10.4[${PYTHON_USEDEP}]
- >=dev-util/meson-1.1.0
- !kernel_Darwin? ( dev-util/patchelf )
- virtual/pkgconfig
- doc? ( app-arch/unzip )
- fortran? ( dev-python/pythran[${PYTHON_USEDEP}] )
- test? (
- dev-python/pytest-xdist[${PYTHON_USEDEP}]
- )
- test-rust? (
- dev-python/pooch[${PYTHON_USEDEP}]
- )
-"
-
-distutils_enable_tests pytest
-
-PATCHES=(
- # https://github.com/scipy/scipy/pull/18810
- "${FILESDIR}/${P}-cython-3.patch"
-)
-
-src_unpack() {
- default
-
- if use doc; then
- unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die
- fi
-}
-
-python_configure_all() {
- DISTUTILS_ARGS=(
- -Dblas=blas
- -Dlapack=lapack
- -Duse-pythran=$(usex fortran true false)
- )
-}
-
-python_test() {
- cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
-
- local EPYTEST_DESELECT=(
- # Network
- scipy/datasets/tests/test_data.py::TestDatasets::test_existence_all
- scipy/datasets/tests/test_data.py::TestDatasets::test_ascent
- scipy/datasets/tests/test_data.py::TestDatasets::test_face
- scipy/datasets/tests/test_data.py::TestDatasets::test_electrocardiogram
-
- # Precision issue with diff. blas?
- scipy/optimize/tests/test__basinhopping.py::Test_Metropolis::test_gh7799
- )
- local EPYTEST_IGNORE=()
-
- if ! has_version -b "dev-python/pooch[${PYTHON_USEDEP}]" ; then
- EPYTEST_IGNORE+=(
- scipy/datasets/tests/test_data.py
- )
- fi
-
- epytest -n "$(makeopts_jobs)" scipy
-}
-
-python_install_all() {
- use doc && local HTML_DOCS=( "${WORKDIR}"/html/. )
-
- distutils-r1_python_install_all
-}
diff --git a/dev-python/scipy/scipy-1.11.2.ebuild b/dev-python/scipy/scipy-1.11.2.ebuild
deleted file mode 100644
index 1adc79a3b009..000000000000
--- a/dev-python/scipy/scipy-1.11.2.ebuild
+++ /dev/null
@@ -1,125 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-FORTRAN_NEEDED=fortran
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=meson-python
-PYTHON_COMPAT=( python3_{10..11} )
-PYTHON_REQ_USE="threads(+)"
-
-inherit fortran-2 distutils-r1 multiprocessing
-
-DESCRIPTION="Scientific algorithms library for Python"
-HOMEPAGE="
- https://scipy.org/
- https://github.com/scipy/scipy/
- https://pypi.org/project/scipy/
-"
-
-if [[ ${PV} == *9999* ]] ; then
- inherit git-r3
-
- # Need submodules, so git for now.
- EGIT_REPO_URI="https://github.com/scipy/scipy"
- EGIT_BRANCH="maintenance/$(ver_cut 1-2).x"
- EGIT_SUBMODULES=( '*' )
-else
- inherit pypi
-
- # Upstream is often behind with doc updates
- #DOC_PV=${PV}
- DOC_PV=1.11.0
-
- SRC_URI+="
- doc? (
- https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip
- )"
-
- if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="amd64 arm arm64 -hppa ~loong ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
- fi
-fi
-
-LICENSE="BSD LGPL-2"
-SLOT="0"
-IUSE="doc +fortran test-rust"
-
-# umfpack is technically optional but it's preferred to have it available.
-DEPEND="
- >=dev-python/numpy-1.21.6[lapack,${PYTHON_USEDEP}]
- sci-libs/arpack:=
- sci-libs/umfpack
- virtual/cblas
- >=virtual/lapack-3.8
-"
-RDEPEND="
- ${DEPEND}
- dev-python/pillow[${PYTHON_USEDEP}]
-"
-BDEPEND="
- dev-lang/swig
- >=dev-python/cython-0.29.35[${PYTHON_USEDEP}]
- >=dev-python/meson-python-0.12.1[${PYTHON_USEDEP}]
- >=dev-python/pybind11-2.10.4[${PYTHON_USEDEP}]
- >=dev-util/meson-1.1.0
- !kernel_Darwin? ( dev-util/patchelf )
- virtual/pkgconfig
- doc? ( app-arch/unzip )
- fortran? ( dev-python/pythran[${PYTHON_USEDEP}] )
- test? (
- dev-python/pytest-xdist[${PYTHON_USEDEP}]
- )
- test-rust? (
- dev-python/pooch[${PYTHON_USEDEP}]
- )
-"
-
-distutils_enable_tests pytest
-
-src_unpack() {
- default
-
- if use doc; then
- unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die
- fi
-}
-
-python_configure_all() {
- DISTUTILS_ARGS=(
- -Dblas=blas
- -Dlapack=lapack
- -Duse-pythran=$(usex fortran true false)
- )
-}
-
-python_test() {
- cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
-
- local EPYTEST_DESELECT=(
- # Network
- scipy/datasets/tests/test_data.py::TestDatasets::test_existence_all
- scipy/datasets/tests/test_data.py::TestDatasets::test_ascent
- scipy/datasets/tests/test_data.py::TestDatasets::test_face
- scipy/datasets/tests/test_data.py::TestDatasets::test_electrocardiogram
-
- # Precision issue with diff. blas?
- scipy/optimize/tests/test__basinhopping.py::Test_Metropolis::test_gh7799
- )
- local EPYTEST_IGNORE=()
-
- if ! has_version -b "dev-python/pooch[${PYTHON_USEDEP}]" ; then
- EPYTEST_IGNORE+=(
- scipy/datasets/tests/test_data.py
- )
- fi
-
- epytest -n "$(makeopts_jobs)" scipy
-}
-
-python_install_all() {
- use doc && local HTML_DOCS=( "${WORKDIR}"/html/. )
-
- distutils-r1_python_install_all
-}
diff --git a/dev-python/scipy/scipy-1.11.3.ebuild b/dev-python/scipy/scipy-1.11.3.ebuild
deleted file mode 100644
index c3c1bb7653cd..000000000000
--- a/dev-python/scipy/scipy-1.11.3.ebuild
+++ /dev/null
@@ -1,129 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-FORTRAN_NEEDED=fortran
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=meson-python
-PYTHON_COMPAT=( python3_{10..11} )
-PYTHON_REQ_USE="threads(+)"
-
-inherit fortran-2 distutils-r1 multiprocessing
-
-DESCRIPTION="Scientific algorithms library for Python"
-HOMEPAGE="
- https://scipy.org/
- https://github.com/scipy/scipy/
- https://pypi.org/project/scipy/
-"
-
-if [[ ${PV} == *9999* ]] ; then
- inherit git-r3
-
- # Need submodules, so git for now.
- EGIT_REPO_URI="https://github.com/scipy/scipy"
- EGIT_BRANCH="maintenance/$(ver_cut 1-2).x"
- EGIT_SUBMODULES=( '*' )
-else
- inherit pypi
-
- # Upstream is often behind with doc updates
- #DOC_PV=${PV}
- DOC_PV=1.11.0
-
- SRC_URI+="
- doc? (
- https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip
- )"
-
- if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm ~arm64 -hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
- fi
-fi
-
-LICENSE="BSD LGPL-2"
-SLOT="0"
-IUSE="doc +fortran test-rust"
-
-# umfpack is technically optional but it's preferred to have it available.
-DEPEND="
- >=dev-python/numpy-1.21.6[lapack,${PYTHON_USEDEP}]
- sci-libs/arpack:=
- sci-libs/umfpack
- virtual/cblas
- >=virtual/lapack-3.8
-"
-RDEPEND="
- ${DEPEND}
- dev-python/pillow[${PYTHON_USEDEP}]
-"
-BDEPEND="
- dev-lang/swig
- >=dev-python/cython-0.29.35[${PYTHON_USEDEP}]
- >=dev-python/meson-python-0.12.1[${PYTHON_USEDEP}]
- >=dev-python/pybind11-2.10.4[${PYTHON_USEDEP}]
- >=dev-util/meson-1.1.0
- !kernel_Darwin? ( dev-util/patchelf )
- virtual/pkgconfig
- doc? ( app-arch/unzip )
- fortran? ( dev-python/pythran[${PYTHON_USEDEP}] )
- test? (
- dev-python/pytest-xdist[${PYTHON_USEDEP}]
- )
- test-rust? (
- dev-python/pooch[${PYTHON_USEDEP}]
- )
-"
-
-distutils_enable_tests pytest
-
-src_unpack() {
- default
-
- if use doc; then
- unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die
- fi
-}
-
-python_configure_all() {
- DISTUTILS_ARGS=(
- -Dblas=blas
- -Dlapack=lapack
- -Duse-pythran=$(usex fortran true false)
- )
-}
-
-python_test() {
- cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
-
- local EPYTEST_DESELECT=(
- # Network
- scipy/datasets/tests/test_data.py::TestDatasets::test_existence_all
- scipy/datasets/tests/test_data.py::TestDatasets::test_ascent
- scipy/datasets/tests/test_data.py::TestDatasets::test_face
- scipy/datasets/tests/test_data.py::TestDatasets::test_electrocardiogram
-
- # Precision issue with diff. blas?
- scipy/optimize/tests/test__basinhopping.py::Test_Metropolis::test_gh7799
-
- # Crashes with assertion, not a regression
- # https://github.com/scipy/scipy/issues/19321
- scipy/signal/tests/test_signaltools.py::test_lfilter_bad_object
- )
- local EPYTEST_IGNORE=()
-
- if ! has_version -b "dev-python/pooch[${PYTHON_USEDEP}]" ; then
- EPYTEST_IGNORE+=(
- scipy/datasets/tests/test_data.py
- )
- fi
-
- epytest -n "$(makeopts_jobs)" --dist=worksteal scipy
-}
-
-python_install_all() {
- use doc && local HTML_DOCS=( "${WORKDIR}"/html/. )
-
- distutils-r1_python_install_all
-}
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-12-09 16:45 Arthur Zamarin
0 siblings, 0 replies; 209+ messages in thread
From: Arthur Zamarin @ 2023-12-09 16:45 UTC (permalink / raw
To: gentoo-commits
commit: a05e1d3568d895ef2d734c9422dceb852a7cdd63
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 9 16:44:32 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 9 16:44:32 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a05e1d35
dev-python/scipy: unkeyword for ~ia64
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/scipy/scipy-1.10.1.ebuild | 2 +-
dev-python/scipy/scipy-1.11.0-r1.ebuild | 2 +-
dev-python/scipy/scipy-1.11.1.ebuild | 2 +-
dev-python/scipy/scipy-1.11.2.ebuild | 2 +-
dev-python/scipy/scipy-1.11.3.ebuild | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/dev-python/scipy/scipy-1.10.1.ebuild b/dev-python/scipy/scipy-1.10.1.ebuild
index d5fdfb2484a5..cc4e3e27f9d9 100644
--- a/dev-python/scipy/scipy-1.10.1.ebuild
+++ b/dev-python/scipy/scipy-1.10.1.ebuild
@@ -37,7 +37,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="amd64 arm arm64 -hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86"
+ KEYWORDS="amd64 arm arm64 -hppa ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86"
fi
fi
diff --git a/dev-python/scipy/scipy-1.11.0-r1.ebuild b/dev-python/scipy/scipy-1.11.0-r1.ebuild
index f3c49aa6ef84..8ec6a1291e42 100644
--- a/dev-python/scipy/scipy-1.11.0-r1.ebuild
+++ b/dev-python/scipy/scipy-1.11.0-r1.ebuild
@@ -37,7 +37,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 -hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
fi
fi
diff --git a/dev-python/scipy/scipy-1.11.1.ebuild b/dev-python/scipy/scipy-1.11.1.ebuild
index 93ae94854c0b..0675e02bafd4 100644
--- a/dev-python/scipy/scipy-1.11.1.ebuild
+++ b/dev-python/scipy/scipy-1.11.1.ebuild
@@ -38,7 +38,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="amd64 arm arm64 -hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
+ KEYWORDS="amd64 arm arm64 -hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
fi
fi
diff --git a/dev-python/scipy/scipy-1.11.2.ebuild b/dev-python/scipy/scipy-1.11.2.ebuild
index df339d927313..1adc79a3b009 100644
--- a/dev-python/scipy/scipy-1.11.2.ebuild
+++ b/dev-python/scipy/scipy-1.11.2.ebuild
@@ -38,7 +38,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="amd64 arm arm64 -hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
+ KEYWORDS="amd64 arm arm64 -hppa ~loong ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
fi
fi
diff --git a/dev-python/scipy/scipy-1.11.3.ebuild b/dev-python/scipy/scipy-1.11.3.ebuild
index 7dc5558d9dc2..c3c1bb7653cd 100644
--- a/dev-python/scipy/scipy-1.11.3.ebuild
+++ b/dev-python/scipy/scipy-1.11.3.ebuild
@@ -38,7 +38,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
+ KEYWORDS="~amd64 ~arm ~arm64 -hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-12-09 15:13 Michał Górny
0 siblings, 0 replies; 209+ messages in thread
From: Michał Górny @ 2023-12-09 15:13 UTC (permalink / raw
To: gentoo-commits
commit: cf9c8e86e5187ff9cf07792ff104e735391b4d17
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 9 15:13:40 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Dec 9 15:13:40 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf9c8e86
dev-python/scipy: Stabilize 1.11.4 ppc64, #919556
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/scipy-1.11.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.11.4.ebuild b/dev-python/scipy/scipy-1.11.4.ebuild
index 07cca01fb714..cf18e1b3808f 100644
--- a/dev-python/scipy/scipy-1.11.4.ebuild
+++ b/dev-python/scipy/scipy-1.11.4.ebuild
@@ -38,7 +38,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="amd64 arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+ KEYWORDS="amd64 arm ~arm64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc ~x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-12-09 14:37 Michał Górny
0 siblings, 0 replies; 209+ messages in thread
From: Michał Górny @ 2023-12-09 14:37 UTC (permalink / raw
To: gentoo-commits
commit: be6af7ebf0d09b6697d580b15a841dc8f84ced10
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 9 14:37:13 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Dec 9 14:37:13 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be6af7eb
dev-python/scipy: Stabilize 1.11.4 amd64, #919556
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/scipy-1.11.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.11.4.ebuild b/dev-python/scipy/scipy-1.11.4.ebuild
index ff6b97a9b58f..07cca01fb714 100644
--- a/dev-python/scipy/scipy-1.11.4.ebuild
+++ b/dev-python/scipy/scipy-1.11.4.ebuild
@@ -38,7 +38,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+ KEYWORDS="amd64 arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-12-09 14:00 Michał Górny
0 siblings, 0 replies; 209+ messages in thread
From: Michał Górny @ 2023-12-09 14:00 UTC (permalink / raw
To: gentoo-commits
commit: 277e063a0efa7d8143c5a3c7ea7254dcf655a66f
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 9 14:00:35 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Dec 9 14:00:35 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=277e063a
dev-python/scipy: Stabilize 1.11.4 arm, #919556
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/scipy-1.11.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.11.4.ebuild b/dev-python/scipy/scipy-1.11.4.ebuild
index 1cfa675469d7..ff6b97a9b58f 100644
--- a/dev-python/scipy/scipy-1.11.4.ebuild
+++ b/dev-python/scipy/scipy-1.11.4.ebuild
@@ -38,7 +38,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+ KEYWORDS="~amd64 arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-11-25 10:14 Arthur Zamarin
0 siblings, 0 replies; 209+ messages in thread
From: Arthur Zamarin @ 2023-11-25 10:14 UTC (permalink / raw
To: gentoo-commits
commit: bce6e72ab67f6af9c5b0a96e136080cc1337e135
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 25 10:14:20 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Nov 25 10:14:20 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bce6e72a
dev-python/scipy: Keyword 1.11.4 ppc, #916250
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/scipy/scipy-1.11.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.11.4.ebuild b/dev-python/scipy/scipy-1.11.4.ebuild
index b00912a9b8a9..6556c4b262d5 100644
--- a/dev-python/scipy/scipy-1.11.4.ebuild
+++ b/dev-python/scipy/scipy-1.11.4.ebuild
@@ -38,7 +38,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-11-25 10:13 Arthur Zamarin
0 siblings, 0 replies; 209+ messages in thread
From: Arthur Zamarin @ 2023-11-25 10:13 UTC (permalink / raw
To: gentoo-commits
commit: 01f9a7ef566d0be1e7b3a0bc464e3c0324309bba
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 25 10:13:07 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Nov 25 10:13:07 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01f9a7ef
dev-python/scipy: Stabilize 1.11.3-r1 x86, #917382
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/scipy/scipy-1.11.3-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.11.3-r1.ebuild b/dev-python/scipy/scipy-1.11.3-r1.ebuild
index bc4f3c54c4e1..1d3764815407 100644
--- a/dev-python/scipy/scipy-1.11.3-r1.ebuild
+++ b/dev-python/scipy/scipy-1.11.3-r1.ebuild
@@ -38,7 +38,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv ~sparc x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-11-20 7:03 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2023-11-20 7:03 UTC (permalink / raw
To: gentoo-commits
commit: 29cd1ae11039829bf084faf6fd11f2342f9192e4
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 20 07:03:09 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Nov 20 07:03:09 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29cd1ae1
dev-python/scipy: Stabilize 1.11.3-r1 ppc64, #917382
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.11.3-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.11.3-r1.ebuild b/dev-python/scipy/scipy-1.11.3-r1.ebuild
index b42bfba1a0f0..bc4f3c54c4e1 100644
--- a/dev-python/scipy/scipy-1.11.3-r1.ebuild
+++ b/dev-python/scipy/scipy-1.11.3-r1.ebuild
@@ -38,7 +38,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="amd64 arm arm64 ~loong ~ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv ~sparc ~x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-11-19 20:38 Michał Górny
0 siblings, 0 replies; 209+ messages in thread
From: Michał Górny @ 2023-11-19 20:38 UTC (permalink / raw
To: gentoo-commits
commit: 8fbddd63e5fa5b6bd9faaee5889ea0e47e8032fc
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 19 20:35:50 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Nov 19 20:35:50 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fbddd63
dev-python/scipy: Add ~ppc64 to 1.11.3-r1
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/scipy-1.11.3-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.11.3-r1.ebuild b/dev-python/scipy/scipy-1.11.3-r1.ebuild
index 2fa47b9d7ba2..b42bfba1a0f0 100644
--- a/dev-python/scipy/scipy-1.11.3-r1.ebuild
+++ b/dev-python/scipy/scipy-1.11.3-r1.ebuild
@@ -38,7 +38,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="amd64 arm arm64 ~loong ~riscv ~sparc ~x86"
+ KEYWORDS="amd64 arm arm64 ~loong ~ppc64 ~riscv ~sparc ~x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-11-19 20:07 Arthur Zamarin
0 siblings, 0 replies; 209+ messages in thread
From: Arthur Zamarin @ 2023-11-19 20:07 UTC (permalink / raw
To: gentoo-commits
commit: 941d1629f7c252737a72d27f064a0206ea9bd2e7
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 19 20:07:07 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Nov 19 20:07:07 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=941d1629
dev-python/scipy: Keyword 1.11.4 ppc64, #916250
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/scipy/scipy-1.11.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.11.4.ebuild b/dev-python/scipy/scipy-1.11.4.ebuild
index fb211087c17a..b00912a9b8a9 100644
--- a/dev-python/scipy/scipy-1.11.4.ebuild
+++ b/dev-python/scipy/scipy-1.11.4.ebuild
@@ -38,7 +38,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~sparc ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~sparc ~x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-11-19 20:06 Arthur Zamarin
0 siblings, 0 replies; 209+ messages in thread
From: Arthur Zamarin @ 2023-11-19 20:06 UTC (permalink / raw
To: gentoo-commits
commit: ee6aed37d8576372d7af1debce3ebd2b8f63f5bf
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 19 20:05:58 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Nov 19 20:05:58 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee6aed37
dev-python/scipy: Stabilize 1.11.3-r1 arm64, #917382
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/scipy/scipy-1.11.3-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.11.3-r1.ebuild b/dev-python/scipy/scipy-1.11.3-r1.ebuild
index 8796c0eb8138..2fa47b9d7ba2 100644
--- a/dev-python/scipy/scipy-1.11.3-r1.ebuild
+++ b/dev-python/scipy/scipy-1.11.3-r1.ebuild
@@ -38,7 +38,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="amd64 arm ~arm64 ~loong ~riscv ~sparc ~x86"
+ KEYWORDS="amd64 arm arm64 ~loong ~riscv ~sparc ~x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-11-19 16:01 Michał Górny
0 siblings, 0 replies; 209+ messages in thread
From: Michał Górny @ 2023-11-19 16:01 UTC (permalink / raw
To: gentoo-commits
commit: 04ea4b1bbcf5129ebe747a0ba6d39e1f9e46760f
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 19 11:13:57 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Nov 19 16:01:09 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04ea4b1b
dev-python/scipy: Bump to 1.11.4
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/Manifest | 2 +
dev-python/scipy/scipy-1.11.4.ebuild | 147 +++++++++++++++++++++++++++++++++++
2 files changed, 149 insertions(+)
diff --git a/dev-python/scipy/Manifest b/dev-python/scipy/Manifest
index 85dd8b3c9e2d..456596767a77 100644
--- a/dev-python/scipy/Manifest
+++ b/dev-python/scipy/Manifest
@@ -3,5 +3,7 @@ DIST scipy-1.11.0.tar.gz 56030121 BLAKE2B e700bf8f9cffa7bc0f4832722010dcf2e03d8f
DIST scipy-1.11.1.tar.gz 56031509 BLAKE2B 456a80103f8c31c456f80e06b25d765f7ad5655dbdd49e99f476e78273f4291c578a8e99fda3f3a1e848c0e75e08629a09a8146b4a798e85edcaffb7ed1d34a9 SHA512 2859fc73c4fef713497f450b76a57d274bb46477a08ac909714823225f065a13c1e42a61ce67575cfc475e1e4612090cc4ca0920411fe32370c5b5c476352f97
DIST scipy-1.11.2.tar.gz 56045065 BLAKE2B c92a27ef7b560c17bea7dbbc5ca7e192cc7ee8297b65887c3bad50509cca0f83314b688e8c9ef14228c7891e4c16e9d45920de7cb39a0456c7712ae752839203 SHA512 f6902d48617827d01f69c057f3c4790c7388bc58df0791ade96e073740253bc0529475f9fc22d00c23c0b649acaeb820792528d3805d0ac68588c329aa87b3f2
DIST scipy-1.11.3.tar.gz 56335652 BLAKE2B 2b35c24522b2bd498b4ebe84a854c8ec1e62917e7b899b3e3526abb9780c1e56f8e776a3bb1eab1bedb17a273fac881e5ffdaac808084a4f5a5f97428bff1029 SHA512 6491c4e479d9f4f02e677396a25ddca947a0dc6c009fc2ec34c658012a6224c0b535f14045bb011fbde9973ea987d184574ed64e6760c31798ec860eb0896fcf
+DIST scipy-1.11.4.tar.gz 56336202 BLAKE2B a2091a1edb54eb73c2de6ed8c62a7e571f37b247c9af50947aa97b739342c96b87b20a82b1a238c859fa532c84249cbadde228366dcea3555e9a506c1ae55031 SHA512 2eb403f6de9723b411d948b8e1b5457078704c605b8e760d42362c82d802e167eaaf701ddb8b480af2bdf2efe4dbf66fcc4e97321519bb8dab19b0e2a8976beb
DIST scipy-html-1.10.1.zip 49191107 BLAKE2B 5163ae3a62745992bcf94ab02ca2bb13fcf6d2ae0eb2a113ba29bc37a8e8f40ec70e39fe16e6371ce0bc31d4c8f0f46746be91b4fe2ad41c68a985c6f00fb8e7 SHA512 f3252452d3bfd400890f29460de2f97bf72732e0fc864582e906b78808e856ead5b1bf97cba531f2150e396408e585499d127004231421d20108e96040316232
DIST scipy-html-1.11.0.zip 50421508 BLAKE2B cb5e4a4f8817a80f54ae73b4a47ba22d2438df46ebfe27ef5fdc2695fdd983226f4ccae925bf82b15d01ced4f4b6807384ecadac5e1aa7700aa887ad06b7d065 SHA512 33718bbd5e828687d93fccc441a53b6a2e8f54ac4952d3b69d4c4668f55cb6ef5aba33df9acda20b2400effa5ae71767b2a5602a365ad2045a6edd24ff89c253
+DIST scipy-html-1.11.2.zip 50435722 BLAKE2B 460c67509a8bf50986f866ee2f90e634af21ddd71508efeef5681c2ee2130c3f79b4b428bc21277bfb310bb45ccad1fb38221ada43620055377cdc4839b9d1e5 SHA512 986a6e37f9e01dc4925ef22af6ff660bae1e4b66e57270262974c207dfb70285e3f8f548774d6e81d5f457b9198c0ba1c06e6d689fe5d54fdea878c1e5a7f797
diff --git a/dev-python/scipy/scipy-1.11.4.ebuild b/dev-python/scipy/scipy-1.11.4.ebuild
new file mode 100644
index 000000000000..fb211087c17a
--- /dev/null
+++ b/dev-python/scipy/scipy-1.11.4.ebuild
@@ -0,0 +1,147 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FORTRAN_NEEDED=fortran
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=meson-python
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit fortran-2 distutils-r1 multiprocessing
+
+DESCRIPTION="Scientific algorithms library for Python"
+HOMEPAGE="
+ https://scipy.org/
+ https://github.com/scipy/scipy/
+ https://pypi.org/project/scipy/
+"
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+
+ # Need submodules, so git for now.
+ EGIT_REPO_URI="https://github.com/scipy/scipy"
+ EGIT_BRANCH="maintenance/$(ver_cut 1-2).x"
+ EGIT_SUBMODULES=( '*' )
+else
+ inherit pypi
+
+ # Upstream is often behind with doc updates
+ #DOC_PV=${PV}
+ DOC_PV=1.11.2
+
+ SRC_URI+="
+ doc? (
+ https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip
+ )"
+
+ if [[ ${PV} != *rc* ]] ; then
+ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~sparc ~x86"
+ fi
+fi
+
+LICENSE="BSD LGPL-2"
+SLOT="0"
+IUSE="doc +fortran test-rust"
+
+# umfpack is technically optional but it's preferred to have it available.
+DEPEND="
+ >=dev-python/numpy-1.21.6[lapack,${PYTHON_USEDEP}]
+ sci-libs/arpack:=
+ sci-libs/umfpack
+ virtual/cblas
+ >=virtual/lapack-3.8
+"
+RDEPEND="
+ ${DEPEND}
+ dev-python/pillow[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-lang/swig
+ >=dev-python/cython-0.29.35[${PYTHON_USEDEP}]
+ >=dev-python/meson-python-0.12.1[${PYTHON_USEDEP}]
+ >=dev-python/pybind11-2.10.4[${PYTHON_USEDEP}]
+ >=dev-util/meson-1.1.0
+ !kernel_Darwin? ( dev-util/patchelf )
+ virtual/pkgconfig
+ doc? ( app-arch/unzip )
+ fortran? ( dev-python/pythran[${PYTHON_USEDEP}] )
+ test? (
+ dev-python/pytest-xdist[${PYTHON_USEDEP}]
+ )
+ test-rust? (
+ dev-python/pooch[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+src_unpack() {
+ default
+
+ if use doc; then
+ unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die
+ fi
+}
+
+python_configure_all() {
+ DISTUTILS_ARGS=(
+ -Dblas=blas
+ -Dlapack=lapack
+ -Duse-pythran=$(usex fortran true false)
+ )
+}
+
+python_test() {
+ cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
+
+ local EPYTEST_DESELECT=(
+ # Network
+ scipy/datasets/tests/test_data.py::TestDatasets::test_existence_all
+ scipy/datasets/tests/test_data.py::TestDatasets::test_ascent
+ scipy/datasets/tests/test_data.py::TestDatasets::test_face
+ scipy/datasets/tests/test_data.py::TestDatasets::test_electrocardiogram
+
+ # Precision issue with diff. blas?
+ scipy/optimize/tests/test__basinhopping.py::Test_Metropolis::test_gh7799
+
+ # Crashes with assertion, not a regression
+ # https://github.com/scipy/scipy/issues/19321
+ scipy/signal/tests/test_signaltools.py::test_lfilter_bad_object
+
+ # timeouts
+ scipy/sparse/linalg/tests/test_propack.py::test_examples
+ # hang or incredibly slow
+ scipy/optimize/tests/test_lsq_linear.py::TestBVLS::test_large_rank_deficient
+ scipy/optimize/tests/test_lsq_linear.py::TestTRF::test_large_rank_deficient
+ )
+ local EPYTEST_IGNORE=()
+
+ if ! has_version -b "dev-python/pooch[${PYTHON_USEDEP}]" ; then
+ EPYTEST_IGNORE+=(
+ scipy/datasets/tests/test_data.py
+ )
+ fi
+
+ case ${EPYTHON} in
+ pypy3)
+ EPYTEST_DESELECT+=(
+ # fd leaks in tests
+ # https://github.com/scipy/scipy/issues/19553
+ scipy/fft/_pocketfft/tests/test_real_transforms.py
+ # TODO
+ 'scipy/special/tests/test_data.py::test_boost[<Data for expi: expinti_data_long_ipp-expinti_data_long>]'
+ )
+ ;;
+ esac
+
+ epytest -n "$(makeopts_jobs)" --dist=worksteal scipy
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( "${WORKDIR}"/html/. )
+
+ distutils-r1_python_install_all
+}
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-11-19 13:31 Michał Górny
0 siblings, 0 replies; 209+ messages in thread
From: Michał Górny @ 2023-11-19 13:31 UTC (permalink / raw
To: gentoo-commits
commit: 0f04fac543ae13dd64fa8ba4033b246d5387c9c6
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 19 13:30:50 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Nov 19 13:31:17 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f04fac5
dev-python/scipy: Deselect timing out/hanging tests globally
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/scipy-1.11.3-r1.ebuild | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/dev-python/scipy/scipy-1.11.3-r1.ebuild b/dev-python/scipy/scipy-1.11.3-r1.ebuild
index 7abc66ad2ceb..8796c0eb8138 100644
--- a/dev-python/scipy/scipy-1.11.3-r1.ebuild
+++ b/dev-python/scipy/scipy-1.11.3-r1.ebuild
@@ -110,6 +110,12 @@ python_test() {
# Crashes with assertion, not a regression
# https://github.com/scipy/scipy/issues/19321
scipy/signal/tests/test_signaltools.py::test_lfilter_bad_object
+
+ # timeouts
+ scipy/sparse/linalg/tests/test_propack.py::test_examples
+ # hang or incredibly slow
+ scipy/optimize/tests/test_lsq_linear.py::TestBVLS::test_large_rank_deficient
+ scipy/optimize/tests/test_lsq_linear.py::TestTRF::test_large_rank_deficient
)
local EPYTEST_IGNORE=()
@@ -122,13 +128,9 @@ python_test() {
case ${EPYTHON} in
pypy3)
EPYTEST_DESELECT+=(
- # TODO: fd leaks?
+ # fd leaks in tests
+ # https://github.com/scipy/scipy/issues/19553
scipy/fft/_pocketfft/tests/test_real_transforms.py
- # timeouts
- scipy/sparse/linalg/tests/test_propack.py::test_examples
- # hang or incredibly slow
- scipy/optimize/tests/test_lsq_linear.py::TestBVLS::test_large_rank_deficient
- scipy/optimize/tests/test_lsq_linear.py::TestTRF::test_large_rank_deficient
# TODO
'scipy/special/tests/test_data.py::test_boost[<Data for expi: expinti_data_long_ipp-expinti_data_long>]'
)
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-11-18 20:13 Michał Górny
0 siblings, 0 replies; 209+ messages in thread
From: Michał Górny @ 2023-11-18 20:13 UTC (permalink / raw
To: gentoo-commits
commit: a17f08f85de320e70bd153c2e29fcb3c24044f5d
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 18 18:40:25 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Nov 18 20:13:08 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a17f08f8
dev-python/scipy: Enable pypy3
Sponsored-by: Ex Makhina, Inc. <info-gentoo <AT> exmakhina.com>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/scipy-1.11.3-r1.ebuild | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.11.3-r1.ebuild b/dev-python/scipy/scipy-1.11.3-r1.ebuild
index b64d27908ea9..7abc66ad2ceb 100644
--- a/dev-python/scipy/scipy-1.11.3-r1.ebuild
+++ b/dev-python/scipy/scipy-1.11.3-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=8
FORTRAN_NEEDED=fortran
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=meson-python
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
PYTHON_REQ_USE="threads(+)"
inherit fortran-2 distutils-r1 multiprocessing
@@ -119,6 +119,22 @@ python_test() {
)
fi
+ case ${EPYTHON} in
+ pypy3)
+ EPYTEST_DESELECT+=(
+ # TODO: fd leaks?
+ scipy/fft/_pocketfft/tests/test_real_transforms.py
+ # timeouts
+ scipy/sparse/linalg/tests/test_propack.py::test_examples
+ # hang or incredibly slow
+ scipy/optimize/tests/test_lsq_linear.py::TestBVLS::test_large_rank_deficient
+ scipy/optimize/tests/test_lsq_linear.py::TestTRF::test_large_rank_deficient
+ # TODO
+ 'scipy/special/tests/test_data.py::test_boost[<Data for expi: expinti_data_long_ipp-expinti_data_long>]'
+ )
+ ;;
+ esac
+
epytest -n "$(makeopts_jobs)" --dist=worksteal scipy
}
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-11-15 17:13 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2023-11-15 17:13 UTC (permalink / raw
To: gentoo-commits
commit: 895d3ad77e082502a370be8c542ca01a00464c31
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 15 17:13:35 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Nov 15 17:13:35 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=895d3ad7
dev-python/scipy: Stabilize 1.11.3-r1 arm, #917382
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.11.3-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.11.3-r1.ebuild b/dev-python/scipy/scipy-1.11.3-r1.ebuild
index e4a4d5543152..b64d27908ea9 100644
--- a/dev-python/scipy/scipy-1.11.3-r1.ebuild
+++ b/dev-python/scipy/scipy-1.11.3-r1.ebuild
@@ -38,7 +38,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="amd64 ~arm ~arm64 ~loong ~riscv ~sparc ~x86"
+ KEYWORDS="amd64 arm ~arm64 ~loong ~riscv ~sparc ~x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-11-15 16:34 Arthur Zamarin
0 siblings, 0 replies; 209+ messages in thread
From: Arthur Zamarin @ 2023-11-15 16:34 UTC (permalink / raw
To: gentoo-commits
commit: d73e5f51082f2363826309833d9a5b2afdce2fcd
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 15 16:33:53 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed Nov 15 16:33:53 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d73e5f51
dev-python/scipy: Stabilize 1.11.3-r1 amd64, #917382
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/scipy/scipy-1.11.3-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.11.3-r1.ebuild b/dev-python/scipy/scipy-1.11.3-r1.ebuild
index 316254abd534..e4a4d5543152 100644
--- a/dev-python/scipy/scipy-1.11.3-r1.ebuild
+++ b/dev-python/scipy/scipy-1.11.3-r1.ebuild
@@ -38,7 +38,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~sparc ~x86"
+ KEYWORDS="amd64 ~arm ~arm64 ~loong ~riscv ~sparc ~x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-10-29 3:40 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2023-10-29 3:40 UTC (permalink / raw
To: gentoo-commits
commit: 96beb22a293b8ec35541044d02ea7888ad7dd719
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 29 03:37:51 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct 29 03:37:51 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96beb22a
dev-python/scipy: Keyword 1.11.3-r1 sparc, #916250
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.11.3-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.11.3-r1.ebuild b/dev-python/scipy/scipy-1.11.3-r1.ebuild
index ec1b7d97a795..316254abd534 100644
--- a/dev-python/scipy/scipy-1.11.3-r1.ebuild
+++ b/dev-python/scipy/scipy-1.11.3-r1.ebuild
@@ -38,7 +38,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~sparc ~x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-10-24 21:11 Michał Górny
0 siblings, 0 replies; 209+ messages in thread
From: Michał Górny @ 2023-10-24 21:11 UTC (permalink / raw
To: gentoo-commits
commit: 49b4ae50187c9a51bba76ab12e5e458fc75c5242
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 24 19:35:56 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Oct 24 21:11:22 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49b4ae50
dev-python/scipy: Enable py3.12
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/scipy-1.11.3-r1.ebuild | 129 ++++++++++++++++++++++++++++++++
1 file changed, 129 insertions(+)
diff --git a/dev-python/scipy/scipy-1.11.3-r1.ebuild b/dev-python/scipy/scipy-1.11.3-r1.ebuild
new file mode 100644
index 000000000000..ec1b7d97a795
--- /dev/null
+++ b/dev-python/scipy/scipy-1.11.3-r1.ebuild
@@ -0,0 +1,129 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FORTRAN_NEEDED=fortran
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=meson-python
+PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit fortran-2 distutils-r1 multiprocessing
+
+DESCRIPTION="Scientific algorithms library for Python"
+HOMEPAGE="
+ https://scipy.org/
+ https://github.com/scipy/scipy/
+ https://pypi.org/project/scipy/
+"
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+
+ # Need submodules, so git for now.
+ EGIT_REPO_URI="https://github.com/scipy/scipy"
+ EGIT_BRANCH="maintenance/$(ver_cut 1-2).x"
+ EGIT_SUBMODULES=( '*' )
+else
+ inherit pypi
+
+ # Upstream is often behind with doc updates
+ #DOC_PV=${PV}
+ DOC_PV=1.11.0
+
+ SRC_URI+="
+ doc? (
+ https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip
+ )"
+
+ if [[ ${PV} != *rc* ]] ; then
+ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86"
+ fi
+fi
+
+LICENSE="BSD LGPL-2"
+SLOT="0"
+IUSE="doc +fortran test-rust"
+
+# umfpack is technically optional but it's preferred to have it available.
+DEPEND="
+ >=dev-python/numpy-1.21.6[lapack,${PYTHON_USEDEP}]
+ sci-libs/arpack:=
+ sci-libs/umfpack
+ virtual/cblas
+ >=virtual/lapack-3.8
+"
+RDEPEND="
+ ${DEPEND}
+ dev-python/pillow[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-lang/swig
+ >=dev-python/cython-0.29.35[${PYTHON_USEDEP}]
+ >=dev-python/meson-python-0.12.1[${PYTHON_USEDEP}]
+ >=dev-python/pybind11-2.10.4[${PYTHON_USEDEP}]
+ >=dev-util/meson-1.1.0
+ !kernel_Darwin? ( dev-util/patchelf )
+ virtual/pkgconfig
+ doc? ( app-arch/unzip )
+ fortran? ( dev-python/pythran[${PYTHON_USEDEP}] )
+ test? (
+ dev-python/pytest-xdist[${PYTHON_USEDEP}]
+ )
+ test-rust? (
+ dev-python/pooch[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+src_unpack() {
+ default
+
+ if use doc; then
+ unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die
+ fi
+}
+
+python_configure_all() {
+ DISTUTILS_ARGS=(
+ -Dblas=blas
+ -Dlapack=lapack
+ -Duse-pythran=$(usex fortran true false)
+ )
+}
+
+python_test() {
+ cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
+
+ local EPYTEST_DESELECT=(
+ # Network
+ scipy/datasets/tests/test_data.py::TestDatasets::test_existence_all
+ scipy/datasets/tests/test_data.py::TestDatasets::test_ascent
+ scipy/datasets/tests/test_data.py::TestDatasets::test_face
+ scipy/datasets/tests/test_data.py::TestDatasets::test_electrocardiogram
+
+ # Precision issue with diff. blas?
+ scipy/optimize/tests/test__basinhopping.py::Test_Metropolis::test_gh7799
+
+ # Crashes with assertion, not a regression
+ # https://github.com/scipy/scipy/issues/19321
+ scipy/signal/tests/test_signaltools.py::test_lfilter_bad_object
+ )
+ local EPYTEST_IGNORE=()
+
+ if ! has_version -b "dev-python/pooch[${PYTHON_USEDEP}]" ; then
+ EPYTEST_IGNORE+=(
+ scipy/datasets/tests/test_data.py
+ )
+ fi
+
+ epytest -n "$(makeopts_jobs)" --dist=worksteal scipy
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( "${WORKDIR}"/html/. )
+
+ distutils-r1_python_install_all
+}
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-09-28 16:43 Michał Górny
0 siblings, 0 replies; 209+ messages in thread
From: Michał Górny @ 2023-09-28 16:43 UTC (permalink / raw
To: gentoo-commits
commit: 40a7e817c3ade89d662b4947398a61c24ac25139
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 28 16:14:00 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Sep 28 16:43:13 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40a7e817
dev-python/scipy: Bump to 1.11.3
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/Manifest | 1 +
dev-python/scipy/scipy-1.11.3.ebuild | 129 +++++++++++++++++++++++++++++++++++
2 files changed, 130 insertions(+)
diff --git a/dev-python/scipy/Manifest b/dev-python/scipy/Manifest
index 4d500aaa007e..85dd8b3c9e2d 100644
--- a/dev-python/scipy/Manifest
+++ b/dev-python/scipy/Manifest
@@ -2,5 +2,6 @@ DIST scipy-1.10.1.tar.gz 42407997 BLAKE2B 807dceb1e056a1a2c0ec354e4e21f64e59cdab
DIST scipy-1.11.0.tar.gz 56030121 BLAKE2B e700bf8f9cffa7bc0f4832722010dcf2e03d8f93d13534f7f85734394c02536c1427cae5a097b59616f0873ba941579fcf2efd0baafc2037d9eca1f93362d38b SHA512 248cfbbedba73925b0461bf0f96c4a11bd4cfc7849cb18c58f6405074796ab0efdc4f056c58d344cb8833c0d2c6425f84e7ac6fe958cf98b1cc0bf16e7ff2444
DIST scipy-1.11.1.tar.gz 56031509 BLAKE2B 456a80103f8c31c456f80e06b25d765f7ad5655dbdd49e99f476e78273f4291c578a8e99fda3f3a1e848c0e75e08629a09a8146b4a798e85edcaffb7ed1d34a9 SHA512 2859fc73c4fef713497f450b76a57d274bb46477a08ac909714823225f065a13c1e42a61ce67575cfc475e1e4612090cc4ca0920411fe32370c5b5c476352f97
DIST scipy-1.11.2.tar.gz 56045065 BLAKE2B c92a27ef7b560c17bea7dbbc5ca7e192cc7ee8297b65887c3bad50509cca0f83314b688e8c9ef14228c7891e4c16e9d45920de7cb39a0456c7712ae752839203 SHA512 f6902d48617827d01f69c057f3c4790c7388bc58df0791ade96e073740253bc0529475f9fc22d00c23c0b649acaeb820792528d3805d0ac68588c329aa87b3f2
+DIST scipy-1.11.3.tar.gz 56335652 BLAKE2B 2b35c24522b2bd498b4ebe84a854c8ec1e62917e7b899b3e3526abb9780c1e56f8e776a3bb1eab1bedb17a273fac881e5ffdaac808084a4f5a5f97428bff1029 SHA512 6491c4e479d9f4f02e677396a25ddca947a0dc6c009fc2ec34c658012a6224c0b535f14045bb011fbde9973ea987d184574ed64e6760c31798ec860eb0896fcf
DIST scipy-html-1.10.1.zip 49191107 BLAKE2B 5163ae3a62745992bcf94ab02ca2bb13fcf6d2ae0eb2a113ba29bc37a8e8f40ec70e39fe16e6371ce0bc31d4c8f0f46746be91b4fe2ad41c68a985c6f00fb8e7 SHA512 f3252452d3bfd400890f29460de2f97bf72732e0fc864582e906b78808e856ead5b1bf97cba531f2150e396408e585499d127004231421d20108e96040316232
DIST scipy-html-1.11.0.zip 50421508 BLAKE2B cb5e4a4f8817a80f54ae73b4a47ba22d2438df46ebfe27ef5fdc2695fdd983226f4ccae925bf82b15d01ced4f4b6807384ecadac5e1aa7700aa887ad06b7d065 SHA512 33718bbd5e828687d93fccc441a53b6a2e8f54ac4952d3b69d4c4668f55cb6ef5aba33df9acda20b2400effa5ae71767b2a5602a365ad2045a6edd24ff89c253
diff --git a/dev-python/scipy/scipy-1.11.3.ebuild b/dev-python/scipy/scipy-1.11.3.ebuild
new file mode 100644
index 000000000000..7dc5558d9dc2
--- /dev/null
+++ b/dev-python/scipy/scipy-1.11.3.ebuild
@@ -0,0 +1,129 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FORTRAN_NEEDED=fortran
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=meson-python
+PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit fortran-2 distutils-r1 multiprocessing
+
+DESCRIPTION="Scientific algorithms library for Python"
+HOMEPAGE="
+ https://scipy.org/
+ https://github.com/scipy/scipy/
+ https://pypi.org/project/scipy/
+"
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+
+ # Need submodules, so git for now.
+ EGIT_REPO_URI="https://github.com/scipy/scipy"
+ EGIT_BRANCH="maintenance/$(ver_cut 1-2).x"
+ EGIT_SUBMODULES=( '*' )
+else
+ inherit pypi
+
+ # Upstream is often behind with doc updates
+ #DOC_PV=${PV}
+ DOC_PV=1.11.0
+
+ SRC_URI+="
+ doc? (
+ https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip
+ )"
+
+ if [[ ${PV} != *rc* ]] ; then
+ KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
+ fi
+fi
+
+LICENSE="BSD LGPL-2"
+SLOT="0"
+IUSE="doc +fortran test-rust"
+
+# umfpack is technically optional but it's preferred to have it available.
+DEPEND="
+ >=dev-python/numpy-1.21.6[lapack,${PYTHON_USEDEP}]
+ sci-libs/arpack:=
+ sci-libs/umfpack
+ virtual/cblas
+ >=virtual/lapack-3.8
+"
+RDEPEND="
+ ${DEPEND}
+ dev-python/pillow[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-lang/swig
+ >=dev-python/cython-0.29.35[${PYTHON_USEDEP}]
+ >=dev-python/meson-python-0.12.1[${PYTHON_USEDEP}]
+ >=dev-python/pybind11-2.10.4[${PYTHON_USEDEP}]
+ >=dev-util/meson-1.1.0
+ !kernel_Darwin? ( dev-util/patchelf )
+ virtual/pkgconfig
+ doc? ( app-arch/unzip )
+ fortran? ( dev-python/pythran[${PYTHON_USEDEP}] )
+ test? (
+ dev-python/pytest-xdist[${PYTHON_USEDEP}]
+ )
+ test-rust? (
+ dev-python/pooch[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+src_unpack() {
+ default
+
+ if use doc; then
+ unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die
+ fi
+}
+
+python_configure_all() {
+ DISTUTILS_ARGS=(
+ -Dblas=blas
+ -Dlapack=lapack
+ -Duse-pythran=$(usex fortran true false)
+ )
+}
+
+python_test() {
+ cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
+
+ local EPYTEST_DESELECT=(
+ # Network
+ scipy/datasets/tests/test_data.py::TestDatasets::test_existence_all
+ scipy/datasets/tests/test_data.py::TestDatasets::test_ascent
+ scipy/datasets/tests/test_data.py::TestDatasets::test_face
+ scipy/datasets/tests/test_data.py::TestDatasets::test_electrocardiogram
+
+ # Precision issue with diff. blas?
+ scipy/optimize/tests/test__basinhopping.py::Test_Metropolis::test_gh7799
+
+ # Crashes with assertion, not a regression
+ # https://github.com/scipy/scipy/issues/19321
+ scipy/signal/tests/test_signaltools.py::test_lfilter_bad_object
+ )
+ local EPYTEST_IGNORE=()
+
+ if ! has_version -b "dev-python/pooch[${PYTHON_USEDEP}]" ; then
+ EPYTEST_IGNORE+=(
+ scipy/datasets/tests/test_data.py
+ )
+ fi
+
+ epytest -n "$(makeopts_jobs)" --dist=worksteal scipy
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( "${WORKDIR}"/html/. )
+
+ distutils-r1_python_install_all
+}
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-09-25 18:31 Arthur Zamarin
0 siblings, 0 replies; 209+ messages in thread
From: Arthur Zamarin @ 2023-09-25 18:31 UTC (permalink / raw
To: gentoo-commits
commit: 5191acce4a4636dc8e18bc7731b2297eab46fde1
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 25 18:31:53 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Sep 25 18:31:53 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5191acce
dev-python/scipy: Stabilize 1.11.2 amd64, #914693
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/scipy/scipy-1.11.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.11.2.ebuild b/dev-python/scipy/scipy-1.11.2.ebuild
index 5840ece2ab1e..df339d927313 100644
--- a/dev-python/scipy/scipy-1.11.2.ebuild
+++ b/dev-python/scipy/scipy-1.11.2.ebuild
@@ -38,7 +38,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 arm arm64 -hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
+ KEYWORDS="amd64 arm arm64 -hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-09-25 17:33 Arthur Zamarin
0 siblings, 0 replies; 209+ messages in thread
From: Arthur Zamarin @ 2023-09-25 17:33 UTC (permalink / raw
To: gentoo-commits
commit: 831f9254f4c9ff8214181b007e92053e5a223514
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 25 17:33:21 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Sep 25 17:33:21 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=831f9254
dev-python/scipy: Stabilize 1.11.2 ppc64, #914693
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/scipy/scipy-1.11.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.11.2.ebuild b/dev-python/scipy/scipy-1.11.2.ebuild
index 49645556a63d..5840ece2ab1e 100644
--- a/dev-python/scipy/scipy-1.11.2.ebuild
+++ b/dev-python/scipy/scipy-1.11.2.ebuild
@@ -38,7 +38,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 arm arm64 -hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
+ KEYWORDS="~amd64 arm arm64 -hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-09-25 16:57 Arthur Zamarin
0 siblings, 0 replies; 209+ messages in thread
From: Arthur Zamarin @ 2023-09-25 16:57 UTC (permalink / raw
To: gentoo-commits
commit: 903f4511f57dcf9bd2755987db582ef5923fd8d1
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 25 16:57:20 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Sep 25 16:57:20 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=903f4511
dev-python/scipy: Stabilize 1.11.2 arm64, #914693
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/scipy/scipy-1.11.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.11.2.ebuild b/dev-python/scipy/scipy-1.11.2.ebuild
index cdf827de2015..49645556a63d 100644
--- a/dev-python/scipy/scipy-1.11.2.ebuild
+++ b/dev-python/scipy/scipy-1.11.2.ebuild
@@ -38,7 +38,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 arm ~arm64 -hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
+ KEYWORDS="~amd64 arm arm64 -hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-09-25 16:54 Arthur Zamarin
0 siblings, 0 replies; 209+ messages in thread
From: Arthur Zamarin @ 2023-09-25 16:54 UTC (permalink / raw
To: gentoo-commits
commit: ccfdb3ab659356ae349eefe8ff031a5b0dd460c5
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 25 16:53:01 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Sep 25 16:53:01 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccfdb3ab
dev-python/scipy: Stabilize 1.11.2 arm, #914693
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/scipy/scipy-1.11.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.11.2.ebuild b/dev-python/scipy/scipy-1.11.2.ebuild
index 7482275c0ffc..cdf827de2015 100644
--- a/dev-python/scipy/scipy-1.11.2.ebuild
+++ b/dev-python/scipy/scipy-1.11.2.ebuild
@@ -38,7 +38,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
+ KEYWORDS="~amd64 arm ~arm64 -hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-08-22 12:00 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2023-08-22 12:00 UTC (permalink / raw
To: gentoo-commits
commit: 805bbd59a494a51102fb6f8714021eea94d1a479
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 22 11:59:40 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Aug 22 11:59:40 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=805bbd59
dev-python/scipy: Stabilize 1.11.1 amd64, #911362
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.11.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.11.1.ebuild b/dev-python/scipy/scipy-1.11.1.ebuild
index b29efc040f8b..93ae94854c0b 100644
--- a/dev-python/scipy/scipy-1.11.1.ebuild
+++ b/dev-python/scipy/scipy-1.11.1.ebuild
@@ -38,7 +38,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 arm arm64 -hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
+ KEYWORDS="amd64 arm arm64 -hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-08-21 11:25 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2023-08-21 11:25 UTC (permalink / raw
To: gentoo-commits
commit: 352635d136425b47d268bee00c036e1da949157d
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 21 11:25:31 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Aug 21 11:25:31 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=352635d1
dev-python/scipy: Stabilize 1.11.1 arm, #911362
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.11.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.11.1.ebuild b/dev-python/scipy/scipy-1.11.1.ebuild
index 0883fbecc006..b29efc040f8b 100644
--- a/dev-python/scipy/scipy-1.11.1.ebuild
+++ b/dev-python/scipy/scipy-1.11.1.ebuild
@@ -38,7 +38,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm arm64 -hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
+ KEYWORDS="~amd64 arm arm64 -hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-08-21 11:25 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2023-08-21 11:25 UTC (permalink / raw
To: gentoo-commits
commit: f60cb4ba98ec352bb793c498c1684191a4f5db80
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 21 11:25:30 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Aug 21 11:25:30 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f60cb4ba
dev-python/scipy: Stabilize 1.11.1 arm64, #911362
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.11.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.11.1.ebuild b/dev-python/scipy/scipy-1.11.1.ebuild
index 8e807feb7b5b..0883fbecc006 100644
--- a/dev-python/scipy/scipy-1.11.1.ebuild
+++ b/dev-python/scipy/scipy-1.11.1.ebuild
@@ -38,7 +38,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
+ KEYWORDS="~amd64 ~arm arm64 -hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-08-18 5:16 Michał Górny
0 siblings, 0 replies; 209+ messages in thread
From: Michał Górny @ 2023-08-18 5:16 UTC (permalink / raw
To: gentoo-commits
commit: 0b64a971e52da512afa78715661541a59004eb84
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 18 04:50:06 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Aug 18 04:51:03 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b64a971
dev-python/scipy: Bump to 1.11.2
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/Manifest | 1 +
dev-python/scipy/scipy-1.11.2.ebuild | 125 +++++++++++++++++++++++++++++++++++
2 files changed, 126 insertions(+)
diff --git a/dev-python/scipy/Manifest b/dev-python/scipy/Manifest
index eba4a9c3fd04..4d500aaa007e 100644
--- a/dev-python/scipy/Manifest
+++ b/dev-python/scipy/Manifest
@@ -1,5 +1,6 @@
DIST scipy-1.10.1.tar.gz 42407997 BLAKE2B 807dceb1e056a1a2c0ec354e4e21f64e59cdab9eaf286cec3783bb93bf80efa00a71e7bd8d1898e8a2fdf86b614f035a0a97436dc4515574d73d9d4521824316 SHA512 767e1dee6285d98e4d58d8d8d1e3654b00e3216e9ad55455fc9473f1d044bef80ecce749bcd24d8f331367b882c9c3e6b652a6e901bb4296ddc7cc44699215b6
DIST scipy-1.11.0.tar.gz 56030121 BLAKE2B e700bf8f9cffa7bc0f4832722010dcf2e03d8f93d13534f7f85734394c02536c1427cae5a097b59616f0873ba941579fcf2efd0baafc2037d9eca1f93362d38b SHA512 248cfbbedba73925b0461bf0f96c4a11bd4cfc7849cb18c58f6405074796ab0efdc4f056c58d344cb8833c0d2c6425f84e7ac6fe958cf98b1cc0bf16e7ff2444
DIST scipy-1.11.1.tar.gz 56031509 BLAKE2B 456a80103f8c31c456f80e06b25d765f7ad5655dbdd49e99f476e78273f4291c578a8e99fda3f3a1e848c0e75e08629a09a8146b4a798e85edcaffb7ed1d34a9 SHA512 2859fc73c4fef713497f450b76a57d274bb46477a08ac909714823225f065a13c1e42a61ce67575cfc475e1e4612090cc4ca0920411fe32370c5b5c476352f97
+DIST scipy-1.11.2.tar.gz 56045065 BLAKE2B c92a27ef7b560c17bea7dbbc5ca7e192cc7ee8297b65887c3bad50509cca0f83314b688e8c9ef14228c7891e4c16e9d45920de7cb39a0456c7712ae752839203 SHA512 f6902d48617827d01f69c057f3c4790c7388bc58df0791ade96e073740253bc0529475f9fc22d00c23c0b649acaeb820792528d3805d0ac68588c329aa87b3f2
DIST scipy-html-1.10.1.zip 49191107 BLAKE2B 5163ae3a62745992bcf94ab02ca2bb13fcf6d2ae0eb2a113ba29bc37a8e8f40ec70e39fe16e6371ce0bc31d4c8f0f46746be91b4fe2ad41c68a985c6f00fb8e7 SHA512 f3252452d3bfd400890f29460de2f97bf72732e0fc864582e906b78808e856ead5b1bf97cba531f2150e396408e585499d127004231421d20108e96040316232
DIST scipy-html-1.11.0.zip 50421508 BLAKE2B cb5e4a4f8817a80f54ae73b4a47ba22d2438df46ebfe27ef5fdc2695fdd983226f4ccae925bf82b15d01ced4f4b6807384ecadac5e1aa7700aa887ad06b7d065 SHA512 33718bbd5e828687d93fccc441a53b6a2e8f54ac4952d3b69d4c4668f55cb6ef5aba33df9acda20b2400effa5ae71767b2a5602a365ad2045a6edd24ff89c253
diff --git a/dev-python/scipy/scipy-1.11.2.ebuild b/dev-python/scipy/scipy-1.11.2.ebuild
new file mode 100644
index 000000000000..7482275c0ffc
--- /dev/null
+++ b/dev-python/scipy/scipy-1.11.2.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FORTRAN_NEEDED=fortran
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=meson-python
+PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit fortran-2 distutils-r1 multiprocessing
+
+DESCRIPTION="Scientific algorithms library for Python"
+HOMEPAGE="
+ https://scipy.org/
+ https://github.com/scipy/scipy/
+ https://pypi.org/project/scipy/
+"
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+
+ # Need submodules, so git for now.
+ EGIT_REPO_URI="https://github.com/scipy/scipy"
+ EGIT_BRANCH="maintenance/$(ver_cut 1-2).x"
+ EGIT_SUBMODULES=( '*' )
+else
+ inherit pypi
+
+ # Upstream is often behind with doc updates
+ #DOC_PV=${PV}
+ DOC_PV=1.11.0
+
+ SRC_URI+="
+ doc? (
+ https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip
+ )"
+
+ if [[ ${PV} != *rc* ]] ; then
+ KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
+ fi
+fi
+
+LICENSE="BSD LGPL-2"
+SLOT="0"
+IUSE="doc +fortran test-rust"
+
+# umfpack is technically optional but it's preferred to have it available.
+DEPEND="
+ >=dev-python/numpy-1.21.6[lapack,${PYTHON_USEDEP}]
+ sci-libs/arpack:=
+ sci-libs/umfpack
+ virtual/cblas
+ >=virtual/lapack-3.8
+"
+RDEPEND="
+ ${DEPEND}
+ dev-python/pillow[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-lang/swig
+ >=dev-python/cython-0.29.35[${PYTHON_USEDEP}]
+ >=dev-python/meson-python-0.12.1[${PYTHON_USEDEP}]
+ >=dev-python/pybind11-2.10.4[${PYTHON_USEDEP}]
+ >=dev-util/meson-1.1.0
+ !kernel_Darwin? ( dev-util/patchelf )
+ virtual/pkgconfig
+ doc? ( app-arch/unzip )
+ fortran? ( dev-python/pythran[${PYTHON_USEDEP}] )
+ test? (
+ dev-python/pytest-xdist[${PYTHON_USEDEP}]
+ )
+ test-rust? (
+ dev-python/pooch[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+src_unpack() {
+ default
+
+ if use doc; then
+ unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die
+ fi
+}
+
+python_configure_all() {
+ DISTUTILS_ARGS=(
+ -Dblas=blas
+ -Dlapack=lapack
+ -Duse-pythran=$(usex fortran true false)
+ )
+}
+
+python_test() {
+ cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
+
+ local EPYTEST_DESELECT=(
+ # Network
+ scipy/datasets/tests/test_data.py::TestDatasets::test_existence_all
+ scipy/datasets/tests/test_data.py::TestDatasets::test_ascent
+ scipy/datasets/tests/test_data.py::TestDatasets::test_face
+ scipy/datasets/tests/test_data.py::TestDatasets::test_electrocardiogram
+
+ # Precision issue with diff. blas?
+ scipy/optimize/tests/test__basinhopping.py::Test_Metropolis::test_gh7799
+ )
+ local EPYTEST_IGNORE=()
+
+ if ! has_version -b "dev-python/pooch[${PYTHON_USEDEP}]" ; then
+ EPYTEST_IGNORE+=(
+ scipy/datasets/tests/test_data.py
+ )
+ fi
+
+ epytest -n "$(makeopts_jobs)" scipy
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( "${WORKDIR}"/html/. )
+
+ distutils-r1_python_install_all
+}
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-07-19 9:18 Benda XU
0 siblings, 0 replies; 209+ messages in thread
From: Benda XU @ 2023-07-19 9:18 UTC (permalink / raw
To: gentoo-commits
commit: 42b5eec8280378d51433a675438eca2bb0331813
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 19 09:10:51 2023 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Wed Jul 19 09:17:56 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42b5eec8
dev-python/scipy: do not use patchelf on macOS.
macOS uses Mach-O binary format, not ELF.
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>
dev-python/scipy/scipy-1.11.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.11.1.ebuild b/dev-python/scipy/scipy-1.11.1.ebuild
index 9601fa77d33f..8e807feb7b5b 100644
--- a/dev-python/scipy/scipy-1.11.1.ebuild
+++ b/dev-python/scipy/scipy-1.11.1.ebuild
@@ -64,7 +64,7 @@ BDEPEND="
>=dev-python/meson-python-0.12.1[${PYTHON_USEDEP}]
>=dev-python/pybind11-2.10.4[${PYTHON_USEDEP}]
>=dev-util/meson-1.1.0
- dev-util/patchelf
+ !kernel_Darwin? ( dev-util/patchelf )
virtual/pkgconfig
doc? ( app-arch/unzip )
fortran? ( dev-python/pythran[${PYTHON_USEDEP}] )
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-06-29 15:09 Michał Górny
0 siblings, 0 replies; 209+ messages in thread
From: Michał Górny @ 2023-06-29 15:09 UTC (permalink / raw
To: gentoo-commits
commit: 6a97a71dc54a7ee75fa224d0bd9c9b4be1ff5a4e
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 29 14:54:55 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jun 29 15:09:27 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a97a71d
dev-python/scipy: Require <dev-python/cython-3
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/scipy-1.11.1.ebuild | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dev-python/scipy/scipy-1.11.1.ebuild b/dev-python/scipy/scipy-1.11.1.ebuild
index ff937ef528ac..426e9b0827c1 100644
--- a/dev-python/scipy/scipy-1.11.1.ebuild
+++ b/dev-python/scipy/scipy-1.11.1.ebuild
@@ -58,8 +58,11 @@ RDEPEND="
${DEPEND}
dev-python/pillow[${PYTHON_USEDEP}]
"
+# Cython-3 fails if scipy is already installed
+# https://github.com/scipy/scipy/issues/18792
BDEPEND="
dev-lang/swig
+ <dev-python/cython-3[${PYTHON_USEDEP}]
>=dev-python/cython-0.29.35[${PYTHON_USEDEP}]
>=dev-python/meson-python-0.12.1[${PYTHON_USEDEP}]
>=dev-python/pybind11-2.10.4[${PYTHON_USEDEP}]
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-06-28 23:04 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2023-06-28 23:04 UTC (permalink / raw
To: gentoo-commits
commit: 8475b35dda96d8bdf24978616aa9efd2e8027057
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 28 22:39:48 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jun 28 23:04:28 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8475b35d
dev-python/scipy: drop 1.11.0
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.11.0.ebuild | 124 -----------------------------------
1 file changed, 124 deletions(-)
diff --git a/dev-python/scipy/scipy-1.11.0.ebuild b/dev-python/scipy/scipy-1.11.0.ebuild
deleted file mode 100644
index 10bd746dd9b0..000000000000
--- a/dev-python/scipy/scipy-1.11.0.ebuild
+++ /dev/null
@@ -1,124 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-FORTRAN_NEEDED=fortran
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=meson-python
-PYTHON_COMPAT=( python3_{10..11} )
-PYTHON_REQ_USE="threads(+)"
-
-inherit fortran-2 distutils-r1 multiprocessing
-
-DESCRIPTION="Scientific algorithms library for Python"
-HOMEPAGE="
- https://scipy.org/
- https://github.com/scipy/scipy/
- https://pypi.org/project/scipy/
-"
-
-if [[ ${PV} == *9999* ]] ; then
- inherit git-r3
-
- # Need submodules, so git for now.
- EGIT_REPO_URI="https://github.com/scipy/scipy"
- EGIT_BRANCH="maintenance/$(ver_cut 1-2).x"
- EGIT_SUBMODULES=( '*' )
-else
- inherit pypi
-
- # Upstream is often behind with doc updates
- DOC_PV=${PV}
-
- SRC_URI+="
- doc? (
- https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip
- )"
-
- if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
- fi
-fi
-
-LICENSE="BSD LGPL-2"
-SLOT="0"
-IUSE="doc +fortran test-rust"
-
-# umfpack is technically optional but it's preferred to have it available.
-DEPEND="
- >=dev-python/numpy-1.21.6[lapack,${PYTHON_USEDEP}]
- sci-libs/arpack:=
- sci-libs/umfpack
- virtual/cblas
- >=virtual/lapack-3.8
-"
-RDEPEND="
- ${DEPEND}
- dev-python/pillow[${PYTHON_USEDEP}]
-"
-BDEPEND="
- dev-lang/swig
- >=dev-python/cython-0.29.35[${PYTHON_USEDEP}]
- >=dev-python/meson-python-0.12.1[${PYTHON_USEDEP}]
- >=dev-python/pybind11-2.10.4[${PYTHON_USEDEP}]
- >=dev-util/meson-1.1.0
- dev-util/patchelf
- virtual/pkgconfig
- doc? ( app-arch/unzip )
- fortran? ( dev-python/pythran[${PYTHON_USEDEP}] )
- test? (
- dev-python/pytest-xdist[${PYTHON_USEDEP}]
- )
- test-rust? (
- dev-python/pooch[${PYTHON_USEDEP}]
- )
-"
-
-distutils_enable_tests pytest
-
-src_unpack() {
- default
-
- if use doc; then
- unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die
- fi
-}
-
-python_configure_all() {
- DISTUTILS_ARGS=(
- -Dblas=blas
- -Dlapack=lapack
- -Duse-pythran=$(usex fortran true false)
- )
-}
-
-python_test() {
- cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
-
- local EPYTEST_DESELECT=(
- # Network
- scipy/datasets/tests/test_data.py::TestDatasets::test_existence_all
- scipy/datasets/tests/test_data.py::TestDatasets::test_ascent
- scipy/datasets/tests/test_data.py::TestDatasets::test_face
- scipy/datasets/tests/test_data.py::TestDatasets::test_electrocardiogram
-
- # Precision issue with diff. blas?
- scipy/optimize/tests/test__basinhopping.py::Test_Metropolis::test_gh7799
- )
- local EPYTEST_IGNORE=()
-
- if ! has_version -b "dev-python/pooch[${PYTHON_USEDEP}]" ; then
- EPYTEST_IGNORE+=(
- scipy/datasets/tests/test_data.py
- )
- fi
-
- epytest -n "$(makeopts_jobs)" scipy
-}
-
-python_install_all() {
- use doc && local HTML_DOCS=( "${WORKDIR}"/html/. )
-
- distutils-r1_python_install_all
-}
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-06-28 23:04 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2023-06-28 23:04 UTC (permalink / raw
To: gentoo-commits
commit: 6c5a1ddbb0d2ae16bc166e62c5cecde920d738b0
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 28 23:03:23 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jun 28 23:04:29 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c5a1ddb
dev-python/scipy: add 1.11.1
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/Manifest | 1 +
dev-python/scipy/scipy-1.11.1.ebuild | 125 +++++++++++++++++++++++++++++++++++
2 files changed, 126 insertions(+)
diff --git a/dev-python/scipy/Manifest b/dev-python/scipy/Manifest
index 365c2aacb252..eba4a9c3fd04 100644
--- a/dev-python/scipy/Manifest
+++ b/dev-python/scipy/Manifest
@@ -1,4 +1,5 @@
DIST scipy-1.10.1.tar.gz 42407997 BLAKE2B 807dceb1e056a1a2c0ec354e4e21f64e59cdab9eaf286cec3783bb93bf80efa00a71e7bd8d1898e8a2fdf86b614f035a0a97436dc4515574d73d9d4521824316 SHA512 767e1dee6285d98e4d58d8d8d1e3654b00e3216e9ad55455fc9473f1d044bef80ecce749bcd24d8f331367b882c9c3e6b652a6e901bb4296ddc7cc44699215b6
DIST scipy-1.11.0.tar.gz 56030121 BLAKE2B e700bf8f9cffa7bc0f4832722010dcf2e03d8f93d13534f7f85734394c02536c1427cae5a097b59616f0873ba941579fcf2efd0baafc2037d9eca1f93362d38b SHA512 248cfbbedba73925b0461bf0f96c4a11bd4cfc7849cb18c58f6405074796ab0efdc4f056c58d344cb8833c0d2c6425f84e7ac6fe958cf98b1cc0bf16e7ff2444
+DIST scipy-1.11.1.tar.gz 56031509 BLAKE2B 456a80103f8c31c456f80e06b25d765f7ad5655dbdd49e99f476e78273f4291c578a8e99fda3f3a1e848c0e75e08629a09a8146b4a798e85edcaffb7ed1d34a9 SHA512 2859fc73c4fef713497f450b76a57d274bb46477a08ac909714823225f065a13c1e42a61ce67575cfc475e1e4612090cc4ca0920411fe32370c5b5c476352f97
DIST scipy-html-1.10.1.zip 49191107 BLAKE2B 5163ae3a62745992bcf94ab02ca2bb13fcf6d2ae0eb2a113ba29bc37a8e8f40ec70e39fe16e6371ce0bc31d4c8f0f46746be91b4fe2ad41c68a985c6f00fb8e7 SHA512 f3252452d3bfd400890f29460de2f97bf72732e0fc864582e906b78808e856ead5b1bf97cba531f2150e396408e585499d127004231421d20108e96040316232
DIST scipy-html-1.11.0.zip 50421508 BLAKE2B cb5e4a4f8817a80f54ae73b4a47ba22d2438df46ebfe27ef5fdc2695fdd983226f4ccae925bf82b15d01ced4f4b6807384ecadac5e1aa7700aa887ad06b7d065 SHA512 33718bbd5e828687d93fccc441a53b6a2e8f54ac4952d3b69d4c4668f55cb6ef5aba33df9acda20b2400effa5ae71767b2a5602a365ad2045a6edd24ff89c253
diff --git a/dev-python/scipy/scipy-1.11.1.ebuild b/dev-python/scipy/scipy-1.11.1.ebuild
new file mode 100644
index 000000000000..ff937ef528ac
--- /dev/null
+++ b/dev-python/scipy/scipy-1.11.1.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FORTRAN_NEEDED=fortran
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=meson-python
+PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit fortran-2 distutils-r1 multiprocessing
+
+DESCRIPTION="Scientific algorithms library for Python"
+HOMEPAGE="
+ https://scipy.org/
+ https://github.com/scipy/scipy/
+ https://pypi.org/project/scipy/
+"
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+
+ # Need submodules, so git for now.
+ EGIT_REPO_URI="https://github.com/scipy/scipy"
+ EGIT_BRANCH="maintenance/$(ver_cut 1-2).x"
+ EGIT_SUBMODULES=( '*' )
+else
+ inherit pypi
+
+ # Upstream is often behind with doc updates
+ #DOC_PV=${PV}
+ DOC_PV=1.11.0
+
+ SRC_URI+="
+ doc? (
+ https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip
+ )"
+
+ if [[ ${PV} != *rc* ]] ; then
+ KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+ fi
+fi
+
+LICENSE="BSD LGPL-2"
+SLOT="0"
+IUSE="doc +fortran test-rust"
+
+# umfpack is technically optional but it's preferred to have it available.
+DEPEND="
+ >=dev-python/numpy-1.21.6[lapack,${PYTHON_USEDEP}]
+ sci-libs/arpack:=
+ sci-libs/umfpack
+ virtual/cblas
+ >=virtual/lapack-3.8
+"
+RDEPEND="
+ ${DEPEND}
+ dev-python/pillow[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-lang/swig
+ >=dev-python/cython-0.29.35[${PYTHON_USEDEP}]
+ >=dev-python/meson-python-0.12.1[${PYTHON_USEDEP}]
+ >=dev-python/pybind11-2.10.4[${PYTHON_USEDEP}]
+ >=dev-util/meson-1.1.0
+ dev-util/patchelf
+ virtual/pkgconfig
+ doc? ( app-arch/unzip )
+ fortran? ( dev-python/pythran[${PYTHON_USEDEP}] )
+ test? (
+ dev-python/pytest-xdist[${PYTHON_USEDEP}]
+ )
+ test-rust? (
+ dev-python/pooch[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+src_unpack() {
+ default
+
+ if use doc; then
+ unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die
+ fi
+}
+
+python_configure_all() {
+ DISTUTILS_ARGS=(
+ -Dblas=blas
+ -Dlapack=lapack
+ -Duse-pythran=$(usex fortran true false)
+ )
+}
+
+python_test() {
+ cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
+
+ local EPYTEST_DESELECT=(
+ # Network
+ scipy/datasets/tests/test_data.py::TestDatasets::test_existence_all
+ scipy/datasets/tests/test_data.py::TestDatasets::test_ascent
+ scipy/datasets/tests/test_data.py::TestDatasets::test_face
+ scipy/datasets/tests/test_data.py::TestDatasets::test_electrocardiogram
+
+ # Precision issue with diff. blas?
+ scipy/optimize/tests/test__basinhopping.py::Test_Metropolis::test_gh7799
+ )
+ local EPYTEST_IGNORE=()
+
+ if ! has_version -b "dev-python/pooch[${PYTHON_USEDEP}]" ; then
+ EPYTEST_IGNORE+=(
+ scipy/datasets/tests/test_data.py
+ )
+ fi
+
+ epytest -n "$(makeopts_jobs)" scipy
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( "${WORKDIR}"/html/. )
+
+ distutils-r1_python_install_all
+}
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-06-26 13:23 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2023-06-26 13:23 UTC (permalink / raw
To: gentoo-commits
commit: ae3fba5e83cbcea6654d94d675b23a88b653fb71
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 26 13:23:23 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jun 26 13:23:23 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae3fba5e
dev-python/scipy: use new Pythran option
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.11.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.11.0.ebuild b/dev-python/scipy/scipy-1.11.0.ebuild
index dee7be903796..10bd746dd9b0 100644
--- a/dev-python/scipy/scipy-1.11.0.ebuild
+++ b/dev-python/scipy/scipy-1.11.0.ebuild
@@ -86,10 +86,10 @@ src_unpack() {
}
python_configure_all() {
- export SCIPY_USE_PYTHRAN=$(usex fortran 1 0)
DISTUTILS_ARGS=(
-Dblas=blas
-Dlapack=lapack
+ -Duse-pythran=$(usex fortran true false)
)
}
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-06-26 13:14 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2023-06-26 13:14 UTC (permalink / raw
To: gentoo-commits
commit: 89c797dda7e5c1149312185b49c45ea96d543dac
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 26 13:14:10 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jun 26 13:14:19 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89c797dd
dev-python/scipy: add 1.11.0
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/Manifest | 2 +
dev-python/scipy/scipy-1.11.0.ebuild | 124 +++++++++++++++++++++++++++++++++++
2 files changed, 126 insertions(+)
diff --git a/dev-python/scipy/Manifest b/dev-python/scipy/Manifest
index bc836cc56535..365c2aacb252 100644
--- a/dev-python/scipy/Manifest
+++ b/dev-python/scipy/Manifest
@@ -1,2 +1,4 @@
DIST scipy-1.10.1.tar.gz 42407997 BLAKE2B 807dceb1e056a1a2c0ec354e4e21f64e59cdab9eaf286cec3783bb93bf80efa00a71e7bd8d1898e8a2fdf86b614f035a0a97436dc4515574d73d9d4521824316 SHA512 767e1dee6285d98e4d58d8d8d1e3654b00e3216e9ad55455fc9473f1d044bef80ecce749bcd24d8f331367b882c9c3e6b652a6e901bb4296ddc7cc44699215b6
+DIST scipy-1.11.0.tar.gz 56030121 BLAKE2B e700bf8f9cffa7bc0f4832722010dcf2e03d8f93d13534f7f85734394c02536c1427cae5a097b59616f0873ba941579fcf2efd0baafc2037d9eca1f93362d38b SHA512 248cfbbedba73925b0461bf0f96c4a11bd4cfc7849cb18c58f6405074796ab0efdc4f056c58d344cb8833c0d2c6425f84e7ac6fe958cf98b1cc0bf16e7ff2444
DIST scipy-html-1.10.1.zip 49191107 BLAKE2B 5163ae3a62745992bcf94ab02ca2bb13fcf6d2ae0eb2a113ba29bc37a8e8f40ec70e39fe16e6371ce0bc31d4c8f0f46746be91b4fe2ad41c68a985c6f00fb8e7 SHA512 f3252452d3bfd400890f29460de2f97bf72732e0fc864582e906b78808e856ead5b1bf97cba531f2150e396408e585499d127004231421d20108e96040316232
+DIST scipy-html-1.11.0.zip 50421508 BLAKE2B cb5e4a4f8817a80f54ae73b4a47ba22d2438df46ebfe27ef5fdc2695fdd983226f4ccae925bf82b15d01ced4f4b6807384ecadac5e1aa7700aa887ad06b7d065 SHA512 33718bbd5e828687d93fccc441a53b6a2e8f54ac4952d3b69d4c4668f55cb6ef5aba33df9acda20b2400effa5ae71767b2a5602a365ad2045a6edd24ff89c253
diff --git a/dev-python/scipy/scipy-1.11.0.ebuild b/dev-python/scipy/scipy-1.11.0.ebuild
new file mode 100644
index 000000000000..dee7be903796
--- /dev/null
+++ b/dev-python/scipy/scipy-1.11.0.ebuild
@@ -0,0 +1,124 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FORTRAN_NEEDED=fortran
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=meson-python
+PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit fortran-2 distutils-r1 multiprocessing
+
+DESCRIPTION="Scientific algorithms library for Python"
+HOMEPAGE="
+ https://scipy.org/
+ https://github.com/scipy/scipy/
+ https://pypi.org/project/scipy/
+"
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+
+ # Need submodules, so git for now.
+ EGIT_REPO_URI="https://github.com/scipy/scipy"
+ EGIT_BRANCH="maintenance/$(ver_cut 1-2).x"
+ EGIT_SUBMODULES=( '*' )
+else
+ inherit pypi
+
+ # Upstream is often behind with doc updates
+ DOC_PV=${PV}
+
+ SRC_URI+="
+ doc? (
+ https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip
+ )"
+
+ if [[ ${PV} != *rc* ]] ; then
+ KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+ fi
+fi
+
+LICENSE="BSD LGPL-2"
+SLOT="0"
+IUSE="doc +fortran test-rust"
+
+# umfpack is technically optional but it's preferred to have it available.
+DEPEND="
+ >=dev-python/numpy-1.21.6[lapack,${PYTHON_USEDEP}]
+ sci-libs/arpack:=
+ sci-libs/umfpack
+ virtual/cblas
+ >=virtual/lapack-3.8
+"
+RDEPEND="
+ ${DEPEND}
+ dev-python/pillow[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-lang/swig
+ >=dev-python/cython-0.29.35[${PYTHON_USEDEP}]
+ >=dev-python/meson-python-0.12.1[${PYTHON_USEDEP}]
+ >=dev-python/pybind11-2.10.4[${PYTHON_USEDEP}]
+ >=dev-util/meson-1.1.0
+ dev-util/patchelf
+ virtual/pkgconfig
+ doc? ( app-arch/unzip )
+ fortran? ( dev-python/pythran[${PYTHON_USEDEP}] )
+ test? (
+ dev-python/pytest-xdist[${PYTHON_USEDEP}]
+ )
+ test-rust? (
+ dev-python/pooch[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+src_unpack() {
+ default
+
+ if use doc; then
+ unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die
+ fi
+}
+
+python_configure_all() {
+ export SCIPY_USE_PYTHRAN=$(usex fortran 1 0)
+ DISTUTILS_ARGS=(
+ -Dblas=blas
+ -Dlapack=lapack
+ )
+}
+
+python_test() {
+ cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
+
+ local EPYTEST_DESELECT=(
+ # Network
+ scipy/datasets/tests/test_data.py::TestDatasets::test_existence_all
+ scipy/datasets/tests/test_data.py::TestDatasets::test_ascent
+ scipy/datasets/tests/test_data.py::TestDatasets::test_face
+ scipy/datasets/tests/test_data.py::TestDatasets::test_electrocardiogram
+
+ # Precision issue with diff. blas?
+ scipy/optimize/tests/test__basinhopping.py::Test_Metropolis::test_gh7799
+ )
+ local EPYTEST_IGNORE=()
+
+ if ! has_version -b "dev-python/pooch[${PYTHON_USEDEP}]" ; then
+ EPYTEST_IGNORE+=(
+ scipy/datasets/tests/test_data.py
+ )
+ fi
+
+ epytest -n "$(makeopts_jobs)" scipy
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( "${WORKDIR}"/html/. )
+
+ distutils-r1_python_install_all
+}
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-04-28 4:32 Michał Górny
0 siblings, 0 replies; 209+ messages in thread
From: Michał Górny @ 2023-04-28 4:32 UTC (permalink / raw
To: gentoo-commits
commit: 3db752a416b0eacf46f2019b3b2e1f438e8b245d
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 28 04:19:14 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Apr 28 04:32:12 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3db752a4
dev-python/scipy: Remove old
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/Manifest | 3 -
dev-python/scipy/scipy-1.9.3.ebuild | 109 ------------------------------------
2 files changed, 112 deletions(-)
diff --git a/dev-python/scipy/Manifest b/dev-python/scipy/Manifest
index 88e1ca57c849..bc836cc56535 100644
--- a/dev-python/scipy/Manifest
+++ b/dev-python/scipy/Manifest
@@ -1,5 +1,2 @@
DIST scipy-1.10.1.tar.gz 42407997 BLAKE2B 807dceb1e056a1a2c0ec354e4e21f64e59cdab9eaf286cec3783bb93bf80efa00a71e7bd8d1898e8a2fdf86b614f035a0a97436dc4515574d73d9d4521824316 SHA512 767e1dee6285d98e4d58d8d8d1e3654b00e3216e9ad55455fc9473f1d044bef80ecce749bcd24d8f331367b882c9c3e6b652a6e901bb4296ddc7cc44699215b6
-DIST scipy-1.9.3.tar.gz 42075414 BLAKE2B f19e829d26a5673cccb69bce43a9142637f42a9ec462a3fd2ea44b62564cff6fb27a4deaccc59e0e738cc0c997b0a7de948bf9f2db6fa7896323405a072e0111 SHA512 119f9a5e1ce3b4268ba38a0eb82dff78837593d9a5c5e464663925a4b3b1de060201fe568236e19ed0996a045754333c580e181c4cdec2cc707e57060f59364e
DIST scipy-html-1.10.1.zip 49191107 BLAKE2B 5163ae3a62745992bcf94ab02ca2bb13fcf6d2ae0eb2a113ba29bc37a8e8f40ec70e39fe16e6371ce0bc31d4c8f0f46746be91b4fe2ad41c68a985c6f00fb8e7 SHA512 f3252452d3bfd400890f29460de2f97bf72732e0fc864582e906b78808e856ead5b1bf97cba531f2150e396408e585499d127004231421d20108e96040316232
-DIST scipy-html-1.8.1.zip 37060661 BLAKE2B 2fa617c58eb47463f8a61f9798b32c6da255d26b8e86c1558e427a715093f5a29ced3847ab6ecfe88ce1017664f36ac3e9fa9bbf72ede7e0fd3812b5f41fe933 SHA512 95153dc1f404aa64898a700c94c0deea3ca842c3152167d0987edabcf4a8eba16b6c8e6bc38a6775a849dc621e6a21434baf53d1669b1865fa5049cffa4387ac
-DIST scipy-ref-1.8.1.pdf 35025868 BLAKE2B 9221755d2dc69b8623271f75ff3078a0a4410fe9ff69ee317b40bf145af7da21a7f5f4b6b67820d8bb2878f83b7014f1ea7c2f0e026afb716da0479d394505e2 SHA512 8f27dcb9dd1030e15266389af21a1475ecfec5ea777fb2dbcf8db8d3398ac6e45c7040b8d6dbaffd29be3920925427be7c55efdc8094d670c857edfdab7f7728
diff --git a/dev-python/scipy/scipy-1.9.3.ebuild b/dev-python/scipy/scipy-1.9.3.ebuild
deleted file mode 100644
index dff083c51211..000000000000
--- a/dev-python/scipy/scipy-1.9.3.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-FORTRAN_NEEDED=fortran
-DISTUTILS_USE_PEP517=meson-python
-PYTHON_COMPAT=( python3_{9..11} )
-PYTHON_REQ_USE="threads(+)"
-
-inherit fortran-2 distutils-r1 multiprocessing
-
-DESCRIPTION="Scientific algorithms library for Python"
-HOMEPAGE="
- https://scipy.org/
- https://github.com/scipy/scipy/
- https://pypi.org/project/scipy/
-"
-
-if [[ ${PV} == *9999* ]] ; then
- inherit git-r3
-
- # Need submodules, so git for now.
- EGIT_REPO_URI="https://github.com/scipy/scipy"
- EGIT_BRANCH="maintenance/$(ver_cut 1-2).x"
- EGIT_SUBMODULES=( '*' )
-else
- # Upstream is often behind with doc updates
- DOC_PV=1.8.1
- MY_PV=${PV/_rc/rc}
- MY_P=${PN}-${MY_PV}
-
- SRC_URI="
- mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz
- doc? (
- https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip
- https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-ref-${DOC_PV}.pdf
- )"
- S="${WORKDIR}"/${MY_P}
-
- if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="amd64 arm arm64 -hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86"
- fi
-fi
-
-LICENSE="BSD LGPL-2"
-SLOT="0"
-IUSE="doc +fortran"
-
-# umfpack is technically optional but it's preferred to have it available.
-DEPEND="
- >=dev-python/numpy-1.18.5[lapack,${PYTHON_USEDEP}]
- sci-libs/arpack:=
- sci-libs/umfpack
- virtual/cblas
- >=virtual/lapack-3.8
-"
-RDEPEND="
- ${DEPEND}
- dev-python/pillow[${PYTHON_USEDEP}]
-"
-BDEPEND="
- dev-lang/swig
- >=dev-python/cython-0.29.18[${PYTHON_USEDEP}]
- >=dev-python/meson-python-0.11[${PYTHON_USEDEP}]
- dev-python/pybind11[${PYTHON_USEDEP}]
- >=dev-util/meson-0.62.2
- dev-util/patchelf
- virtual/pkgconfig
- doc? ( app-arch/unzip )
- fortran? ( dev-python/pythran[${PYTHON_USEDEP}] )
- test? ( dev-python/pytest-xdist[${PYTHON_USEDEP}] )"
-
-EPYTEST_DESELECT=(
- linalg/tests/test_decomp.py::TestSchur::test_sort
- linalg/tests/test_solvers.py::test_solve_discrete_are
-)
-
-distutils_enable_tests pytest
-
-src_unpack() {
- default
-
- if use doc; then
- unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die
- fi
-}
-
-python_configure_all() {
- export SCIPY_USE_PYTHRAN=$(usex fortran 1 0)
- DISTUTILS_ARGS=(
- -Dblas=blas
- -Dlapack=lapack
- )
-}
-
-python_test() {
- cd "${T}" || die
-
- epytest -n "$(makeopts_jobs)" --pyargs scipy
-}
-
-python_install_all() {
- use doc && \
- local DOCS=( "${DISTDIR}"/${PN}-ref-${DOC_PV}.pdf ) \
- local HTML_DOCS=( "${WORKDIR}"/html/. )
-
- distutils-r1_python_install_all
-}
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-04-27 23:31 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2023-04-27 23:31 UTC (permalink / raw
To: gentoo-commits
commit: 0e190ef3bada1f0c32ecb26842a3d2c988484143
Author: Matoro Mahri <matoro <AT> users <DOT> noreply <DOT> github <DOT> com>
AuthorDate: Thu Apr 27 23:28:40 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 27 23:30:43 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e190ef3
dev-python/scipy: Keyword 1.10.1 ia64, #862330
Signed-off-by: Matoro Mahri <matoro <AT> users.noreply.github.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.10.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.10.1.ebuild b/dev-python/scipy/scipy-1.10.1.ebuild
index c04548669025..1b1881f25408 100644
--- a/dev-python/scipy/scipy-1.10.1.ebuild
+++ b/dev-python/scipy/scipy-1.10.1.ebuild
@@ -37,7 +37,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="amd64 arm arm64 -hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc x86"
+ KEYWORDS="amd64 arm arm64 -hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-04-25 16:05 Michał Górny
0 siblings, 0 replies; 209+ messages in thread
From: Michał Górny @ 2023-04-25 16:05 UTC (permalink / raw
To: gentoo-commits
commit: 790bb170cc4b04eaae1bb8d3f26b33a59ea16232
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 25 15:31:32 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Apr 25 16:05:35 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=790bb170
dev-python/scipy: Fix ignoring tests with !pooch
Closes: https://bugs.gentoo.org/904975
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/scipy-1.10.1.ebuild | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/dev-python/scipy/scipy-1.10.1.ebuild b/dev-python/scipy/scipy-1.10.1.ebuild
index f4f38cab6482..c04548669025 100644
--- a/dev-python/scipy/scipy-1.10.1.ebuild
+++ b/dev-python/scipy/scipy-1.10.1.ebuild
@@ -94,24 +94,24 @@ python_configure_all() {
}
python_test() {
- cd "${T}" || die
+ cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
local EPYTEST_DESELECT=(
# Network
- datasets/tests/test_data.py::TestDatasets::test_existence_all
- datasets/tests/test_data.py::TestDatasets::test_ascent
- datasets/tests/test_data.py::TestDatasets::test_face
- datasets/tests/test_data.py::TestDatasets::test_electrocardiogram
+ scipy/datasets/tests/test_data.py::TestDatasets::test_existence_all
+ scipy/datasets/tests/test_data.py::TestDatasets::test_ascent
+ scipy/datasets/tests/test_data.py::TestDatasets::test_face
+ scipy/datasets/tests/test_data.py::TestDatasets::test_electrocardiogram
)
local EPYTEST_IGNORE=()
if ! has_version -b "dev-python/pooch[${PYTHON_USEDEP}]" ; then
EPYTEST_IGNORE+=(
- datasets/tests/test_data.py
+ scipy/datasets/tests/test_data.py
)
fi
- epytest -n "$(makeopts_jobs)" --pyargs scipy
+ epytest -n "$(makeopts_jobs)" scipy
}
python_install_all() {
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-04-25 15:00 Michał Górny
0 siblings, 0 replies; 209+ messages in thread
From: Michał Górny @ 2023-04-25 15:00 UTC (permalink / raw
To: gentoo-commits
commit: ac30f85c758d83e6357d480c307834173c017961
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 25 14:48:23 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Apr 25 15:00:16 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac30f85c
dev-python/scipy: Set DISTUTILS_EXT=1
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/scipy-1.10.1.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/dev-python/scipy/scipy-1.10.1.ebuild b/dev-python/scipy/scipy-1.10.1.ebuild
index 08df910a0993..f4f38cab6482 100644
--- a/dev-python/scipy/scipy-1.10.1.ebuild
+++ b/dev-python/scipy/scipy-1.10.1.ebuild
@@ -4,6 +4,7 @@
EAPI=8
FORTRAN_NEEDED=fortran
+DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=meson-python
PYTHON_COMPAT=( python3_{9..11} )
PYTHON_REQ_USE="threads(+)"
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-04-25 15:00 Michał Górny
0 siblings, 0 replies; 209+ messages in thread
From: Michał Górny @ 2023-04-25 15:00 UTC (permalink / raw
To: gentoo-commits
commit: 589e22e5cdc1043d507e429dec2bd3c7a3c4a25c
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 25 14:48:11 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Apr 25 15:00:15 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=589e22e5
dev-python/scipy: Remove obsolete EPYTEST_DESELECT entries
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/scipy-1.10.1.ebuild | 4 ----
1 file changed, 4 deletions(-)
diff --git a/dev-python/scipy/scipy-1.10.1.ebuild b/dev-python/scipy/scipy-1.10.1.ebuild
index fbe608eae076..08df910a0993 100644
--- a/dev-python/scipy/scipy-1.10.1.ebuild
+++ b/dev-python/scipy/scipy-1.10.1.ebuild
@@ -96,10 +96,6 @@ python_test() {
cd "${T}" || die
local EPYTEST_DESELECT=(
- linalg/tests/test_decomp.py::TestSchur::test_sort
- linalg/tests/test_solvers.py::test_solve_discrete_are
- optimize/tests/test_milp.py::test_milp_timeout_16545
-
# Network
datasets/tests/test_data.py::TestDatasets::test_existence_all
datasets/tests/test_data.py::TestDatasets::test_ascent
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-04-23 19:30 Michał Górny
0 siblings, 0 replies; 209+ messages in thread
From: Michał Górny @ 2023-04-23 19:30 UTC (permalink / raw
To: gentoo-commits
commit: 97d4c1a9c78cdc8239c3d93fa4bb850748fca2f3
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 23 18:15:15 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Apr 23 19:30:02 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97d4c1a9
dev-python/scipy: Put EPYTEST_* in python_test() for readability
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/scipy-1.10.1.ebuild | 25 +++++++++++++------------
1 file changed, 13 insertions(+), 12 deletions(-)
diff --git a/dev-python/scipy/scipy-1.10.1.ebuild b/dev-python/scipy/scipy-1.10.1.ebuild
index 1b507dba0eb7..fbe608eae076 100644
--- a/dev-python/scipy/scipy-1.10.1.ebuild
+++ b/dev-python/scipy/scipy-1.10.1.ebuild
@@ -74,18 +74,6 @@ BDEPEND="
)
"
-EPYTEST_DESELECT=(
- linalg/tests/test_decomp.py::TestSchur::test_sort
- linalg/tests/test_solvers.py::test_solve_discrete_are
- optimize/tests/test_milp.py::test_milp_timeout_16545
-
- # Network
- datasets/tests/test_data.py::TestDatasets::test_existence_all
- datasets/tests/test_data.py::TestDatasets::test_ascent
- datasets/tests/test_data.py::TestDatasets::test_face
- datasets/tests/test_data.py::TestDatasets::test_electrocardiogram
-)
-
distutils_enable_tests pytest
src_unpack() {
@@ -107,6 +95,19 @@ python_configure_all() {
python_test() {
cd "${T}" || die
+ local EPYTEST_DESELECT=(
+ linalg/tests/test_decomp.py::TestSchur::test_sort
+ linalg/tests/test_solvers.py::test_solve_discrete_are
+ optimize/tests/test_milp.py::test_milp_timeout_16545
+
+ # Network
+ datasets/tests/test_data.py::TestDatasets::test_existence_all
+ datasets/tests/test_data.py::TestDatasets::test_ascent
+ datasets/tests/test_data.py::TestDatasets::test_face
+ datasets/tests/test_data.py::TestDatasets::test_electrocardiogram
+ )
+ local EPYTEST_IGNORE=()
+
if ! has_version -b "dev-python/pooch[${PYTHON_USEDEP}]" ; then
EPYTEST_IGNORE+=(
datasets/tests/test_data.py
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-04-20 21:52 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2023-04-20 21:52 UTC (permalink / raw
To: gentoo-commits
commit: 20c7330c48c309550f5423ff41b0b40b8d086cd9
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 20 21:49:23 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 20 21:49:23 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20c7330c
dev-python/scipy: Stabilize 1.9.3 ppc, #883529
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.9.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.9.3.ebuild b/dev-python/scipy/scipy-1.9.3.ebuild
index bb15246a1c06..9e483e7d522a 100644
--- a/dev-python/scipy/scipy-1.9.3.ebuild
+++ b/dev-python/scipy/scipy-1.9.3.ebuild
@@ -39,7 +39,7 @@ else
S="${WORKDIR}"/${MY_P}
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="amd64 arm arm64 -hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc ~x86"
+ KEYWORDS="amd64 arm arm64 -hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc ~x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-04-20 21:52 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2023-04-20 21:52 UTC (permalink / raw
To: gentoo-commits
commit: f4ccb786fa7102096bafd5f02c69c8a742cebb2a
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 20 21:49:27 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 20 21:49:27 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4ccb786
dev-python/scipy: Stabilize 1.9.3 x86, #883529
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.9.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.9.3.ebuild b/dev-python/scipy/scipy-1.9.3.ebuild
index 9e483e7d522a..dff083c51211 100644
--- a/dev-python/scipy/scipy-1.9.3.ebuild
+++ b/dev-python/scipy/scipy-1.9.3.ebuild
@@ -39,7 +39,7 @@ else
S="${WORKDIR}"/${MY_P}
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="amd64 arm arm64 -hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc ~x86"
+ KEYWORDS="amd64 arm arm64 -hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-04-14 20:46 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2023-04-14 20:46 UTC (permalink / raw
To: gentoo-commits
commit: 4a70318e4932c7f6dfac7f754636f85561656ca4
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 14 20:45:50 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Apr 14 20:45:50 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a70318e
dev-python/scipy: Keyword 1.10.1 s390, #889812
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.10.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.10.1.ebuild b/dev-python/scipy/scipy-1.10.1.ebuild
index d57dd50335f3..bd01b49e0658 100644
--- a/dev-python/scipy/scipy-1.10.1.ebuild
+++ b/dev-python/scipy/scipy-1.10.1.ebuild
@@ -36,7 +36,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="amd64 arm arm64 -hppa ppc ppc64 ~riscv ~sparc x86"
+ KEYWORDS="amd64 arm arm64 -hppa ppc ppc64 ~riscv ~s390 ~sparc x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-04-06 7:58 Arthur Zamarin
0 siblings, 0 replies; 209+ messages in thread
From: Arthur Zamarin @ 2023-04-06 7:58 UTC (permalink / raw
To: gentoo-commits
commit: 3d2cd483521d383b7cae64d97355bd8ffbc4ae61
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 6 07:57:51 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 6 07:57:51 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d2cd483
dev-python/scipy: Stabilize 1.10.1 x86, #902941
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/scipy/scipy-1.10.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.10.1.ebuild b/dev-python/scipy/scipy-1.10.1.ebuild
index 6059c75d08fe..d57dd50335f3 100644
--- a/dev-python/scipy/scipy-1.10.1.ebuild
+++ b/dev-python/scipy/scipy-1.10.1.ebuild
@@ -36,7 +36,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="amd64 arm arm64 -hppa ppc ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="amd64 arm arm64 -hppa ppc ppc64 ~riscv ~sparc x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-04-06 7:56 Arthur Zamarin
0 siblings, 0 replies; 209+ messages in thread
From: Arthur Zamarin @ 2023-04-06 7:56 UTC (permalink / raw
To: gentoo-commits
commit: 832ae6d98ccf36905c5a1e10a56247406a0c4984
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 6 07:56:19 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 6 07:56:19 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=832ae6d9
dev-python/scipy: Stabilize 1.10.1 arm64, #902941
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/scipy/scipy-1.10.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.10.1.ebuild b/dev-python/scipy/scipy-1.10.1.ebuild
index 4ffa5734b61c..6059c75d08fe 100644
--- a/dev-python/scipy/scipy-1.10.1.ebuild
+++ b/dev-python/scipy/scipy-1.10.1.ebuild
@@ -36,7 +36,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="amd64 arm ~arm64 -hppa ppc ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="amd64 arm arm64 -hppa ppc ppc64 ~riscv ~sparc ~x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-03-24 20:48 Arthur Zamarin
0 siblings, 0 replies; 209+ messages in thread
From: Arthur Zamarin @ 2023-03-24 20:48 UTC (permalink / raw
To: gentoo-commits
commit: 116cc86611f3af369487a050bfac592cda05ad22
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 24 20:48:36 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 24 20:48:36 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=116cc866
dev-python/scipy: Stabilize 1.10.1 ppc, #902941
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/scipy/scipy-1.10.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.10.1.ebuild b/dev-python/scipy/scipy-1.10.1.ebuild
index d852ccfd2c2d..4ffa5734b61c 100644
--- a/dev-python/scipy/scipy-1.10.1.ebuild
+++ b/dev-python/scipy/scipy-1.10.1.ebuild
@@ -36,7 +36,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="amd64 arm ~arm64 -hppa ~ppc ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="amd64 arm ~arm64 -hppa ppc ppc64 ~riscv ~sparc ~x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-03-24 20:44 Arthur Zamarin
0 siblings, 0 replies; 209+ messages in thread
From: Arthur Zamarin @ 2023-03-24 20:44 UTC (permalink / raw
To: gentoo-commits
commit: 7010d00a96c5408037935fe57048e16ec44928f2
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 24 20:44:19 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 24 20:44:19 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7010d00a
dev-python/scipy: Stabilize 1.10.1 amd64, #902941
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/scipy/scipy-1.10.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.10.1.ebuild b/dev-python/scipy/scipy-1.10.1.ebuild
index c0709d2425e8..d852ccfd2c2d 100644
--- a/dev-python/scipy/scipy-1.10.1.ebuild
+++ b/dev-python/scipy/scipy-1.10.1.ebuild
@@ -36,7 +36,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 arm ~arm64 -hppa ~ppc ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="amd64 arm ~arm64 -hppa ~ppc ppc64 ~riscv ~sparc ~x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-03-24 20:34 Arthur Zamarin
0 siblings, 0 replies; 209+ messages in thread
From: Arthur Zamarin @ 2023-03-24 20:34 UTC (permalink / raw
To: gentoo-commits
commit: f7ccb694697fc91377e592108707f67eeb97544d
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 24 20:34:45 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 24 20:34:45 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7ccb694
dev-python/scipy: Stabilize 1.10.1 ppc64, #902941
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/scipy/scipy-1.10.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.10.1.ebuild b/dev-python/scipy/scipy-1.10.1.ebuild
index 32da7837bbf5..c0709d2425e8 100644
--- a/dev-python/scipy/scipy-1.10.1.ebuild
+++ b/dev-python/scipy/scipy-1.10.1.ebuild
@@ -36,7 +36,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 arm ~arm64 -hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="~amd64 arm ~arm64 -hppa ~ppc ppc64 ~riscv ~sparc ~x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-03-24 20:13 Arthur Zamarin
0 siblings, 0 replies; 209+ messages in thread
From: Arthur Zamarin @ 2023-03-24 20:13 UTC (permalink / raw
To: gentoo-commits
commit: e6fb9ab168cb53113f761d51df91e39f01907489
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 24 20:13:06 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 24 20:13:06 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6fb9ab1
dev-python/scipy: Stabilize 1.10.1 arm, #902941
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/scipy/scipy-1.10.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.10.1.ebuild b/dev-python/scipy/scipy-1.10.1.ebuild
index b33ee1b14a67..32da7837bbf5 100644
--- a/dev-python/scipy/scipy-1.10.1.ebuild
+++ b/dev-python/scipy/scipy-1.10.1.ebuild
@@ -36,7 +36,7 @@ else
)"
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="~amd64 arm ~arm64 -hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-02-20 6:24 Michał Górny
0 siblings, 0 replies; 209+ messages in thread
From: Michał Górny @ 2023-02-20 6:24 UTC (permalink / raw
To: gentoo-commits
commit: 3b20b92e60263eb68273875eb39ccc33dd8a4d2b
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 20 05:24:56 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Feb 20 06:23:58 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b20b92e
dev-python/scipy: Bump to 1.10.1
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/Manifest | 2 +
dev-python/scipy/scipy-1.10.1.ebuild | 123 +++++++++++++++++++++++++++++++++++
2 files changed, 125 insertions(+)
diff --git a/dev-python/scipy/Manifest b/dev-python/scipy/Manifest
index 0ad24744d78f..bf48763a7d9e 100644
--- a/dev-python/scipy/Manifest
+++ b/dev-python/scipy/Manifest
@@ -1,6 +1,8 @@
DIST scipy-1.10.0.tar.gz 42398693 BLAKE2B fc2c1ef997fb14716453d94a6d12f8cbdfb742c99bec2c5c504a70248217e44d84b3326304e7bfafd3a52b968de3404b0a084d1e8043295842d01f4337732d91 SHA512 13fec0a2c24b90617ad4701c43c54757c91d2c62ca4b9ea5e5c5d130177ba4d2bb8687aae9057b58c26d1a77e4291164bad7ba9e21352669c07ba18bf539ad32
+DIST scipy-1.10.1.tar.gz 42407997 BLAKE2B 807dceb1e056a1a2c0ec354e4e21f64e59cdab9eaf286cec3783bb93bf80efa00a71e7bd8d1898e8a2fdf86b614f035a0a97436dc4515574d73d9d4521824316 SHA512 767e1dee6285d98e4d58d8d8d1e3654b00e3216e9ad55455fc9473f1d044bef80ecce749bcd24d8f331367b882c9c3e6b652a6e901bb4296ddc7cc44699215b6
DIST scipy-1.9.2.tar.gz 42068300 BLAKE2B 0962115990a12339d8b87eabbee02d52a52e57259fbe2e74884fa2f08d66d8b7505f84561f643b539603bc8bf4ef3bf73c3d908453fbb0c99f732c3a81f8a328 SHA512 5f8667aa66aa0b5fad689d960f742874ce09f830bfd5aa241917526f153fbc09c7f709bc84113f83283fcbb8a47113eb215478d9c3473f76d8f7dbf0989429a2
DIST scipy-1.9.3.tar.gz 42075414 BLAKE2B f19e829d26a5673cccb69bce43a9142637f42a9ec462a3fd2ea44b62564cff6fb27a4deaccc59e0e738cc0c997b0a7de948bf9f2db6fa7896323405a072e0111 SHA512 119f9a5e1ce3b4268ba38a0eb82dff78837593d9a5c5e464663925a4b3b1de060201fe568236e19ed0996a045754333c580e181c4cdec2cc707e57060f59364e
DIST scipy-html-1.10.0.zip 65656379 BLAKE2B 4a4f1e428bc2355f32be05e35634e5aaccb0938f170ee247931a892cf7ab59b3a9ab952060e98936e153bed752c29c01ed34eba02188b3514de7607285c01d08 SHA512 3bda526f209905355b3f87ba1529b9f45c3580ce7d9b80a63931871dab1542347f243c9f688854cb67d575e9a645ec89105775accdc746fc290113f28978b73b
+DIST scipy-html-1.10.1.zip 49191107 BLAKE2B 5163ae3a62745992bcf94ab02ca2bb13fcf6d2ae0eb2a113ba29bc37a8e8f40ec70e39fe16e6371ce0bc31d4c8f0f46746be91b4fe2ad41c68a985c6f00fb8e7 SHA512 f3252452d3bfd400890f29460de2f97bf72732e0fc864582e906b78808e856ead5b1bf97cba531f2150e396408e585499d127004231421d20108e96040316232
DIST scipy-html-1.8.1.zip 37060661 BLAKE2B 2fa617c58eb47463f8a61f9798b32c6da255d26b8e86c1558e427a715093f5a29ced3847ab6ecfe88ce1017664f36ac3e9fa9bbf72ede7e0fd3812b5f41fe933 SHA512 95153dc1f404aa64898a700c94c0deea3ca842c3152167d0987edabcf4a8eba16b6c8e6bc38a6775a849dc621e6a21434baf53d1669b1865fa5049cffa4387ac
DIST scipy-ref-1.8.1.pdf 35025868 BLAKE2B 9221755d2dc69b8623271f75ff3078a0a4410fe9ff69ee317b40bf145af7da21a7f5f4b6b67820d8bb2878f83b7014f1ea7c2f0e026afb716da0479d394505e2 SHA512 8f27dcb9dd1030e15266389af21a1475ecfec5ea777fb2dbcf8db8d3398ac6e45c7040b8d6dbaffd29be3920925427be7c55efdc8094d670c857edfdab7f7728
diff --git a/dev-python/scipy/scipy-1.10.1.ebuild b/dev-python/scipy/scipy-1.10.1.ebuild
new file mode 100644
index 000000000000..b33ee1b14a67
--- /dev/null
+++ b/dev-python/scipy/scipy-1.10.1.ebuild
@@ -0,0 +1,123 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FORTRAN_NEEDED=fortran
+DISTUTILS_USE_PEP517=meson-python
+PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit fortran-2 distutils-r1 multiprocessing
+
+DESCRIPTION="Scientific algorithms library for Python"
+HOMEPAGE="
+ https://scipy.org/
+ https://github.com/scipy/scipy/
+ https://pypi.org/project/scipy/
+"
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+
+ # Need submodules, so git for now.
+ EGIT_REPO_URI="https://github.com/scipy/scipy"
+ EGIT_BRANCH="maintenance/$(ver_cut 1-2).x"
+ EGIT_SUBMODULES=( '*' )
+else
+ inherit pypi
+
+ # Upstream is often behind with doc updates
+ DOC_PV=${PV}
+
+ SRC_URI+="
+ doc? (
+ https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip
+ )"
+
+ if [[ ${PV} != *rc* ]] ; then
+ KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ fi
+fi
+
+LICENSE="BSD LGPL-2"
+SLOT="0"
+IUSE="doc +fortran test-rust"
+
+# umfpack is technically optional but it's preferred to have it available.
+DEPEND="
+ >=dev-python/numpy-1.19.5[lapack,${PYTHON_USEDEP}]
+ sci-libs/arpack:=
+ sci-libs/umfpack
+ virtual/cblas
+ >=virtual/lapack-3.8
+"
+RDEPEND="
+ ${DEPEND}
+ dev-python/pillow[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-lang/swig
+ >=dev-python/cython-0.29.18[${PYTHON_USEDEP}]
+ >=dev-python/meson-python-0.11[${PYTHON_USEDEP}]
+ dev-python/pybind11[${PYTHON_USEDEP}]
+ >=dev-util/meson-0.62.2
+ dev-util/patchelf
+ virtual/pkgconfig
+ doc? ( app-arch/unzip )
+ fortran? ( dev-python/pythran[${PYTHON_USEDEP}] )
+ test? (
+ dev-python/pytest-xdist[${PYTHON_USEDEP}]
+ )
+ test-rust? (
+ dev-python/pooch[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_DESELECT=(
+ linalg/tests/test_decomp.py::TestSchur::test_sort
+ linalg/tests/test_solvers.py::test_solve_discrete_are
+ optimize/tests/test_milp.py::test_milp_timeout_16545
+
+ # Network
+ datasets/tests/test_data.py::TestDatasets::test_existence_all
+ datasets/tests/test_data.py::TestDatasets::test_ascent
+ datasets/tests/test_data.py::TestDatasets::test_face
+ datasets/tests/test_data.py::TestDatasets::test_electrocardiogram
+)
+
+distutils_enable_tests pytest
+
+src_unpack() {
+ default
+
+ if use doc; then
+ unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die
+ fi
+}
+
+python_configure_all() {
+ export SCIPY_USE_PYTHRAN=$(usex fortran 1 0)
+ DISTUTILS_ARGS=(
+ -Dblas=blas
+ -Dlapack=lapack
+ )
+}
+
+python_test() {
+ cd "${T}" || die
+
+ if ! has_version -b "dev-python/pooch[${PYTHON_USEDEP}]" ; then
+ EPYTEST_IGNORE+=(
+ datasets/tests/test_data.py
+ )
+ fi
+
+ epytest -n "$(makeopts_jobs)" --pyargs scipy
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( "${WORKDIR}"/html/. )
+
+ distutils-r1_python_install_all
+}
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-01-28 14:18 Arthur Zamarin
0 siblings, 0 replies; 209+ messages in thread
From: Arthur Zamarin @ 2023-01-28 14:18 UTC (permalink / raw
To: gentoo-commits
commit: 095f42469998974a356cb6ee46d41132b4335a18
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 28 14:17:48 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 28 14:17:48 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=095f4246
dev-python/scipy: Stabilize 1.10.0 x86, #892367
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/scipy/scipy-1.10.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.10.0.ebuild b/dev-python/scipy/scipy-1.10.0.ebuild
index a805057615fc..bf013408674e 100644
--- a/dev-python/scipy/scipy-1.10.0.ebuild
+++ b/dev-python/scipy/scipy-1.10.0.ebuild
@@ -38,7 +38,7 @@ else
S="${WORKDIR}"/${MY_P}
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="amd64 arm arm64 -hppa ~ppc ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="amd64 arm arm64 -hppa ~ppc ppc64 ~riscv ~sparc x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-01-28 14:18 Arthur Zamarin
0 siblings, 0 replies; 209+ messages in thread
From: Arthur Zamarin @ 2023-01-28 14:18 UTC (permalink / raw
To: gentoo-commits
commit: 1f3ca858ed11269c265b4362f7dd47d3028193c6
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 28 14:17:43 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 28 14:17:43 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f3ca858
dev-python/scipy: Stabilize 1.10.0 amd64, #892367
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/scipy/scipy-1.10.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.10.0.ebuild b/dev-python/scipy/scipy-1.10.0.ebuild
index ce45c953e6e6..a805057615fc 100644
--- a/dev-python/scipy/scipy-1.10.0.ebuild
+++ b/dev-python/scipy/scipy-1.10.0.ebuild
@@ -38,7 +38,7 @@ else
S="${WORKDIR}"/${MY_P}
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 arm arm64 -hppa ~ppc ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="amd64 arm arm64 -hppa ~ppc ppc64 ~riscv ~sparc ~x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-01-28 14:15 Arthur Zamarin
0 siblings, 0 replies; 209+ messages in thread
From: Arthur Zamarin @ 2023-01-28 14:15 UTC (permalink / raw
To: gentoo-commits
commit: 64182ae16e1216f7de0831b34fb465d11ec6d862
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 28 14:15:39 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 28 14:15:39 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64182ae1
dev-python/scipy: Stabilize 1.10.0 arm64, #892367
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/scipy/scipy-1.10.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.10.0.ebuild b/dev-python/scipy/scipy-1.10.0.ebuild
index c839f5a74608..ce45c953e6e6 100644
--- a/dev-python/scipy/scipy-1.10.0.ebuild
+++ b/dev-python/scipy/scipy-1.10.0.ebuild
@@ -38,7 +38,7 @@ else
S="${WORKDIR}"/${MY_P}
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 arm ~arm64 -hppa ~ppc ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="~amd64 arm arm64 -hppa ~ppc ppc64 ~riscv ~sparc ~x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-01-28 14:15 Arthur Zamarin
0 siblings, 0 replies; 209+ messages in thread
From: Arthur Zamarin @ 2023-01-28 14:15 UTC (permalink / raw
To: gentoo-commits
commit: 56b399ee0f0dfbb316020900855e8d1f1d70027b
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 28 14:15:37 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 28 14:15:37 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56b399ee
dev-python/scipy: Stabilize 1.10.0 ppc64, #892367
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/scipy/scipy-1.10.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.10.0.ebuild b/dev-python/scipy/scipy-1.10.0.ebuild
index 7b1d4ea364a6..c839f5a74608 100644
--- a/dev-python/scipy/scipy-1.10.0.ebuild
+++ b/dev-python/scipy/scipy-1.10.0.ebuild
@@ -38,7 +38,7 @@ else
S="${WORKDIR}"/${MY_P}
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 arm ~arm64 -hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="~amd64 arm ~arm64 -hppa ~ppc ppc64 ~riscv ~sparc ~x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-01-28 12:08 Arthur Zamarin
0 siblings, 0 replies; 209+ messages in thread
From: Arthur Zamarin @ 2023-01-28 12:08 UTC (permalink / raw
To: gentoo-commits
commit: fea93255a0822dd1b39635201191d9622a6f9e4d
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 28 12:07:56 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 28 12:07:56 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fea93255
dev-python/scipy: Stabilize 1.10.0 arm, #892367
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/scipy/scipy-1.10.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.10.0.ebuild b/dev-python/scipy/scipy-1.10.0.ebuild
index dbe5b99bec1b..7b1d4ea364a6 100644
--- a/dev-python/scipy/scipy-1.10.0.ebuild
+++ b/dev-python/scipy/scipy-1.10.0.ebuild
@@ -38,7 +38,7 @@ else
S="${WORKDIR}"/${MY_P}
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="~amd64 arm ~arm64 -hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-01-28 9:08 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2023-01-28 9:08 UTC (permalink / raw
To: gentoo-commits
commit: 5d0396b9dd99927a240b92d18d450b9b89d803a1
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 28 09:08:06 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 28 09:08:06 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d0396b9
dev-python/scipy: Keyword 1.10.0 riscv, #889812
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.10.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.10.0.ebuild b/dev-python/scipy/scipy-1.10.0.ebuild
index d3a880a6cb75..dbe5b99bec1b 100644
--- a/dev-python/scipy/scipy-1.10.0.ebuild
+++ b/dev-python/scipy/scipy-1.10.0.ebuild
@@ -38,7 +38,7 @@ else
S="${WORKDIR}"/${MY_P}
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ppc ~ppc64 ~sparc ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-01-28 9:06 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2023-01-28 9:06 UTC (permalink / raw
To: gentoo-commits
commit: 335fb8b713172956775fac5536d94621e5d1ce2c
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 28 09:05:08 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 28 09:06:42 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=335fb8b7
dev-python/scipy: Keyword 1.10.0 sparc, #889812
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.10.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.10.0.ebuild b/dev-python/scipy/scipy-1.10.0.ebuild
index ed0e92bc690c..d3a880a6cb75 100644
--- a/dev-python/scipy/scipy-1.10.0.ebuild
+++ b/dev-python/scipy/scipy-1.10.0.ebuild
@@ -38,7 +38,7 @@ else
S="${WORKDIR}"/${MY_P}
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ppc ~ppc64 ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ppc ~ppc64 ~sparc ~x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-01-28 9:06 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2023-01-28 9:06 UTC (permalink / raw
To: gentoo-commits
commit: 0a4083bc32640cf7fe59563d0356f113f9551f3e
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 28 09:04:59 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 28 09:06:38 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a4083bc
dev-python/scipy: Keyword 1.10.0 ppc64, #889812
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.10.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.10.0.ebuild b/dev-python/scipy/scipy-1.10.0.ebuild
index bfa65fb59e9d..d482c04960d6 100644
--- a/dev-python/scipy/scipy-1.10.0.ebuild
+++ b/dev-python/scipy/scipy-1.10.0.ebuild
@@ -38,7 +38,7 @@ else
S="${WORKDIR}"/${MY_P}
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ppc"
+ KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ppc ~ppc64"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-01-28 9:06 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2023-01-28 9:06 UTC (permalink / raw
To: gentoo-commits
commit: ecf6b0f740c11a52ebe0ea39988a611f2ca950b0
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 28 09:05:03 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 28 09:06:39 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecf6b0f7
dev-python/scipy: Keyword 1.10.0 x86, #889812
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.10.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.10.0.ebuild b/dev-python/scipy/scipy-1.10.0.ebuild
index d482c04960d6..ed0e92bc690c 100644
--- a/dev-python/scipy/scipy-1.10.0.ebuild
+++ b/dev-python/scipy/scipy-1.10.0.ebuild
@@ -38,7 +38,7 @@ else
S="${WORKDIR}"/${MY_P}
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ppc ~ppc64"
+ KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ppc ~ppc64 ~x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-01-28 9:06 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2023-01-28 9:06 UTC (permalink / raw
To: gentoo-commits
commit: a9f88e2663cbc8c6b1f5322137b7a09d9a358e56
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 28 09:04:53 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 28 09:06:36 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9f88e26
dev-python/scipy: Keyword 1.10.0 ppc, #889812
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.10.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.10.0.ebuild b/dev-python/scipy/scipy-1.10.0.ebuild
index 4fa746cd05b9..bfa65fb59e9d 100644
--- a/dev-python/scipy/scipy-1.10.0.ebuild
+++ b/dev-python/scipy/scipy-1.10.0.ebuild
@@ -38,7 +38,7 @@ else
S="${WORKDIR}"/${MY_P}
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm ~arm64 -hppa"
+ KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ppc"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-01-28 9:06 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2023-01-28 9:06 UTC (permalink / raw
To: gentoo-commits
commit: d3636b10da719feffbbb0eae2ca03a7d0f4a6e2d
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 28 09:04:48 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 28 09:06:33 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3636b10
dev-python/scipy: Keyword 1.10.0 arm64, #889812
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.10.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.10.0.ebuild b/dev-python/scipy/scipy-1.10.0.ebuild
index f913082d88e2..4fa746cd05b9 100644
--- a/dev-python/scipy/scipy-1.10.0.ebuild
+++ b/dev-python/scipy/scipy-1.10.0.ebuild
@@ -38,7 +38,7 @@ else
S="${WORKDIR}"/${MY_P}
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm -hppa"
+ KEYWORDS="~amd64 ~arm ~arm64 -hppa"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-01-28 9:06 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2023-01-28 9:06 UTC (permalink / raw
To: gentoo-commits
commit: 35683f540f7254504267d2cc059c66829f5f6362
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 28 09:04:42 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 28 09:06:32 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35683f54
dev-python/scipy: Keyword 1.10.0 arm, #889812
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.10.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.10.0.ebuild b/dev-python/scipy/scipy-1.10.0.ebuild
index 7cdedde69f9a..f913082d88e2 100644
--- a/dev-python/scipy/scipy-1.10.0.ebuild
+++ b/dev-python/scipy/scipy-1.10.0.ebuild
@@ -38,7 +38,7 @@ else
S="${WORKDIR}"/${MY_P}
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 -hppa"
+ KEYWORDS="~amd64 ~arm -hppa"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-01-05 9:02 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2023-01-05 9:02 UTC (permalink / raw
To: gentoo-commits
commit: 4a8709aa2848af52736a61b804d0942c8cac904f
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 5 09:00:51 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jan 5 09:01:34 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a8709aa
dev-python/scipy: add USE=test-rust
pooch -> ... -> paramiko, which is masked on wd40
Bug: https://bugs.gentoo.org/889812
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.10.0.ebuild | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/dev-python/scipy/scipy-1.10.0.ebuild b/dev-python/scipy/scipy-1.10.0.ebuild
index 797fb044c609..deff07afc050 100644
--- a/dev-python/scipy/scipy-1.10.0.ebuild
+++ b/dev-python/scipy/scipy-1.10.0.ebuild
@@ -44,7 +44,7 @@ fi
LICENSE="BSD LGPL-2"
SLOT="0"
-IUSE="doc +fortran"
+IUSE="doc +fortran test-rust"
# umfpack is technically optional but it's preferred to have it available.
DEPEND="
@@ -69,9 +69,11 @@ BDEPEND="
doc? ( app-arch/unzip )
fortran? ( dev-python/pythran[${PYTHON_USEDEP}] )
test? (
- dev-python/pooch[${PYTHON_USEDEP}]
dev-python/pytest-xdist[${PYTHON_USEDEP}]
)
+ test-rust? (
+ dev-python/pooch[${PYTHON_USEDEP}]
+ )
"
EPYTEST_DESELECT=(
@@ -107,6 +109,12 @@ python_configure_all() {
python_test() {
cd "${T}" || die
+ if ! has_version -b "dev-python/pooch[${PYTHON_USEDEP}]" ; then
+ EPYTEST_IGNORE+=(
+ datasets/tests/test_data.py
+ )
+ fi
+
epytest -n "$(makeopts_jobs)" --pyargs scipy
}
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-01-05 8:53 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2023-01-05 8:53 UTC (permalink / raw
To: gentoo-commits
commit: 31f0b75f3eb4a13097e40f9e214e96b6d3a3ee04
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 5 08:52:22 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jan 5 08:52:22 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31f0b75f
dev-python/scipy: forward -hppa
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.10.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.10.0.ebuild b/dev-python/scipy/scipy-1.10.0.ebuild
index 4a9efa5ad843..797fb044c609 100644
--- a/dev-python/scipy/scipy-1.10.0.ebuild
+++ b/dev-python/scipy/scipy-1.10.0.ebuild
@@ -38,7 +38,7 @@ else
S="${WORKDIR}"/${MY_P}
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64"
+ KEYWORDS="~amd64 -hppa"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-01-05 8:50 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2023-01-05 8:50 UTC (permalink / raw
To: gentoo-commits
commit: a163f20bcf936320a8b077dbf818e41930c2b0eb
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 5 08:43:10 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jan 5 08:49:38 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a163f20b
dev-python/scipy: add 1.10.0
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/Manifest | 2 +
dev-python/scipy/scipy-1.10.0.ebuild | 117 +++++++++++++++++++++++++++++++++++
2 files changed, 119 insertions(+)
diff --git a/dev-python/scipy/Manifest b/dev-python/scipy/Manifest
index 1de5c782be55..0ad24744d78f 100644
--- a/dev-python/scipy/Manifest
+++ b/dev-python/scipy/Manifest
@@ -1,4 +1,6 @@
+DIST scipy-1.10.0.tar.gz 42398693 BLAKE2B fc2c1ef997fb14716453d94a6d12f8cbdfb742c99bec2c5c504a70248217e44d84b3326304e7bfafd3a52b968de3404b0a084d1e8043295842d01f4337732d91 SHA512 13fec0a2c24b90617ad4701c43c54757c91d2c62ca4b9ea5e5c5d130177ba4d2bb8687aae9057b58c26d1a77e4291164bad7ba9e21352669c07ba18bf539ad32
DIST scipy-1.9.2.tar.gz 42068300 BLAKE2B 0962115990a12339d8b87eabbee02d52a52e57259fbe2e74884fa2f08d66d8b7505f84561f643b539603bc8bf4ef3bf73c3d908453fbb0c99f732c3a81f8a328 SHA512 5f8667aa66aa0b5fad689d960f742874ce09f830bfd5aa241917526f153fbc09c7f709bc84113f83283fcbb8a47113eb215478d9c3473f76d8f7dbf0989429a2
DIST scipy-1.9.3.tar.gz 42075414 BLAKE2B f19e829d26a5673cccb69bce43a9142637f42a9ec462a3fd2ea44b62564cff6fb27a4deaccc59e0e738cc0c997b0a7de948bf9f2db6fa7896323405a072e0111 SHA512 119f9a5e1ce3b4268ba38a0eb82dff78837593d9a5c5e464663925a4b3b1de060201fe568236e19ed0996a045754333c580e181c4cdec2cc707e57060f59364e
+DIST scipy-html-1.10.0.zip 65656379 BLAKE2B 4a4f1e428bc2355f32be05e35634e5aaccb0938f170ee247931a892cf7ab59b3a9ab952060e98936e153bed752c29c01ed34eba02188b3514de7607285c01d08 SHA512 3bda526f209905355b3f87ba1529b9f45c3580ce7d9b80a63931871dab1542347f243c9f688854cb67d575e9a645ec89105775accdc746fc290113f28978b73b
DIST scipy-html-1.8.1.zip 37060661 BLAKE2B 2fa617c58eb47463f8a61f9798b32c6da255d26b8e86c1558e427a715093f5a29ced3847ab6ecfe88ce1017664f36ac3e9fa9bbf72ede7e0fd3812b5f41fe933 SHA512 95153dc1f404aa64898a700c94c0deea3ca842c3152167d0987edabcf4a8eba16b6c8e6bc38a6775a849dc621e6a21434baf53d1669b1865fa5049cffa4387ac
DIST scipy-ref-1.8.1.pdf 35025868 BLAKE2B 9221755d2dc69b8623271f75ff3078a0a4410fe9ff69ee317b40bf145af7da21a7f5f4b6b67820d8bb2878f83b7014f1ea7c2f0e026afb716da0479d394505e2 SHA512 8f27dcb9dd1030e15266389af21a1475ecfec5ea777fb2dbcf8db8d3398ac6e45c7040b8d6dbaffd29be3920925427be7c55efdc8094d670c857edfdab7f7728
diff --git a/dev-python/scipy/scipy-1.10.0.ebuild b/dev-python/scipy/scipy-1.10.0.ebuild
new file mode 100644
index 000000000000..4a9efa5ad843
--- /dev/null
+++ b/dev-python/scipy/scipy-1.10.0.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FORTRAN_NEEDED=fortran
+DISTUTILS_USE_PEP517=meson-python
+PYTHON_COMPAT=( python3_{8..11} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit fortran-2 distutils-r1 multiprocessing
+
+DESCRIPTION="Scientific algorithms library for Python"
+HOMEPAGE="
+ https://scipy.org/
+ https://github.com/scipy/scipy/
+ https://pypi.org/project/scipy/
+"
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+
+ # Need submodules, so git for now.
+ EGIT_REPO_URI="https://github.com/scipy/scipy"
+ EGIT_BRANCH="maintenance/$(ver_cut 1-2).x"
+ EGIT_SUBMODULES=( '*' )
+else
+ # Upstream is often behind with doc updates
+ DOC_PV=1.10.0
+ MY_PV=${PV/_rc/rc}
+ MY_P=${PN}-${MY_PV}
+
+ SRC_URI="
+ mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz
+ doc? (
+ https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip
+ )"
+ S="${WORKDIR}"/${MY_P}
+
+ if [[ ${PV} != *rc* ]] ; then
+ KEYWORDS="~amd64"
+ fi
+fi
+
+LICENSE="BSD LGPL-2"
+SLOT="0"
+IUSE="doc +fortran"
+
+# umfpack is technically optional but it's preferred to have it available.
+DEPEND="
+ >=dev-python/numpy-1.19.5[lapack,${PYTHON_USEDEP}]
+ sci-libs/arpack:=
+ sci-libs/umfpack
+ virtual/cblas
+ >=virtual/lapack-3.8
+"
+RDEPEND="
+ ${DEPEND}
+ dev-python/pillow[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-lang/swig
+ >=dev-python/cython-0.29.18[${PYTHON_USEDEP}]
+ >=dev-python/meson-python-0.11[${PYTHON_USEDEP}]
+ dev-python/pybind11[${PYTHON_USEDEP}]
+ >=dev-util/meson-0.62.2
+ dev-util/patchelf
+ virtual/pkgconfig
+ doc? ( app-arch/unzip )
+ fortran? ( dev-python/pythran[${PYTHON_USEDEP}] )
+ test? (
+ dev-python/pooch[${PYTHON_USEDEP}]
+ dev-python/pytest-xdist[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_DESELECT=(
+ linalg/tests/test_decomp.py::TestSchur::test_sort
+ linalg/tests/test_solvers.py::test_solve_discrete_are
+ optimize/tests/test_milp.py::test_milp_timeout_16545
+
+ # Network
+ datasets/tests/test_data.py::TestDatasets::test_existence_all
+ datasets/tests/test_data.py::TestDatasets::test_ascent
+ datasets/tests/test_data.py::TestDatasets::test_face
+ datasets/tests/test_data.py::TestDatasets::test_electrocardiogram
+)
+
+distutils_enable_tests pytest
+
+src_unpack() {
+ default
+
+ if use doc; then
+ unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die
+ fi
+}
+
+python_configure_all() {
+ export SCIPY_USE_PYTHRAN=$(usex fortran 1 0)
+ DISTUTILS_ARGS=(
+ -Dblas=blas
+ -Dlapack=lapack
+ )
+}
+
+python_test() {
+ cd "${T}" || die
+
+ epytest -n "$(makeopts_jobs)" --pyargs scipy
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( "${WORKDIR}"/html/. )
+
+ distutils-r1_python_install_all
+}
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2023-01-05 8:50 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2023-01-05 8:50 UTC (permalink / raw
To: gentoo-commits
commit: 976ef9d213b5deb907d7e4cc36eac5348ec48048
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 5 08:43:20 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jan 5 08:49:38 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=976ef9d2
dev-python/scipy: drop 1.9.9999
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.9.9999.ebuild | 109 ---------------------------------
1 file changed, 109 deletions(-)
diff --git a/dev-python/scipy/scipy-1.9.9999.ebuild b/dev-python/scipy/scipy-1.9.9999.ebuild
deleted file mode 100644
index 98456d78bf82..000000000000
--- a/dev-python/scipy/scipy-1.9.9999.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-FORTRAN_NEEDED=fortran
-DISTUTILS_USE_PEP517=meson-python
-PYTHON_COMPAT=( python3_{8..11} )
-PYTHON_REQ_USE="threads(+)"
-
-inherit fortran-2 distutils-r1 multiprocessing
-
-DESCRIPTION="Scientific algorithms library for Python"
-HOMEPAGE="
- https://scipy.org/
- https://github.com/scipy/scipy/
- https://pypi.org/project/scipy/
-"
-
-if [[ ${PV} == *9999* ]] ; then
- inherit git-r3
-
- # Need submodules, so git for now.
- EGIT_REPO_URI="https://github.com/scipy/scipy"
- EGIT_BRANCH="maintenance/$(ver_cut 1-2).x"
- EGIT_SUBMODULES=( '*' )
-else
- # Upstream is often behind with doc updates
- DOC_PV=1.8.1
- MY_PV=${PV/_rc/rc}
- MY_P=${PN}-${MY_PV}
-
- SRC_URI="
- mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz
- doc? (
- https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip
- https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-ref-${DOC_PV}.pdf
- )"
- S="${WORKDIR}"/${MY_P}
-
- if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm ~arm64 -hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~x86"
- fi
-fi
-
-LICENSE="BSD LGPL-2"
-SLOT="0"
-IUSE="doc +fortran"
-
-# umfpack is technically optional but it's preferred to have it available.
-DEPEND="
- >=dev-python/numpy-1.18.5[lapack,${PYTHON_USEDEP}]
- sci-libs/arpack:=
- sci-libs/umfpack
- virtual/cblas
- >=virtual/lapack-3.8
-"
-RDEPEND="
- ${DEPEND}
- dev-python/pillow[${PYTHON_USEDEP}]
-"
-BDEPEND="
- dev-lang/swig
- >=dev-python/cython-0.29.18[${PYTHON_USEDEP}]
- >=dev-python/meson-python-0.11[${PYTHON_USEDEP}]
- dev-python/pybind11[${PYTHON_USEDEP}]
- >=dev-util/meson-0.62.2
- dev-util/patchelf
- virtual/pkgconfig
- doc? ( app-arch/unzip )
- fortran? ( dev-python/pythran[${PYTHON_USEDEP}] )
- test? ( dev-python/pytest-xdist[${PYTHON_USEDEP}] )"
-
-EPYTEST_DESELECT=(
- linalg/tests/test_decomp.py::TestSchur::test_sort
- linalg/tests/test_solvers.py::test_solve_discrete_are
-)
-
-distutils_enable_tests pytest
-
-src_unpack() {
- default
-
- if use doc; then
- unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die
- fi
-}
-
-python_configure_all() {
- export SCIPY_USE_PYTHRAN=$(usex fortran 1 0)
- DISTUTILS_ARGS=(
- -Dblas=blas
- -Dlapack=lapack
- )
-}
-
-python_test() {
- cd "${T}" || die
-
- epytest -n "$(makeopts_jobs)" --pyargs scipy
-}
-
-python_install_all() {
- use doc && \
- local DOCS=( "${DISTDIR}"/${PN}-ref-${DOC_PV}.pdf ) \
- local HTML_DOCS=( "${WORKDIR}"/html/. )
-
- distutils-r1_python_install_all
-}
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-12-25 9:17 Michał Górny
0 siblings, 0 replies; 209+ messages in thread
From: Michał Górny @ 2022-12-25 9:17 UTC (permalink / raw
To: gentoo-commits
commit: 39eb8cc032822a0b2fef9d5514123d4ebabc05df
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 25 09:04:42 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Dec 25 09:05:10 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39eb8cc0
dev-python/scipy: Remove old
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/Manifest | 1 -
dev-python/scipy/metadata.xml | 1 -
dev-python/scipy/scipy-1.8.1.ebuild | 189 ------------------------------------
3 files changed, 191 deletions(-)
diff --git a/dev-python/scipy/Manifest b/dev-python/scipy/Manifest
index 663d8b7b9521..1de5c782be55 100644
--- a/dev-python/scipy/Manifest
+++ b/dev-python/scipy/Manifest
@@ -1,4 +1,3 @@
-DIST scipy-1.8.1.tar.gz 38196215 BLAKE2B 180ae646adba2031a4bf99cd4feefe652b8e340110b3b2872e61aa1083054aadf369c7e3b3e3fd8fb71fcd831c95841d2dadd1c71e35e5f7d95800e5551173f0 SHA512 f6fc71c209991fe82baa4b10d8ade0deb1057f6f5942a91dfb7ae45f3eb78a4535efa2861badf5e2d37239fa99dbd99de760aa7e4854b95991ade0263004e7ea
DIST scipy-1.9.2.tar.gz 42068300 BLAKE2B 0962115990a12339d8b87eabbee02d52a52e57259fbe2e74884fa2f08d66d8b7505f84561f643b539603bc8bf4ef3bf73c3d908453fbb0c99f732c3a81f8a328 SHA512 5f8667aa66aa0b5fad689d960f742874ce09f830bfd5aa241917526f153fbc09c7f709bc84113f83283fcbb8a47113eb215478d9c3473f76d8f7dbf0989429a2
DIST scipy-1.9.3.tar.gz 42075414 BLAKE2B f19e829d26a5673cccb69bce43a9142637f42a9ec462a3fd2ea44b62564cff6fb27a4deaccc59e0e738cc0c997b0a7de948bf9f2db6fa7896323405a072e0111 SHA512 119f9a5e1ce3b4268ba38a0eb82dff78837593d9a5c5e464663925a4b3b1de060201fe568236e19ed0996a045754333c580e181c4cdec2cc707e57060f59364e
DIST scipy-html-1.8.1.zip 37060661 BLAKE2B 2fa617c58eb47463f8a61f9798b32c6da255d26b8e86c1558e427a715093f5a29ced3847ab6ecfe88ce1017664f36ac3e9fa9bbf72ede7e0fd3812b5f41fe933 SHA512 95153dc1f404aa64898a700c94c0deea3ca842c3152167d0987edabcf4a8eba16b6c8e6bc38a6775a849dc621e6a21434baf53d1669b1865fa5049cffa4387ac
diff --git a/dev-python/scipy/metadata.xml b/dev-python/scipy/metadata.xml
index 727696087804..3d6d78db5ad1 100644
--- a/dev-python/scipy/metadata.xml
+++ b/dev-python/scipy/metadata.xml
@@ -19,7 +19,6 @@
</longdescription>
<use>
<flag name="pythran">Use <pkg>dev-python/pythran</pkg> to accelerate runtime</flag>
- <flag name="sparse">Adds support for sparse solving with <pkg>sci-libs/umfpack</pkg></flag>
</use>
<upstream>
<remote-id type="github">scipy/scipy</remote-id>
diff --git a/dev-python/scipy/scipy-1.8.1.ebuild b/dev-python/scipy/scipy-1.8.1.ebuild
deleted file mode 100644
index df38fbcc3ec2..000000000000
--- a/dev-python/scipy/scipy-1.8.1.ebuild
+++ /dev/null
@@ -1,189 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_IN_SOURCE_BUILD=1
-PYTHON_COMPAT=( python3_{8..10} )
-PYTHON_REQ_USE="threads(+)"
-
-inherit fortran-2 distutils-r1 flag-o-matic multiprocessing toolchain-funcs
-
-# Upstream is often behind with doc updates
-DOC_PV=1.8.1
-DESCRIPTION="Scientific algorithms library for Python"
-HOMEPAGE="
- https://scipy.org/
- https://github.com/scipy/scipy/
- https://pypi.org/project/scipy/
-"
-SRC_URI="
- mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
- doc? (
- https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip
- https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-ref-${DOC_PV}.pdf
- )"
-
-LICENSE="BSD LGPL-2"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 -hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86"
-IUSE="doc +pythran sparse"
-
-DEPEND="
- >=dev-python/numpy-1.17.3[lapack,${PYTHON_USEDEP}]
- sci-libs/arpack:0=
- virtual/cblas
- virtual/lapack
- sparse? ( sci-libs/umfpack:0= )"
-RDEPEND="${DEPEND}
- dev-python/pillow[${PYTHON_USEDEP}]"
-BDEPEND="
- dev-lang/swig
- >=dev-python/cython-0.29.18[${PYTHON_USEDEP}]
- dev-python/pybind11[${PYTHON_USEDEP}]
- virtual/pkgconfig
- doc? ( app-arch/unzip )
- pythran? ( dev-python/pythran[${PYTHON_USEDEP}] )
- test? (
- dev-python/nose[${PYTHON_USEDEP}]
- dev-python/pytest-xdist[${PYTHON_USEDEP}]
- )"
-
-distutils_enable_tests pytest
-
-src_unpack() {
- default
-
- if use doc; then
- unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die
- fi
-}
-
-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
- cat >> setup.cfg <<-EOF || die
- [options]
- zip_safe = False
- EOF
-
- # TODO
- sed -e "s:== 'levy_stable':in ('levy_stable', 'crystalball', 'ncf'):" \
- -i scipy/stats/tests/test_continuous_basic.py || die
-
- # Skip known-failing test. Broken on all versions in Gentoo for years.
- # bug #743295
- sed -e 's:test_bisplev_integer_overflow:_&:' \
- -i scipy/interpolate/tests/test_fitpack.py || die
-
- # Skip a few 32-bit related failures
- if use x86 ; then
- # TODO: Tidy this up and switch to epytest
- sed -i -e 's:test_nd_axis_m1:_&:' \
- -e 's:test_nd_axis_0:_&:' \
- -e 's:test_maxiter_worsening:_&:' \
- -e 's:test_pdist_jensenshannon_iris:_&:' \
- -e 's:test_align_vectors_single_vector:_&:' \
- scipy/signal/tests/test_spectral.py \
- scipy/spatial/tests/test_distance.py \
- scipy/spatial/transform/tests/test_rotation.py || die
- fi
-
- if has_version ">=sci-libs/lapack-3.10"; then
- sed -e 's:test_sort(:_&:' \
- -i scipy/linalg/tests/test_decomp.py || die
- sed -e 's:test_solve_discrete_are:_&:' \
- -i scipy/linalg/tests/test_solvers.py || die
- fi
-
- distutils-r1_python_prepare_all
-}
-
-python_configure_all() {
- export SCIPY_USE_PYTHRAN=$(usex pythran 1 0)
-
- # bug 721860
- test-flag-FC -fallow-argument-mismatch &&
- append-fflags -fallow-argument-mismatch
-}
-
-python_compile() {
- # FIXME: parallel python building fails, bug #614464
- export ORIGINAL_MAKEOPTS="${MAKEOPTS}"
- export MAKEOPTS=-j1
-
- ${EPYTHON} tools/cythonize.py || die
- distutils-r1_python_compile \
- ${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}/lib" || die "no ${TEST_DIR} available"
-
- # Let's try using pytest again with xdist to speed things up.
- # Note that using pytest is required to avoid dying b/c of a
- # deprecation warning with distutils in Python 3.01.
- epytest -n "$(makeopts_jobs "${ORIGINAL_MAKEOPTS}" "$(get_nproc)")"
-}
-
-python_install_all() {
- use doc && \
- local DOCS=( "${DISTDIR}"/${PN}-ref-${DOC_PV}.pdf ) \
- local HTML_DOCS=( "${WORKDIR}"/html/. )
- distutils-r1_python_install_all
-}
-
-python_install() {
- distutils-r1_python_install ${SCIPY_FCONFIG}
- python_optimize
-}
-
-pkg_postinst() {
- elog "You might want to set the variable SCIPY_PIL_IMAGE_VIEWER"
- elog "to your prefered image viewer. Example:"
- elog " echo \"export SCIPY_PIL_IMAGE_VIEWER=display\" >> ~/.bashrc"
-}
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-12-01 19:05 Arthur Zamarin
0 siblings, 0 replies; 209+ messages in thread
From: Arthur Zamarin @ 2022-12-01 19:05 UTC (permalink / raw
To: gentoo-commits
commit: a8d4cc773fe5a5d747b2da1aa58c93f1bd48dedc
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 1 19:05:04 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Dec 1 19:05:04 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8d4cc77
dev-python/scipy: Stabilize 1.9.3 amd64, #883529
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/scipy/scipy-1.9.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.9.3.ebuild b/dev-python/scipy/scipy-1.9.3.ebuild
index 3e3eec8f52d8..d6e2be03bd30 100644
--- a/dev-python/scipy/scipy-1.9.3.ebuild
+++ b/dev-python/scipy/scipy-1.9.3.ebuild
@@ -39,7 +39,7 @@ else
S="${WORKDIR}"/${MY_P}
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 arm arm64 -hppa ~ia64 ~ppc ppc64 ~riscv ~s390 ~sparc ~x86"
+ KEYWORDS="amd64 arm arm64 -hppa ~ia64 ~ppc ppc64 ~riscv ~s390 ~sparc ~x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-11-30 19:16 Arthur Zamarin
0 siblings, 0 replies; 209+ messages in thread
From: Arthur Zamarin @ 2022-11-30 19:16 UTC (permalink / raw
To: gentoo-commits
commit: 6916025890bb2f02e877aef32f076c363f5de095
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 30 19:16:10 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed Nov 30 19:16:10 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69160258
dev-python/scipy: Stabilize 1.9.3 arm, #883529
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/scipy/scipy-1.9.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.9.3.ebuild b/dev-python/scipy/scipy-1.9.3.ebuild
index 90f7f28ca24f..3e3eec8f52d8 100644
--- a/dev-python/scipy/scipy-1.9.3.ebuild
+++ b/dev-python/scipy/scipy-1.9.3.ebuild
@@ -39,7 +39,7 @@ else
S="${WORKDIR}"/${MY_P}
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm arm64 -hppa ~ia64 ~ppc ppc64 ~riscv ~s390 ~sparc ~x86"
+ KEYWORDS="~amd64 arm arm64 -hppa ~ia64 ~ppc ppc64 ~riscv ~s390 ~sparc ~x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-11-30 19:15 Arthur Zamarin
0 siblings, 0 replies; 209+ messages in thread
From: Arthur Zamarin @ 2022-11-30 19:15 UTC (permalink / raw
To: gentoo-commits
commit: 438ca100fff8f2006a48a060a4dcf8ff2ef727cf
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 30 19:15:35 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed Nov 30 19:15:35 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=438ca100
dev-python/scipy: Stabilize 1.9.3 arm64, #883529
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/scipy/scipy-1.9.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.9.3.ebuild b/dev-python/scipy/scipy-1.9.3.ebuild
index 5f7deb15d23d..90f7f28ca24f 100644
--- a/dev-python/scipy/scipy-1.9.3.ebuild
+++ b/dev-python/scipy/scipy-1.9.3.ebuild
@@ -39,7 +39,7 @@ else
S="${WORKDIR}"/${MY_P}
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ia64 ~ppc ppc64 ~riscv ~s390 ~sparc ~x86"
+ KEYWORDS="~amd64 ~arm arm64 -hppa ~ia64 ~ppc ppc64 ~riscv ~s390 ~sparc ~x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-11-30 14:43 Arthur Zamarin
0 siblings, 0 replies; 209+ messages in thread
From: Arthur Zamarin @ 2022-11-30 14:43 UTC (permalink / raw
To: gentoo-commits
commit: 3348071005f74ea0ffc5db1f7d7ce8891bddf0ae
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 30 14:43:24 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed Nov 30 14:43:24 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33480710
dev-python/scipy: Stabilize 1.9.3 ppc64, #883529
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/scipy/scipy-1.9.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.9.3.ebuild b/dev-python/scipy/scipy-1.9.3.ebuild
index 7c62ef8bb35f..5f7deb15d23d 100644
--- a/dev-python/scipy/scipy-1.9.3.ebuild
+++ b/dev-python/scipy/scipy-1.9.3.ebuild
@@ -39,7 +39,7 @@ else
S="${WORKDIR}"/${MY_P}
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ia64 ~ppc ppc64 ~riscv ~s390 ~sparc ~x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-11-26 21:12 Michał Górny
0 siblings, 0 replies; 209+ messages in thread
From: Michał Górny @ 2022-11-26 21:12 UTC (permalink / raw
To: gentoo-commits
commit: 81245c75f8b75958ca76ab28e38f20353219fb0d
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 23 06:58:46 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Nov 26 21:12:29 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81245c75
dev-python/scipy: Pass -Dblas, -Dlapack via DISTUTILS_ARGS
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/scipy-1.9.3.ebuild | 11 +++++------
dev-python/scipy/scipy-1.9.9999.ebuild | 11 +++++------
2 files changed, 10 insertions(+), 12 deletions(-)
diff --git a/dev-python/scipy/scipy-1.9.3.ebuild b/dev-python/scipy/scipy-1.9.3.ebuild
index 18e8c08b3222..7c62ef8bb35f 100644
--- a/dev-python/scipy/scipy-1.9.3.ebuild
+++ b/dev-python/scipy/scipy-1.9.3.ebuild
@@ -62,6 +62,7 @@ RDEPEND="
BDEPEND="
dev-lang/swig
>=dev-python/cython-0.29.18[${PYTHON_USEDEP}]
+ >=dev-python/meson-python-0.11[${PYTHON_USEDEP}]
dev-python/pybind11[${PYTHON_USEDEP}]
>=dev-util/meson-0.62.2
dev-util/patchelf
@@ -70,10 +71,6 @@ BDEPEND="
fortran? ( dev-python/pythran[${PYTHON_USEDEP}] )
test? ( dev-python/pytest-xdist[${PYTHON_USEDEP}] )"
-PATCHES=(
- "${FILESDIR}"/${PN}-1.9.9999-meson-options-lapack.patch
-)
-
EPYTEST_DESELECT=(
linalg/tests/test_decomp.py::TestSchur::test_sort
linalg/tests/test_solvers.py::test_solve_discrete_are
@@ -90,9 +87,11 @@ src_unpack() {
}
python_configure_all() {
- # workaround stupid numpy distutils overrides, indirectly via pythran
- export SETUPTOOLS_USE_DISTUTILS=stdlib
export SCIPY_USE_PYTHRAN=$(usex fortran 1 0)
+ DISTUTILS_ARGS=(
+ -Dblas=blas
+ -Dlapack=lapack
+ )
}
python_test() {
diff --git a/dev-python/scipy/scipy-1.9.9999.ebuild b/dev-python/scipy/scipy-1.9.9999.ebuild
index 6396c461e4e3..b85e9495ebc9 100644
--- a/dev-python/scipy/scipy-1.9.9999.ebuild
+++ b/dev-python/scipy/scipy-1.9.9999.ebuild
@@ -62,6 +62,7 @@ RDEPEND="
BDEPEND="
dev-lang/swig
>=dev-python/cython-0.29.18[${PYTHON_USEDEP}]
+ >=dev-python/meson-python-0.11[${PYTHON_USEDEP}]
dev-python/pybind11[${PYTHON_USEDEP}]
>=dev-util/meson-0.62.2
dev-util/patchelf
@@ -70,10 +71,6 @@ BDEPEND="
fortran? ( dev-python/pythran[${PYTHON_USEDEP}] )
test? ( dev-python/pytest-xdist[${PYTHON_USEDEP}] )"
-PATCHES=(
- "${FILESDIR}"/${PN}-1.9.9999-meson-options-lapack.patch
-)
-
EPYTEST_DESELECT=(
linalg/tests/test_decomp.py::TestSchur::test_sort
linalg/tests/test_solvers.py::test_solve_discrete_are
@@ -90,9 +87,11 @@ src_unpack() {
}
python_configure_all() {
- # workaround stupid numpy distutils overrides, indirectly via pythran
- export SETUPTOOLS_USE_DISTUTILS=stdlib
export SCIPY_USE_PYTHRAN=$(usex fortran 1 0)
+ DISTUTILS_ARGS=(
+ -Dblas=blas
+ -Dlapack=lapack
+ )
}
python_test() {
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-11-21 16:09 Michał Górny
0 siblings, 0 replies; 209+ messages in thread
From: Michał Górny @ 2022-11-21 16:09 UTC (permalink / raw
To: gentoo-commits
commit: 0430b39a4d4a55c76f96885b65136f8b818cd6e8
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 21 15:31:51 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Nov 21 16:09:01 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0430b39a
dev-python/scipy: Workaround build failure w/ setuptools-65.6.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/scipy-1.9.3.ebuild | 2 ++
dev-python/scipy/scipy-1.9.9999.ebuild | 2 ++
2 files changed, 4 insertions(+)
diff --git a/dev-python/scipy/scipy-1.9.3.ebuild b/dev-python/scipy/scipy-1.9.3.ebuild
index ffe5bf5fc6c1..18e8c08b3222 100644
--- a/dev-python/scipy/scipy-1.9.3.ebuild
+++ b/dev-python/scipy/scipy-1.9.3.ebuild
@@ -90,6 +90,8 @@ src_unpack() {
}
python_configure_all() {
+ # workaround stupid numpy distutils overrides, indirectly via pythran
+ export SETUPTOOLS_USE_DISTUTILS=stdlib
export SCIPY_USE_PYTHRAN=$(usex fortran 1 0)
}
diff --git a/dev-python/scipy/scipy-1.9.9999.ebuild b/dev-python/scipy/scipy-1.9.9999.ebuild
index 0f38a0cb37a1..6396c461e4e3 100644
--- a/dev-python/scipy/scipy-1.9.9999.ebuild
+++ b/dev-python/scipy/scipy-1.9.9999.ebuild
@@ -90,6 +90,8 @@ src_unpack() {
}
python_configure_all() {
+ # workaround stupid numpy distutils overrides, indirectly via pythran
+ export SETUPTOOLS_USE_DISTUTILS=stdlib
export SCIPY_USE_PYTHRAN=$(usex fortran 1 0)
}
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-11-14 9:24 Arthur Zamarin
0 siblings, 0 replies; 209+ messages in thread
From: Arthur Zamarin @ 2022-11-14 9:24 UTC (permalink / raw
To: gentoo-commits
commit: 90267aaacd26ceea607d7b98ebb9261fef0af1d5
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 14 09:24:30 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Nov 14 09:24:30 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90267aaa
dev-python/scipy: Keyword 1.9.3 ia64, #862330
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/scipy/scipy-1.9.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.9.3.ebuild b/dev-python/scipy/scipy-1.9.3.ebuild
index 5c625b238045..ffe5bf5fc6c1 100644
--- a/dev-python/scipy/scipy-1.9.3.ebuild
+++ b/dev-python/scipy/scipy-1.9.3.ebuild
@@ -39,7 +39,7 @@ else
S="${WORKDIR}"/${MY_P}
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-11-12 16:31 Arthur Zamarin
0 siblings, 0 replies; 209+ messages in thread
From: Arthur Zamarin @ 2022-11-12 16:31 UTC (permalink / raw
To: gentoo-commits
commit: 23f0a8ca854862856b2867af7b47cf30397b44a2
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 12 16:31:09 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Nov 12 16:31:09 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23f0a8ca
dev-python/scipy: Keyword 1.9.3 sparc, #862330
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/scipy/scipy-1.9.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.9.3.ebuild b/dev-python/scipy/scipy-1.9.3.ebuild
index 0f38a0cb37a1..5c625b238045 100644
--- a/dev-python/scipy/scipy-1.9.3.ebuild
+++ b/dev-python/scipy/scipy-1.9.3.ebuild
@@ -39,7 +39,7 @@ else
S="${WORKDIR}"/${MY_P}
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ppc ~ppc64 ~riscv ~s390 ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-11-04 0:26 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2022-11-04 0:26 UTC (permalink / raw
To: gentoo-commits
commit: ffbbaca7c37935cdba402d50a03bd27b2cf01f6c
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 4 00:26:09 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 4 00:26:09 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffbbaca7
dev-python/scipy: drop 1.9.1
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/Manifest | 1 -
dev-python/scipy/scipy-1.9.1.ebuild | 104 ------------------------------------
2 files changed, 105 deletions(-)
diff --git a/dev-python/scipy/Manifest b/dev-python/scipy/Manifest
index 63506ce1e5bd..663d8b7b9521 100644
--- a/dev-python/scipy/Manifest
+++ b/dev-python/scipy/Manifest
@@ -1,5 +1,4 @@
DIST scipy-1.8.1.tar.gz 38196215 BLAKE2B 180ae646adba2031a4bf99cd4feefe652b8e340110b3b2872e61aa1083054aadf369c7e3b3e3fd8fb71fcd831c95841d2dadd1c71e35e5f7d95800e5551173f0 SHA512 f6fc71c209991fe82baa4b10d8ade0deb1057f6f5942a91dfb7ae45f3eb78a4535efa2861badf5e2d37239fa99dbd99de760aa7e4854b95991ade0263004e7ea
-DIST scipy-1.9.1.tar.gz 42019478 BLAKE2B aa7f9e8f354d2c73cfeb0e349562279ec323e6c16641c82c47080108d21f385acb1431c1f072e454a043f56e8fd708778fc34c0eddaceedca979f40b6b11e358 SHA512 1378a24c59b66e2818929acd015fe5408cdd57926d96b7b909d5eb7e2bb6bae942e8fe802f107c8b0901af9873b8e24461624ca0917867e24bb50c7d28e09e71
DIST scipy-1.9.2.tar.gz 42068300 BLAKE2B 0962115990a12339d8b87eabbee02d52a52e57259fbe2e74884fa2f08d66d8b7505f84561f643b539603bc8bf4ef3bf73c3d908453fbb0c99f732c3a81f8a328 SHA512 5f8667aa66aa0b5fad689d960f742874ce09f830bfd5aa241917526f153fbc09c7f709bc84113f83283fcbb8a47113eb215478d9c3473f76d8f7dbf0989429a2
DIST scipy-1.9.3.tar.gz 42075414 BLAKE2B f19e829d26a5673cccb69bce43a9142637f42a9ec462a3fd2ea44b62564cff6fb27a4deaccc59e0e738cc0c997b0a7de948bf9f2db6fa7896323405a072e0111 SHA512 119f9a5e1ce3b4268ba38a0eb82dff78837593d9a5c5e464663925a4b3b1de060201fe568236e19ed0996a045754333c580e181c4cdec2cc707e57060f59364e
DIST scipy-html-1.8.1.zip 37060661 BLAKE2B 2fa617c58eb47463f8a61f9798b32c6da255d26b8e86c1558e427a715093f5a29ced3847ab6ecfe88ce1017664f36ac3e9fa9bbf72ede7e0fd3812b5f41fe933 SHA512 95153dc1f404aa64898a700c94c0deea3ca842c3152167d0987edabcf4a8eba16b6c8e6bc38a6775a849dc621e6a21434baf53d1669b1865fa5049cffa4387ac
diff --git a/dev-python/scipy/scipy-1.9.1.ebuild b/dev-python/scipy/scipy-1.9.1.ebuild
deleted file mode 100644
index 3968a54a22ab..000000000000
--- a/dev-python/scipy/scipy-1.9.1.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=meson-python
-PYTHON_COMPAT=( python3_{8..10} )
-PYTHON_REQ_USE="threads(+)"
-
-inherit fortran-2 distutils-r1 multiprocessing
-
-DESCRIPTION="Scientific algorithms library for Python"
-HOMEPAGE="
- https://scipy.org/
- https://github.com/scipy/scipy/
- https://pypi.org/project/scipy/
-"
-
-if [[ ${PV} == *9999* ]] ; then
- inherit git-r3
-
- # Need submodules, so git for now.
- EGIT_REPO_URI="https://github.com/scipy/scipy"
- EGIT_BRANCH="maintenance/$(ver_cut 1-2).x"
- EGIT_SUBMODULES=( '*' )
-else
- # Upstream is often behind with doc updates
- DOC_PV=1.8.1
- MY_PV=${PV/_rc/rc}
- MY_P=${PN}-${MY_PV}
-
- SRC_URI="
- mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz
- doc? (
- https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip
- https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-ref-${DOC_PV}.pdf
- )"
- S="${WORKDIR}"/${MY_P}
-
- if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm64 -hppa ~ppc64 ~riscv"
- fi
-fi
-
-LICENSE="BSD LGPL-2"
-SLOT="0"
-IUSE="doc"
-
-# umfpack is technically optional but it's preferred to have it available.
-DEPEND="
- >=dev-python/numpy-1.18.5[lapack,${PYTHON_USEDEP}]
- sci-libs/arpack:=
- sci-libs/umfpack
- virtual/cblas
- >=virtual/lapack-3.8
-"
-RDEPEND="
- ${DEPEND}
- dev-python/pillow[${PYTHON_USEDEP}]
-"
-# TODO: restore pythran optionality?
-BDEPEND="
- dev-lang/swig
- >=dev-python/cython-0.29.18[${PYTHON_USEDEP}]
- dev-python/pybind11[${PYTHON_USEDEP}]
- dev-python/pythran[${PYTHON_USEDEP}]
- >=dev-util/meson-0.62.2
- dev-util/patchelf
- virtual/pkgconfig
- doc? ( app-arch/unzip )
- test? ( dev-python/pytest-xdist[${PYTHON_USEDEP}] )"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-1.9.9999-meson-options-lapack.patch
-)
-
-EPYTEST_DESELECT=(
- linalg/tests/test_decomp.py::TestSchur::test_sort
- linalg/tests/test_solvers.py::test_solve_discrete_are
-)
-
-distutils_enable_tests pytest
-
-src_unpack() {
- default
-
- if use doc; then
- unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die
- fi
-}
-
-python_test() {
- cd "${T}" || die
-
- epytest -n "$(makeopts_jobs)" --pyargs scipy
-}
-
-python_install_all() {
- use doc && \
- local DOCS=( "${DISTDIR}"/${PN}-ref-${DOC_PV}.pdf ) \
- local HTML_DOCS=( "${WORKDIR}"/html/. )
-
- distutils-r1_python_install_all
-}
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-11-04 0:23 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2022-11-04 0:23 UTC (permalink / raw
To: gentoo-commits
commit: c6e1c019205cf536a6522e9d99acbaa05873d8a7
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 4 00:22:56 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 4 00:23:25 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6e1c019
dev-python/scipy: fix pkg_setup optionality for fortran, rename USE=pythran
This still doesn't fix USE=-fortran builds, but reported that upstream now.
Bug: https://bugs.gentoo.org/878361
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.9.3.ebuild | 7 ++++---
dev-python/scipy/scipy-1.9.9999.ebuild | 7 ++++---
2 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/dev-python/scipy/scipy-1.9.3.ebuild b/dev-python/scipy/scipy-1.9.3.ebuild
index 3b6adf392e6b..0f38a0cb37a1 100644
--- a/dev-python/scipy/scipy-1.9.3.ebuild
+++ b/dev-python/scipy/scipy-1.9.3.ebuild
@@ -3,6 +3,7 @@
EAPI=8
+FORTRAN_NEEDED=fortran
DISTUTILS_USE_PEP517=meson-python
PYTHON_COMPAT=( python3_{8..11} )
PYTHON_REQ_USE="threads(+)"
@@ -44,7 +45,7 @@ fi
LICENSE="BSD LGPL-2"
SLOT="0"
-IUSE="doc +pythran"
+IUSE="doc +fortran"
# umfpack is technically optional but it's preferred to have it available.
DEPEND="
@@ -66,7 +67,7 @@ BDEPEND="
dev-util/patchelf
virtual/pkgconfig
doc? ( app-arch/unzip )
- pythran? ( dev-python/pythran[${PYTHON_USEDEP}] )
+ fortran? ( dev-python/pythran[${PYTHON_USEDEP}] )
test? ( dev-python/pytest-xdist[${PYTHON_USEDEP}] )"
PATCHES=(
@@ -89,7 +90,7 @@ src_unpack() {
}
python_configure_all() {
- export SCIPY_USE_PYTHRAN=$(usex pythran 1 0)
+ export SCIPY_USE_PYTHRAN=$(usex fortran 1 0)
}
python_test() {
diff --git a/dev-python/scipy/scipy-1.9.9999.ebuild b/dev-python/scipy/scipy-1.9.9999.ebuild
index 3b6adf392e6b..0f38a0cb37a1 100644
--- a/dev-python/scipy/scipy-1.9.9999.ebuild
+++ b/dev-python/scipy/scipy-1.9.9999.ebuild
@@ -3,6 +3,7 @@
EAPI=8
+FORTRAN_NEEDED=fortran
DISTUTILS_USE_PEP517=meson-python
PYTHON_COMPAT=( python3_{8..11} )
PYTHON_REQ_USE="threads(+)"
@@ -44,7 +45,7 @@ fi
LICENSE="BSD LGPL-2"
SLOT="0"
-IUSE="doc +pythran"
+IUSE="doc +fortran"
# umfpack is technically optional but it's preferred to have it available.
DEPEND="
@@ -66,7 +67,7 @@ BDEPEND="
dev-util/patchelf
virtual/pkgconfig
doc? ( app-arch/unzip )
- pythran? ( dev-python/pythran[${PYTHON_USEDEP}] )
+ fortran? ( dev-python/pythran[${PYTHON_USEDEP}] )
test? ( dev-python/pytest-xdist[${PYTHON_USEDEP}] )"
PATCHES=(
@@ -89,7 +90,7 @@ src_unpack() {
}
python_configure_all() {
- export SCIPY_USE_PYTHRAN=$(usex pythran 1 0)
+ export SCIPY_USE_PYTHRAN=$(usex fortran 1 0)
}
python_test() {
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-10-27 1:18 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2022-10-27 1:18 UTC (permalink / raw
To: gentoo-commits
commit: 8852406a7b12e2ad7024b0db7e16ea53d0f5f73c
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 27 01:18:12 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct 27 01:18:12 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8852406a
dev-python/scipy: switch to python_configure_all
I don't think this is sufficient though.
Bug: https://bugs.gentoo.org/878361
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.9.3.ebuild | 2 +-
dev-python/scipy/scipy-1.9.9999.ebuild | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dev-python/scipy/scipy-1.9.3.ebuild b/dev-python/scipy/scipy-1.9.3.ebuild
index a3764e438be5..3b6adf392e6b 100644
--- a/dev-python/scipy/scipy-1.9.3.ebuild
+++ b/dev-python/scipy/scipy-1.9.3.ebuild
@@ -88,7 +88,7 @@ src_unpack() {
fi
}
-src_configure() {
+python_configure_all() {
export SCIPY_USE_PYTHRAN=$(usex pythran 1 0)
}
diff --git a/dev-python/scipy/scipy-1.9.9999.ebuild b/dev-python/scipy/scipy-1.9.9999.ebuild
index 06820b113911..3b6adf392e6b 100644
--- a/dev-python/scipy/scipy-1.9.9999.ebuild
+++ b/dev-python/scipy/scipy-1.9.9999.ebuild
@@ -38,7 +38,7 @@ else
S="${WORKDIR}"/${MY_P}
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm64 -hppa ~ppc64 ~riscv"
+ KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ppc ~ppc64 ~riscv ~s390 ~x86"
fi
fi
@@ -88,7 +88,7 @@ src_unpack() {
fi
}
-src_configure() {
+python_configure_all() {
export SCIPY_USE_PYTHRAN=$(usex pythran 1 0)
}
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-10-25 8:07 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2022-10-25 8:07 UTC (permalink / raw
To: gentoo-commits
commit: 35255a27ba60ac95a512b3bd79fdd9ecbdfa8029
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 25 08:06:59 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Oct 25 08:06:59 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35255a27
dev-python/scipy: Stabilize 1.9.2 x86, #868813
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.9.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.9.2.ebuild b/dev-python/scipy/scipy-1.9.2.ebuild
index b085af99ff2f..ad4e9d5107c0 100644
--- a/dev-python/scipy/scipy-1.9.2.ebuild
+++ b/dev-python/scipy/scipy-1.9.2.ebuild
@@ -38,7 +38,7 @@ else
S="${WORKDIR}"/${MY_P}
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="amd64 arm arm64 -hppa ppc ppc64 ~riscv ~s390 ~x86"
+ KEYWORDS="amd64 arm arm64 -hppa ppc ppc64 ~riscv ~s390 x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-10-25 8:07 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2022-10-25 8:07 UTC (permalink / raw
To: gentoo-commits
commit: 4e3cf00b155177ee5cd715b06b7cecd43354eecb
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 25 08:06:53 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Oct 25 08:06:53 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e3cf00b
dev-python/scipy: Stabilize 1.9.2 amd64, #868813
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.9.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.9.2.ebuild b/dev-python/scipy/scipy-1.9.2.ebuild
index 1a242c77f427..b085af99ff2f 100644
--- a/dev-python/scipy/scipy-1.9.2.ebuild
+++ b/dev-python/scipy/scipy-1.9.2.ebuild
@@ -38,7 +38,7 @@ else
S="${WORKDIR}"/${MY_P}
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 arm arm64 -hppa ppc ppc64 ~riscv ~s390 ~x86"
+ KEYWORDS="amd64 arm arm64 -hppa ppc ppc64 ~riscv ~s390 ~x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-10-24 6:37 Agostino Sarubbo
0 siblings, 0 replies; 209+ messages in thread
From: Agostino Sarubbo @ 2022-10-24 6:37 UTC (permalink / raw
To: gentoo-commits
commit: 9e15f1bd2dd9665f280120cb7acd62cb5377f32b
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 24 06:36:59 2022 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Mon Oct 24 06:36:59 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e15f1bd
dev-python/scipy: Stabilize 1.9.2 arm, #868813
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
dev-python/scipy/scipy-1.9.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.9.2.ebuild b/dev-python/scipy/scipy-1.9.2.ebuild
index baf72c8ffe16..1a242c77f427 100644
--- a/dev-python/scipy/scipy-1.9.2.ebuild
+++ b/dev-python/scipy/scipy-1.9.2.ebuild
@@ -38,7 +38,7 @@ else
S="${WORKDIR}"/${MY_P}
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm arm64 -hppa ppc ppc64 ~riscv ~s390 ~x86"
+ KEYWORDS="~amd64 arm arm64 -hppa ppc ppc64 ~riscv ~s390 ~x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-10-23 7:52 Agostino Sarubbo
0 siblings, 0 replies; 209+ messages in thread
From: Agostino Sarubbo @ 2022-10-23 7:52 UTC (permalink / raw
To: gentoo-commits
commit: 136e01af9aab31376dea40998ce029d29dfcc5b3
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 23 07:52:27 2022 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Sun Oct 23 07:52:27 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=136e01af
dev-python/scipy: Stabilize 1.9.2 ppc64, #868813
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
dev-python/scipy/scipy-1.9.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.9.2.ebuild b/dev-python/scipy/scipy-1.9.2.ebuild
index d05eb6378467..baf72c8ffe16 100644
--- a/dev-python/scipy/scipy-1.9.2.ebuild
+++ b/dev-python/scipy/scipy-1.9.2.ebuild
@@ -38,7 +38,7 @@ else
S="${WORKDIR}"/${MY_P}
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm arm64 -hppa ppc ~ppc64 ~riscv ~s390 ~x86"
+ KEYWORDS="~amd64 ~arm arm64 -hppa ppc ppc64 ~riscv ~s390 ~x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-10-23 7:52 Agostino Sarubbo
0 siblings, 0 replies; 209+ messages in thread
From: Agostino Sarubbo @ 2022-10-23 7:52 UTC (permalink / raw
To: gentoo-commits
commit: ba40ad7fba9346676bd18ecfc23c18b168545698
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 23 07:51:47 2022 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Sun Oct 23 07:51:47 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba40ad7f
dev-python/scipy: Stabilize 1.9.2 ppc, #868813
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
dev-python/scipy/scipy-1.9.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.9.2.ebuild b/dev-python/scipy/scipy-1.9.2.ebuild
index c79c482dbd41..d05eb6378467 100644
--- a/dev-python/scipy/scipy-1.9.2.ebuild
+++ b/dev-python/scipy/scipy-1.9.2.ebuild
@@ -38,7 +38,7 @@ else
S="${WORKDIR}"/${MY_P}
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm arm64 -hppa ~ppc ~ppc64 ~riscv ~s390 ~x86"
+ KEYWORDS="~amd64 ~arm arm64 -hppa ppc ~ppc64 ~riscv ~s390 ~x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-10-23 7:51 Agostino Sarubbo
0 siblings, 0 replies; 209+ messages in thread
From: Agostino Sarubbo @ 2022-10-23 7:51 UTC (permalink / raw
To: gentoo-commits
commit: 2951da62d0f955550b20b2f4dc3e2dec55fbb2f3
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 23 07:51:07 2022 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Sun Oct 23 07:51:07 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2951da62
dev-python/scipy: Stabilize 1.9.2 arm64, #868813
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
dev-python/scipy/scipy-1.9.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.9.2.ebuild b/dev-python/scipy/scipy-1.9.2.ebuild
index a3764e438be5..c79c482dbd41 100644
--- a/dev-python/scipy/scipy-1.9.2.ebuild
+++ b/dev-python/scipy/scipy-1.9.2.ebuild
@@ -38,7 +38,7 @@ else
S="${WORKDIR}"/${MY_P}
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ppc ~ppc64 ~riscv ~s390 ~x86"
+ KEYWORDS="~amd64 ~arm arm64 -hppa ~ppc ~ppc64 ~riscv ~s390 ~x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-10-21 7:48 Michał Górny
0 siblings, 0 replies; 209+ messages in thread
From: Michał Górny @ 2022-10-21 7:48 UTC (permalink / raw
To: gentoo-commits
commit: e52a26d0099b05d8add425db78418f977b488441
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 21 05:18:25 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Oct 21 07:48:09 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e52a26d0
dev-python/scipy: Bump to 1.9.3
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/Manifest | 1 +
dev-python/scipy/scipy-1.9.3.ebuild | 107 ++++++++++++++++++++++++++++++++++++
2 files changed, 108 insertions(+)
diff --git a/dev-python/scipy/Manifest b/dev-python/scipy/Manifest
index a6f36eba71a1..63506ce1e5bd 100644
--- a/dev-python/scipy/Manifest
+++ b/dev-python/scipy/Manifest
@@ -1,5 +1,6 @@
DIST scipy-1.8.1.tar.gz 38196215 BLAKE2B 180ae646adba2031a4bf99cd4feefe652b8e340110b3b2872e61aa1083054aadf369c7e3b3e3fd8fb71fcd831c95841d2dadd1c71e35e5f7d95800e5551173f0 SHA512 f6fc71c209991fe82baa4b10d8ade0deb1057f6f5942a91dfb7ae45f3eb78a4535efa2861badf5e2d37239fa99dbd99de760aa7e4854b95991ade0263004e7ea
DIST scipy-1.9.1.tar.gz 42019478 BLAKE2B aa7f9e8f354d2c73cfeb0e349562279ec323e6c16641c82c47080108d21f385acb1431c1f072e454a043f56e8fd708778fc34c0eddaceedca979f40b6b11e358 SHA512 1378a24c59b66e2818929acd015fe5408cdd57926d96b7b909d5eb7e2bb6bae942e8fe802f107c8b0901af9873b8e24461624ca0917867e24bb50c7d28e09e71
DIST scipy-1.9.2.tar.gz 42068300 BLAKE2B 0962115990a12339d8b87eabbee02d52a52e57259fbe2e74884fa2f08d66d8b7505f84561f643b539603bc8bf4ef3bf73c3d908453fbb0c99f732c3a81f8a328 SHA512 5f8667aa66aa0b5fad689d960f742874ce09f830bfd5aa241917526f153fbc09c7f709bc84113f83283fcbb8a47113eb215478d9c3473f76d8f7dbf0989429a2
+DIST scipy-1.9.3.tar.gz 42075414 BLAKE2B f19e829d26a5673cccb69bce43a9142637f42a9ec462a3fd2ea44b62564cff6fb27a4deaccc59e0e738cc0c997b0a7de948bf9f2db6fa7896323405a072e0111 SHA512 119f9a5e1ce3b4268ba38a0eb82dff78837593d9a5c5e464663925a4b3b1de060201fe568236e19ed0996a045754333c580e181c4cdec2cc707e57060f59364e
DIST scipy-html-1.8.1.zip 37060661 BLAKE2B 2fa617c58eb47463f8a61f9798b32c6da255d26b8e86c1558e427a715093f5a29ced3847ab6ecfe88ce1017664f36ac3e9fa9bbf72ede7e0fd3812b5f41fe933 SHA512 95153dc1f404aa64898a700c94c0deea3ca842c3152167d0987edabcf4a8eba16b6c8e6bc38a6775a849dc621e6a21434baf53d1669b1865fa5049cffa4387ac
DIST scipy-ref-1.8.1.pdf 35025868 BLAKE2B 9221755d2dc69b8623271f75ff3078a0a4410fe9ff69ee317b40bf145af7da21a7f5f4b6b67820d8bb2878f83b7014f1ea7c2f0e026afb716da0479d394505e2 SHA512 8f27dcb9dd1030e15266389af21a1475ecfec5ea777fb2dbcf8db8d3398ac6e45c7040b8d6dbaffd29be3920925427be7c55efdc8094d670c857edfdab7f7728
diff --git a/dev-python/scipy/scipy-1.9.3.ebuild b/dev-python/scipy/scipy-1.9.3.ebuild
new file mode 100644
index 000000000000..a3764e438be5
--- /dev/null
+++ b/dev-python/scipy/scipy-1.9.3.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=meson-python
+PYTHON_COMPAT=( python3_{8..11} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit fortran-2 distutils-r1 multiprocessing
+
+DESCRIPTION="Scientific algorithms library for Python"
+HOMEPAGE="
+ https://scipy.org/
+ https://github.com/scipy/scipy/
+ https://pypi.org/project/scipy/
+"
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+
+ # Need submodules, so git for now.
+ EGIT_REPO_URI="https://github.com/scipy/scipy"
+ EGIT_BRANCH="maintenance/$(ver_cut 1-2).x"
+ EGIT_SUBMODULES=( '*' )
+else
+ # Upstream is often behind with doc updates
+ DOC_PV=1.8.1
+ MY_PV=${PV/_rc/rc}
+ MY_P=${PN}-${MY_PV}
+
+ SRC_URI="
+ mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz
+ doc? (
+ https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip
+ https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-ref-${DOC_PV}.pdf
+ )"
+ S="${WORKDIR}"/${MY_P}
+
+ if [[ ${PV} != *rc* ]] ; then
+ KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ppc ~ppc64 ~riscv ~s390 ~x86"
+ fi
+fi
+
+LICENSE="BSD LGPL-2"
+SLOT="0"
+IUSE="doc +pythran"
+
+# umfpack is technically optional but it's preferred to have it available.
+DEPEND="
+ >=dev-python/numpy-1.18.5[lapack,${PYTHON_USEDEP}]
+ sci-libs/arpack:=
+ sci-libs/umfpack
+ virtual/cblas
+ >=virtual/lapack-3.8
+"
+RDEPEND="
+ ${DEPEND}
+ dev-python/pillow[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-lang/swig
+ >=dev-python/cython-0.29.18[${PYTHON_USEDEP}]
+ dev-python/pybind11[${PYTHON_USEDEP}]
+ >=dev-util/meson-0.62.2
+ dev-util/patchelf
+ virtual/pkgconfig
+ doc? ( app-arch/unzip )
+ pythran? ( dev-python/pythran[${PYTHON_USEDEP}] )
+ test? ( dev-python/pytest-xdist[${PYTHON_USEDEP}] )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.9.9999-meson-options-lapack.patch
+)
+
+EPYTEST_DESELECT=(
+ linalg/tests/test_decomp.py::TestSchur::test_sort
+ linalg/tests/test_solvers.py::test_solve_discrete_are
+)
+
+distutils_enable_tests pytest
+
+src_unpack() {
+ default
+
+ if use doc; then
+ unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die
+ fi
+}
+
+src_configure() {
+ export SCIPY_USE_PYTHRAN=$(usex pythran 1 0)
+}
+
+python_test() {
+ cd "${T}" || die
+
+ epytest -n "$(makeopts_jobs)" --pyargs scipy
+}
+
+python_install_all() {
+ use doc && \
+ local DOCS=( "${DISTDIR}"/${PN}-ref-${DOC_PV}.pdf ) \
+ local HTML_DOCS=( "${WORKDIR}"/html/. )
+
+ distutils-r1_python_install_all
+}
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-10-09 16:10 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2022-10-09 16:10 UTC (permalink / raw
To: gentoo-commits
commit: 0fca7bf5ca7cfec69efec7ed422a279906c7696d
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 9 16:09:41 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct 9 16:09:41 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fca7bf5
dev-python/scipy: Keyword 1.9.2 s390, #862330
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.9.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.9.2.ebuild b/dev-python/scipy/scipy-1.9.2.ebuild
index 081b5f7652d5..60573bb92b28 100644
--- a/dev-python/scipy/scipy-1.9.2.ebuild
+++ b/dev-python/scipy/scipy-1.9.2.ebuild
@@ -38,7 +38,7 @@ else
S="${WORKDIR}"/${MY_P}
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ppc64 ~riscv ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ppc64 ~riscv ~s390 ~x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-10-09 16:10 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2022-10-09 16:10 UTC (permalink / raw
To: gentoo-commits
commit: f814785571faa69257826c1f9bb3fffab782a25f
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 9 16:09:49 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct 9 16:09:49 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8147855
dev-python/scipy: Keyword 1.9.2 ppc, #862330
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.9.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.9.2.ebuild b/dev-python/scipy/scipy-1.9.2.ebuild
index 60573bb92b28..a3764e438be5 100644
--- a/dev-python/scipy/scipy-1.9.2.ebuild
+++ b/dev-python/scipy/scipy-1.9.2.ebuild
@@ -38,7 +38,7 @@ else
S="${WORKDIR}"/${MY_P}
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ppc64 ~riscv ~s390 ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ppc ~ppc64 ~riscv ~s390 ~x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-10-09 0:09 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2022-10-09 0:09 UTC (permalink / raw
To: gentoo-commits
commit: 50fe7ab770ac5a8140c54427155306665a263574
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 9 00:08:41 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct 9 00:08:41 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50fe7ab7
dev-python/scipy: Keyword 1.9.2 x86, #862330
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.9.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.9.2.ebuild b/dev-python/scipy/scipy-1.9.2.ebuild
index 29d4fad0cf79..081b5f7652d5 100644
--- a/dev-python/scipy/scipy-1.9.2.ebuild
+++ b/dev-python/scipy/scipy-1.9.2.ebuild
@@ -38,7 +38,7 @@ else
S="${WORKDIR}"/${MY_P}
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ppc64 ~riscv"
+ KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ppc64 ~riscv ~x86"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-10-09 0:04 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2022-10-09 0:04 UTC (permalink / raw
To: gentoo-commits
commit: 406d7f156b3714a7fe6e5615d69f53d894614bd4
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 9 00:03:06 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct 9 00:03:06 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=406d7f15
dev-python/scipy: Keyword 1.9.2 arm, #862330
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.9.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.9.2.ebuild b/dev-python/scipy/scipy-1.9.2.ebuild
index 06820b113911..29d4fad0cf79 100644
--- a/dev-python/scipy/scipy-1.9.2.ebuild
+++ b/dev-python/scipy/scipy-1.9.2.ebuild
@@ -38,7 +38,7 @@ else
S="${WORKDIR}"/${MY_P}
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm64 -hppa ~ppc64 ~riscv"
+ KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ppc64 ~riscv"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-10-08 23:56 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2022-10-08 23:56 UTC (permalink / raw
To: gentoo-commits
commit: 3016a64377c355128fad71f6d419002b2fbe2357
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 8 23:37:06 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct 8 23:44:55 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3016a643
dev-python/scipy: add 1.9.2
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/Manifest | 1 +
.../{scipy-1.9.9999.ebuild => scipy-1.9.2.ebuild} | 20 +++++++++++---------
dev-python/scipy/scipy-1.9.9999.ebuild | 20 +++++++++++---------
3 files changed, 23 insertions(+), 18 deletions(-)
diff --git a/dev-python/scipy/Manifest b/dev-python/scipy/Manifest
index 7b42cb8e9a66..a6f36eba71a1 100644
--- a/dev-python/scipy/Manifest
+++ b/dev-python/scipy/Manifest
@@ -1,4 +1,5 @@
DIST scipy-1.8.1.tar.gz 38196215 BLAKE2B 180ae646adba2031a4bf99cd4feefe652b8e340110b3b2872e61aa1083054aadf369c7e3b3e3fd8fb71fcd831c95841d2dadd1c71e35e5f7d95800e5551173f0 SHA512 f6fc71c209991fe82baa4b10d8ade0deb1057f6f5942a91dfb7ae45f3eb78a4535efa2861badf5e2d37239fa99dbd99de760aa7e4854b95991ade0263004e7ea
DIST scipy-1.9.1.tar.gz 42019478 BLAKE2B aa7f9e8f354d2c73cfeb0e349562279ec323e6c16641c82c47080108d21f385acb1431c1f072e454a043f56e8fd708778fc34c0eddaceedca979f40b6b11e358 SHA512 1378a24c59b66e2818929acd015fe5408cdd57926d96b7b909d5eb7e2bb6bae942e8fe802f107c8b0901af9873b8e24461624ca0917867e24bb50c7d28e09e71
+DIST scipy-1.9.2.tar.gz 42068300 BLAKE2B 0962115990a12339d8b87eabbee02d52a52e57259fbe2e74884fa2f08d66d8b7505f84561f643b539603bc8bf4ef3bf73c3d908453fbb0c99f732c3a81f8a328 SHA512 5f8667aa66aa0b5fad689d960f742874ce09f830bfd5aa241917526f153fbc09c7f709bc84113f83283fcbb8a47113eb215478d9c3473f76d8f7dbf0989429a2
DIST scipy-html-1.8.1.zip 37060661 BLAKE2B 2fa617c58eb47463f8a61f9798b32c6da255d26b8e86c1558e427a715093f5a29ced3847ab6ecfe88ce1017664f36ac3e9fa9bbf72ede7e0fd3812b5f41fe933 SHA512 95153dc1f404aa64898a700c94c0deea3ca842c3152167d0987edabcf4a8eba16b6c8e6bc38a6775a849dc621e6a21434baf53d1669b1865fa5049cffa4387ac
DIST scipy-ref-1.8.1.pdf 35025868 BLAKE2B 9221755d2dc69b8623271f75ff3078a0a4410fe9ff69ee317b40bf145af7da21a7f5f4b6b67820d8bb2878f83b7014f1ea7c2f0e026afb716da0479d394505e2 SHA512 8f27dcb9dd1030e15266389af21a1475ecfec5ea777fb2dbcf8db8d3398ac6e45c7040b8d6dbaffd29be3920925427be7c55efdc8094d670c857edfdab7f7728
diff --git a/dev-python/scipy/scipy-1.9.9999.ebuild b/dev-python/scipy/scipy-1.9.2.ebuild
similarity index 86%
copy from dev-python/scipy/scipy-1.9.9999.ebuild
copy to dev-python/scipy/scipy-1.9.2.ebuild
index e2718fe21ca6..06820b113911 100644
--- a/dev-python/scipy/scipy-1.9.9999.ebuild
+++ b/dev-python/scipy/scipy-1.9.2.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=meson-python
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{8..11} )
PYTHON_REQ_USE="threads(+)"
inherit fortran-2 distutils-r1 multiprocessing
@@ -38,13 +38,13 @@ else
S="${WORKDIR}"/${MY_P}
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 -hppa ~ppc64 ~riscv"
+ KEYWORDS="~amd64 ~arm64 -hppa ~ppc64 ~riscv"
fi
fi
LICENSE="BSD LGPL-2"
SLOT="0"
-IUSE="doc"
+IUSE="doc +pythran"
# umfpack is technically optional but it's preferred to have it available.
DEPEND="
@@ -58,16 +58,15 @@ RDEPEND="
${DEPEND}
dev-python/pillow[${PYTHON_USEDEP}]
"
-# TODO: restore pythran optionality?
BDEPEND="
dev-lang/swig
>=dev-python/cython-0.29.18[${PYTHON_USEDEP}]
dev-python/pybind11[${PYTHON_USEDEP}]
- dev-python/pythran[${PYTHON_USEDEP}]
>=dev-util/meson-0.62.2
dev-util/patchelf
virtual/pkgconfig
doc? ( app-arch/unzip )
+ pythran? ( dev-python/pythran[${PYTHON_USEDEP}] )
test? ( dev-python/pytest-xdist[${PYTHON_USEDEP}] )"
PATCHES=(
@@ -84,11 +83,15 @@ distutils_enable_tests pytest
src_unpack() {
default
- if [[ ${PV} != *9999 ]] && use doc; then
+ if use doc; then
unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die
fi
}
+src_configure() {
+ export SCIPY_USE_PYTHRAN=$(usex pythran 1 0)
+}
+
python_test() {
cd "${T}" || die
@@ -96,10 +99,9 @@ python_test() {
}
python_install_all() {
- if [[ ${PV} != *9999 ]] && use doc; then
- local DOCS=( "${DISTDIR}"/${PN}-ref-${DOC_PV}.pdf )
+ use doc && \
+ local DOCS=( "${DISTDIR}"/${PN}-ref-${DOC_PV}.pdf ) \
local HTML_DOCS=( "${WORKDIR}"/html/. )
- fi
distutils-r1_python_install_all
}
diff --git a/dev-python/scipy/scipy-1.9.9999.ebuild b/dev-python/scipy/scipy-1.9.9999.ebuild
index e2718fe21ca6..06820b113911 100644
--- a/dev-python/scipy/scipy-1.9.9999.ebuild
+++ b/dev-python/scipy/scipy-1.9.9999.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=meson-python
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{8..11} )
PYTHON_REQ_USE="threads(+)"
inherit fortran-2 distutils-r1 multiprocessing
@@ -38,13 +38,13 @@ else
S="${WORKDIR}"/${MY_P}
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 -hppa ~ppc64 ~riscv"
+ KEYWORDS="~amd64 ~arm64 -hppa ~ppc64 ~riscv"
fi
fi
LICENSE="BSD LGPL-2"
SLOT="0"
-IUSE="doc"
+IUSE="doc +pythran"
# umfpack is technically optional but it's preferred to have it available.
DEPEND="
@@ -58,16 +58,15 @@ RDEPEND="
${DEPEND}
dev-python/pillow[${PYTHON_USEDEP}]
"
-# TODO: restore pythran optionality?
BDEPEND="
dev-lang/swig
>=dev-python/cython-0.29.18[${PYTHON_USEDEP}]
dev-python/pybind11[${PYTHON_USEDEP}]
- dev-python/pythran[${PYTHON_USEDEP}]
>=dev-util/meson-0.62.2
dev-util/patchelf
virtual/pkgconfig
doc? ( app-arch/unzip )
+ pythran? ( dev-python/pythran[${PYTHON_USEDEP}] )
test? ( dev-python/pytest-xdist[${PYTHON_USEDEP}] )"
PATCHES=(
@@ -84,11 +83,15 @@ distutils_enable_tests pytest
src_unpack() {
default
- if [[ ${PV} != *9999 ]] && use doc; then
+ if use doc; then
unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die
fi
}
+src_configure() {
+ export SCIPY_USE_PYTHRAN=$(usex pythran 1 0)
+}
+
python_test() {
cd "${T}" || die
@@ -96,10 +99,9 @@ python_test() {
}
python_install_all() {
- if [[ ${PV} != *9999 ]] && use doc; then
- local DOCS=( "${DISTDIR}"/${PN}-ref-${DOC_PV}.pdf )
+ use doc && \
+ local DOCS=( "${DISTDIR}"/${PN}-ref-${DOC_PV}.pdf ) \
local HTML_DOCS=( "${WORKDIR}"/html/. )
- fi
distutils-r1_python_install_all
}
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-10-08 23:56 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2022-10-08 23:56 UTC (permalink / raw
To: gentoo-commits
commit: 6a2e4a0d767170883001079fa3230262e75c4497
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 8 23:11:21 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct 8 23:44:29 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a2e4a0d
dev-python/scipy: drop 1.9.0-r1
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/Manifest | 1 -
dev-python/scipy/scipy-1.9.0-r1.ebuild | 104 ---------------------------------
2 files changed, 105 deletions(-)
diff --git a/dev-python/scipy/Manifest b/dev-python/scipy/Manifest
index 1bc3ff1a5a70..7b42cb8e9a66 100644
--- a/dev-python/scipy/Manifest
+++ b/dev-python/scipy/Manifest
@@ -1,5 +1,4 @@
DIST scipy-1.8.1.tar.gz 38196215 BLAKE2B 180ae646adba2031a4bf99cd4feefe652b8e340110b3b2872e61aa1083054aadf369c7e3b3e3fd8fb71fcd831c95841d2dadd1c71e35e5f7d95800e5551173f0 SHA512 f6fc71c209991fe82baa4b10d8ade0deb1057f6f5942a91dfb7ae45f3eb78a4535efa2861badf5e2d37239fa99dbd99de760aa7e4854b95991ade0263004e7ea
-DIST scipy-1.9.0.tar.gz 42016757 BLAKE2B ca25b3ad44091230c5ecdfa832b382a1f5449565aa460b169a886505e7583399d316fe48f420d45b9993e6522d46fbbd6405e08fcfb8dc02ed5febb2e09749e7 SHA512 03d38f3298e2ca2dcc376acb09593f47a007f2b166508b91cd6f3e3cc417fa3579084aaa806365afee8679b473340b0eba86b36def957da45be404c4b6607675
DIST scipy-1.9.1.tar.gz 42019478 BLAKE2B aa7f9e8f354d2c73cfeb0e349562279ec323e6c16641c82c47080108d21f385acb1431c1f072e454a043f56e8fd708778fc34c0eddaceedca979f40b6b11e358 SHA512 1378a24c59b66e2818929acd015fe5408cdd57926d96b7b909d5eb7e2bb6bae942e8fe802f107c8b0901af9873b8e24461624ca0917867e24bb50c7d28e09e71
DIST scipy-html-1.8.1.zip 37060661 BLAKE2B 2fa617c58eb47463f8a61f9798b32c6da255d26b8e86c1558e427a715093f5a29ced3847ab6ecfe88ce1017664f36ac3e9fa9bbf72ede7e0fd3812b5f41fe933 SHA512 95153dc1f404aa64898a700c94c0deea3ca842c3152167d0987edabcf4a8eba16b6c8e6bc38a6775a849dc621e6a21434baf53d1669b1865fa5049cffa4387ac
DIST scipy-ref-1.8.1.pdf 35025868 BLAKE2B 9221755d2dc69b8623271f75ff3078a0a4410fe9ff69ee317b40bf145af7da21a7f5f4b6b67820d8bb2878f83b7014f1ea7c2f0e026afb716da0479d394505e2 SHA512 8f27dcb9dd1030e15266389af21a1475ecfec5ea777fb2dbcf8db8d3398ac6e45c7040b8d6dbaffd29be3920925427be7c55efdc8094d670c857edfdab7f7728
diff --git a/dev-python/scipy/scipy-1.9.0-r1.ebuild b/dev-python/scipy/scipy-1.9.0-r1.ebuild
deleted file mode 100644
index 3968a54a22ab..000000000000
--- a/dev-python/scipy/scipy-1.9.0-r1.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=meson-python
-PYTHON_COMPAT=( python3_{8..10} )
-PYTHON_REQ_USE="threads(+)"
-
-inherit fortran-2 distutils-r1 multiprocessing
-
-DESCRIPTION="Scientific algorithms library for Python"
-HOMEPAGE="
- https://scipy.org/
- https://github.com/scipy/scipy/
- https://pypi.org/project/scipy/
-"
-
-if [[ ${PV} == *9999* ]] ; then
- inherit git-r3
-
- # Need submodules, so git for now.
- EGIT_REPO_URI="https://github.com/scipy/scipy"
- EGIT_BRANCH="maintenance/$(ver_cut 1-2).x"
- EGIT_SUBMODULES=( '*' )
-else
- # Upstream is often behind with doc updates
- DOC_PV=1.8.1
- MY_PV=${PV/_rc/rc}
- MY_P=${PN}-${MY_PV}
-
- SRC_URI="
- mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz
- doc? (
- https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip
- https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-ref-${DOC_PV}.pdf
- )"
- S="${WORKDIR}"/${MY_P}
-
- if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm64 -hppa ~ppc64 ~riscv"
- fi
-fi
-
-LICENSE="BSD LGPL-2"
-SLOT="0"
-IUSE="doc"
-
-# umfpack is technically optional but it's preferred to have it available.
-DEPEND="
- >=dev-python/numpy-1.18.5[lapack,${PYTHON_USEDEP}]
- sci-libs/arpack:=
- sci-libs/umfpack
- virtual/cblas
- >=virtual/lapack-3.8
-"
-RDEPEND="
- ${DEPEND}
- dev-python/pillow[${PYTHON_USEDEP}]
-"
-# TODO: restore pythran optionality?
-BDEPEND="
- dev-lang/swig
- >=dev-python/cython-0.29.18[${PYTHON_USEDEP}]
- dev-python/pybind11[${PYTHON_USEDEP}]
- dev-python/pythran[${PYTHON_USEDEP}]
- >=dev-util/meson-0.62.2
- dev-util/patchelf
- virtual/pkgconfig
- doc? ( app-arch/unzip )
- test? ( dev-python/pytest-xdist[${PYTHON_USEDEP}] )"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-1.9.9999-meson-options-lapack.patch
-)
-
-EPYTEST_DESELECT=(
- linalg/tests/test_decomp.py::TestSchur::test_sort
- linalg/tests/test_solvers.py::test_solve_discrete_are
-)
-
-distutils_enable_tests pytest
-
-src_unpack() {
- default
-
- if use doc; then
- unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die
- fi
-}
-
-python_test() {
- cd "${T}" || die
-
- epytest -n "$(makeopts_jobs)" --pyargs scipy
-}
-
-python_install_all() {
- use doc && \
- local DOCS=( "${DISTDIR}"/${PN}-ref-${DOC_PV}.pdf ) \
- local HTML_DOCS=( "${WORKDIR}"/html/. )
-
- distutils-r1_python_install_all
-}
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-09-21 4:05 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2022-09-21 4:05 UTC (permalink / raw
To: gentoo-commits
commit: a5010cf3a2d735b2ba041401d3d9ea13839d295a
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 21 04:03:48 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Sep 21 04:05:01 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5010cf3
dev-python/scipy: disable docs for live
Closes: https://bugs.gentoo.org/872122
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.9.9999.ebuild | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/dev-python/scipy/scipy-1.9.9999.ebuild b/dev-python/scipy/scipy-1.9.9999.ebuild
index 47dd4358d2c0..e2718fe21ca6 100644
--- a/dev-python/scipy/scipy-1.9.9999.ebuild
+++ b/dev-python/scipy/scipy-1.9.9999.ebuild
@@ -84,7 +84,7 @@ distutils_enable_tests pytest
src_unpack() {
default
- if use doc; then
+ if [[ ${PV} != *9999 ]] && use doc; then
unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die
fi
}
@@ -96,9 +96,10 @@ python_test() {
}
python_install_all() {
- use doc && \
- local DOCS=( "${DISTDIR}"/${PN}-ref-${DOC_PV}.pdf ) \
+ if [[ ${PV} != *9999 ]] && use doc; then
+ local DOCS=( "${DISTDIR}"/${PN}-ref-${DOC_PV}.pdf )
local HTML_DOCS=( "${WORKDIR}"/html/. )
+ fi
distutils-r1_python_install_all
}
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-08-30 16:42 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2022-08-30 16:42 UTC (permalink / raw
To: gentoo-commits
commit: adff531caacf9eafffa8f1bf66144a1e5174bedd
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 30 16:42:45 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Aug 30 16:42:49 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adff531c
dev-python/scipy: add 1.9.1
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/Manifest | 1 +
dev-python/scipy/scipy-1.9.1.ebuild | 104 ++++++++++++++++++++++++++++++++++++
2 files changed, 105 insertions(+)
diff --git a/dev-python/scipy/Manifest b/dev-python/scipy/Manifest
index 2dcd72e9f049..1bc3ff1a5a70 100644
--- a/dev-python/scipy/Manifest
+++ b/dev-python/scipy/Manifest
@@ -1,4 +1,5 @@
DIST scipy-1.8.1.tar.gz 38196215 BLAKE2B 180ae646adba2031a4bf99cd4feefe652b8e340110b3b2872e61aa1083054aadf369c7e3b3e3fd8fb71fcd831c95841d2dadd1c71e35e5f7d95800e5551173f0 SHA512 f6fc71c209991fe82baa4b10d8ade0deb1057f6f5942a91dfb7ae45f3eb78a4535efa2861badf5e2d37239fa99dbd99de760aa7e4854b95991ade0263004e7ea
DIST scipy-1.9.0.tar.gz 42016757 BLAKE2B ca25b3ad44091230c5ecdfa832b382a1f5449565aa460b169a886505e7583399d316fe48f420d45b9993e6522d46fbbd6405e08fcfb8dc02ed5febb2e09749e7 SHA512 03d38f3298e2ca2dcc376acb09593f47a007f2b166508b91cd6f3e3cc417fa3579084aaa806365afee8679b473340b0eba86b36def957da45be404c4b6607675
+DIST scipy-1.9.1.tar.gz 42019478 BLAKE2B aa7f9e8f354d2c73cfeb0e349562279ec323e6c16641c82c47080108d21f385acb1431c1f072e454a043f56e8fd708778fc34c0eddaceedca979f40b6b11e358 SHA512 1378a24c59b66e2818929acd015fe5408cdd57926d96b7b909d5eb7e2bb6bae942e8fe802f107c8b0901af9873b8e24461624ca0917867e24bb50c7d28e09e71
DIST scipy-html-1.8.1.zip 37060661 BLAKE2B 2fa617c58eb47463f8a61f9798b32c6da255d26b8e86c1558e427a715093f5a29ced3847ab6ecfe88ce1017664f36ac3e9fa9bbf72ede7e0fd3812b5f41fe933 SHA512 95153dc1f404aa64898a700c94c0deea3ca842c3152167d0987edabcf4a8eba16b6c8e6bc38a6775a849dc621e6a21434baf53d1669b1865fa5049cffa4387ac
DIST scipy-ref-1.8.1.pdf 35025868 BLAKE2B 9221755d2dc69b8623271f75ff3078a0a4410fe9ff69ee317b40bf145af7da21a7f5f4b6b67820d8bb2878f83b7014f1ea7c2f0e026afb716da0479d394505e2 SHA512 8f27dcb9dd1030e15266389af21a1475ecfec5ea777fb2dbcf8db8d3398ac6e45c7040b8d6dbaffd29be3920925427be7c55efdc8094d670c857edfdab7f7728
diff --git a/dev-python/scipy/scipy-1.9.1.ebuild b/dev-python/scipy/scipy-1.9.1.ebuild
new file mode 100644
index 000000000000..3968a54a22ab
--- /dev/null
+++ b/dev-python/scipy/scipy-1.9.1.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=meson-python
+PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit fortran-2 distutils-r1 multiprocessing
+
+DESCRIPTION="Scientific algorithms library for Python"
+HOMEPAGE="
+ https://scipy.org/
+ https://github.com/scipy/scipy/
+ https://pypi.org/project/scipy/
+"
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+
+ # Need submodules, so git for now.
+ EGIT_REPO_URI="https://github.com/scipy/scipy"
+ EGIT_BRANCH="maintenance/$(ver_cut 1-2).x"
+ EGIT_SUBMODULES=( '*' )
+else
+ # Upstream is often behind with doc updates
+ DOC_PV=1.8.1
+ MY_PV=${PV/_rc/rc}
+ MY_P=${PN}-${MY_PV}
+
+ SRC_URI="
+ mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz
+ doc? (
+ https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip
+ https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-ref-${DOC_PV}.pdf
+ )"
+ S="${WORKDIR}"/${MY_P}
+
+ if [[ ${PV} != *rc* ]] ; then
+ KEYWORDS="~amd64 ~arm64 -hppa ~ppc64 ~riscv"
+ fi
+fi
+
+LICENSE="BSD LGPL-2"
+SLOT="0"
+IUSE="doc"
+
+# umfpack is technically optional but it's preferred to have it available.
+DEPEND="
+ >=dev-python/numpy-1.18.5[lapack,${PYTHON_USEDEP}]
+ sci-libs/arpack:=
+ sci-libs/umfpack
+ virtual/cblas
+ >=virtual/lapack-3.8
+"
+RDEPEND="
+ ${DEPEND}
+ dev-python/pillow[${PYTHON_USEDEP}]
+"
+# TODO: restore pythran optionality?
+BDEPEND="
+ dev-lang/swig
+ >=dev-python/cython-0.29.18[${PYTHON_USEDEP}]
+ dev-python/pybind11[${PYTHON_USEDEP}]
+ dev-python/pythran[${PYTHON_USEDEP}]
+ >=dev-util/meson-0.62.2
+ dev-util/patchelf
+ virtual/pkgconfig
+ doc? ( app-arch/unzip )
+ test? ( dev-python/pytest-xdist[${PYTHON_USEDEP}] )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.9.9999-meson-options-lapack.patch
+)
+
+EPYTEST_DESELECT=(
+ linalg/tests/test_decomp.py::TestSchur::test_sort
+ linalg/tests/test_solvers.py::test_solve_discrete_are
+)
+
+distutils_enable_tests pytest
+
+src_unpack() {
+ default
+
+ if use doc; then
+ unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die
+ fi
+}
+
+python_test() {
+ cd "${T}" || die
+
+ epytest -n "$(makeopts_jobs)" --pyargs scipy
+}
+
+python_install_all() {
+ use doc && \
+ local DOCS=( "${DISTDIR}"/${PN}-ref-${DOC_PV}.pdf ) \
+ local HTML_DOCS=( "${WORKDIR}"/html/. )
+
+ distutils-r1_python_install_all
+}
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-08-01 18:08 Arthur Zamarin
0 siblings, 0 replies; 209+ messages in thread
From: Arthur Zamarin @ 2022-08-01 18:08 UTC (permalink / raw
To: gentoo-commits
commit: e8e20268d3d7a7d0009099102d90ed7fdf4c074d
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 1 18:07:58 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Aug 1 18:07:58 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8e20268
dev-python/scipy: Keyword 1.9.0-r1 arm64, #862330
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/scipy/scipy-1.9.0-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.9.0-r1.ebuild b/dev-python/scipy/scipy-1.9.0-r1.ebuild
index 47dd4358d2c0..3968a54a22ab 100644
--- a/dev-python/scipy/scipy-1.9.0-r1.ebuild
+++ b/dev-python/scipy/scipy-1.9.0-r1.ebuild
@@ -38,7 +38,7 @@ else
S="${WORKDIR}"/${MY_P}
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 -hppa ~ppc64 ~riscv"
+ KEYWORDS="~amd64 ~arm64 -hppa ~ppc64 ~riscv"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-07-31 23:02 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2022-07-31 23:02 UTC (permalink / raw
To: gentoo-commits
commit: 121e6a1633b2dbde9d83485f7bb39a682ebac641
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 31 23:02:27 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 31 23:02:27 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=121e6a16
dev-python/scipy: fix USE=doc
Closes: https://bugs.gentoo.org/862567
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.9.0-r1.ebuild | 8 ++++++++
dev-python/scipy/scipy-1.9.9999.ebuild | 10 +++++++++-
2 files changed, 17 insertions(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.9.0-r1.ebuild b/dev-python/scipy/scipy-1.9.0-r1.ebuild
index c6b76d728e36..47dd4358d2c0 100644
--- a/dev-python/scipy/scipy-1.9.0-r1.ebuild
+++ b/dev-python/scipy/scipy-1.9.0-r1.ebuild
@@ -81,6 +81,14 @@ EPYTEST_DESELECT=(
distutils_enable_tests pytest
+src_unpack() {
+ default
+
+ if use doc; then
+ unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die
+ fi
+}
+
python_test() {
cd "${T}" || die
diff --git a/dev-python/scipy/scipy-1.9.9999.ebuild b/dev-python/scipy/scipy-1.9.9999.ebuild
index 888ff2073ebb..47dd4358d2c0 100644
--- a/dev-python/scipy/scipy-1.9.9999.ebuild
+++ b/dev-python/scipy/scipy-1.9.9999.ebuild
@@ -38,7 +38,7 @@ else
S="${WORKDIR}"/${MY_P}
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 -hppa"
+ KEYWORDS="~amd64 -hppa ~ppc64 ~riscv"
fi
fi
@@ -81,6 +81,14 @@ EPYTEST_DESELECT=(
distutils_enable_tests pytest
+src_unpack() {
+ default
+
+ if use doc; then
+ unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die
+ fi
+}
+
python_test() {
cd "${T}" || die
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-07-31 17:12 Arthur Zamarin
0 siblings, 0 replies; 209+ messages in thread
From: Arthur Zamarin @ 2022-07-31 17:12 UTC (permalink / raw
To: gentoo-commits
commit: e71ad578fb0c84c3195d2b1ec3a699b01bcfeaad
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 31 17:12:28 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 31 17:12:28 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e71ad578
dev-python/scipy: Keyword 1.9.0-r1 ppc64, #862330
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/scipy/scipy-1.9.0-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.9.0-r1.ebuild b/dev-python/scipy/scipy-1.9.0-r1.ebuild
index 26b6d7a46980..c6b76d728e36 100644
--- a/dev-python/scipy/scipy-1.9.0-r1.ebuild
+++ b/dev-python/scipy/scipy-1.9.0-r1.ebuild
@@ -38,7 +38,7 @@ else
S="${WORKDIR}"/${MY_P}
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 -hppa ~riscv"
+ KEYWORDS="~amd64 -hppa ~ppc64 ~riscv"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-07-31 16:05 Jakov Smolić
0 siblings, 0 replies; 209+ messages in thread
From: Jakov Smolić @ 2022-07-31 16:05 UTC (permalink / raw
To: gentoo-commits
commit: d3f5e6984f62547eb20b97bb9183a0ab4a70876c
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 31 16:05:53 2022 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Sun Jul 31 16:05:53 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3f5e698
dev-python/scipy: Keyword 1.9.0-r1 riscv, #862330
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
dev-python/scipy/scipy-1.9.0-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.9.0-r1.ebuild b/dev-python/scipy/scipy-1.9.0-r1.ebuild
index 888ff2073ebb..26b6d7a46980 100644
--- a/dev-python/scipy/scipy-1.9.0-r1.ebuild
+++ b/dev-python/scipy/scipy-1.9.0-r1.ebuild
@@ -38,7 +38,7 @@ else
S="${WORKDIR}"/${MY_P}
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 -hppa"
+ KEYWORDS="~amd64 -hppa ~riscv"
fi
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-07-31 2:59 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2022-07-31 2:59 UTC (permalink / raw
To: gentoo-commits
commit: 1502e5e3459b31dc6400f6fe71a62ef4f5b5db10
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 31 02:52:57 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 31 02:52:57 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1502e5e3
dev-python/scipy: depend on umfpack
Some of the logic got gutted (hence what I said in d133f35f892233784f38a3913c6b61c7490a47ad)
but it still automagically uses umfpack if it can.
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/{scipy-1.9.0.ebuild => scipy-1.9.0-r1.ebuild} | 4 +++-
dev-python/scipy/scipy-1.9.9999.ebuild | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/dev-python/scipy/scipy-1.9.0.ebuild b/dev-python/scipy/scipy-1.9.0-r1.ebuild
similarity index 94%
rename from dev-python/scipy/scipy-1.9.0.ebuild
rename to dev-python/scipy/scipy-1.9.0-r1.ebuild
index 61d7f61e799e..888ff2073ebb 100644
--- a/dev-python/scipy/scipy-1.9.0.ebuild
+++ b/dev-python/scipy/scipy-1.9.0-r1.ebuild
@@ -46,9 +46,11 @@ LICENSE="BSD LGPL-2"
SLOT="0"
IUSE="doc"
+# umfpack is technically optional but it's preferred to have it available.
DEPEND="
>=dev-python/numpy-1.18.5[lapack,${PYTHON_USEDEP}]
- sci-libs/arpack:0=
+ sci-libs/arpack:=
+ sci-libs/umfpack
virtual/cblas
>=virtual/lapack-3.8
"
diff --git a/dev-python/scipy/scipy-1.9.9999.ebuild b/dev-python/scipy/scipy-1.9.9999.ebuild
index 61d7f61e799e..888ff2073ebb 100644
--- a/dev-python/scipy/scipy-1.9.9999.ebuild
+++ b/dev-python/scipy/scipy-1.9.9999.ebuild
@@ -46,9 +46,11 @@ LICENSE="BSD LGPL-2"
SLOT="0"
IUSE="doc"
+# umfpack is technically optional but it's preferred to have it available.
DEPEND="
>=dev-python/numpy-1.18.5[lapack,${PYTHON_USEDEP}]
- sci-libs/arpack:0=
+ sci-libs/arpack:=
+ sci-libs/umfpack
virtual/cblas
>=virtual/lapack-3.8
"
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-07-31 2:42 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2022-07-31 2:42 UTC (permalink / raw
To: gentoo-commits
commit: df58cd100952fe13aa5df3aa806fc01e48441512
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 31 02:41:56 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 31 02:41:56 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df58cd10
dev-python/scipy: drop 1.9.0_rc3
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/Manifest | 1 -
dev-python/scipy/scipy-1.9.0_rc3.ebuild | 79 ---------------------------------
2 files changed, 80 deletions(-)
diff --git a/dev-python/scipy/Manifest b/dev-python/scipy/Manifest
index a29c70f2473a..2dcd72e9f049 100644
--- a/dev-python/scipy/Manifest
+++ b/dev-python/scipy/Manifest
@@ -1,5 +1,4 @@
DIST scipy-1.8.1.tar.gz 38196215 BLAKE2B 180ae646adba2031a4bf99cd4feefe652b8e340110b3b2872e61aa1083054aadf369c7e3b3e3fd8fb71fcd831c95841d2dadd1c71e35e5f7d95800e5551173f0 SHA512 f6fc71c209991fe82baa4b10d8ade0deb1057f6f5942a91dfb7ae45f3eb78a4535efa2861badf5e2d37239fa99dbd99de760aa7e4854b95991ade0263004e7ea
DIST scipy-1.9.0.tar.gz 42016757 BLAKE2B ca25b3ad44091230c5ecdfa832b382a1f5449565aa460b169a886505e7583399d316fe48f420d45b9993e6522d46fbbd6405e08fcfb8dc02ed5febb2e09749e7 SHA512 03d38f3298e2ca2dcc376acb09593f47a007f2b166508b91cd6f3e3cc417fa3579084aaa806365afee8679b473340b0eba86b36def957da45be404c4b6607675
-DIST scipy-1.9.0rc3.tar.gz 42021439 BLAKE2B 148c5a2517ef18015123503837d921a24258996047b4c5df22a279febc98d0633bb8b6bd9c7b886db9458583e8a5c15886b6349e2095a0ed7d60a7c976d24145 SHA512 1e4f0eb3fc5d8cdc24c2e4f7ea8400f5db039d4a2bb7a7d7c4869392fbdca6836d4dfb0a1ead2452b177fe49a60aa7ef86d7d6aee596e001e870df79a5cbce04
DIST scipy-html-1.8.1.zip 37060661 BLAKE2B 2fa617c58eb47463f8a61f9798b32c6da255d26b8e86c1558e427a715093f5a29ced3847ab6ecfe88ce1017664f36ac3e9fa9bbf72ede7e0fd3812b5f41fe933 SHA512 95153dc1f404aa64898a700c94c0deea3ca842c3152167d0987edabcf4a8eba16b6c8e6bc38a6775a849dc621e6a21434baf53d1669b1865fa5049cffa4387ac
DIST scipy-ref-1.8.1.pdf 35025868 BLAKE2B 9221755d2dc69b8623271f75ff3078a0a4410fe9ff69ee317b40bf145af7da21a7f5f4b6b67820d8bb2878f83b7014f1ea7c2f0e026afb716da0479d394505e2 SHA512 8f27dcb9dd1030e15266389af21a1475ecfec5ea777fb2dbcf8db8d3398ac6e45c7040b8d6dbaffd29be3920925427be7c55efdc8094d670c857edfdab7f7728
diff --git a/dev-python/scipy/scipy-1.9.0_rc3.ebuild b/dev-python/scipy/scipy-1.9.0_rc3.ebuild
deleted file mode 100644
index 577f837b091c..000000000000
--- a/dev-python/scipy/scipy-1.9.0_rc3.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=meson-python
-PYTHON_COMPAT=( python3_{8..10} )
-PYTHON_REQ_USE="threads(+)"
-
-inherit fortran-2 distutils-r1 multiprocessing
-
-DESCRIPTION="Scientific algorithms library for Python"
-HOMEPAGE="
- https://scipy.org/
- https://github.com/scipy/scipy/
- https://pypi.org/project/scipy/
-"
-
-if [[ ${PV} == *9999* ]] ; then
- inherit git-r3
-
- # Need submodules, so git for now.
- EGIT_REPO_URI="https://github.com/scipy/scipy"
- EGIT_BRANCH="maintenance/$(ver_cut 1-2).x"
- EGIT_SUBMODULES=( '*' )
-else
- # Upstream is often behind with doc updates
- DOC_PV=1.8.1
- MY_PV=${PV/_rc/rc}
- MY_P=${PN}-${MY_PV}
-
- SRC_URI="
- mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz
- doc? (
- https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip
- https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-ref-${DOC_PV}.pdf
- )"
- S="${WORKDIR}"/${MY_P}
-
- if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 -hppa"
- fi
-fi
-
-LICENSE="BSD LGPL-2"
-SLOT="0"
-IUSE="doc +sparse"
-
-DEPEND="
- >=dev-python/numpy-1.18.5[lapack,${PYTHON_USEDEP}]
- sci-libs/arpack:0=
- virtual/cblas
- >=virtual/lapack-3.8
- sparse? ( sci-libs/umfpack:0= )"
-RDEPEND="${DEPEND}
- dev-python/pillow[${PYTHON_USEDEP}]"
-# TODO: restore pythran optionality?
-BDEPEND="
- dev-lang/swig
- >=dev-python/cython-0.29.18[${PYTHON_USEDEP}]
- dev-python/pybind11[${PYTHON_USEDEP}]
- dev-python/pythran[${PYTHON_USEDEP}]
- >=dev-util/meson-0.62.2
- dev-util/patchelf
- virtual/pkgconfig
- doc? ( app-arch/unzip )
- test? ( dev-python/pytest-xdist[${PYTHON_USEDEP}] )"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-1.9.9999-meson-options-lapack.patch
-)
-
-distutils_enable_tests pytest
-
-python_test() {
- cd "${T}" || die
-
- epytest -n "$(makeopts_jobs)" --pyargs scipy
-}
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-07-31 2:42 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2022-07-31 2:42 UTC (permalink / raw
To: gentoo-commits
commit: d133f35f892233784f38a3913c6b61c7490a47ad
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 31 02:41:36 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 31 02:41:42 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d133f35f
dev-python/scipy: drop useless IUSE=sparse, fix USE=doc
Seems to have gone a while ago upstream.
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.9.0.ebuild | 18 ++++++++++++++----
dev-python/scipy/scipy-1.9.9999.ebuild | 18 ++++++++++++++----
2 files changed, 28 insertions(+), 8 deletions(-)
diff --git a/dev-python/scipy/scipy-1.9.0.ebuild b/dev-python/scipy/scipy-1.9.0.ebuild
index ccb8c752ed10..61d7f61e799e 100644
--- a/dev-python/scipy/scipy-1.9.0.ebuild
+++ b/dev-python/scipy/scipy-1.9.0.ebuild
@@ -44,16 +44,18 @@ fi
LICENSE="BSD LGPL-2"
SLOT="0"
-IUSE="doc +sparse"
+IUSE="doc"
DEPEND="
>=dev-python/numpy-1.18.5[lapack,${PYTHON_USEDEP}]
sci-libs/arpack:0=
virtual/cblas
>=virtual/lapack-3.8
- sparse? ( sci-libs/umfpack:0= )"
-RDEPEND="${DEPEND}
- dev-python/pillow[${PYTHON_USEDEP}]"
+"
+RDEPEND="
+ ${DEPEND}
+ dev-python/pillow[${PYTHON_USEDEP}]
+"
# TODO: restore pythran optionality?
BDEPEND="
dev-lang/swig
@@ -82,3 +84,11 @@ python_test() {
epytest -n "$(makeopts_jobs)" --pyargs scipy
}
+
+python_install_all() {
+ use doc && \
+ local DOCS=( "${DISTDIR}"/${PN}-ref-${DOC_PV}.pdf ) \
+ local HTML_DOCS=( "${WORKDIR}"/html/. )
+
+ distutils-r1_python_install_all
+}
diff --git a/dev-python/scipy/scipy-1.9.9999.ebuild b/dev-python/scipy/scipy-1.9.9999.ebuild
index ccb8c752ed10..61d7f61e799e 100644
--- a/dev-python/scipy/scipy-1.9.9999.ebuild
+++ b/dev-python/scipy/scipy-1.9.9999.ebuild
@@ -44,16 +44,18 @@ fi
LICENSE="BSD LGPL-2"
SLOT="0"
-IUSE="doc +sparse"
+IUSE="doc"
DEPEND="
>=dev-python/numpy-1.18.5[lapack,${PYTHON_USEDEP}]
sci-libs/arpack:0=
virtual/cblas
>=virtual/lapack-3.8
- sparse? ( sci-libs/umfpack:0= )"
-RDEPEND="${DEPEND}
- dev-python/pillow[${PYTHON_USEDEP}]"
+"
+RDEPEND="
+ ${DEPEND}
+ dev-python/pillow[${PYTHON_USEDEP}]
+"
# TODO: restore pythran optionality?
BDEPEND="
dev-lang/swig
@@ -82,3 +84,11 @@ python_test() {
epytest -n "$(makeopts_jobs)" --pyargs scipy
}
+
+python_install_all() {
+ use doc && \
+ local DOCS=( "${DISTDIR}"/${PN}-ref-${DOC_PV}.pdf ) \
+ local HTML_DOCS=( "${WORKDIR}"/html/. )
+
+ distutils-r1_python_install_all
+}
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-07-30 9:40 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2022-07-30 9:40 UTC (permalink / raw
To: gentoo-commits
commit: c777f31282345233eee26152a9553dd05ae75f6a
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 30 09:33:33 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 30 09:33:36 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c777f312
dev-python/scipy: skip known test failures
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.9.0.ebuild | 5 +++++
dev-python/scipy/scipy-1.9.9999.ebuild | 5 +++++
2 files changed, 10 insertions(+)
diff --git a/dev-python/scipy/scipy-1.9.0.ebuild b/dev-python/scipy/scipy-1.9.0.ebuild
index 577f837b091c..ccb8c752ed10 100644
--- a/dev-python/scipy/scipy-1.9.0.ebuild
+++ b/dev-python/scipy/scipy-1.9.0.ebuild
@@ -70,6 +70,11 @@ PATCHES=(
"${FILESDIR}"/${PN}-1.9.9999-meson-options-lapack.patch
)
+EPYTEST_DESELECT=(
+ linalg/tests/test_decomp.py::TestSchur::test_sort
+ linalg/tests/test_solvers.py::test_solve_discrete_are
+)
+
distutils_enable_tests pytest
python_test() {
diff --git a/dev-python/scipy/scipy-1.9.9999.ebuild b/dev-python/scipy/scipy-1.9.9999.ebuild
index 577f837b091c..ccb8c752ed10 100644
--- a/dev-python/scipy/scipy-1.9.9999.ebuild
+++ b/dev-python/scipy/scipy-1.9.9999.ebuild
@@ -70,6 +70,11 @@ PATCHES=(
"${FILESDIR}"/${PN}-1.9.9999-meson-options-lapack.patch
)
+EPYTEST_DESELECT=(
+ linalg/tests/test_decomp.py::TestSchur::test_sort
+ linalg/tests/test_solvers.py::test_solve_discrete_are
+)
+
distutils_enable_tests pytest
python_test() {
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-07-30 9:31 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2022-07-30 9:31 UTC (permalink / raw
To: gentoo-commits
commit: 55b7c131c50b78fe3049912e0ca2e187233e6da7
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 30 09:30:12 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 30 09:30:12 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55b7c131
dev-python/scipy: add 1.9.0
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/Manifest | 1 +
dev-python/scipy/{scipy-1.9.0_rc3.ebuild => scipy-1.9.0.ebuild} | 2 +-
dev-python/scipy/scipy-1.9.0_rc3.ebuild | 2 +-
dev-python/scipy/scipy-1.9.9999.ebuild | 3 ++-
4 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/dev-python/scipy/Manifest b/dev-python/scipy/Manifest
index 259e3786068a..a29c70f2473a 100644
--- a/dev-python/scipy/Manifest
+++ b/dev-python/scipy/Manifest
@@ -1,4 +1,5 @@
DIST scipy-1.8.1.tar.gz 38196215 BLAKE2B 180ae646adba2031a4bf99cd4feefe652b8e340110b3b2872e61aa1083054aadf369c7e3b3e3fd8fb71fcd831c95841d2dadd1c71e35e5f7d95800e5551173f0 SHA512 f6fc71c209991fe82baa4b10d8ade0deb1057f6f5942a91dfb7ae45f3eb78a4535efa2861badf5e2d37239fa99dbd99de760aa7e4854b95991ade0263004e7ea
+DIST scipy-1.9.0.tar.gz 42016757 BLAKE2B ca25b3ad44091230c5ecdfa832b382a1f5449565aa460b169a886505e7583399d316fe48f420d45b9993e6522d46fbbd6405e08fcfb8dc02ed5febb2e09749e7 SHA512 03d38f3298e2ca2dcc376acb09593f47a007f2b166508b91cd6f3e3cc417fa3579084aaa806365afee8679b473340b0eba86b36def957da45be404c4b6607675
DIST scipy-1.9.0rc3.tar.gz 42021439 BLAKE2B 148c5a2517ef18015123503837d921a24258996047b4c5df22a279febc98d0633bb8b6bd9c7b886db9458583e8a5c15886b6349e2095a0ed7d60a7c976d24145 SHA512 1e4f0eb3fc5d8cdc24c2e4f7ea8400f5db039d4a2bb7a7d7c4869392fbdca6836d4dfb0a1ead2452b177fe49a60aa7ef86d7d6aee596e001e870df79a5cbce04
DIST scipy-html-1.8.1.zip 37060661 BLAKE2B 2fa617c58eb47463f8a61f9798b32c6da255d26b8e86c1558e427a715093f5a29ced3847ab6ecfe88ce1017664f36ac3e9fa9bbf72ede7e0fd3812b5f41fe933 SHA512 95153dc1f404aa64898a700c94c0deea3ca842c3152167d0987edabcf4a8eba16b6c8e6bc38a6775a849dc621e6a21434baf53d1669b1865fa5049cffa4387ac
DIST scipy-ref-1.8.1.pdf 35025868 BLAKE2B 9221755d2dc69b8623271f75ff3078a0a4410fe9ff69ee317b40bf145af7da21a7f5f4b6b67820d8bb2878f83b7014f1ea7c2f0e026afb716da0479d394505e2 SHA512 8f27dcb9dd1030e15266389af21a1475ecfec5ea777fb2dbcf8db8d3398ac6e45c7040b8d6dbaffd29be3920925427be7c55efdc8094d670c857edfdab7f7728
diff --git a/dev-python/scipy/scipy-1.9.0_rc3.ebuild b/dev-python/scipy/scipy-1.9.0.ebuild
similarity index 95%
copy from dev-python/scipy/scipy-1.9.0_rc3.ebuild
copy to dev-python/scipy/scipy-1.9.0.ebuild
index 66e0ae62dac4..577f837b091c 100644
--- a/dev-python/scipy/scipy-1.9.0_rc3.ebuild
+++ b/dev-python/scipy/scipy-1.9.0.ebuild
@@ -38,7 +38,7 @@ else
S="${WORKDIR}"/${MY_P}
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+ KEYWORDS="~amd64 -hppa"
fi
fi
diff --git a/dev-python/scipy/scipy-1.9.0_rc3.ebuild b/dev-python/scipy/scipy-1.9.0_rc3.ebuild
index 66e0ae62dac4..577f837b091c 100644
--- a/dev-python/scipy/scipy-1.9.0_rc3.ebuild
+++ b/dev-python/scipy/scipy-1.9.0_rc3.ebuild
@@ -38,7 +38,7 @@ else
S="${WORKDIR}"/${MY_P}
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+ KEYWORDS="~amd64 -hppa"
fi
fi
diff --git a/dev-python/scipy/scipy-1.9.9999.ebuild b/dev-python/scipy/scipy-1.9.9999.ebuild
index 19c83a0756f4..577f837b091c 100644
--- a/dev-python/scipy/scipy-1.9.9999.ebuild
+++ b/dev-python/scipy/scipy-1.9.9999.ebuild
@@ -38,7 +38,7 @@ else
S="${WORKDIR}"/${MY_P}
if [[ ${PV} != *rc* ]] ; then
- KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+ KEYWORDS="~amd64 -hppa"
fi
fi
@@ -60,6 +60,7 @@ BDEPEND="
>=dev-python/cython-0.29.18[${PYTHON_USEDEP}]
dev-python/pybind11[${PYTHON_USEDEP}]
dev-python/pythran[${PYTHON_USEDEP}]
+ >=dev-util/meson-0.62.2
dev-util/patchelf
virtual/pkgconfig
doc? ( app-arch/unzip )
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-07-30 9:20 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2022-07-30 9:20 UTC (permalink / raw
To: gentoo-commits
commit: 336eb895bf8ce8209585f5d45abda80717f27878
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 30 09:14:46 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 30 09:20:26 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=336eb895
dev-python/scipy: add github upstream metadata
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/metadata.xml | 49 ++++++++++++++++++++++---------------------
1 file changed, 25 insertions(+), 24 deletions(-)
diff --git a/dev-python/scipy/metadata.xml b/dev-python/scipy/metadata.xml
index 0192620473a3..727696087804 100644
--- a/dev-python/scipy/metadata.xml
+++ b/dev-python/scipy/metadata.xml
@@ -1,28 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="project">
- <email>sci@gentoo.org</email>
- <name>Gentoo Science Project</name>
- </maintainer>
- <maintainer type="project">
- <email>python@gentoo.org</email>
- <name>Python</name>
- </maintainer>
- <longdescription lang="en">
- SciPy is an open source library of scientific tools for Python. SciPy
- supplements the popular numpy module, gathering a variety of high level
- science and engineering modules together as a single package.
- SciPy includes modules for graphics and plotting, optimization,
- integration, special functions, signal and image processing, genetic
- algorithms, ODE solvers, and others.
-</longdescription>
- <use>
- <flag name="pythran">Use <pkg>dev-python/pythran</pkg> to accelerate runtime</flag>
- <flag name="sparse">Adds support for sparse solving with <pkg>sci-libs/umfpack</pkg></flag>
- </use>
- <upstream>
- <remote-id type="pypi">scipy</remote-id>
- <remote-id type="sourceforge">scipy</remote-id>
- </upstream>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <longdescription lang="en">
+ SciPy is an open source library of scientific tools for Python. SciPy
+ supplements the popular numpy module, gathering a variety of high level
+ science and engineering modules together as a single package.
+ SciPy includes modules for graphics and plotting, optimization,
+ integration, special functions, signal and image processing, genetic
+ algorithms, ODE solvers, and others.
+ </longdescription>
+ <use>
+ <flag name="pythran">Use <pkg>dev-python/pythran</pkg> to accelerate runtime</flag>
+ <flag name="sparse">Adds support for sparse solving with <pkg>sci-libs/umfpack</pkg></flag>
+ </use>
+ <upstream>
+ <remote-id type="github">scipy/scipy</remote-id>
+ <remote-id type="pypi">scipy</remote-id>
+ <remote-id type="sourceforge">scipy</remote-id>
+ </upstream>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-07-24 20:51 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2022-07-24 20:51 UTC (permalink / raw
To: gentoo-commits
commit: e7a852aaab7c437e5eff325da17c3fe5d1e2e290
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 24 19:24:23 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 24 20:48:35 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7a852aa
dev-python/scipy: add 1.9.0_rc3, drop 1.9.0_rc2
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/Manifest | 2 +-
dev-python/scipy/{scipy-1.9.0_rc2.ebuild => scipy-1.9.0_rc3.ebuild} | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/dev-python/scipy/Manifest b/dev-python/scipy/Manifest
index 06d764c811f0..259e3786068a 100644
--- a/dev-python/scipy/Manifest
+++ b/dev-python/scipy/Manifest
@@ -1,4 +1,4 @@
DIST scipy-1.8.1.tar.gz 38196215 BLAKE2B 180ae646adba2031a4bf99cd4feefe652b8e340110b3b2872e61aa1083054aadf369c7e3b3e3fd8fb71fcd831c95841d2dadd1c71e35e5f7d95800e5551173f0 SHA512 f6fc71c209991fe82baa4b10d8ade0deb1057f6f5942a91dfb7ae45f3eb78a4535efa2861badf5e2d37239fa99dbd99de760aa7e4854b95991ade0263004e7ea
-DIST scipy-1.9.0rc2.tar.gz 41994528 BLAKE2B a1f72c54dda09a2086756e61cf35be30485e5f237b8a5c339002aa6532017fd215e029e9762b8b669d36975d0df751f7cbe1b0d1da60e12376f70e706af4bdf7 SHA512 dce69ee783d6a234c0a9300af055a59a4de23ba4fedfd2aa16e8dfd244eff72a217c242b332ab500389b236d3bac81ebb202a9f0ed8d1cffa82c36290fd49f77
+DIST scipy-1.9.0rc3.tar.gz 42021439 BLAKE2B 148c5a2517ef18015123503837d921a24258996047b4c5df22a279febc98d0633bb8b6bd9c7b886db9458583e8a5c15886b6349e2095a0ed7d60a7c976d24145 SHA512 1e4f0eb3fc5d8cdc24c2e4f7ea8400f5db039d4a2bb7a7d7c4869392fbdca6836d4dfb0a1ead2452b177fe49a60aa7ef86d7d6aee596e001e870df79a5cbce04
DIST scipy-html-1.8.1.zip 37060661 BLAKE2B 2fa617c58eb47463f8a61f9798b32c6da255d26b8e86c1558e427a715093f5a29ced3847ab6ecfe88ce1017664f36ac3e9fa9bbf72ede7e0fd3812b5f41fe933 SHA512 95153dc1f404aa64898a700c94c0deea3ca842c3152167d0987edabcf4a8eba16b6c8e6bc38a6775a849dc621e6a21434baf53d1669b1865fa5049cffa4387ac
DIST scipy-ref-1.8.1.pdf 35025868 BLAKE2B 9221755d2dc69b8623271f75ff3078a0a4410fe9ff69ee317b40bf145af7da21a7f5f4b6b67820d8bb2878f83b7014f1ea7c2f0e026afb716da0479d394505e2 SHA512 8f27dcb9dd1030e15266389af21a1475ecfec5ea777fb2dbcf8db8d3398ac6e45c7040b8d6dbaffd29be3920925427be7c55efdc8094d670c857edfdab7f7728
diff --git a/dev-python/scipy/scipy-1.9.0_rc2.ebuild b/dev-python/scipy/scipy-1.9.0_rc3.ebuild
similarity index 98%
rename from dev-python/scipy/scipy-1.9.0_rc2.ebuild
rename to dev-python/scipy/scipy-1.9.0_rc3.ebuild
index 19c83a0756f4..66e0ae62dac4 100644
--- a/dev-python/scipy/scipy-1.9.0_rc2.ebuild
+++ b/dev-python/scipy/scipy-1.9.0_rc3.ebuild
@@ -60,6 +60,7 @@ BDEPEND="
>=dev-python/cython-0.29.18[${PYTHON_USEDEP}]
dev-python/pybind11[${PYTHON_USEDEP}]
dev-python/pythran[${PYTHON_USEDEP}]
+ >=dev-util/meson-0.62.2
dev-util/patchelf
virtual/pkgconfig
doc? ( app-arch/unzip )
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-07-05 1:57 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2022-07-05 1:57 UTC (permalink / raw
To: gentoo-commits
commit: 9df55e4f0c2556c83ccb51eebce70fefc76989ca
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 5 01:57:00 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jul 5 01:57:00 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9df55e4f
dev-python/scipy: add 1.9.0_rc2
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/Manifest | 2 +-
.../{scipy-1.9.0_rc1.ebuild => scipy-1.9.0_rc2.ebuild} | 4 ++--
dev-python/scipy/scipy-1.9.9999.ebuild | 13 +++++++++----
3 files changed, 12 insertions(+), 7 deletions(-)
diff --git a/dev-python/scipy/Manifest b/dev-python/scipy/Manifest
index 3155ebc0d471..06d764c811f0 100644
--- a/dev-python/scipy/Manifest
+++ b/dev-python/scipy/Manifest
@@ -1,4 +1,4 @@
DIST scipy-1.8.1.tar.gz 38196215 BLAKE2B 180ae646adba2031a4bf99cd4feefe652b8e340110b3b2872e61aa1083054aadf369c7e3b3e3fd8fb71fcd831c95841d2dadd1c71e35e5f7d95800e5551173f0 SHA512 f6fc71c209991fe82baa4b10d8ade0deb1057f6f5942a91dfb7ae45f3eb78a4535efa2861badf5e2d37239fa99dbd99de760aa7e4854b95991ade0263004e7ea
-DIST scipy-1.9.0rc1.tar.gz 42045828 BLAKE2B 8ecb112f611d52a69564329764b63d6f97bdcf6ba2fedc32134fb9f0da0c7f91d8507136bd81e2193c8a796273019cf2cf1a0f6009f6ac0803924a27ad216c37 SHA512 74d0ec0b94d33da683549b9c56966ec58dc807a5b60101413530501d2b1e789209b1b0e6cbca0a3bd0317dd0911406efc900dee5f90f1ea71c9aefa00f4c2dbe
+DIST scipy-1.9.0rc2.tar.gz 41994528 BLAKE2B a1f72c54dda09a2086756e61cf35be30485e5f237b8a5c339002aa6532017fd215e029e9762b8b669d36975d0df751f7cbe1b0d1da60e12376f70e706af4bdf7 SHA512 dce69ee783d6a234c0a9300af055a59a4de23ba4fedfd2aa16e8dfd244eff72a217c242b332ab500389b236d3bac81ebb202a9f0ed8d1cffa82c36290fd49f77
DIST scipy-html-1.8.1.zip 37060661 BLAKE2B 2fa617c58eb47463f8a61f9798b32c6da255d26b8e86c1558e427a715093f5a29ced3847ab6ecfe88ce1017664f36ac3e9fa9bbf72ede7e0fd3812b5f41fe933 SHA512 95153dc1f404aa64898a700c94c0deea3ca842c3152167d0987edabcf4a8eba16b6c8e6bc38a6775a849dc621e6a21434baf53d1669b1865fa5049cffa4387ac
DIST scipy-ref-1.8.1.pdf 35025868 BLAKE2B 9221755d2dc69b8623271f75ff3078a0a4410fe9ff69ee317b40bf145af7da21a7f5f4b6b67820d8bb2878f83b7014f1ea7c2f0e026afb716da0479d394505e2 SHA512 8f27dcb9dd1030e15266389af21a1475ecfec5ea777fb2dbcf8db8d3398ac6e45c7040b8d6dbaffd29be3920925427be7c55efdc8094d670c857edfdab7f7728
diff --git a/dev-python/scipy/scipy-1.9.0_rc1.ebuild b/dev-python/scipy/scipy-1.9.0_rc2.ebuild
similarity index 95%
rename from dev-python/scipy/scipy-1.9.0_rc1.ebuild
rename to dev-python/scipy/scipy-1.9.0_rc2.ebuild
index aa0db9c53032..19c83a0756f4 100644
--- a/dev-python/scipy/scipy-1.9.0_rc1.ebuild
+++ b/dev-python/scipy/scipy-1.9.0_rc2.ebuild
@@ -47,10 +47,10 @@ SLOT="0"
IUSE="doc +sparse"
DEPEND="
- >=dev-python/numpy-1.17.3[lapack,${PYTHON_USEDEP}]
+ >=dev-python/numpy-1.18.5[lapack,${PYTHON_USEDEP}]
sci-libs/arpack:0=
virtual/cblas
- virtual/lapack
+ >=virtual/lapack-3.8
sparse? ( sci-libs/umfpack:0= )"
RDEPEND="${DEPEND}
dev-python/pillow[${PYTHON_USEDEP}]"
diff --git a/dev-python/scipy/scipy-1.9.9999.ebuild b/dev-python/scipy/scipy-1.9.9999.ebuild
index a25a63827ff7..19c83a0756f4 100644
--- a/dev-python/scipy/scipy-1.9.9999.ebuild
+++ b/dev-python/scipy/scipy-1.9.9999.ebuild
@@ -26,15 +26,20 @@ if [[ ${PV} == *9999* ]] ; then
else
# Upstream is often behind with doc updates
DOC_PV=1.8.1
+ MY_PV=${PV/_rc/rc}
+ MY_P=${PN}-${MY_PV}
SRC_URI="
- mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
+ mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz
doc? (
https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip
https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-ref-${DOC_PV}.pdf
)"
+ S="${WORKDIR}"/${MY_P}
- KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+ if [[ ${PV} != *rc* ]] ; then
+ KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+ fi
fi
LICENSE="BSD LGPL-2"
@@ -42,10 +47,10 @@ SLOT="0"
IUSE="doc +sparse"
DEPEND="
- >=dev-python/numpy-1.17.3[lapack,${PYTHON_USEDEP}]
+ >=dev-python/numpy-1.18.5[lapack,${PYTHON_USEDEP}]
sci-libs/arpack:0=
virtual/cblas
- virtual/lapack
+ >=virtual/lapack-3.8
sparse? ( sci-libs/umfpack:0= )"
RDEPEND="${DEPEND}
dev-python/pillow[${PYTHON_USEDEP}]"
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-06-25 1:33 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2022-06-25 1:33 UTC (permalink / raw
To: gentoo-commits
commit: c5a4a1cb9a61a47799556073c24115e768f05dde
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 25 01:32:54 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 25 01:32:54 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5a4a1cb
dev-python/scipy: add 1.9.0_rc1
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/Manifest | 1 +
dev-python/scipy/scipy-1.9.0_rc1.ebuild | 78 +++++++++++++++++++++++++++++++++
2 files changed, 79 insertions(+)
diff --git a/dev-python/scipy/Manifest b/dev-python/scipy/Manifest
index 238fc4ae29ac..3155ebc0d471 100644
--- a/dev-python/scipy/Manifest
+++ b/dev-python/scipy/Manifest
@@ -1,3 +1,4 @@
DIST scipy-1.8.1.tar.gz 38196215 BLAKE2B 180ae646adba2031a4bf99cd4feefe652b8e340110b3b2872e61aa1083054aadf369c7e3b3e3fd8fb71fcd831c95841d2dadd1c71e35e5f7d95800e5551173f0 SHA512 f6fc71c209991fe82baa4b10d8ade0deb1057f6f5942a91dfb7ae45f3eb78a4535efa2861badf5e2d37239fa99dbd99de760aa7e4854b95991ade0263004e7ea
+DIST scipy-1.9.0rc1.tar.gz 42045828 BLAKE2B 8ecb112f611d52a69564329764b63d6f97bdcf6ba2fedc32134fb9f0da0c7f91d8507136bd81e2193c8a796273019cf2cf1a0f6009f6ac0803924a27ad216c37 SHA512 74d0ec0b94d33da683549b9c56966ec58dc807a5b60101413530501d2b1e789209b1b0e6cbca0a3bd0317dd0911406efc900dee5f90f1ea71c9aefa00f4c2dbe
DIST scipy-html-1.8.1.zip 37060661 BLAKE2B 2fa617c58eb47463f8a61f9798b32c6da255d26b8e86c1558e427a715093f5a29ced3847ab6ecfe88ce1017664f36ac3e9fa9bbf72ede7e0fd3812b5f41fe933 SHA512 95153dc1f404aa64898a700c94c0deea3ca842c3152167d0987edabcf4a8eba16b6c8e6bc38a6775a849dc621e6a21434baf53d1669b1865fa5049cffa4387ac
DIST scipy-ref-1.8.1.pdf 35025868 BLAKE2B 9221755d2dc69b8623271f75ff3078a0a4410fe9ff69ee317b40bf145af7da21a7f5f4b6b67820d8bb2878f83b7014f1ea7c2f0e026afb716da0479d394505e2 SHA512 8f27dcb9dd1030e15266389af21a1475ecfec5ea777fb2dbcf8db8d3398ac6e45c7040b8d6dbaffd29be3920925427be7c55efdc8094d670c857edfdab7f7728
diff --git a/dev-python/scipy/scipy-1.9.0_rc1.ebuild b/dev-python/scipy/scipy-1.9.0_rc1.ebuild
new file mode 100644
index 000000000000..aa0db9c53032
--- /dev/null
+++ b/dev-python/scipy/scipy-1.9.0_rc1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=meson-python
+PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit fortran-2 distutils-r1 multiprocessing
+
+DESCRIPTION="Scientific algorithms library for Python"
+HOMEPAGE="
+ https://scipy.org/
+ https://github.com/scipy/scipy/
+ https://pypi.org/project/scipy/
+"
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+
+ # Need submodules, so git for now.
+ EGIT_REPO_URI="https://github.com/scipy/scipy"
+ EGIT_BRANCH="maintenance/$(ver_cut 1-2).x"
+ EGIT_SUBMODULES=( '*' )
+else
+ # Upstream is often behind with doc updates
+ DOC_PV=1.8.1
+ MY_PV=${PV/_rc/rc}
+ MY_P=${PN}-${MY_PV}
+
+ SRC_URI="
+ mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz
+ doc? (
+ https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip
+ https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-ref-${DOC_PV}.pdf
+ )"
+ S="${WORKDIR}"/${MY_P}
+
+ if [[ ${PV} != *rc* ]] ; then
+ KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+ fi
+fi
+
+LICENSE="BSD LGPL-2"
+SLOT="0"
+IUSE="doc +sparse"
+
+DEPEND="
+ >=dev-python/numpy-1.17.3[lapack,${PYTHON_USEDEP}]
+ sci-libs/arpack:0=
+ virtual/cblas
+ virtual/lapack
+ sparse? ( sci-libs/umfpack:0= )"
+RDEPEND="${DEPEND}
+ dev-python/pillow[${PYTHON_USEDEP}]"
+# TODO: restore pythran optionality?
+BDEPEND="
+ dev-lang/swig
+ >=dev-python/cython-0.29.18[${PYTHON_USEDEP}]
+ dev-python/pybind11[${PYTHON_USEDEP}]
+ dev-python/pythran[${PYTHON_USEDEP}]
+ dev-util/patchelf
+ virtual/pkgconfig
+ doc? ( app-arch/unzip )
+ test? ( dev-python/pytest-xdist[${PYTHON_USEDEP}] )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.9.9999-meson-options-lapack.patch
+)
+
+distutils_enable_tests pytest
+
+python_test() {
+ cd "${T}" || die
+
+ epytest -n "$(makeopts_jobs)" --pyargs scipy
+}
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-06-23 8:58 Agostino Sarubbo
0 siblings, 0 replies; 209+ messages in thread
From: Agostino Sarubbo @ 2022-06-23 8:58 UTC (permalink / raw
To: gentoo-commits
commit: ae21859588c4dd7439fe151f02e8e15e2902e087
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 23 08:58:56 2022 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Thu Jun 23 08:58:56 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae218595
dev-python/scipy: arm stable wrt bug #853388
Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="arm"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
dev-python/scipy/scipy-1.8.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.8.1.ebuild b/dev-python/scipy/scipy-1.8.1.ebuild
index 0926ae33a5f8..df38fbcc3ec2 100644
--- a/dev-python/scipy/scipy-1.8.1.ebuild
+++ b/dev-python/scipy/scipy-1.8.1.ebuild
@@ -26,7 +26,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="amd64 ~arm arm64 -hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86"
+KEYWORDS="amd64 arm arm64 -hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86"
IUSE="doc +pythran sparse"
DEPEND="
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-06-22 13:23 Agostino Sarubbo
0 siblings, 0 replies; 209+ messages in thread
From: Agostino Sarubbo @ 2022-06-22 13:23 UTC (permalink / raw
To: gentoo-commits
commit: 3aa80d3b8592c971cb4ab252b55244723cc6de86
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 22 13:23:49 2022 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Wed Jun 22 13:23:49 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3aa80d3b
dev-python/scipy: arm64 stable wrt bug #853388
Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="arm64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
dev-python/scipy/scipy-1.8.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.8.1.ebuild b/dev-python/scipy/scipy-1.8.1.ebuild
index cc4f066e0734..0926ae33a5f8 100644
--- a/dev-python/scipy/scipy-1.8.1.ebuild
+++ b/dev-python/scipy/scipy-1.8.1.ebuild
@@ -26,7 +26,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 -hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86"
+KEYWORDS="amd64 ~arm arm64 -hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86"
IUSE="doc +pythran sparse"
DEPEND="
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-06-22 10:16 Agostino Sarubbo
0 siblings, 0 replies; 209+ messages in thread
From: Agostino Sarubbo @ 2022-06-22 10:16 UTC (permalink / raw
To: gentoo-commits
commit: 943036521b959f4385e09951dfd10cbb823a6dbd
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 22 10:14:53 2022 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Wed Jun 22 10:14:53 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94303652
dev-python/scipy: x86 stable wrt bug #853388
Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
dev-python/scipy/scipy-1.8.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.8.1.ebuild b/dev-python/scipy/scipy-1.8.1.ebuild
index 85c5c4e8c428..cc4f066e0734 100644
--- a/dev-python/scipy/scipy-1.8.1.ebuild
+++ b/dev-python/scipy/scipy-1.8.1.ebuild
@@ -26,7 +26,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 -hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 -hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86"
IUSE="doc +pythran sparse"
DEPEND="
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-06-22 10:14 Agostino Sarubbo
0 siblings, 0 replies; 209+ messages in thread
From: Agostino Sarubbo @ 2022-06-22 10:14 UTC (permalink / raw
To: gentoo-commits
commit: 60d71a9df5fff6e8b1ce3c2b93518b9fb11a65fb
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 22 10:14:16 2022 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Wed Jun 22 10:14:16 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60d71a9d
dev-python/scipy: ppc64 stable wrt bug #853388
Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
dev-python/scipy/scipy-1.8.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.8.1.ebuild b/dev-python/scipy/scipy-1.8.1.ebuild
index 6617cde4bc3d..85c5c4e8c428 100644
--- a/dev-python/scipy/scipy-1.8.1.ebuild
+++ b/dev-python/scipy/scipy-1.8.1.ebuild
@@ -26,7 +26,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 -hppa ~ia64 ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 -hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="doc +pythran sparse"
DEPEND="
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-06-22 10:13 Agostino Sarubbo
0 siblings, 0 replies; 209+ messages in thread
From: Agostino Sarubbo @ 2022-06-22 10:13 UTC (permalink / raw
To: gentoo-commits
commit: 6a432a3e89b35cac7db44b4df3396c82ddf13901
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 22 10:13:20 2022 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Wed Jun 22 10:13:20 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a432a3e
dev-python/scipy: ppc stable wrt bug #853388
Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
dev-python/scipy/scipy-1.8.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.8.1.ebuild b/dev-python/scipy/scipy-1.8.1.ebuild
index 25d331b546c2..6617cde4bc3d 100644
--- a/dev-python/scipy/scipy-1.8.1.ebuild
+++ b/dev-python/scipy/scipy-1.8.1.ebuild
@@ -26,7 +26,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 -hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 -hppa ~ia64 ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="doc +pythran sparse"
DEPEND="
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-06-22 10:10 Agostino Sarubbo
0 siblings, 0 replies; 209+ messages in thread
From: Agostino Sarubbo @ 2022-06-22 10:10 UTC (permalink / raw
To: gentoo-commits
commit: 68d0ff4d4e9ac47d8b30571b9219192a35f0600a
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 22 10:07:41 2022 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Wed Jun 22 10:07:41 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68d0ff4d
dev-python/scipy: amd64 stable wrt bug #853388
Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
dev-python/scipy/scipy-1.8.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.8.1.ebuild b/dev-python/scipy/scipy-1.8.1.ebuild
index 81edc28b8dca..25d331b546c2 100644
--- a/dev-python/scipy/scipy-1.8.1.ebuild
+++ b/dev-python/scipy/scipy-1.8.1.ebuild
@@ -26,7 +26,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 -hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="doc +pythran sparse"
DEPEND="
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-05-19 3:01 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2022-05-19 3:01 UTC (permalink / raw
To: gentoo-commits
commit: 1e9653dd0688577b64da7071962cce1c76abc8c5
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu May 19 03:01:07 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu May 19 03:01:07 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e9653dd
dev-python/scipy: add 1.8.1
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/Manifest | 3 +
dev-python/scipy/scipy-1.8.1.ebuild | 189 ++++++++++++++++++++++++++++++++++++
2 files changed, 192 insertions(+)
diff --git a/dev-python/scipy/Manifest b/dev-python/scipy/Manifest
index d49ac5272be8..76487212a3c9 100644
--- a/dev-python/scipy/Manifest
+++ b/dev-python/scipy/Manifest
@@ -1,3 +1,6 @@
DIST scipy-1.8.0.tar.gz 38313602 BLAKE2B 3f071ad3dfa350bba7eaf8e06c8bdb660f9dc1ef0e0bfc1eb1be2c400f947b2b26d62066a4b0f603ae56244131aff6e4c5b7e87cfd2aa7b278e3071062a4bf02 SHA512 674652728ae76479d17189e6974895bb838a8e83b17b9fb91c5f86faebf2a1387e1466555ac5b51d05c293f9b31b9a72e634f5858105ea984ca94bd2f05bbb4c
+DIST scipy-1.8.1.tar.gz 38196215 BLAKE2B 180ae646adba2031a4bf99cd4feefe652b8e340110b3b2872e61aa1083054aadf369c7e3b3e3fd8fb71fcd831c95841d2dadd1c71e35e5f7d95800e5551173f0 SHA512 f6fc71c209991fe82baa4b10d8ade0deb1057f6f5942a91dfb7ae45f3eb78a4535efa2861badf5e2d37239fa99dbd99de760aa7e4854b95991ade0263004e7ea
DIST scipy-html-1.7.1.zip 32435246 BLAKE2B fd8173da41aba95a14b1376f848bc668c4659bf1bbbdd0f87d926633d36f29c039957d38be145a5583010ebd83f6458090f75bdad773cc0f1591664e13c04c20 SHA512 ee59722878f6ef2d2319cdf4e6a60d3d1184f7c22752f9a8859eaa46fb677ebac9e8eef9c0826998e12bac9399e336799843341ef203224a82c9101347149672
+DIST scipy-html-1.8.1.zip 37060661 BLAKE2B 2fa617c58eb47463f8a61f9798b32c6da255d26b8e86c1558e427a715093f5a29ced3847ab6ecfe88ce1017664f36ac3e9fa9bbf72ede7e0fd3812b5f41fe933 SHA512 95153dc1f404aa64898a700c94c0deea3ca842c3152167d0987edabcf4a8eba16b6c8e6bc38a6775a849dc621e6a21434baf53d1669b1865fa5049cffa4387ac
DIST scipy-ref-1.7.1.pdf 33542025 BLAKE2B 6c978f06b770805f0fae06db740e8596658d98bbbc93c865127eae909957503bb38e02a9c97319aed07608718f8f373374b1cf3a8c3bd624aa3143f1d21bc428 SHA512 45720dc299594bac5c7539f950a0ff135b125d86bfe9847032cbff1f294601fefd0a1ac3fd7e3928b2702390c318ae2f8adca6403ba06ea1ded705fcff94ab79
+DIST scipy-ref-1.8.1.pdf 35025868 BLAKE2B 9221755d2dc69b8623271f75ff3078a0a4410fe9ff69ee317b40bf145af7da21a7f5f4b6b67820d8bb2878f83b7014f1ea7c2f0e026afb716da0479d394505e2 SHA512 8f27dcb9dd1030e15266389af21a1475ecfec5ea777fb2dbcf8db8d3398ac6e45c7040b8d6dbaffd29be3920925427be7c55efdc8094d670c857edfdab7f7728
diff --git a/dev-python/scipy/scipy-1.8.1.ebuild b/dev-python/scipy/scipy-1.8.1.ebuild
new file mode 100644
index 000000000000..81edc28b8dca
--- /dev/null
+++ b/dev-python/scipy/scipy-1.8.1.ebuild
@@ -0,0 +1,189 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_IN_SOURCE_BUILD=1
+PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit fortran-2 distutils-r1 flag-o-matic multiprocessing toolchain-funcs
+
+# Upstream is often behind with doc updates
+DOC_PV=1.8.1
+DESCRIPTION="Scientific algorithms library for Python"
+HOMEPAGE="
+ https://scipy.org/
+ https://github.com/scipy/scipy/
+ https://pypi.org/project/scipy/
+"
+SRC_URI="
+ mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
+ doc? (
+ https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip
+ https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-ref-${DOC_PV}.pdf
+ )"
+
+LICENSE="BSD LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE="doc +pythran sparse"
+
+DEPEND="
+ >=dev-python/numpy-1.17.3[lapack,${PYTHON_USEDEP}]
+ sci-libs/arpack:0=
+ virtual/cblas
+ virtual/lapack
+ sparse? ( sci-libs/umfpack:0= )"
+RDEPEND="${DEPEND}
+ dev-python/pillow[${PYTHON_USEDEP}]"
+BDEPEND="
+ dev-lang/swig
+ >=dev-python/cython-0.29.18[${PYTHON_USEDEP}]
+ dev-python/pybind11[${PYTHON_USEDEP}]
+ virtual/pkgconfig
+ doc? ( app-arch/unzip )
+ pythran? ( dev-python/pythran[${PYTHON_USEDEP}] )
+ test? (
+ dev-python/nose[${PYTHON_USEDEP}]
+ dev-python/pytest-xdist[${PYTHON_USEDEP}]
+ )"
+
+distutils_enable_tests pytest
+
+src_unpack() {
+ default
+
+ if use doc; then
+ unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die
+ fi
+}
+
+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
+ cat >> setup.cfg <<-EOF || die
+ [options]
+ zip_safe = False
+ EOF
+
+ # TODO
+ sed -e "s:== 'levy_stable':in ('levy_stable', 'crystalball', 'ncf'):" \
+ -i scipy/stats/tests/test_continuous_basic.py || die
+
+ # Skip known-failing test. Broken on all versions in Gentoo for years.
+ # bug #743295
+ sed -e 's:test_bisplev_integer_overflow:_&:' \
+ -i scipy/interpolate/tests/test_fitpack.py || die
+
+ # Skip a few 32-bit related failures
+ if use x86 ; then
+ # TODO: Tidy this up and switch to epytest
+ sed -i -e 's:test_nd_axis_m1:_&:' \
+ -e 's:test_nd_axis_0:_&:' \
+ -e 's:test_maxiter_worsening:_&:' \
+ -e 's:test_pdist_jensenshannon_iris:_&:' \
+ -e 's:test_align_vectors_single_vector:_&:' \
+ scipy/signal/tests/test_spectral.py \
+ scipy/spatial/tests/test_distance.py \
+ scipy/spatial/transform/tests/test_rotation.py || die
+ fi
+
+ if has_version ">=sci-libs/lapack-3.10"; then
+ sed -e 's:test_sort(:_&:' \
+ -i scipy/linalg/tests/test_decomp.py || die
+ sed -e 's:test_solve_discrete_are:_&:' \
+ -i scipy/linalg/tests/test_solvers.py || die
+ fi
+
+ distutils-r1_python_prepare_all
+}
+
+python_configure_all() {
+ export SCIPY_USE_PYTHRAN=$(usex pythran 1 0)
+
+ # bug 721860
+ test-flag-FC -fallow-argument-mismatch &&
+ append-fflags -fallow-argument-mismatch
+}
+
+python_compile() {
+ # FIXME: parallel python building fails, bug #614464
+ export ORIGINAL_MAKEOPTS="${MAKEOPTS}"
+ export MAKEOPTS=-j1
+
+ ${EPYTHON} tools/cythonize.py || die
+ distutils-r1_python_compile \
+ ${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}/lib" || die "no ${TEST_DIR} available"
+
+ # Let's try using pytest again with xdist to speed things up.
+ # Note that using pytest is required to avoid dying b/c of a
+ # deprecation warning with distutils in Python 3.01.
+ epytest -n "$(makeopts_jobs "${ORIGINAL_MAKEOPTS}" "$(get_nproc)")"
+}
+
+python_install_all() {
+ use doc && \
+ local DOCS=( "${DISTDIR}"/${PN}-ref-${DOC_PV}.pdf ) \
+ local HTML_DOCS=( "${WORKDIR}"/html/. )
+ distutils-r1_python_install_all
+}
+
+python_install() {
+ distutils-r1_python_install ${SCIPY_FCONFIG}
+ python_optimize
+}
+
+pkg_postinst() {
+ elog "You might want to set the variable SCIPY_PIL_IMAGE_VIEWER"
+ elog "to your prefered image viewer. Example:"
+ elog " echo \"export SCIPY_PIL_IMAGE_VIEWER=display\" >> ~/.bashrc"
+}
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-05-17 11:11 Michał Górny
0 siblings, 0 replies; 209+ messages in thread
From: Michał Górny @ 2022-05-17 11:11 UTC (permalink / raw
To: gentoo-commits
commit: c778c40fa8b72f3ff996a2367672b669f2fc1622
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue May 17 11:09:33 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue May 17 11:09:33 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c778c40f
dev-python/scipy: Update HOMEPAGE
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/scipy-1.8.0.ebuild | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.8.0.ebuild b/dev-python/scipy/scipy-1.8.0.ebuild
index 27edb577eb78..a502daa1354f 100644
--- a/dev-python/scipy/scipy-1.8.0.ebuild
+++ b/dev-python/scipy/scipy-1.8.0.ebuild
@@ -11,7 +11,11 @@ inherit fortran-2 distutils-r1 flag-o-matic multiprocessing toolchain-funcs
# upstream is slacking forever with doc updates
DOC_PV=1.7.1
DESCRIPTION="Scientific algorithms library for Python"
-HOMEPAGE="https://www.scipy.org/"
+HOMEPAGE="
+ https://scipy.org/
+ https://github.com/scipy/scipy/
+ https://pypi.org/project/scipy/
+"
SRC_URI="
mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
doc? (
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-05-17 9:24 Agostino Sarubbo
0 siblings, 0 replies; 209+ messages in thread
From: Agostino Sarubbo @ 2022-05-17 9:24 UTC (permalink / raw
To: gentoo-commits
commit: ffdb13bf6f70d63be522961195ea315306b10457
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Tue May 17 09:24:12 2022 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Tue May 17 09:24:12 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffdb13bf
dev-python/scipy: x86 stable wrt bug #835550
Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
dev-python/scipy/scipy-1.8.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.8.0.ebuild b/dev-python/scipy/scipy-1.8.0.ebuild
index a3e3314b5819..27edb577eb78 100644
--- a/dev-python/scipy/scipy-1.8.0.ebuild
+++ b/dev-python/scipy/scipy-1.8.0.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="amd64 arm arm64 -hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 -hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86"
IUSE="doc +pythran sparse"
DEPEND="
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-05-11 12:55 Agostino Sarubbo
0 siblings, 0 replies; 209+ messages in thread
From: Agostino Sarubbo @ 2022-05-11 12:55 UTC (permalink / raw
To: gentoo-commits
commit: fa236148984fb5e6af961e553b5c766568259292
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Wed May 11 12:55:11 2022 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Wed May 11 12:55:11 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa236148
dev-python/scipy: ppc stable wrt bug #835550
Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
dev-python/scipy/scipy-1.8.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.8.0.ebuild b/dev-python/scipy/scipy-1.8.0.ebuild
index 3412561b2f05..a3e3314b5819 100644
--- a/dev-python/scipy/scipy-1.8.0.ebuild
+++ b/dev-python/scipy/scipy-1.8.0.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="amd64 arm arm64 -hppa ~ia64 ~ppc ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 -hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="doc +pythran sparse"
DEPEND="
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-05-07 14:30 Jakov Smolić
0 siblings, 0 replies; 209+ messages in thread
From: Jakov Smolić @ 2022-05-07 14:30 UTC (permalink / raw
To: gentoo-commits
commit: ac420bebbfc4f0efde877978c30327f20853aeda
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Sat May 7 14:30:30 2022 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Sat May 7 14:30:39 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac420beb
dev-python/scipy: Stabilize 1.8.0 arm, #835550
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
dev-python/scipy/scipy-1.8.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.8.0.ebuild b/dev-python/scipy/scipy-1.8.0.ebuild
index 135a57522290..3412561b2f05 100644
--- a/dev-python/scipy/scipy-1.8.0.ebuild
+++ b/dev-python/scipy/scipy-1.8.0.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="amd64 ~arm arm64 -hppa ~ia64 ~ppc ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 -hppa ~ia64 ~ppc ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="doc +pythran sparse"
DEPEND="
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-03-21 9:18 Jakov Smolić
0 siblings, 0 replies; 209+ messages in thread
From: Jakov Smolić @ 2022-03-21 9:18 UTC (permalink / raw
To: gentoo-commits
commit: d227b86e58f349a9cdcbf6311d5ccc89c6765dcb
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 21 09:17:18 2022 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Mon Mar 21 09:17:18 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d227b86e
dev-python/scipy: Stabilize 1.8.0 arm64, #835550
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
dev-python/scipy/scipy-1.8.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.8.0.ebuild b/dev-python/scipy/scipy-1.8.0.ebuild
index 4b24c3e9e009..7dc252a8212a 100644
--- a/dev-python/scipy/scipy-1.8.0.ebuild
+++ b/dev-python/scipy/scipy-1.8.0.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 -hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="amd64 ~arm arm64 -hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="doc +pythran sparse"
DEPEND="
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-03-19 7:53 Agostino Sarubbo
0 siblings, 0 replies; 209+ messages in thread
From: Agostino Sarubbo @ 2022-03-19 7:53 UTC (permalink / raw
To: gentoo-commits
commit: 3a038fbe682bb2447481748088aa34bf81727f88
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 19 07:50:23 2022 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Sat Mar 19 07:50:23 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a038fbe
dev-python/scipy: amd64 stable wrt bug #835550
Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
dev-python/scipy/scipy-1.8.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.8.0.ebuild b/dev-python/scipy/scipy-1.8.0.ebuild
index afe0389f9f29..4b24c3e9e009 100644
--- a/dev-python/scipy/scipy-1.8.0.ebuild
+++ b/dev-python/scipy/scipy-1.8.0.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 -hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="doc +pythran sparse"
DEPEND="
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-03-18 22:28 Michał Górny
0 siblings, 0 replies; 209+ messages in thread
From: Michał Górny @ 2022-03-18 22:28 UTC (permalink / raw
To: gentoo-commits
commit: 9bf69616ae9cc0d8a61aab4d54c4e03e85182fc6
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 18 21:30:15 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Mar 18 22:28:19 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bf69616
dev-python/scipy: Remove old
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/Manifest | 4 -
dev-python/scipy/scipy-1.6.3.ebuild | 166 -----------------------------
dev-python/scipy/scipy-1.7.1-r1.ebuild | 185 ---------------------------------
3 files changed, 355 deletions(-)
diff --git a/dev-python/scipy/Manifest b/dev-python/scipy/Manifest
index a902c4b4014b..87adcb9658aa 100644
--- a/dev-python/scipy/Manifest
+++ b/dev-python/scipy/Manifest
@@ -1,8 +1,4 @@
-DIST scipy-1.6.3.tar.gz 27187987 BLAKE2B 30f7171ca0dc0842f254472f4b52c0b0ad4389964a140cc4b94f9d85437c5a7da238c082be503242d433f1d3c65c3fd4afeb2f7831eea39ce303077406e718df SHA512 10ff25da84ce09ae231e781873902d8040d79868721d75a3f9facee177e7f46f7c9c34374feee6fe2253ddd968716d2993658ce514c4ac0c98d255c06a6ef808
-DIST scipy-1.7.1.tar.gz 36102628 BLAKE2B 67a414d863c61bf419fa907b9bed53b57beedc20d71d0630fac9719f02e951ea79b893d0803b385936a7c04a6c2f723d3870f0498f71e3c210ccd6ee75a009dc SHA512 81fea7e4f5fbcd537d662273507b6ac75bd4cf900567da8083ac86fb06d9f96b010d01a1697db53211440f0fdb2d89510313bafd3d383284d0ab9a08311dd102
DIST scipy-1.7.3.tar.gz 36102562 BLAKE2B 9a605a45d8f03aae3411a6fa92e32c7f6d10373455493ead847d4ad01429b55dbbc33c1a0309d6c9d76d3e9ab1a06772df59c08d393377896c4b534599f9eb9b SHA512 83fe00cf708a13a08d28af7022ec645d8976c177f2fefb56e0a47bfcbec726330b973d1f44364e23c939ae708e239a05904346f515ea1a37e8b70ad160b81cee
DIST scipy-1.8.0.tar.gz 38313602 BLAKE2B 3f071ad3dfa350bba7eaf8e06c8bdb660f9dc1ef0e0bfc1eb1be2c400f947b2b26d62066a4b0f603ae56244131aff6e4c5b7e87cfd2aa7b278e3071062a4bf02 SHA512 674652728ae76479d17189e6974895bb838a8e83b17b9fb91c5f86faebf2a1387e1466555ac5b51d05c293f9b31b9a72e634f5858105ea984ca94bd2f05bbb4c
-DIST scipy-html-1.6.2.zip 23947380 BLAKE2B e4616a157c037b0830fc32d23678fb7e8ebe023d1fd9f0f762695a0d93bc56e432e441e675ec3c7a7d6586a665f6127ce49d570f1716876e58afb402761f8e95 SHA512 119a2227a808c752a751bc7bec6463da739c68391ebac8d2451998d90ebe03b2af401adbf987f0b694244e715c0ef1fd86c2f4a36c48dbb1ff7cdf4d914875df
DIST scipy-html-1.7.1.zip 32435246 BLAKE2B fd8173da41aba95a14b1376f848bc668c4659bf1bbbdd0f87d926633d36f29c039957d38be145a5583010ebd83f6458090f75bdad773cc0f1591664e13c04c20 SHA512 ee59722878f6ef2d2319cdf4e6a60d3d1184f7c22752f9a8859eaa46fb677ebac9e8eef9c0826998e12bac9399e336799843341ef203224a82c9101347149672
-DIST scipy-ref-1.6.2.pdf 34599668 BLAKE2B 9ae3221c814eb0d1b1e9191e08000955af503f6448cf8b5841e400fad106c658670339219f4838bd312023601776fe0b0d123ebbd41460c478145da2ac3e9989 SHA512 9aecb7ca760805c470c41121268281c9547aef35ddf078816c5e48f7cf4912a67cf622e267152c6cc823df9d82be1f3a875d97469169d0d91d6219164c130c88
DIST scipy-ref-1.7.1.pdf 33542025 BLAKE2B 6c978f06b770805f0fae06db740e8596658d98bbbc93c865127eae909957503bb38e02a9c97319aed07608718f8f373374b1cf3a8c3bd624aa3143f1d21bc428 SHA512 45720dc299594bac5c7539f950a0ff135b125d86bfe9847032cbff1f294601fefd0a1ac3fd7e3928b2702390c318ae2f8adca6403ba06ea1ded705fcff94ab79
diff --git a/dev-python/scipy/scipy-1.6.3.ebuild b/dev-python/scipy/scipy-1.6.3.ebuild
deleted file mode 100644
index a77305830f4e..000000000000
--- a/dev-python/scipy/scipy-1.6.3.ebuild
+++ /dev/null
@@ -1,166 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} )
-PYTHON_REQ_USE="threads(+)"
-
-inherit fortran-2 distutils-r1 flag-o-matic toolchain-funcs
-
-# upstream is slacking forever with doc updates
-DOC_PV=1.6.2
-DESCRIPTION="Scientific algorithms library for Python"
-HOMEPAGE="https://www.scipy.org/"
-SRC_URI="
- mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
- doc? (
- https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip
- https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-ref-${DOC_PV}.pdf
- )"
-
-LICENSE="BSD LGPL-2"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="doc sparse"
-
-DEPEND="
- >=dev-python/numpy-1.16.5[lapack,${PYTHON_USEDEP}]
- sci-libs/arpack:0=
- virtual/cblas
- virtual/lapack
- sparse? ( sci-libs/umfpack:0= )"
-RDEPEND="${DEPEND}
- dev-python/pillow[${PYTHON_USEDEP}]"
-BDEPEND="
- dev-lang/swig
- >=dev-python/cython-0.29.18[${PYTHON_USEDEP}]
- dev-python/pybind11[${PYTHON_USEDEP}]
- virtual/pkgconfig
- doc? ( app-arch/unzip )
- test? (
- dev-python/nose[${PYTHON_USEDEP}]
- )"
-
-DISTUTILS_IN_SOURCE_BUILD=1
-
-distutils_enable_tests pytest
-
-src_unpack() {
- default
- if use doc; then
- unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die
- fi
-}
-
-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
- cat >> setup.cfg <<-EOF || die
- [options]
- zip_safe = False
- EOF
-
- # Drop hashes to force rebuild of cython based .c code
- rm cythonize.dat || die
-
- # TODO
- sed -e "s:== 'levy_stable':in ('levy_stable', 'crystalball', 'ncf'):" \
- -i scipy/stats/tests/test_continuous_basic.py || die
-
- # Skip broken test causing segfault, bug #743295
- sed -e 's:test_bisplev_integer_overflow:_&:' \
- -i scipy/interpolate/tests/test_fitpack.py || die
-
- if has_version ">=sci-libs/lapack-3.10"; then
- sed -e 's:test_sort(:_&:' \
- -i scipy/linalg/tests/test_decomp.py || die
- sed -e 's:test_solve_discrete_are:_&:' \
- -i scipy/linalg/tests/test_solvers.py || die
- fi
-
- distutils-r1_python_prepare_all
-}
-
-python_configure_all() {
- # bug 721860
- test-flag-FC -fallow-argument-mismatch &&
- append-fflags -fallow-argument-mismatch
-}
-
-python_compile() {
- # FIXME: parallel python building fails, bug #614464
- export MAKEOPTS=-j1
-
- ${EPYTHON} tools/cythonize.py || die
- distutils-r1_python_compile \
- ${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}/lib" || die "no ${TEST_DIR} available"
- PYTHONPATH=. "${EPYTHON}" -c "
-import scipy, sys
-r = scipy.test('fast', verbose=2)
-sys.exit(0 if r else 1)" || die "Tests fail with ${EPYTHON}"
-}
-
-python_install_all() {
- use doc && \
- local DOCS=( "${DISTDIR}"/${PN}-ref-${DOC_PV}.pdf ) \
- local HTML_DOCS=( "${WORKDIR}"/html/. )
- distutils-r1_python_install_all
-}
-
-python_install() {
- distutils-r1_python_install ${SCIPY_FCONFIG}
- python_optimize
-}
-
-pkg_postinst() {
- elog "You might want to set the variable SCIPY_PIL_IMAGE_VIEWER"
- elog "to your prefered image viewer. Example:"
- elog " echo \"export SCIPY_PIL_IMAGE_VIEWER=display\" >> ~/.bashrc"
-}
diff --git a/dev-python/scipy/scipy-1.7.1-r1.ebuild b/dev-python/scipy/scipy-1.7.1-r1.ebuild
deleted file mode 100644
index 4298215e701d..000000000000
--- a/dev-python/scipy/scipy-1.7.1-r1.ebuild
+++ /dev/null
@@ -1,185 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} )
-PYTHON_REQ_USE="threads(+)"
-
-inherit fortran-2 distutils-r1 flag-o-matic toolchain-funcs
-
-# upstream is slacking forever with doc updates
-DOC_PV=1.6.2
-DESCRIPTION="Scientific algorithms library for Python"
-HOMEPAGE="https://www.scipy.org/"
-SRC_URI="
- mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
- doc? (
- https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip
- https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-ref-${DOC_PV}.pdf
- )"
-
-LICENSE="BSD LGPL-2"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ~ia64 ppc64 ~riscv ~s390 ~sparc x86"
-IUSE="doc +pythran sparse"
-
-DEPEND="
- >=dev-python/numpy-1.16.5[lapack,${PYTHON_USEDEP}]
- sci-libs/arpack:0=
- virtual/cblas
- virtual/lapack
- sparse? ( sci-libs/umfpack:0= )"
-RDEPEND="${DEPEND}
- dev-python/pillow[${PYTHON_USEDEP}]"
-BDEPEND="
- dev-lang/swig
- >=dev-python/cython-0.29.18[${PYTHON_USEDEP}]
- dev-python/pybind11[${PYTHON_USEDEP}]
- virtual/pkgconfig
- doc? ( app-arch/unzip )
- pythran? ( dev-python/pythran[${PYTHON_USEDEP}] )
- test? (
- dev-python/nose[${PYTHON_USEDEP}]
- )"
-
-DISTUTILS_IN_SOURCE_BUILD=1
-
-distutils_enable_tests pytest
-
-PATCHES=(
- "${FILESDIR}"/${P}-pythran-tests-32-bit.patch
-)
-
-src_unpack() {
- default
- if use doc; then
- unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die
- fi
-}
-
-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
- cat >> setup.cfg <<-EOF || die
- [options]
- zip_safe = False
- EOF
-
- # TODO
- sed -e "s:== 'levy_stable':in ('levy_stable', 'crystalball', 'ncf'):" \
- -i scipy/stats/tests/test_continuous_basic.py || die
-
- # Skip known-failing test. Broken on all versions in Gentoo for years.
- # bug #743295
- sed -e 's:test_bisplev_integer_overflow:_&:' \
- -i scipy/interpolate/tests/test_fitpack.py || die
-
- # Skip a few 32-bit related failures
- if use x86 ; then
- # TODO: Tidy this up and switch to epytest
- sed -i -e 's:test_nd_axis_m1:_&:' \
- -e 's:test_nd_axis_0:_&:' \
- -e 's:test_maxiter_worsening:_&:' \
- -e 's:test_pdist_jensenshannon_iris:_&:' \
- -e 's:test_align_vectors_single_vector:_&:' \
- scipy/signal/tests/test_spectral.py \
- scipy/sparse/linalg/isolve/tests/test_iterative.py \
- scipy/spatial/tests/test_distance.py \
- scipy/spatial/transform/tests/test_rotation.py || die
- fi
-
- if has_version ">=sci-libs/lapack-3.10"; then
- sed -e 's:test_sort(:_&:' \
- -i scipy/linalg/tests/test_decomp.py || die
- sed -e 's:test_solve_discrete_are:_&:' \
- -i scipy/linalg/tests/test_solvers.py || die
- fi
-
- distutils-r1_python_prepare_all
-}
-
-python_configure_all() {
- export SCIPY_USE_PYTHRAN=$(usex pythran 1 0)
-
- # bug 721860
- test-flag-FC -fallow-argument-mismatch &&
- append-fflags -fallow-argument-mismatch
-}
-
-python_compile() {
- # FIXME: parallel python building fails, bug #614464
- export MAKEOPTS=-j1
-
- ${EPYTHON} tools/cythonize.py || die
- distutils-r1_python_compile \
- ${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}/lib" || die "no ${TEST_DIR} available"
- PYTHONPATH=. "${EPYTHON}" -c "
-import scipy, sys
-r = scipy.test('fast', verbose=2)
-sys.exit(0 if r else 1)" || die "Tests fail with ${EPYTHON}"
-}
-
-python_install_all() {
- use doc && \
- local DOCS=( "${DISTDIR}"/${PN}-ref-${DOC_PV}.pdf ) \
- local HTML_DOCS=( "${WORKDIR}"/html/. )
- distutils-r1_python_install_all
-}
-
-python_install() {
- distutils-r1_python_install ${SCIPY_FCONFIG}
- python_optimize
-}
-
-pkg_postinst() {
- elog "You might want to set the variable SCIPY_PIL_IMAGE_VIEWER"
- elog "to your prefered image viewer. Example:"
- elog " echo \"export SCIPY_PIL_IMAGE_VIEWER=display\" >> ~/.bashrc"
-}
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-03-18 20:55 Arthur Zamarin
0 siblings, 0 replies; 209+ messages in thread
From: Arthur Zamarin @ 2022-03-18 20:55 UTC (permalink / raw
To: gentoo-commits
commit: e6c1c350ff2000182d40976eae82f80853331d58
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 18 20:55:31 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 18 20:55:31 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6c1c350
dev-python/scipy: Stabilize 1.7.3 ppc, #829530
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/scipy/scipy-1.7.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.7.3.ebuild b/dev-python/scipy/scipy-1.7.3.ebuild
index 74c369820784..3a3cfc929a8b 100644
--- a/dev-python/scipy/scipy-1.7.3.ebuild
+++ b/dev-python/scipy/scipy-1.7.3.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="amd64 arm arm64 -hppa ~ia64 ~ppc ppc64 ~riscv ~s390 ~sparc x86"
+KEYWORDS="amd64 arm arm64 -hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86"
IUSE="doc +pythran sparse"
DEPEND="
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-03-18 8:57 Arthur Zamarin
0 siblings, 0 replies; 209+ messages in thread
From: Arthur Zamarin @ 2022-03-18 8:57 UTC (permalink / raw
To: gentoo-commits
commit: feb5d4a2a5857d0268231deaf96143dec4fda97c
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 18 08:56:57 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 18 08:56:57 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=feb5d4a2
dev-python/scipy: Stabilize 1.7.3 ppc64, #829530
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/scipy/scipy-1.7.3.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-python/scipy/scipy-1.7.3.ebuild b/dev-python/scipy/scipy-1.7.3.ebuild
index f0ab5ba94350..74c369820784 100644
--- a/dev-python/scipy/scipy-1.7.3.ebuild
+++ b/dev-python/scipy/scipy-1.7.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -21,7 +21,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="amd64 arm arm64 -hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc x86"
+KEYWORDS="amd64 arm arm64 -hppa ~ia64 ~ppc ppc64 ~riscv ~s390 ~sparc x86"
IUSE="doc +pythran sparse"
DEPEND="
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2022-02-13 21:29 Jakov Smolić
0 siblings, 0 replies; 209+ messages in thread
From: Jakov Smolić @ 2022-02-13 21:29 UTC (permalink / raw
To: gentoo-commits
commit: 309b726eb0d30212573fbc227807b87c24473ee5
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 13 21:26:30 2022 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Sun Feb 13 21:29:05 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=309b726e
dev-python/scipy: Fix src_prepare phase on x86
scipy/sparse/linalg/isolve/tests/test_iterative.py was removed in
between recent version changes which caused the prepare phase to fail on
x86.
Closes: https://bugs.gentoo.org/833291
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
dev-python/scipy/scipy-1.8.0.ebuild | 1 -
1 file changed, 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.8.0.ebuild b/dev-python/scipy/scipy-1.8.0.ebuild
index 103ff10d567e..afe0389f9f29 100644
--- a/dev-python/scipy/scipy-1.8.0.ebuild
+++ b/dev-python/scipy/scipy-1.8.0.ebuild
@@ -125,7 +125,6 @@ python_prepare_all() {
-e 's:test_pdist_jensenshannon_iris:_&:' \
-e 's:test_align_vectors_single_vector:_&:' \
scipy/signal/tests/test_spectral.py \
- scipy/sparse/linalg/isolve/tests/test_iterative.py \
scipy/spatial/tests/test_distance.py \
scipy/spatial/transform/tests/test_rotation.py || die
fi
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-12-28 19:50 Arthur Zamarin
0 siblings, 0 replies; 209+ messages in thread
From: Arthur Zamarin @ 2021-12-28 19:50 UTC (permalink / raw
To: gentoo-commits
commit: f994572a0518923887eff9f6b8c093698613886f
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 28 19:50:47 2021 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Dec 28 19:50:47 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f994572a
dev-python/scipy: Stabilize 1.7.3 arm, #829530
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/scipy/scipy-1.7.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.7.3.ebuild b/dev-python/scipy/scipy-1.7.3.ebuild
index 26f3be31e189..f0ab5ba94350 100644
--- a/dev-python/scipy/scipy-1.7.3.ebuild
+++ b/dev-python/scipy/scipy-1.7.3.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="amd64 ~arm arm64 -hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc x86"
+KEYWORDS="amd64 arm arm64 -hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc x86"
IUSE="doc +pythran sparse"
DEPEND="
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-12-23 22:46 Michał Górny
0 siblings, 0 replies; 209+ messages in thread
From: Michał Górny @ 2021-12-23 22:46 UTC (permalink / raw
To: gentoo-commits
commit: 3f76c06fc1e151b29f65d6cdafcfc4ee4f92d4b3
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 23 22:44:34 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Dec 23 22:44:34 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f76c06f
dev-python/scipy: Remove old
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/Manifest | 4 -
dev-python/scipy/scipy-1.6.2.ebuild | 155 ------------------------------
dev-python/scipy/scipy-1.7.2.ebuild | 185 ------------------------------------
3 files changed, 344 deletions(-)
diff --git a/dev-python/scipy/Manifest b/dev-python/scipy/Manifest
index ab7dc2d11b63..88d145b73116 100644
--- a/dev-python/scipy/Manifest
+++ b/dev-python/scipy/Manifest
@@ -1,11 +1,7 @@
-DIST scipy-1.6.2.tar.gz 27187804 BLAKE2B af3578bc029c3af548c04144d7405ac8e6f8e057f870394e124f24aea9989120275407e5a7fdd29fbe1019d2acc295c1ce00872461ecf3a325000e8817cd559f SHA512 18b03f32e8343c5a6c6148ac0bfd4b5f2cc9ff5f74d5d41761ae9e773d6af8774c7b09a3fcc47122864eccce1dbbc17e9325819885d3fc3ab2baf98e7d3befa4
DIST scipy-1.6.3.tar.gz 27187987 BLAKE2B 30f7171ca0dc0842f254472f4b52c0b0ad4389964a140cc4b94f9d85437c5a7da238c082be503242d433f1d3c65c3fd4afeb2f7831eea39ce303077406e718df SHA512 10ff25da84ce09ae231e781873902d8040d79868721d75a3f9facee177e7f46f7c9c34374feee6fe2253ddd968716d2993658ce514c4ac0c98d255c06a6ef808
DIST scipy-1.7.1.tar.gz 36102628 BLAKE2B 67a414d863c61bf419fa907b9bed53b57beedc20d71d0630fac9719f02e951ea79b893d0803b385936a7c04a6c2f723d3870f0498f71e3c210ccd6ee75a009dc SHA512 81fea7e4f5fbcd537d662273507b6ac75bd4cf900567da8083ac86fb06d9f96b010d01a1697db53211440f0fdb2d89510313bafd3d383284d0ab9a08311dd102
-DIST scipy-1.7.2.tar.gz 36104529 BLAKE2B 8e31a71e8cd69a83e1b60747a01e34f79e42664089a2c41aa263c1697a689464fde0b467063e0ae3bafa37721294a79e21d0eedc6023c1558aea6e0105aefeae SHA512 87596430571ff2a43f067eaaf3254c0841dac82b9152cb64040f1a4d9bc5429aebc31c619ce55d74727f2a79567dfef4acbc6252c24c46d3c8849f97e6e8cfef
DIST scipy-1.7.3.tar.gz 36102562 BLAKE2B 9a605a45d8f03aae3411a6fa92e32c7f6d10373455493ead847d4ad01429b55dbbc33c1a0309d6c9d76d3e9ab1a06772df59c08d393377896c4b534599f9eb9b SHA512 83fe00cf708a13a08d28af7022ec645d8976c177f2fefb56e0a47bfcbec726330b973d1f44364e23c939ae708e239a05904346f515ea1a37e8b70ad160b81cee
-DIST scipy-html-1.6.1.zip 23946591 BLAKE2B d3464c342b1d4f43e17e214c7557737913bf4131f88b9d569cff106c75dc7ebf0d065283792fddc189e2a3ddc322f1b2b4f38c6d313569f28395e79680060b58 SHA512 73561f9daa303c6e967f9b11952c6239dea7ff1a2fa02434354ac78fcffe7a552aa0f1043a17cb5c35a442def499eff199856cca8efa1415449cbf54f0d4913b
DIST scipy-html-1.6.2.zip 23947380 BLAKE2B e4616a157c037b0830fc32d23678fb7e8ebe023d1fd9f0f762695a0d93bc56e432e441e675ec3c7a7d6586a665f6127ce49d570f1716876e58afb402761f8e95 SHA512 119a2227a808c752a751bc7bec6463da739c68391ebac8d2451998d90ebe03b2af401adbf987f0b694244e715c0ef1fd86c2f4a36c48dbb1ff7cdf4d914875df
DIST scipy-html-1.7.1.zip 32435246 BLAKE2B fd8173da41aba95a14b1376f848bc668c4659bf1bbbdd0f87d926633d36f29c039957d38be145a5583010ebd83f6458090f75bdad773cc0f1591664e13c04c20 SHA512 ee59722878f6ef2d2319cdf4e6a60d3d1184f7c22752f9a8859eaa46fb677ebac9e8eef9c0826998e12bac9399e336799843341ef203224a82c9101347149672
-DIST scipy-ref-1.6.1.pdf 34594740 BLAKE2B 905ddcd7a3d462b09ded688f0818204d7684fa18058d0dac480d0a000e9ea0b7ebcdd33c01adae17234dcdf630d4aef9078174127af46f1db55d5c14b3245346 SHA512 355f4681439c1720f45dca6badfe72d77edfca0962fd9b42df34f1cd8fff7121fa6e7f60570bb638abd3ba9693930fa46b25af862d8fc1568b508c6fdd785479
DIST scipy-ref-1.6.2.pdf 34599668 BLAKE2B 9ae3221c814eb0d1b1e9191e08000955af503f6448cf8b5841e400fad106c658670339219f4838bd312023601776fe0b0d123ebbd41460c478145da2ac3e9989 SHA512 9aecb7ca760805c470c41121268281c9547aef35ddf078816c5e48f7cf4912a67cf622e267152c6cc823df9d82be1f3a875d97469169d0d91d6219164c130c88
DIST scipy-ref-1.7.1.pdf 33542025 BLAKE2B 6c978f06b770805f0fae06db740e8596658d98bbbc93c865127eae909957503bb38e02a9c97319aed07608718f8f373374b1cf3a8c3bd624aa3143f1d21bc428 SHA512 45720dc299594bac5c7539f950a0ff135b125d86bfe9847032cbff1f294601fefd0a1ac3fd7e3928b2702390c318ae2f8adca6403ba06ea1ded705fcff94ab79
diff --git a/dev-python/scipy/scipy-1.6.2.ebuild b/dev-python/scipy/scipy-1.6.2.ebuild
deleted file mode 100644
index 2092f8ee820d..000000000000
--- a/dev-python/scipy/scipy-1.6.2.ebuild
+++ /dev/null
@@ -1,155 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-PYTHON_REQ_USE="threads(+)"
-
-inherit fortran-2 distutils-r1 flag-o-matic multiprocessing toolchain-funcs
-
-# upstream is slacking forever with doc updates
-DOC_PV=1.6.1
-DESCRIPTION="Scientific algorithms library for Python"
-HOMEPAGE="https://www.scipy.org/"
-SRC_URI="
- mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
- doc? (
- https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip
- https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-ref-${DOC_PV}.pdf
- )"
-
-LICENSE="BSD LGPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="doc sparse"
-
-DEPEND="
- >=dev-python/numpy-1.16.5[lapack,${PYTHON_USEDEP}]
- sci-libs/arpack:0=
- virtual/cblas
- virtual/lapack
- sparse? ( sci-libs/umfpack:0= )"
-RDEPEND="${DEPEND}
- dev-python/pillow[${PYTHON_USEDEP}]"
-BDEPEND="
- dev-lang/swig
- >=dev-python/cython-0.29.18[${PYTHON_USEDEP}]
- dev-python/pybind11[${PYTHON_USEDEP}]
- virtual/pkgconfig
- doc? ( app-arch/unzip )
- test? (
- dev-python/nose[${PYTHON_USEDEP}]
- )"
-
-DISTUTILS_IN_SOURCE_BUILD=1
-
-distutils_enable_tests pytest
-
-src_unpack() {
- default
- if use doc; then
- unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die
- fi
-}
-
-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
- cat >> setup.cfg <<-EOF || die
- [options]
- zip_safe = False
- EOF
-
- # Drop hashes to force rebuild of cython based .c code
- rm cythonize.dat || die
-
- # TODO
- sed -e "s:== 'levy_stable':in ('levy_stable', 'crystalball', 'ncf'):" \
- -i scipy/stats/tests/test_continuous_basic.py || die
-
- distutils-r1_python_prepare_all
-}
-
-python_configure_all() {
- # bug 721860
- test-flag-FC -fallow-argument-mismatch &&
- append-fflags -fallow-argument-mismatch
-}
-
-python_compile() {
- # FIXME: parallel python building fails, bug #614464
- export MAKEOPTS=-j1
-
- ${EPYTHON} tools/cythonize.py || die
- distutils-r1_python_compile \
- ${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}/lib" || die "no ${TEST_DIR} available"
- PYTHONPATH=. "${EPYTHON}" -c "
-import scipy, sys
-r = scipy.test('fast', verbose=2)
-sys.exit(0 if r else 1)" || die "Tests fail with ${EPYTHON}"
-}
-
-python_install_all() {
- use doc && \
- local DOCS=( "${DISTDIR}"/${PN}-ref-${DOC_PV}.pdf ) \
- local HTML_DOCS=( "${WORKDIR}"/html/. )
- distutils-r1_python_install_all
-}
-
-python_install() {
- distutils-r1_python_install ${SCIPY_FCONFIG}
- python_optimize
-}
-
-pkg_postinst() {
- elog "You might want to set the variable SCIPY_PIL_IMAGE_VIEWER"
- elog "to your prefered image viewer. Example:"
- elog " echo \"export SCIPY_PIL_IMAGE_VIEWER=display\" >> ~/.bashrc"
-}
diff --git a/dev-python/scipy/scipy-1.7.2.ebuild b/dev-python/scipy/scipy-1.7.2.ebuild
deleted file mode 100644
index 7ddd70d6ffe1..000000000000
--- a/dev-python/scipy/scipy-1.7.2.ebuild
+++ /dev/null
@@ -1,185 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} )
-PYTHON_REQ_USE="threads(+)"
-
-inherit fortran-2 distutils-r1 flag-o-matic toolchain-funcs
-
-# upstream is slacking forever with doc updates
-DOC_PV=1.7.1
-DESCRIPTION="Scientific algorithms library for Python"
-HOMEPAGE="https://www.scipy.org/"
-SRC_URI="
- mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
- doc? (
- https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip
- https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-ref-${DOC_PV}.pdf
- )"
-
-LICENSE="BSD LGPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ia64 ~ppc64 ~riscv ~s390 ~sparc ~x86"
-IUSE="doc +pythran sparse"
-
-DEPEND="
- >=dev-python/numpy-1.16.5[lapack,${PYTHON_USEDEP}]
- sci-libs/arpack:0=
- virtual/cblas
- virtual/lapack
- sparse? ( sci-libs/umfpack:0= )"
-RDEPEND="${DEPEND}
- dev-python/pillow[${PYTHON_USEDEP}]"
-BDEPEND="
- dev-lang/swig
- >=dev-python/cython-0.29.18[${PYTHON_USEDEP}]
- dev-python/pybind11[${PYTHON_USEDEP}]
- virtual/pkgconfig
- doc? ( app-arch/unzip )
- pythran? ( dev-python/pythran[${PYTHON_USEDEP}] )
- test? (
- dev-python/nose[${PYTHON_USEDEP}]
- )"
-
-DISTUTILS_IN_SOURCE_BUILD=1
-
-distutils_enable_tests pytest
-
-PATCHES=(
- "${FILESDIR}"/${PN}-1.7.1-pythran-tests-32-bit.patch
-)
-
-src_unpack() {
- default
- if use doc; then
- unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die
- fi
-}
-
-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
- cat >> setup.cfg <<-EOF || die
- [options]
- zip_safe = False
- EOF
-
- # TODO
- sed -e "s:== 'levy_stable':in ('levy_stable', 'crystalball', 'ncf'):" \
- -i scipy/stats/tests/test_continuous_basic.py || die
-
- # Skip known-failing test. Broken on all versions in Gentoo for years.
- # bug #743295
- sed -e 's:test_bisplev_integer_overflow:_&:' \
- -i scipy/interpolate/tests/test_fitpack.py || die
-
- # Skip a few 32-bit related failures
- if use x86 ; then
- # TODO: Tidy this up and switch to epytest
- sed -i -e 's:test_nd_axis_m1:_&:' \
- -e 's:test_nd_axis_0:_&:' \
- -e 's:test_maxiter_worsening:_&:' \
- -e 's:test_pdist_jensenshannon_iris:_&:' \
- -e 's:test_align_vectors_single_vector:_&:' \
- scipy/signal/tests/test_spectral.py \
- scipy/sparse/linalg/isolve/tests/test_iterative.py \
- scipy/spatial/tests/test_distance.py \
- scipy/spatial/transform/tests/test_rotation.py || die
- fi
-
- if has_version ">=sci-libs/lapack-3.10"; then
- sed -e 's:test_sort(:_&:' \
- -i scipy/linalg/tests/test_decomp.py || die
- sed -e 's:test_solve_discrete_are:_&:' \
- -i scipy/linalg/tests/test_solvers.py || die
- fi
-
- distutils-r1_python_prepare_all
-}
-
-python_configure_all() {
- export SCIPY_USE_PYTHRAN=$(usex pythran 1 0)
-
- # bug 721860
- test-flag-FC -fallow-argument-mismatch &&
- append-fflags -fallow-argument-mismatch
-}
-
-python_compile() {
- # FIXME: parallel python building fails, bug #614464
- export MAKEOPTS=-j1
-
- ${EPYTHON} tools/cythonize.py || die
- distutils-r1_python_compile \
- ${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}/lib" || die "no ${TEST_DIR} available"
- PYTHONPATH=. "${EPYTHON}" -c "
-import scipy, sys
-r = scipy.test('fast', verbose=2)
-sys.exit(0 if r else 1)" || die "Tests fail with ${EPYTHON}"
-}
-
-python_install_all() {
- use doc && \
- local DOCS=( "${DISTDIR}"/${PN}-ref-${DOC_PV}.pdf ) \
- local HTML_DOCS=( "${WORKDIR}"/html/. )
- distutils-r1_python_install_all
-}
-
-python_install() {
- distutils-r1_python_install ${SCIPY_FCONFIG}
- python_optimize
-}
-
-pkg_postinst() {
- elog "You might want to set the variable SCIPY_PIL_IMAGE_VIEWER"
- elog "to your prefered image viewer. Example:"
- elog " echo \"export SCIPY_PIL_IMAGE_VIEWER=display\" >> ~/.bashrc"
-}
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-12-23 22:43 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2021-12-23 22:43 UTC (permalink / raw
To: gentoo-commits
commit: ec60fabd27d36fba300c3be4b71b17c19338bebc
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 23 22:42:49 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Dec 23 22:42:49 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec60fabd
dev-python/scipy: Stabilize 1.7.1-r1 ppc64, #821817
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.7.1-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.7.1-r1.ebuild b/dev-python/scipy/scipy-1.7.1-r1.ebuild
index 134efa3aa327..4298215e701d 100644
--- a/dev-python/scipy/scipy-1.7.1-r1.ebuild
+++ b/dev-python/scipy/scipy-1.7.1-r1.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="amd64 arm arm64 ~ia64 ~ppc64 ~riscv ~s390 ~sparc x86"
+KEYWORDS="amd64 arm arm64 ~ia64 ppc64 ~riscv ~s390 ~sparc x86"
IUSE="doc +pythran sparse"
DEPEND="
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-12-21 7:20 Agostino Sarubbo
0 siblings, 0 replies; 209+ messages in thread
From: Agostino Sarubbo @ 2021-12-21 7:20 UTC (permalink / raw
To: gentoo-commits
commit: 5ba339305b6e4a1dd799d0e533f194d3b6112893
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 21 07:20:25 2021 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Tue Dec 21 07:20:25 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ba33930
dev-python/scipy: x86 stable wrt bug #829530
Package-Manager: Portage-3.0.28, Repoman-3.0.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
dev-python/scipy/scipy-1.7.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.7.3.ebuild b/dev-python/scipy/scipy-1.7.3.ebuild
index 571a5e6d5137..26f3be31e189 100644
--- a/dev-python/scipy/scipy-1.7.3.ebuild
+++ b/dev-python/scipy/scipy-1.7.3.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="amd64 ~arm arm64 -hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="amd64 ~arm arm64 -hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc x86"
IUSE="doc +pythran sparse"
DEPEND="
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-12-19 22:06 Agostino Sarubbo
0 siblings, 0 replies; 209+ messages in thread
From: Agostino Sarubbo @ 2021-12-19 22:06 UTC (permalink / raw
To: gentoo-commits
commit: 9d3208534bd1d08b3edb033e065aae73468d9d3a
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 19 22:06:29 2021 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Sun Dec 19 22:06:29 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d320853
dev-python/scipy: amd64 stable wrt bug #829530
Package-Manager: Portage-3.0.28, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
dev-python/scipy/scipy-1.7.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.7.3.ebuild b/dev-python/scipy/scipy-1.7.3.ebuild
index 389e1bb222bf..571a5e6d5137 100644
--- a/dev-python/scipy/scipy-1.7.3.ebuild
+++ b/dev-python/scipy/scipy-1.7.3.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm arm64 -hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="amd64 ~arm arm64 -hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="doc +pythran sparse"
DEPEND="
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-12-19 11:08 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2021-12-19 11:08 UTC (permalink / raw
To: gentoo-commits
commit: cfca0d205b26681d42cff53bd2e167b57b669298
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 19 11:08:25 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Dec 19 11:08:25 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfca0d20
dev-python/scipy: Keyword 1.7.3 ppc, #814851
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.7.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.7.3.ebuild b/dev-python/scipy/scipy-1.7.3.ebuild
index 08fc11489b81..389e1bb222bf 100644
--- a/dev-python/scipy/scipy-1.7.3.ebuild
+++ b/dev-python/scipy/scipy-1.7.3.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm arm64 -hppa ~ia64 ~ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm arm64 -hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="doc +pythran sparse"
DEPEND="
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-12-18 20:00 Arthur Zamarin
0 siblings, 0 replies; 209+ messages in thread
From: Arthur Zamarin @ 2021-12-18 20:00 UTC (permalink / raw
To: gentoo-commits
commit: feb33462488914fc7c4f54f81c1b57fe078b990a
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 18 19:59:33 2021 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 18 19:59:59 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=feb33462
dev-python/scipy: Stabilize 1.7.3 arm64, #829530
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/scipy/scipy-1.7.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.7.3.ebuild b/dev-python/scipy/scipy-1.7.3.ebuild
index 663501bff8ba..08fc11489b81 100644
--- a/dev-python/scipy/scipy-1.7.3.ebuild
+++ b/dev-python/scipy/scipy-1.7.3.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ia64 ~ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm arm64 -hppa ~ia64 ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="doc +pythran sparse"
DEPEND="
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-11-29 23:58 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2021-11-29 23:58 UTC (permalink / raw
To: gentoo-commits
commit: 6714a87a8432c81dc215fdcf0387bbe47339effa
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 29 23:57:45 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Nov 29 23:57:45 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6714a87a
dev-python/scipy: backport ~ppc64 to 1.7.1-r1
Bug: https://bugs.gentoo.org/821817
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.7.1-r1.ebuild | 2 +-
dev-python/scipy/scipy-1.7.2.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-python/scipy/scipy-1.7.1-r1.ebuild b/dev-python/scipy/scipy-1.7.1-r1.ebuild
index 2ececf1e739a..134efa3aa327 100644
--- a/dev-python/scipy/scipy-1.7.1-r1.ebuild
+++ b/dev-python/scipy/scipy-1.7.1-r1.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="amd64 arm arm64 ~ia64 ~riscv ~s390 ~sparc x86"
+KEYWORDS="amd64 arm arm64 ~ia64 ~ppc64 ~riscv ~s390 ~sparc x86"
IUSE="doc +pythran sparse"
DEPEND="
diff --git a/dev-python/scipy/scipy-1.7.2.ebuild b/dev-python/scipy/scipy-1.7.2.ebuild
index cdc137b1517c..7ddd70d6ffe1 100644
--- a/dev-python/scipy/scipy-1.7.2.ebuild
+++ b/dev-python/scipy/scipy-1.7.2.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ia64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ia64 ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="doc +pythran sparse"
DEPEND="
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-11-26 15:33 Arthur Zamarin
0 siblings, 0 replies; 209+ messages in thread
From: Arthur Zamarin @ 2021-11-26 15:33 UTC (permalink / raw
To: gentoo-commits
commit: d3d0a8a9b931c9114a0297313536d9aae86b1395
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 26 15:29:37 2021 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 26 15:32:49 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3d0a8a9
dev-python/scipy: Keyword 1.7.3 ppc64, #814851
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/scipy/scipy-1.7.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.7.3.ebuild b/dev-python/scipy/scipy-1.7.3.ebuild
index 41599657a4ed..663501bff8ba 100644
--- a/dev-python/scipy/scipy-1.7.3.ebuild
+++ b/dev-python/scipy/scipy-1.7.3.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ia64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ia64 ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="doc +pythran sparse"
DEPEND="
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-11-25 1:32 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2021-11-25 1:32 UTC (permalink / raw
To: gentoo-commits
commit: 7c860ea869f2c35cd24f828929bfdd1111198efe
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 25 01:31:08 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Nov 25 01:31:55 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c860ea8
dev-python/scipy: use pytest (again)
- Fixes tests with Python 3.10 (avoids a DeprecationWarning in distutils)
- Try to use pytest-xdist again to speed things up. Seems to work now
and be a bit faster (although it wasn't clear it was faster in the past
for others).
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.7.3.ebuild | 19 ++++++++++++++-----
1 file changed, 14 insertions(+), 5 deletions(-)
diff --git a/dev-python/scipy/scipy-1.7.3.ebuild b/dev-python/scipy/scipy-1.7.3.ebuild
index cdc137b1517c..41599657a4ed 100644
--- a/dev-python/scipy/scipy-1.7.3.ebuild
+++ b/dev-python/scipy/scipy-1.7.3.ebuild
@@ -6,7 +6,7 @@ EAPI=7
PYTHON_COMPAT=( python3_{8..10} )
PYTHON_REQ_USE="threads(+)"
-inherit fortran-2 distutils-r1 flag-o-matic toolchain-funcs
+inherit fortran-2 distutils-r1 flag-o-matic multiprocessing toolchain-funcs
# upstream is slacking forever with doc updates
DOC_PV=1.7.1
@@ -41,6 +41,7 @@ BDEPEND="
pythran? ( dev-python/pythran[${PYTHON_USEDEP}] )
test? (
dev-python/nose[${PYTHON_USEDEP}]
+ dev-python/pytest-xdist[${PYTHON_USEDEP}]
)"
DISTUTILS_IN_SOURCE_BUILD=1
@@ -149,6 +150,7 @@ python_configure_all() {
python_compile() {
# FIXME: parallel python building fails, bug #614464
+ export ORIGINAL_MAKEOPTS="${MAKEOPTS}"
export MAKEOPTS=-j1
${EPYTHON} tools/cythonize.py || die
@@ -160,10 +162,17 @@ python_test() {
# fails with bdist_egg. should it be fixed in distutils-r1 eclass?
distutils_install_for_testing ${SCIPY_FCONFIG}
cd "${TEST_DIR}/lib" || die "no ${TEST_DIR} available"
- PYTHONPATH=. "${EPYTHON}" -c "
-import scipy, sys
-r = scipy.test('fast', verbose=2)
-sys.exit(0 if r else 1)" || die "Tests fail with ${EPYTHON}"
+
+ # Let's try using pytest again with xdist to speed things up.
+ # Note that using pytest is required to avoid dying b/c of a
+ # deprecation warning with distutils in Python 3.01.
+ epytest -n "$(makeopts_jobs "${ORIGINAL_MAKEOPTS}" "$(get_nproc)")"
+
+ # Old test runner
+# PYTHONPATH=. "${EPYTHON}" -c "
+#import scipy, sys
+#r = scipy.test('fast', verbose=2)
+#sys.exit(0 if r else 1)" || die "Tests fail with ${EPYTHON}"
}
python_install_all() {
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-11-25 0:32 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2021-11-25 0:32 UTC (permalink / raw
To: gentoo-commits
commit: 51d4183bcebc56b75332e0a6da4d844a09c9c010
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 25 00:32:22 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Nov 25 00:32:22 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51d4183b
dev-python/scipy: add 1.7.3
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/Manifest | 1 +
dev-python/scipy/scipy-1.7.3.ebuild | 185 ++++++++++++++++++++++++++++++++++++
2 files changed, 186 insertions(+)
diff --git a/dev-python/scipy/Manifest b/dev-python/scipy/Manifest
index 8219933ad788..ab7dc2d11b63 100644
--- a/dev-python/scipy/Manifest
+++ b/dev-python/scipy/Manifest
@@ -2,6 +2,7 @@ DIST scipy-1.6.2.tar.gz 27187804 BLAKE2B af3578bc029c3af548c04144d7405ac8e6f8e05
DIST scipy-1.6.3.tar.gz 27187987 BLAKE2B 30f7171ca0dc0842f254472f4b52c0b0ad4389964a140cc4b94f9d85437c5a7da238c082be503242d433f1d3c65c3fd4afeb2f7831eea39ce303077406e718df SHA512 10ff25da84ce09ae231e781873902d8040d79868721d75a3f9facee177e7f46f7c9c34374feee6fe2253ddd968716d2993658ce514c4ac0c98d255c06a6ef808
DIST scipy-1.7.1.tar.gz 36102628 BLAKE2B 67a414d863c61bf419fa907b9bed53b57beedc20d71d0630fac9719f02e951ea79b893d0803b385936a7c04a6c2f723d3870f0498f71e3c210ccd6ee75a009dc SHA512 81fea7e4f5fbcd537d662273507b6ac75bd4cf900567da8083ac86fb06d9f96b010d01a1697db53211440f0fdb2d89510313bafd3d383284d0ab9a08311dd102
DIST scipy-1.7.2.tar.gz 36104529 BLAKE2B 8e31a71e8cd69a83e1b60747a01e34f79e42664089a2c41aa263c1697a689464fde0b467063e0ae3bafa37721294a79e21d0eedc6023c1558aea6e0105aefeae SHA512 87596430571ff2a43f067eaaf3254c0841dac82b9152cb64040f1a4d9bc5429aebc31c619ce55d74727f2a79567dfef4acbc6252c24c46d3c8849f97e6e8cfef
+DIST scipy-1.7.3.tar.gz 36102562 BLAKE2B 9a605a45d8f03aae3411a6fa92e32c7f6d10373455493ead847d4ad01429b55dbbc33c1a0309d6c9d76d3e9ab1a06772df59c08d393377896c4b534599f9eb9b SHA512 83fe00cf708a13a08d28af7022ec645d8976c177f2fefb56e0a47bfcbec726330b973d1f44364e23c939ae708e239a05904346f515ea1a37e8b70ad160b81cee
DIST scipy-html-1.6.1.zip 23946591 BLAKE2B d3464c342b1d4f43e17e214c7557737913bf4131f88b9d569cff106c75dc7ebf0d065283792fddc189e2a3ddc322f1b2b4f38c6d313569f28395e79680060b58 SHA512 73561f9daa303c6e967f9b11952c6239dea7ff1a2fa02434354ac78fcffe7a552aa0f1043a17cb5c35a442def499eff199856cca8efa1415449cbf54f0d4913b
DIST scipy-html-1.6.2.zip 23947380 BLAKE2B e4616a157c037b0830fc32d23678fb7e8ebe023d1fd9f0f762695a0d93bc56e432e441e675ec3c7a7d6586a665f6127ce49d570f1716876e58afb402761f8e95 SHA512 119a2227a808c752a751bc7bec6463da739c68391ebac8d2451998d90ebe03b2af401adbf987f0b694244e715c0ef1fd86c2f4a36c48dbb1ff7cdf4d914875df
DIST scipy-html-1.7.1.zip 32435246 BLAKE2B fd8173da41aba95a14b1376f848bc668c4659bf1bbbdd0f87d926633d36f29c039957d38be145a5583010ebd83f6458090f75bdad773cc0f1591664e13c04c20 SHA512 ee59722878f6ef2d2319cdf4e6a60d3d1184f7c22752f9a8859eaa46fb677ebac9e8eef9c0826998e12bac9399e336799843341ef203224a82c9101347149672
diff --git a/dev-python/scipy/scipy-1.7.3.ebuild b/dev-python/scipy/scipy-1.7.3.ebuild
new file mode 100644
index 000000000000..cdc137b1517c
--- /dev/null
+++ b/dev-python/scipy/scipy-1.7.3.ebuild
@@ -0,0 +1,185 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit fortran-2 distutils-r1 flag-o-matic toolchain-funcs
+
+# upstream is slacking forever with doc updates
+DOC_PV=1.7.1
+DESCRIPTION="Scientific algorithms library for Python"
+HOMEPAGE="https://www.scipy.org/"
+SRC_URI="
+ mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
+ doc? (
+ https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip
+ https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-ref-${DOC_PV}.pdf
+ )"
+
+LICENSE="BSD LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ia64 ~riscv ~s390 ~sparc ~x86"
+IUSE="doc +pythran sparse"
+
+DEPEND="
+ >=dev-python/numpy-1.16.5[lapack,${PYTHON_USEDEP}]
+ sci-libs/arpack:0=
+ virtual/cblas
+ virtual/lapack
+ sparse? ( sci-libs/umfpack:0= )"
+RDEPEND="${DEPEND}
+ dev-python/pillow[${PYTHON_USEDEP}]"
+BDEPEND="
+ dev-lang/swig
+ >=dev-python/cython-0.29.18[${PYTHON_USEDEP}]
+ dev-python/pybind11[${PYTHON_USEDEP}]
+ virtual/pkgconfig
+ doc? ( app-arch/unzip )
+ pythran? ( dev-python/pythran[${PYTHON_USEDEP}] )
+ test? (
+ dev-python/nose[${PYTHON_USEDEP}]
+ )"
+
+DISTUTILS_IN_SOURCE_BUILD=1
+
+distutils_enable_tests pytest
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.7.1-pythran-tests-32-bit.patch
+)
+
+src_unpack() {
+ default
+ if use doc; then
+ unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die
+ fi
+}
+
+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
+ cat >> setup.cfg <<-EOF || die
+ [options]
+ zip_safe = False
+ EOF
+
+ # TODO
+ sed -e "s:== 'levy_stable':in ('levy_stable', 'crystalball', 'ncf'):" \
+ -i scipy/stats/tests/test_continuous_basic.py || die
+
+ # Skip known-failing test. Broken on all versions in Gentoo for years.
+ # bug #743295
+ sed -e 's:test_bisplev_integer_overflow:_&:' \
+ -i scipy/interpolate/tests/test_fitpack.py || die
+
+ # Skip a few 32-bit related failures
+ if use x86 ; then
+ # TODO: Tidy this up and switch to epytest
+ sed -i -e 's:test_nd_axis_m1:_&:' \
+ -e 's:test_nd_axis_0:_&:' \
+ -e 's:test_maxiter_worsening:_&:' \
+ -e 's:test_pdist_jensenshannon_iris:_&:' \
+ -e 's:test_align_vectors_single_vector:_&:' \
+ scipy/signal/tests/test_spectral.py \
+ scipy/sparse/linalg/isolve/tests/test_iterative.py \
+ scipy/spatial/tests/test_distance.py \
+ scipy/spatial/transform/tests/test_rotation.py || die
+ fi
+
+ if has_version ">=sci-libs/lapack-3.10"; then
+ sed -e 's:test_sort(:_&:' \
+ -i scipy/linalg/tests/test_decomp.py || die
+ sed -e 's:test_solve_discrete_are:_&:' \
+ -i scipy/linalg/tests/test_solvers.py || die
+ fi
+
+ distutils-r1_python_prepare_all
+}
+
+python_configure_all() {
+ export SCIPY_USE_PYTHRAN=$(usex pythran 1 0)
+
+ # bug 721860
+ test-flag-FC -fallow-argument-mismatch &&
+ append-fflags -fallow-argument-mismatch
+}
+
+python_compile() {
+ # FIXME: parallel python building fails, bug #614464
+ export MAKEOPTS=-j1
+
+ ${EPYTHON} tools/cythonize.py || die
+ distutils-r1_python_compile \
+ ${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}/lib" || die "no ${TEST_DIR} available"
+ PYTHONPATH=. "${EPYTHON}" -c "
+import scipy, sys
+r = scipy.test('fast', verbose=2)
+sys.exit(0 if r else 1)" || die "Tests fail with ${EPYTHON}"
+}
+
+python_install_all() {
+ use doc && \
+ local DOCS=( "${DISTDIR}"/${PN}-ref-${DOC_PV}.pdf ) \
+ local HTML_DOCS=( "${WORKDIR}"/html/. )
+ distutils-r1_python_install_all
+}
+
+python_install() {
+ distutils-r1_python_install ${SCIPY_FCONFIG}
+ python_optimize
+}
+
+pkg_postinst() {
+ elog "You might want to set the variable SCIPY_PIL_IMAGE_VIEWER"
+ elog "to your prefered image viewer. Example:"
+ elog " echo \"export SCIPY_PIL_IMAGE_VIEWER=display\" >> ~/.bashrc"
+}
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-11-18 11:15 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2021-11-18 11:15 UTC (permalink / raw
To: gentoo-commits
commit: 4435875cc5e0e6b3f9050e11de54fe48226ec305
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 18 11:15:17 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Nov 18 11:15:17 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4435875c
dev-python/scipy: Stabilize 1.6.3 x86, #813567
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.6.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.6.3.ebuild b/dev-python/scipy/scipy-1.6.3.ebuild
index 3b61dd49363b..a77305830f4e 100644
--- a/dev-python/scipy/scipy-1.6.3.ebuild
+++ b/dev-python/scipy/scipy-1.6.3.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="doc sparse"
DEPEND="
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-11-17 22:47 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2021-11-17 22:47 UTC (permalink / raw
To: gentoo-commits
commit: 0570f4c9bc3a7073d4bbcf2ecf4decdcd1264a7d
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 17 22:45:43 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Nov 17 22:45:43 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0570f4c9
dev-python/scipy: Stabilize 1.7.1-r1 arm, #821817
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.7.1-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.7.1-r1.ebuild b/dev-python/scipy/scipy-1.7.1-r1.ebuild
index 004da6ad0a63..2ececf1e739a 100644
--- a/dev-python/scipy/scipy-1.7.1-r1.ebuild
+++ b/dev-python/scipy/scipy-1.7.1-r1.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~ia64 ~riscv ~s390 ~sparc x86"
+KEYWORDS="amd64 arm arm64 ~ia64 ~riscv ~s390 ~sparc x86"
IUSE="doc +pythran sparse"
DEPEND="
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-11-14 23:51 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2021-11-14 23:51 UTC (permalink / raw
To: gentoo-commits
commit: 100ad9f0b2f586f75d62c041ff50662f9cb36815
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 14 23:50:46 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Nov 14 23:50:46 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=100ad9f0
dev-python/scipy: Stabilize 1.6.3 ppc64, #813567
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.6.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.6.3.ebuild b/dev-python/scipy/scipy-1.6.3.ebuild
index 8a23f914fe03..3b61dd49363b 100644
--- a/dev-python/scipy/scipy-1.6.3.ebuild
+++ b/dev-python/scipy/scipy-1.6.3.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="amd64 arm arm64 ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="doc sparse"
DEPEND="
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-11-14 6:32 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2021-11-14 6:32 UTC (permalink / raw
To: gentoo-commits
commit: 8b9370a9167870639afc78b75e84da8eb6ba172a
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 14 06:31:56 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Nov 14 06:31:56 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b9370a9
dev-python/scipy: keyword 1.7.2 for -hppa
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.7.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.7.2.ebuild b/dev-python/scipy/scipy-1.7.2.ebuild
index 7290265e9ab7..cdc137b1517c 100644
--- a/dev-python/scipy/scipy-1.7.2.ebuild
+++ b/dev-python/scipy/scipy-1.7.2.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 -hppa ~ia64 ~riscv ~s390 ~sparc ~x86"
IUSE="doc +pythran sparse"
DEPEND="
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-11-14 6:07 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2021-11-14 6:07 UTC (permalink / raw
To: gentoo-commits
commit: 79cd7d74c87ab8a02bb5824e5c4c38f30ec5d22a
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 14 06:06:01 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Nov 14 06:06:46 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79cd7d74
dev-python/scipy: mark as -hppa
This reverts commit e8f2dcda97e4dc66512a41dd6baaaf41a2b46e05.
Can't be built:
```
/var/tmp/portage/dev-python/scipy-1.7.2/work/scipy-1.7.2-python3_9/scipy/stats/_boost/include/func_defs.hpp:96:33: required from ‘RealType boost_isf(RealType, const Args ...) [with Dst = boost::math::beta_distribution; RealType = long double; Args = {long double, long double}]’
scipy/stats/_boost/src/beta_ufunc.cxx:3902:46: required from here
/var/tmp/portage/dev-python/scipy-1.7.2/work/scipy-1.7.2-python3_9/scipy/_lib/boost/boost/math/tools/promotion.hpp:148:37: error: static assertion failed: Sorry, but this platform does not have sufficient long double support for the special functions to be reliably implemented.
148 | BOOST_STATIC_ASSERT_MSG((0 == ::boost::is_same<type, long double>::value), "Sorry, but this platform does not have sufficient long double support for the special functions to be reliably implemented.");
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
Bug: https://bugs.gentoo.org/804115
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.7.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.7.2.ebuild b/dev-python/scipy/scipy-1.7.2.ebuild
index 1b2be2e758ea..7290265e9ab7 100644
--- a/dev-python/scipy/scipy-1.7.2.ebuild
+++ b/dev-python/scipy/scipy-1.7.2.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~riscv ~s390 ~sparc ~x86"
IUSE="doc +pythran sparse"
DEPEND="
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-11-14 3:23 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2021-11-14 3:23 UTC (permalink / raw
To: gentoo-commits
commit: e8f2dcda97e4dc66512a41dd6baaaf41a2b46e05
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 14 03:23:06 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Nov 14 03:23:06 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8f2dcda
dev-python/scipy: Keyword 1.7.2 hppa, #804115
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.7.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.7.2.ebuild b/dev-python/scipy/scipy-1.7.2.ebuild
index 7290265e9ab7..1b2be2e758ea 100644
--- a/dev-python/scipy/scipy-1.7.2.ebuild
+++ b/dev-python/scipy/scipy-1.7.2.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~riscv ~s390 ~sparc ~x86"
IUSE="doc +pythran sparse"
DEPEND="
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-11-11 9:18 Jakov Smolić
0 siblings, 0 replies; 209+ messages in thread
From: Jakov Smolić @ 2021-11-11 9:18 UTC (permalink / raw
To: gentoo-commits
commit: e5d8f69e3fc6dcc375a0c7d2ce6137dabe2addd1
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 11 09:16:17 2021 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Thu Nov 11 09:18:21 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5d8f69e
dev-python/scipy: Skip broken test_fitpack on 1.6.3 as well
Bug: https://bugs.gentoo.org/743295
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
dev-python/scipy/scipy-1.6.3.ebuild | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dev-python/scipy/scipy-1.6.3.ebuild b/dev-python/scipy/scipy-1.6.3.ebuild
index d4b29952702..169b2303682 100644
--- a/dev-python/scipy/scipy-1.6.3.ebuild
+++ b/dev-python/scipy/scipy-1.6.3.ebuild
@@ -108,6 +108,10 @@ python_prepare_all() {
sed -e "s:== 'levy_stable':in ('levy_stable', 'crystalball', 'ncf'):" \
-i scipy/stats/tests/test_continuous_basic.py || die
+ # Skip broken test causing segfault, bug #743295
+ sed -e 's:test_bisplev_integer_overflow:_&:' \
+ -i scipy/interpolate/tests/test_fitpack.py || die
+
if has_version ">=sci-libs/lapack-3.10"; then
sed -e 's:test_sort(:_&:' \
-i scipy/linalg/tests/test_decomp.py || die
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-11-06 5:53 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2021-11-06 5:53 UTC (permalink / raw
To: gentoo-commits
commit: d3b73b4b2ba690e533be8866c1f8b3caef9f59e3
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 6 05:52:40 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Nov 6 05:53:07 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3b73b4b
dev-python/scipy: add 1.7.2
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/Manifest | 3 +
dev-python/scipy/scipy-1.7.2.ebuild | 185 ++++++++++++++++++++++++++++++++++++
2 files changed, 188 insertions(+)
diff --git a/dev-python/scipy/Manifest b/dev-python/scipy/Manifest
index c8c120cd8eb..8219933ad78 100644
--- a/dev-python/scipy/Manifest
+++ b/dev-python/scipy/Manifest
@@ -1,7 +1,10 @@
DIST scipy-1.6.2.tar.gz 27187804 BLAKE2B af3578bc029c3af548c04144d7405ac8e6f8e057f870394e124f24aea9989120275407e5a7fdd29fbe1019d2acc295c1ce00872461ecf3a325000e8817cd559f SHA512 18b03f32e8343c5a6c6148ac0bfd4b5f2cc9ff5f74d5d41761ae9e773d6af8774c7b09a3fcc47122864eccce1dbbc17e9325819885d3fc3ab2baf98e7d3befa4
DIST scipy-1.6.3.tar.gz 27187987 BLAKE2B 30f7171ca0dc0842f254472f4b52c0b0ad4389964a140cc4b94f9d85437c5a7da238c082be503242d433f1d3c65c3fd4afeb2f7831eea39ce303077406e718df SHA512 10ff25da84ce09ae231e781873902d8040d79868721d75a3f9facee177e7f46f7c9c34374feee6fe2253ddd968716d2993658ce514c4ac0c98d255c06a6ef808
DIST scipy-1.7.1.tar.gz 36102628 BLAKE2B 67a414d863c61bf419fa907b9bed53b57beedc20d71d0630fac9719f02e951ea79b893d0803b385936a7c04a6c2f723d3870f0498f71e3c210ccd6ee75a009dc SHA512 81fea7e4f5fbcd537d662273507b6ac75bd4cf900567da8083ac86fb06d9f96b010d01a1697db53211440f0fdb2d89510313bafd3d383284d0ab9a08311dd102
+DIST scipy-1.7.2.tar.gz 36104529 BLAKE2B 8e31a71e8cd69a83e1b60747a01e34f79e42664089a2c41aa263c1697a689464fde0b467063e0ae3bafa37721294a79e21d0eedc6023c1558aea6e0105aefeae SHA512 87596430571ff2a43f067eaaf3254c0841dac82b9152cb64040f1a4d9bc5429aebc31c619ce55d74727f2a79567dfef4acbc6252c24c46d3c8849f97e6e8cfef
DIST scipy-html-1.6.1.zip 23946591 BLAKE2B d3464c342b1d4f43e17e214c7557737913bf4131f88b9d569cff106c75dc7ebf0d065283792fddc189e2a3ddc322f1b2b4f38c6d313569f28395e79680060b58 SHA512 73561f9daa303c6e967f9b11952c6239dea7ff1a2fa02434354ac78fcffe7a552aa0f1043a17cb5c35a442def499eff199856cca8efa1415449cbf54f0d4913b
DIST scipy-html-1.6.2.zip 23947380 BLAKE2B e4616a157c037b0830fc32d23678fb7e8ebe023d1fd9f0f762695a0d93bc56e432e441e675ec3c7a7d6586a665f6127ce49d570f1716876e58afb402761f8e95 SHA512 119a2227a808c752a751bc7bec6463da739c68391ebac8d2451998d90ebe03b2af401adbf987f0b694244e715c0ef1fd86c2f4a36c48dbb1ff7cdf4d914875df
+DIST scipy-html-1.7.1.zip 32435246 BLAKE2B fd8173da41aba95a14b1376f848bc668c4659bf1bbbdd0f87d926633d36f29c039957d38be145a5583010ebd83f6458090f75bdad773cc0f1591664e13c04c20 SHA512 ee59722878f6ef2d2319cdf4e6a60d3d1184f7c22752f9a8859eaa46fb677ebac9e8eef9c0826998e12bac9399e336799843341ef203224a82c9101347149672
DIST scipy-ref-1.6.1.pdf 34594740 BLAKE2B 905ddcd7a3d462b09ded688f0818204d7684fa18058d0dac480d0a000e9ea0b7ebcdd33c01adae17234dcdf630d4aef9078174127af46f1db55d5c14b3245346 SHA512 355f4681439c1720f45dca6badfe72d77edfca0962fd9b42df34f1cd8fff7121fa6e7f60570bb638abd3ba9693930fa46b25af862d8fc1568b508c6fdd785479
DIST scipy-ref-1.6.2.pdf 34599668 BLAKE2B 9ae3221c814eb0d1b1e9191e08000955af503f6448cf8b5841e400fad106c658670339219f4838bd312023601776fe0b0d123ebbd41460c478145da2ac3e9989 SHA512 9aecb7ca760805c470c41121268281c9547aef35ddf078816c5e48f7cf4912a67cf622e267152c6cc823df9d82be1f3a875d97469169d0d91d6219164c130c88
+DIST scipy-ref-1.7.1.pdf 33542025 BLAKE2B 6c978f06b770805f0fae06db740e8596658d98bbbc93c865127eae909957503bb38e02a9c97319aed07608718f8f373374b1cf3a8c3bd624aa3143f1d21bc428 SHA512 45720dc299594bac5c7539f950a0ff135b125d86bfe9847032cbff1f294601fefd0a1ac3fd7e3928b2702390c318ae2f8adca6403ba06ea1ded705fcff94ab79
diff --git a/dev-python/scipy/scipy-1.7.2.ebuild b/dev-python/scipy/scipy-1.7.2.ebuild
new file mode 100644
index 00000000000..7290265e9ab
--- /dev/null
+++ b/dev-python/scipy/scipy-1.7.2.ebuild
@@ -0,0 +1,185 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit fortran-2 distutils-r1 flag-o-matic toolchain-funcs
+
+# upstream is slacking forever with doc updates
+DOC_PV=1.7.1
+DESCRIPTION="Scientific algorithms library for Python"
+HOMEPAGE="https://www.scipy.org/"
+SRC_URI="
+ mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
+ doc? (
+ https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip
+ https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-ref-${DOC_PV}.pdf
+ )"
+
+LICENSE="BSD LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~riscv ~s390 ~sparc ~x86"
+IUSE="doc +pythran sparse"
+
+DEPEND="
+ >=dev-python/numpy-1.16.5[lapack,${PYTHON_USEDEP}]
+ sci-libs/arpack:0=
+ virtual/cblas
+ virtual/lapack
+ sparse? ( sci-libs/umfpack:0= )"
+RDEPEND="${DEPEND}
+ dev-python/pillow[${PYTHON_USEDEP}]"
+BDEPEND="
+ dev-lang/swig
+ >=dev-python/cython-0.29.18[${PYTHON_USEDEP}]
+ dev-python/pybind11[${PYTHON_USEDEP}]
+ virtual/pkgconfig
+ doc? ( app-arch/unzip )
+ pythran? ( dev-python/pythran[${PYTHON_USEDEP}] )
+ test? (
+ dev-python/nose[${PYTHON_USEDEP}]
+ )"
+
+DISTUTILS_IN_SOURCE_BUILD=1
+
+distutils_enable_tests pytest
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.7.1-pythran-tests-32-bit.patch
+)
+
+src_unpack() {
+ default
+ if use doc; then
+ unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die
+ fi
+}
+
+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
+ cat >> setup.cfg <<-EOF || die
+ [options]
+ zip_safe = False
+ EOF
+
+ # TODO
+ sed -e "s:== 'levy_stable':in ('levy_stable', 'crystalball', 'ncf'):" \
+ -i scipy/stats/tests/test_continuous_basic.py || die
+
+ # Skip known-failing test. Broken on all versions in Gentoo for years.
+ # bug #743295
+ sed -e 's:test_bisplev_integer_overflow:_&:' \
+ -i scipy/interpolate/tests/test_fitpack.py || die
+
+ # Skip a few 32-bit related failures
+ if use x86 ; then
+ # TODO: Tidy this up and switch to epytest
+ sed -i -e 's:test_nd_axis_m1:_&:' \
+ -e 's:test_nd_axis_0:_&:' \
+ -e 's:test_maxiter_worsening:_&:' \
+ -e 's:test_pdist_jensenshannon_iris:_&:' \
+ -e 's:test_align_vectors_single_vector:_&:' \
+ scipy/signal/tests/test_spectral.py \
+ scipy/sparse/linalg/isolve/tests/test_iterative.py \
+ scipy/spatial/tests/test_distance.py \
+ scipy/spatial/transform/tests/test_rotation.py || die
+ fi
+
+ if has_version ">=sci-libs/lapack-3.10"; then
+ sed -e 's:test_sort(:_&:' \
+ -i scipy/linalg/tests/test_decomp.py || die
+ sed -e 's:test_solve_discrete_are:_&:' \
+ -i scipy/linalg/tests/test_solvers.py || die
+ fi
+
+ distutils-r1_python_prepare_all
+}
+
+python_configure_all() {
+ export SCIPY_USE_PYTHRAN=$(usex pythran 1 0)
+
+ # bug 721860
+ test-flag-FC -fallow-argument-mismatch &&
+ append-fflags -fallow-argument-mismatch
+}
+
+python_compile() {
+ # FIXME: parallel python building fails, bug #614464
+ export MAKEOPTS=-j1
+
+ ${EPYTHON} tools/cythonize.py || die
+ distutils-r1_python_compile \
+ ${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}/lib" || die "no ${TEST_DIR} available"
+ PYTHONPATH=. "${EPYTHON}" -c "
+import scipy, sys
+r = scipy.test('fast', verbose=2)
+sys.exit(0 if r else 1)" || die "Tests fail with ${EPYTHON}"
+}
+
+python_install_all() {
+ use doc && \
+ local DOCS=( "${DISTDIR}"/${PN}-ref-${DOC_PV}.pdf ) \
+ local HTML_DOCS=( "${WORKDIR}"/html/. )
+ distutils-r1_python_install_all
+}
+
+python_install() {
+ distutils-r1_python_install ${SCIPY_FCONFIG}
+ python_optimize
+}
+
+pkg_postinst() {
+ elog "You might want to set the variable SCIPY_PIL_IMAGE_VIEWER"
+ elog "to your prefered image viewer. Example:"
+ elog " echo \"export SCIPY_PIL_IMAGE_VIEWER=display\" >> ~/.bashrc"
+}
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-11-05 18:09 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2021-11-05 18:09 UTC (permalink / raw
To: gentoo-commits
commit: 87245db04672881edb7975ae9e7a58af2d2c6455
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 5 18:08:44 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 5 18:08:44 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87245db0
dev-python/scipy: Keyword 1.7.1-r1 sparc, #804115
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.7.1-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.7.1-r1.ebuild b/dev-python/scipy/scipy-1.7.1-r1.ebuild
index 8104c02aee5..004da6ad0a6 100644
--- a/dev-python/scipy/scipy-1.7.1-r1.ebuild
+++ b/dev-python/scipy/scipy-1.7.1-r1.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~ia64 ~riscv ~s390 x86"
+KEYWORDS="amd64 ~arm arm64 ~ia64 ~riscv ~s390 ~sparc x86"
IUSE="doc +pythran sparse"
DEPEND="
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-11-05 18:09 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2021-11-05 18:09 UTC (permalink / raw
To: gentoo-commits
commit: 9d0488aff373b5274255c9a06cc619588a4c5b65
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 5 18:08:36 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 5 18:08:36 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d0488af
dev-python/scipy: Stabilize 1.7.1-r1 arm64, #821817
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.7.1-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.7.1-r1.ebuild b/dev-python/scipy/scipy-1.7.1-r1.ebuild
index e2e158679db..8104c02aee5 100644
--- a/dev-python/scipy/scipy-1.7.1-r1.ebuild
+++ b/dev-python/scipy/scipy-1.7.1-r1.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~riscv ~s390 x86"
+KEYWORDS="amd64 ~arm arm64 ~ia64 ~riscv ~s390 x86"
IUSE="doc +pythran sparse"
DEPEND="
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-11-05 18:02 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2021-11-05 18:02 UTC (permalink / raw
To: gentoo-commits
commit: e168221ed43d6ab4af9bfd7ff46537fc0fc15572
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 5 18:02:29 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 5 18:02:29 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e168221e
dev-python/scipy: Keyword 1.7.1-r1 ia64, #804115
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.7.1-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.7.1-r1.ebuild b/dev-python/scipy/scipy-1.7.1-r1.ebuild
index 6e40df4dc4b..e2e158679db 100644
--- a/dev-python/scipy/scipy-1.7.1-r1.ebuild
+++ b/dev-python/scipy/scipy-1.7.1-r1.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~riscv ~s390 x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~riscv ~s390 x86"
IUSE="doc +pythran sparse"
DEPEND="
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-11-05 18:02 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2021-11-05 18:02 UTC (permalink / raw
To: gentoo-commits
commit: c482fd329d1b77e9ac113c55311eec9bc3d29562
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 5 18:01:50 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 5 18:01:50 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c482fd32
dev-python/scipy: Keyword 1.7.1-r1 s390, #804115
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.7.1-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.7.1-r1.ebuild b/dev-python/scipy/scipy-1.7.1-r1.ebuild
index 7fe5b077327..6e40df4dc4b 100644
--- a/dev-python/scipy/scipy-1.7.1-r1.ebuild
+++ b/dev-python/scipy/scipy-1.7.1-r1.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~riscv x86"
+KEYWORDS="amd64 ~arm ~arm64 ~riscv ~s390 x86"
IUSE="doc +pythran sparse"
DEPEND="
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-11-05 18:01 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2021-11-05 18:01 UTC (permalink / raw
To: gentoo-commits
commit: 97e5cb6e1e7f353b58e13ffb3082815ab21a83a3
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 5 18:01:11 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 5 18:01:11 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97e5cb6e
dev-python/scipy: Keyword 1.7.1-r1 arm, #814851
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.7.1-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.7.1-r1.ebuild b/dev-python/scipy/scipy-1.7.1-r1.ebuild
index 34110747c85..7fe5b077327 100644
--- a/dev-python/scipy/scipy-1.7.1-r1.ebuild
+++ b/dev-python/scipy/scipy-1.7.1-r1.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="amd64 ~arm64 ~riscv x86"
+KEYWORDS="amd64 ~arm ~arm64 ~riscv x86"
IUSE="doc +pythran sparse"
DEPEND="
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-11-05 7:36 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2021-11-05 7:36 UTC (permalink / raw
To: gentoo-commits
commit: 90f20d06eae7bd90d2dc05099c4872dc5634c99e
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 5 07:35:48 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 5 07:35:48 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90f20d06
dev-python/scipy: Stabilize 1.7.1-r1 amd64, #821817
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.7.1-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.7.1-r1.ebuild b/dev-python/scipy/scipy-1.7.1-r1.ebuild
index 3f1567c2d1c..34110747c85 100644
--- a/dev-python/scipy/scipy-1.7.1-r1.ebuild
+++ b/dev-python/scipy/scipy-1.7.1-r1.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~riscv x86"
+KEYWORDS="amd64 ~arm64 ~riscv x86"
IUSE="doc +pythran sparse"
DEPEND="
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-11-05 7:36 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2021-11-05 7:36 UTC (permalink / raw
To: gentoo-commits
commit: 3f26188e4184f628543b655766b62ab5d34e6ace
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 5 07:35:42 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 5 07:35:42 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f26188e
dev-python/scipy: Stabilize 1.7.1-r1 x86, #821817
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.7.1-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.7.1-r1.ebuild b/dev-python/scipy/scipy-1.7.1-r1.ebuild
index 26388078343..3f1567c2d1c 100644
--- a/dev-python/scipy/scipy-1.7.1-r1.ebuild
+++ b/dev-python/scipy/scipy-1.7.1-r1.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm64 ~riscv x86"
IUSE="doc +pythran sparse"
DEPEND="
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-11-05 6:04 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2021-11-05 6:04 UTC (permalink / raw
To: gentoo-commits
commit: 0ae334d88446466065c9681ed54e62514fc8064c
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 5 06:03:48 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 5 06:03:48 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ae334d8
dev-python/scipy: enable pythran by default
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.7.1-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.7.1-r1.ebuild b/dev-python/scipy/scipy-1.7.1-r1.ebuild
index dbcd6afdb83..26388078343 100644
--- a/dev-python/scipy/scipy-1.7.1-r1.ebuild
+++ b/dev-python/scipy/scipy-1.7.1-r1.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
-IUSE="doc pythran sparse"
+IUSE="doc +pythran sparse"
DEPEND="
>=dev-python/numpy-1.16.5[lapack,${PYTHON_USEDEP}]
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-11-05 5:57 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2021-11-05 5:57 UTC (permalink / raw
To: gentoo-commits
commit: d15e0f7d12ffb3d36cd801647b64e0702de0f133
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 5 05:57:21 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 5 05:57:21 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d15e0f7d
dev-python/scipy: fix DoubleEmptyLine
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.7.1-r1.ebuild | 1 -
1 file changed, 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.7.1-r1.ebuild b/dev-python/scipy/scipy-1.7.1-r1.ebuild
index d93785afefa..dbcd6afdb83 100644
--- a/dev-python/scipy/scipy-1.7.1-r1.ebuild
+++ b/dev-python/scipy/scipy-1.7.1-r1.ebuild
@@ -129,7 +129,6 @@ python_prepare_all() {
scipy/spatial/transform/tests/test_rotation.py || die
fi
-
if has_version ">=sci-libs/lapack-3.10"; then
sed -e 's:test_sort(:_&:' \
-i scipy/linalg/tests/test_decomp.py || die
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-11-05 5:56 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2021-11-05 5:56 UTC (permalink / raw
To: gentoo-commits
commit: 9def9edcf54f2472273e176973deb19c1cf1ea14
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 5 05:56:19 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 5 05:56:49 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9def9edc
dev-python/scipy: skip known-failing 32-bit tests
There's some more work in 1.7.2 (coming soon) which should help a bit.
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.7.1-r1.ebuild | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/dev-python/scipy/scipy-1.7.1-r1.ebuild b/dev-python/scipy/scipy-1.7.1-r1.ebuild
index 0ef732f5b19..d93785afefa 100644
--- a/dev-python/scipy/scipy-1.7.1-r1.ebuild
+++ b/dev-python/scipy/scipy-1.7.1-r1.ebuild
@@ -115,6 +115,21 @@ python_prepare_all() {
sed -e 's:test_bisplev_integer_overflow:_&:' \
-i scipy/interpolate/tests/test_fitpack.py || die
+ # Skip a few 32-bit related failures
+ if use x86 ; then
+ # TODO: Tidy this up and switch to epytest
+ sed -i -e 's:test_nd_axis_m1:_&:' \
+ -e 's:test_nd_axis_0:_&:' \
+ -e 's:test_maxiter_worsening:_&:' \
+ -e 's:test_pdist_jensenshannon_iris:_&:' \
+ -e 's:test_align_vectors_single_vector:_&:' \
+ scipy/signal/tests/test_spectral.py \
+ scipy/sparse/linalg/isolve/tests/test_iterative.py \
+ scipy/spatial/tests/test_distance.py \
+ scipy/spatial/transform/tests/test_rotation.py || die
+ fi
+
+
if has_version ">=sci-libs/lapack-3.10"; then
sed -e 's:test_sort(:_&:' \
-i scipy/linalg/tests/test_decomp.py || die
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-11-05 5:14 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2021-11-05 5:14 UTC (permalink / raw
To: gentoo-commits
commit: 2297995a11f988512633d6b0799e3474a26f0b27
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 5 05:14:10 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 5 05:14:43 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2297995a
dev-python/scipy: make pythran optional
Bug: https://bugs.gentoo.org/804115
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/metadata.xml | 1 +
dev-python/scipy/scipy-1.7.1.ebuild | 6 ++++--
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/dev-python/scipy/metadata.xml b/dev-python/scipy/metadata.xml
index 9e4a6eb32f2..0192620473a 100644
--- a/dev-python/scipy/metadata.xml
+++ b/dev-python/scipy/metadata.xml
@@ -18,6 +18,7 @@
algorithms, ODE solvers, and others.
</longdescription>
<use>
+ <flag name="pythran">Use <pkg>dev-python/pythran</pkg> to accelerate runtime</flag>
<flag name="sparse">Adds support for sparse solving with <pkg>sci-libs/umfpack</pkg></flag>
</use>
<upstream>
diff --git a/dev-python/scipy/scipy-1.7.1.ebuild b/dev-python/scipy/scipy-1.7.1.ebuild
index b972b925817..ed5e007e4e2 100644
--- a/dev-python/scipy/scipy-1.7.1.ebuild
+++ b/dev-python/scipy/scipy-1.7.1.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
-IUSE="doc sparse"
+IUSE="doc pythran sparse"
DEPEND="
>=dev-python/numpy-1.16.5[lapack,${PYTHON_USEDEP}]
@@ -36,9 +36,9 @@ BDEPEND="
dev-lang/swig
>=dev-python/cython-0.29.18[${PYTHON_USEDEP}]
dev-python/pybind11[${PYTHON_USEDEP}]
- dev-python/pythran[${PYTHON_USEDEP}]
virtual/pkgconfig
doc? ( app-arch/unzip )
+ pythran? ( dev-python/pythran[${PYTHON_USEDEP}] )
test? (
dev-python/nose[${PYTHON_USEDEP}]
)"
@@ -122,6 +122,8 @@ python_prepare_all() {
}
python_configure_all() {
+ export SCIPY_USE_PYTHRAN=$(usex pythran 1 0)
+
# bug 721860
test-flag-FC -fallow-argument-mismatch &&
append-fflags -fallow-argument-mismatch
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-11-05 2:29 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2021-11-05 2:29 UTC (permalink / raw
To: gentoo-commits
commit: 24ca452f3ebb5b0e05cf5159137c272a554bff99
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 5 02:26:48 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 5 02:28:19 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24ca452f
dev-python/scipy: skip known-failing longstanding test failure
Known broken upstream for years (ditto in Gentoo). Other tests seem okay
and we're going to have to hope that's sufficient until there's a resolution
upstream.
Other distros are trying to battle this too.
Bug: https://bugs.gentoo.org/743295
Bug: https://github.com/scipy/scipy/issues/9245
Bug: https://github.com/scipy/scipy/issues/12401
Bug: https://github.com/scipy/scipy/issues/12471
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.7.1.ebuild | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/dev-python/scipy/scipy-1.7.1.ebuild b/dev-python/scipy/scipy-1.7.1.ebuild
index d2dc22464cf..b972b925817 100644
--- a/dev-python/scipy/scipy-1.7.1.ebuild
+++ b/dev-python/scipy/scipy-1.7.1.ebuild
@@ -106,6 +106,11 @@ python_prepare_all() {
sed -e "s:== 'levy_stable':in ('levy_stable', 'crystalball', 'ncf'):" \
-i scipy/stats/tests/test_continuous_basic.py || die
+ # Skip known-failing test. Broken on all versions in Gentoo for years.
+ # bug #743295
+ sed -e 's:test_bisplev_integer_overflow:_&:' \
+ -i scipy/interpolate/tests/test_fitpack.py || die
+
if has_version ">=sci-libs/lapack-3.10"; then
sed -e 's:test_sort(:_&:' \
-i scipy/linalg/tests/test_decomp.py || die
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-10-24 21:14 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2021-10-24 21:14 UTC (permalink / raw
To: gentoo-commits
commit: e6299fc8e79e3532fc689956e2f927693a0f0ba4
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 24 21:14:11 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct 24 21:14:11 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6299fc8
dev-python/scipy: Stabilize 1.6.3 arm64, #813567
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.6.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.6.3.ebuild b/dev-python/scipy/scipy-1.6.3.ebuild
index b9286e427ab..d4b29952702 100644
--- a/dev-python/scipy/scipy-1.6.3.ebuild
+++ b/dev-python/scipy/scipy-1.6.3.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="amd64 arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="doc sparse"
DEPEND="
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-10-19 0:12 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2021-10-19 0:12 UTC (permalink / raw
To: gentoo-commits
commit: 8021360040e085222595f49115fe4bdc50cf0103
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 19 00:11:41 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Oct 19 00:11:41 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80213600
dev-python/scipy: Keyword 1.7.1 arm64, #814851
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.7.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.7.1.ebuild b/dev-python/scipy/scipy-1.7.1.ebuild
index 0207d573888..d2dc22464cf 100644
--- a/dev-python/scipy/scipy-1.7.1.ebuild
+++ b/dev-python/scipy/scipy-1.7.1.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
IUSE="doc sparse"
DEPEND="
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-10-12 7:42 Marek Szuba
0 siblings, 0 replies; 209+ messages in thread
From: Marek Szuba @ 2021-10-12 7:42 UTC (permalink / raw
To: gentoo-commits
commit: c6104e6f8dc6ab44378dda4d68e2c5c70da67aff
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 11 21:05:58 2021 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Tue Oct 12 07:42:01 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6104e6f
dev-python/scipy: keyword 1.7.1 for ~riscv
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
dev-python/scipy/scipy-1.7.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.7.1.ebuild b/dev-python/scipy/scipy-1.7.1.ebuild
index aa46f916dca..0207d573888 100644
--- a/dev-python/scipy/scipy-1.7.1.ebuild
+++ b/dev-python/scipy/scipy-1.7.1.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~riscv ~x86"
IUSE="doc sparse"
DEPEND="
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-10-04 1:52 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2021-10-04 1:52 UTC (permalink / raw
To: gentoo-commits
commit: df9071f2b10f5b3a3c8f3c41df9a7e2dfa8ebfc3
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 4 01:52:30 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Oct 4 01:52:30 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df9071f2
dev-python/scipy: raise lower bound on cython
Closes: https://bugs.gentoo.org/747955
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.6.2.ebuild | 2 +-
dev-python/scipy/scipy-1.6.3.ebuild | 2 +-
dev-python/scipy/scipy-1.7.1.ebuild | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dev-python/scipy/scipy-1.6.2.ebuild b/dev-python/scipy/scipy-1.6.2.ebuild
index 0230181c4d6..2092f8ee820 100644
--- a/dev-python/scipy/scipy-1.6.2.ebuild
+++ b/dev-python/scipy/scipy-1.6.2.ebuild
@@ -34,7 +34,7 @@ RDEPEND="${DEPEND}
dev-python/pillow[${PYTHON_USEDEP}]"
BDEPEND="
dev-lang/swig
- >=dev-python/cython-0.29.13[${PYTHON_USEDEP}]
+ >=dev-python/cython-0.29.18[${PYTHON_USEDEP}]
dev-python/pybind11[${PYTHON_USEDEP}]
virtual/pkgconfig
doc? ( app-arch/unzip )
diff --git a/dev-python/scipy/scipy-1.6.3.ebuild b/dev-python/scipy/scipy-1.6.3.ebuild
index d7ffcd9b63e..b9286e427ab 100644
--- a/dev-python/scipy/scipy-1.6.3.ebuild
+++ b/dev-python/scipy/scipy-1.6.3.ebuild
@@ -34,7 +34,7 @@ RDEPEND="${DEPEND}
dev-python/pillow[${PYTHON_USEDEP}]"
BDEPEND="
dev-lang/swig
- >=dev-python/cython-0.29.13[${PYTHON_USEDEP}]
+ >=dev-python/cython-0.29.18[${PYTHON_USEDEP}]
dev-python/pybind11[${PYTHON_USEDEP}]
virtual/pkgconfig
doc? ( app-arch/unzip )
diff --git a/dev-python/scipy/scipy-1.7.1.ebuild b/dev-python/scipy/scipy-1.7.1.ebuild
index d4ada5b7448..aa46f916dca 100644
--- a/dev-python/scipy/scipy-1.7.1.ebuild
+++ b/dev-python/scipy/scipy-1.7.1.ebuild
@@ -34,7 +34,7 @@ RDEPEND="${DEPEND}
dev-python/pillow[${PYTHON_USEDEP}]"
BDEPEND="
dev-lang/swig
- >=dev-python/cython-0.29.13[${PYTHON_USEDEP}]
+ >=dev-python/cython-0.29.18[${PYTHON_USEDEP}]
dev-python/pybind11[${PYTHON_USEDEP}]
dev-python/pythran[${PYTHON_USEDEP}]
virtual/pkgconfig
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-10-02 23:17 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2021-10-02 23:17 UTC (permalink / raw
To: gentoo-commits
commit: 7d3c765241778f4973a91aa82907b6706848599b
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 2 23:16:46 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct 2 23:16:46 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d3c7652
dev-python/scipy: Stabilize 1.6.3 arm, #813567
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.6.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.6.3.ebuild b/dev-python/scipy/scipy-1.6.3.ebuild
index 8dec73bd4f2..d7ffcd9b63e 100644
--- a/dev-python/scipy/scipy-1.6.3.ebuild
+++ b/dev-python/scipy/scipy-1.6.3.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="doc sparse"
DEPEND="
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-09-25 21:37 Michał Górny
0 siblings, 0 replies; 209+ messages in thread
From: Michał Górny @ 2021-09-25 21:37 UTC (permalink / raw
To: gentoo-commits
commit: 8d86f5cb1e7f95f1368fc237b0ad54c99423fcbd
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 25 17:27:16 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Sep 25 21:37:37 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d86f5cb
dev-python/scipy: Bump to 1.7.1
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/Manifest | 1 +
dev-python/scipy/scipy-1.7.1.ebuild | 160 ++++++++++++++++++++++++++++++++++++
2 files changed, 161 insertions(+)
diff --git a/dev-python/scipy/Manifest b/dev-python/scipy/Manifest
index 510eb8881ac..c8c120cd8eb 100644
--- a/dev-python/scipy/Manifest
+++ b/dev-python/scipy/Manifest
@@ -1,5 +1,6 @@
DIST scipy-1.6.2.tar.gz 27187804 BLAKE2B af3578bc029c3af548c04144d7405ac8e6f8e057f870394e124f24aea9989120275407e5a7fdd29fbe1019d2acc295c1ce00872461ecf3a325000e8817cd559f SHA512 18b03f32e8343c5a6c6148ac0bfd4b5f2cc9ff5f74d5d41761ae9e773d6af8774c7b09a3fcc47122864eccce1dbbc17e9325819885d3fc3ab2baf98e7d3befa4
DIST scipy-1.6.3.tar.gz 27187987 BLAKE2B 30f7171ca0dc0842f254472f4b52c0b0ad4389964a140cc4b94f9d85437c5a7da238c082be503242d433f1d3c65c3fd4afeb2f7831eea39ce303077406e718df SHA512 10ff25da84ce09ae231e781873902d8040d79868721d75a3f9facee177e7f46f7c9c34374feee6fe2253ddd968716d2993658ce514c4ac0c98d255c06a6ef808
+DIST scipy-1.7.1.tar.gz 36102628 BLAKE2B 67a414d863c61bf419fa907b9bed53b57beedc20d71d0630fac9719f02e951ea79b893d0803b385936a7c04a6c2f723d3870f0498f71e3c210ccd6ee75a009dc SHA512 81fea7e4f5fbcd537d662273507b6ac75bd4cf900567da8083ac86fb06d9f96b010d01a1697db53211440f0fdb2d89510313bafd3d383284d0ab9a08311dd102
DIST scipy-html-1.6.1.zip 23946591 BLAKE2B d3464c342b1d4f43e17e214c7557737913bf4131f88b9d569cff106c75dc7ebf0d065283792fddc189e2a3ddc322f1b2b4f38c6d313569f28395e79680060b58 SHA512 73561f9daa303c6e967f9b11952c6239dea7ff1a2fa02434354ac78fcffe7a552aa0f1043a17cb5c35a442def499eff199856cca8efa1415449cbf54f0d4913b
DIST scipy-html-1.6.2.zip 23947380 BLAKE2B e4616a157c037b0830fc32d23678fb7e8ebe023d1fd9f0f762695a0d93bc56e432e441e675ec3c7a7d6586a665f6127ce49d570f1716876e58afb402761f8e95 SHA512 119a2227a808c752a751bc7bec6463da739c68391ebac8d2451998d90ebe03b2af401adbf987f0b694244e715c0ef1fd86c2f4a36c48dbb1ff7cdf4d914875df
DIST scipy-ref-1.6.1.pdf 34594740 BLAKE2B 905ddcd7a3d462b09ded688f0818204d7684fa18058d0dac480d0a000e9ea0b7ebcdd33c01adae17234dcdf630d4aef9078174127af46f1db55d5c14b3245346 SHA512 355f4681439c1720f45dca6badfe72d77edfca0962fd9b42df34f1cd8fff7121fa6e7f60570bb638abd3ba9693930fa46b25af862d8fc1568b508c6fdd785479
diff --git a/dev-python/scipy/scipy-1.7.1.ebuild b/dev-python/scipy/scipy-1.7.1.ebuild
new file mode 100644
index 00000000000..d4ada5b7448
--- /dev/null
+++ b/dev-python/scipy/scipy-1.7.1.ebuild
@@ -0,0 +1,160 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit fortran-2 distutils-r1 flag-o-matic toolchain-funcs
+
+# upstream is slacking forever with doc updates
+DOC_PV=1.6.2
+DESCRIPTION="Scientific algorithms library for Python"
+HOMEPAGE="https://www.scipy.org/"
+SRC_URI="
+ mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
+ doc? (
+ https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip
+ https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-ref-${DOC_PV}.pdf
+ )"
+
+LICENSE="BSD LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc sparse"
+
+DEPEND="
+ >=dev-python/numpy-1.16.5[lapack,${PYTHON_USEDEP}]
+ sci-libs/arpack:0=
+ virtual/cblas
+ virtual/lapack
+ sparse? ( sci-libs/umfpack:0= )"
+RDEPEND="${DEPEND}
+ dev-python/pillow[${PYTHON_USEDEP}]"
+BDEPEND="
+ dev-lang/swig
+ >=dev-python/cython-0.29.13[${PYTHON_USEDEP}]
+ dev-python/pybind11[${PYTHON_USEDEP}]
+ dev-python/pythran[${PYTHON_USEDEP}]
+ virtual/pkgconfig
+ doc? ( app-arch/unzip )
+ test? (
+ dev-python/nose[${PYTHON_USEDEP}]
+ )"
+
+DISTUTILS_IN_SOURCE_BUILD=1
+
+distutils_enable_tests pytest
+
+src_unpack() {
+ default
+ if use doc; then
+ unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die
+ fi
+}
+
+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
+ cat >> setup.cfg <<-EOF || die
+ [options]
+ zip_safe = False
+ EOF
+
+ # TODO
+ sed -e "s:== 'levy_stable':in ('levy_stable', 'crystalball', 'ncf'):" \
+ -i scipy/stats/tests/test_continuous_basic.py || die
+
+ if has_version ">=sci-libs/lapack-3.10"; then
+ sed -e 's:test_sort(:_&:' \
+ -i scipy/linalg/tests/test_decomp.py || die
+ sed -e 's:test_solve_discrete_are:_&:' \
+ -i scipy/linalg/tests/test_solvers.py || die
+ fi
+
+ distutils-r1_python_prepare_all
+}
+
+python_configure_all() {
+ # bug 721860
+ test-flag-FC -fallow-argument-mismatch &&
+ append-fflags -fallow-argument-mismatch
+}
+
+python_compile() {
+ # FIXME: parallel python building fails, bug #614464
+ export MAKEOPTS=-j1
+
+ ${EPYTHON} tools/cythonize.py || die
+ distutils-r1_python_compile \
+ ${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}/lib" || die "no ${TEST_DIR} available"
+ PYTHONPATH=. "${EPYTHON}" -c "
+import scipy, sys
+r = scipy.test('fast', verbose=2)
+sys.exit(0 if r else 1)" || die "Tests fail with ${EPYTHON}"
+}
+
+python_install_all() {
+ use doc && \
+ local DOCS=( "${DISTDIR}"/${PN}-ref-${DOC_PV}.pdf ) \
+ local HTML_DOCS=( "${WORKDIR}"/html/. )
+ distutils-r1_python_install_all
+}
+
+python_install() {
+ distutils-r1_python_install ${SCIPY_FCONFIG}
+ python_optimize
+}
+
+pkg_postinst() {
+ elog "You might want to set the variable SCIPY_PIL_IMAGE_VIEWER"
+ elog "to your prefered image viewer. Example:"
+ elog " echo \"export SCIPY_PIL_IMAGE_VIEWER=display\" >> ~/.bashrc"
+}
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-09-25 13:23 Michał Górny
0 siblings, 0 replies; 209+ messages in thread
From: Michał Górny @ 2021-09-25 13:23 UTC (permalink / raw
To: gentoo-commits
commit: 64d11d8e863a6195d8c5293f22cbc4d874fbb07b
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 25 12:13:32 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Sep 25 13:23:07 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64d11d8e
dev-python/scipy: Remove unused multiprocessing inherit
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/scipy-1.6.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.6.3.ebuild b/dev-python/scipy/scipy-1.6.3.ebuild
index 08a959a4ad0..8dec73bd4f2 100644
--- a/dev-python/scipy/scipy-1.6.3.ebuild
+++ b/dev-python/scipy/scipy-1.6.3.ebuild
@@ -6,7 +6,7 @@ EAPI=7
PYTHON_COMPAT=( python3_{8..10} )
PYTHON_REQ_USE="threads(+)"
-inherit fortran-2 distutils-r1 flag-o-matic multiprocessing toolchain-funcs
+inherit fortran-2 distutils-r1 flag-o-matic toolchain-funcs
# upstream is slacking forever with doc updates
DOC_PV=1.6.2
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-09-25 13:23 Michał Górny
0 siblings, 0 replies; 209+ messages in thread
From: Michał Górny @ 2021-09-25 13:23 UTC (permalink / raw
To: gentoo-commits
commit: 157947d0105e325de7f0c5c4773f884004be6ab7
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 25 10:56:19 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Sep 25 13:23:06 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=157947d0
dev-python/scipy: Skip tests broken by new lapack
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/scipy-1.6.3.ebuild | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/dev-python/scipy/scipy-1.6.3.ebuild b/dev-python/scipy/scipy-1.6.3.ebuild
index e98e4bd9379..08a959a4ad0 100644
--- a/dev-python/scipy/scipy-1.6.3.ebuild
+++ b/dev-python/scipy/scipy-1.6.3.ebuild
@@ -108,6 +108,13 @@ python_prepare_all() {
sed -e "s:== 'levy_stable':in ('levy_stable', 'crystalball', 'ncf'):" \
-i scipy/stats/tests/test_continuous_basic.py || die
+ if has_version ">=sci-libs/lapack-3.10"; then
+ sed -e 's:test_sort(:_&:' \
+ -i scipy/linalg/tests/test_decomp.py || die
+ sed -e 's:test_solve_discrete_are:_&:' \
+ -i scipy/linalg/tests/test_solvers.py || die
+ fi
+
distutils-r1_python_prepare_all
}
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-07-02 10:12 Marek Szuba
0 siblings, 0 replies; 209+ messages in thread
From: Marek Szuba @ 2021-07-02 10:12 UTC (permalink / raw
To: gentoo-commits
commit: c6b2d70a3ec20956848a1531a61ec0fefed0257c
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 2 09:26:18 2021 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Fri Jul 2 10:11:43 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6b2d70a
dev-python/scipy: keyword 1.6.3 for ~riscv
Builds and installs fine, tests fail exactly the same way as on an
up-to-date ~amd64 system (8 out of 16 mismatched elements in
TestSchur.test_sort, 1 out of 4 mismatched elements in
test_solve_discrete_are).
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
dev-python/scipy/scipy-1.6.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.6.3.ebuild b/dev-python/scipy/scipy-1.6.3.ebuild
index fa25644eff3..ecc6f1571bd 100644
--- a/dev-python/scipy/scipy-1.6.3.ebuild
+++ b/dev-python/scipy/scipy-1.6.3.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="doc sparse"
DEPEND="
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-06-19 16:18 Michał Górny
0 siblings, 0 replies; 209+ messages in thread
From: Michał Górny @ 2021-06-19 16:18 UTC (permalink / raw
To: gentoo-commits
commit: 3453664b4b5ba84e1cb09fdfc0eefd6b8c6a940c
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 19 16:17:56 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jun 19 16:18:15 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3453664b
dev-python/scipy: Enable py3.10
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/scipy-1.6.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.6.3.ebuild b/dev-python/scipy/scipy-1.6.3.ebuild
index 05fbc9229ed..fa25644eff3 100644
--- a/dev-python/scipy/scipy-1.6.3.ebuild
+++ b/dev-python/scipy/scipy-1.6.3.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..10} )
PYTHON_REQ_USE="threads(+)"
inherit fortran-2 distutils-r1 flag-o-matic multiprocessing toolchain-funcs
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-06-06 7:14 Agostino Sarubbo
0 siblings, 0 replies; 209+ messages in thread
From: Agostino Sarubbo @ 2021-06-06 7:14 UTC (permalink / raw
To: gentoo-commits
commit: 4c4f78179701534b37150594b401e46266c4f61d
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 6 07:14:33 2021 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Sun Jun 6 07:14:33 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c4f7817
dev-python/scipy: amd64 stable wrt bug #794406
Package-Manager: Portage-3.0.13, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
dev-python/scipy/scipy-1.6.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.6.3.ebuild b/dev-python/scipy/scipy-1.6.3.ebuild
index 43a412c578c..05fbc9229ed 100644
--- a/dev-python/scipy/scipy-1.6.3.ebuild
+++ b/dev-python/scipy/scipy-1.6.3.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="doc sparse"
DEPEND="
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-05-31 20:42 Michał Górny
0 siblings, 0 replies; 209+ messages in thread
From: Michał Górny @ 2021-05-31 20:42 UTC (permalink / raw
To: gentoo-commits
commit: 58aab77a4a716847597d60bf26a166ebed34ae15
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon May 31 20:40:03 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon May 31 20:40:03 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58aab77a
dev-python/scipy: Remove old
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/Manifest | 21 -----
dev-python/scipy/scipy-1.1.0.ebuild | 148 ---------------------------------
dev-python/scipy/scipy-1.4.1.ebuild | 154 ----------------------------------
dev-python/scipy/scipy-1.5.2.ebuild | 160 ------------------------------------
dev-python/scipy/scipy-1.5.3.ebuild | 160 ------------------------------------
dev-python/scipy/scipy-1.5.4.ebuild | 160 ------------------------------------
dev-python/scipy/scipy-1.6.0.ebuild | 155 ----------------------------------
dev-python/scipy/scipy-1.6.1.ebuild | 155 ----------------------------------
8 files changed, 1113 deletions(-)
diff --git a/dev-python/scipy/Manifest b/dev-python/scipy/Manifest
index 963a635e709..510eb8881ac 100644
--- a/dev-python/scipy/Manifest
+++ b/dev-python/scipy/Manifest
@@ -1,24 +1,3 @@
-DIST scipy-1.1.0-html.zip 49851258 BLAKE2B 528df7ed8aa8e56662f436f31ee9e1d6d72d6fe962f9f0f6f84b7a2704b53009ce333b2102ec73bb7795110f8a61b18246aab95b1e21055f2b68c0ff2225b7bb SHA512 a03894a22a67c1359ee6206e9e1c9de1f926a7f829f5039f161e78df735708da09b0e51cdad3bf36bfede701d0bc5dc44f8cc0f249b6bfb80c9d8c9fe23aed46
-DIST scipy-1.1.0-ref.pdf 34360806 BLAKE2B f82807879d5d36d91d74e8983a0f4104bcb4b69cb7787fe5190f73fbbfcb8635a9399686b3c75736d3b0b5dd877b5280ff6fba728520e3b47c13ffc7835f8cd6 SHA512 c792064c986dffafa3c5d0741f30715028e655761d099f0fdd472270cf34642b367dfa2178ddceba13043a471e3aeb1db20d65308dbb40c704dab576aaadeb3e
-DIST scipy-1.1.0.tar.gz 15583560 BLAKE2B 477753e622ee26a3bc8c2cb6829410152df84b29ce17a6d53a66348f5536f7993fedf5d32b782405b54b3af3feabf9bc91c381ed39546076849c2fdb71039404 SHA512 72fe32c6c009613cb78202598e5db14f8e630b3218839cfe18d43d40550d94cc5aa100c6f5d41f40e86ae148e9b6a13431bb91b0f9be44b0569ccd7b725fe973
-DIST scipy-1.4.1-html.zip 61414053 BLAKE2B e1f0c1a7a8941958512dcc3c0f40ef4a590bab0b44b33f842bc6e1c5d103c17f223d8b0a2f4e564f57645d601d4d74005c1ec605be2dd3bf4db19d2ac1f614d1 SHA512 9eeae83cd723d63aa1dc7a610ce3118cb68a2336be24cbfeaa8e57b34de413b2efa2fdad0978eb5bdac0ebca6b15f564b9509637efbd87d1007c969ae954e3ae
-DIST scipy-1.4.1-ref.pdf 41100747 BLAKE2B 8e56af69d0bffbe6eff73bfc5bb674aed3b80bdd80d59b58a1835f996c992306a059c2992d74c411e762490c526262753d33273613ed389928845c65eb6546b2 SHA512 76946f3b506fe22a595b70e5a418982257dd59db1a2e9af508cc1cab59d47ba4fc5951388e676f2a513043a6b3391ef853242e78d7feb99a6c21d19f6dca2b58
-DIST scipy-1.4.1.tar.gz 24555206 BLAKE2B e35f6234404839cbd24d463c8cc2f1ea66aed91534e700fd54a623df40d069b14fc220f96af04c78d13b773bfc5461559e59b0bd9b836d7953f9249ccd7cae54 SHA512 79407a2cbb4ba29c0941570181df4d7835e5791e50a3abef9b63c2fc5b15308a2e4964eb71cdebbee8cd2dcb8e497cf92fe50ee21fb12cac3013ea5e0466b25d
-DIST scipy-1.5.2-html.zip 23166876 BLAKE2B a90d6a2eb25c56147c0c1cccb58cddd230c20cd70dcc5c39b7307acaeac5320ff1c6ed46e3027ec40f604db503a90620cf87212e45f3158c667ec20d95bac649 SHA512 35c675821675844b163eacdaf448173edb78adb5e9f3e438a70809b8b59425a987fd3ed7d6f7863612111ece4a6a36504279ef4492166f5e24a9b2c7ea9d21e7
-DIST scipy-1.5.2-ref.pdf 33462200 BLAKE2B 5784612eb41221a02520778d72341702a7dd4ee8c0147592e170054107219b03af4ccebe1f5e2a57f90f3b892455f95ec45d8eac8e4a7155e21e9ae0526b302f SHA512 15961b7280eb903d2db7a05915b94b3c298cabf68a6694da217680e23fe621885dd169dc88a033ee001a89bc6e6b13ef787ec61009f6ffe38aeaa2dfb84f8a47
-DIST scipy-1.5.2.tar.gz 25423944 BLAKE2B 0a4987da0cde4f33bbb0e2be571b59e9064b1c6554c61c1655100abdecfde54d64845cd30c5b3fcac3ae7426572757aa9a66065dd3b48e6e4cdd4d0ea847868e SHA512 45463df30a0f6270d9f4cf52235f31607904a6ae1375e12600e7f1ab2d27b1dc25a6211b49dceb71506be22c756890adaf9f81d9e6be7455def86c9caf0dc923
-DIST scipy-1.5.3-html.zip 23172844 BLAKE2B eb90cb6d54ff1a6afeff387baccc273df4491a5d37202afa2a8dcebc29ecacf11784e2427fd9b91db954d13c418dae26619d172487515747f49ef6e41f793310 SHA512 cd7131efeccef2095955a3f6d5260d6f3d6d038668d686e556acf87f7aa4d85df576474b4feb7939c3eba51e81dc264590813483427db22038a09164f44f75b0
-DIST scipy-1.5.3-ref.pdf 33463958 BLAKE2B 58939157eb5473278e1cde11a992082824e23220a83c6b3b87f219a12d7449a2290ce845e62d04fdbffb58ab9f6598da153b9ab75a139a071944e73738f19a1f SHA512 66dcb4e507f3f29ad82cc989e93dabe55e7c8147795ed8ed419c15ab50b0d6612e63dd918cab0640ab2085c68b1d14a3981d6da089baa4b4c2d302846aa4c496
-DIST scipy-1.5.3.tar.gz 25234560 BLAKE2B 734f29b7e3f6591b265ec43e173d1303683e2fcfa493cc03d71222fb34ccbc1bb6498d0a9c814d7cb3b08f8d82f06829a2280e46bab733f1c4d6c57742555d70 SHA512 ac65196179663905cf813e023cbbc4c0ef42948425d8190db9218339e23dc3a53e788759f0d7bb986395f8b86f6e97f5de87704ef70445d9f9c10c4ceee8e104
-DIST scipy-1.5.4-html.zip 23175279 BLAKE2B 79cf621daa4c41414cd6d52364481ff5df4a21232bc37a5c60f9e63b60e9ad9b07a1603865fd60b2041375ae12791d761fe5d3cbd1f5c0977a37e8bf497c1e3c SHA512 eb93b2ae1dcb916bfbe77ac0ccb7f7f66af3ad3965d397c84dfbc725af08060dccf3fb0988961bf2051f0236c64066dd28f01d85484babb3ee997a9d0bab8069
-DIST scipy-1.5.4-ref.pdf 33467477 BLAKE2B d7a110258d6fe0430c380b34e2053b6b0ef8da7a6b3bee35314d55beae887afb32d01479f1ad6b8bf6847c2225890c20c118e3fd692dae55292793f38b484a9d SHA512 7f98b5014553f73880fe18d942684b8282c6aefb90b329865b65d45cfa0cffac0a8808e970af291a96e4d326ec8b284dc4385ffa5469049b4f643be8642329e7
-DIST scipy-1.5.4.tar.gz 25237512 BLAKE2B 719cfecd6794b037dc636793ba38a3b39f5fd1a44ce2fd2cf2418b0ca6d1a7898b34c4cf684752fdde635107744773c796b998418d5a983450b70beb461e32df SHA512 d23f68911a8880f87767819750d4d175ba8f9c72fcb9b8080305ee65722c046d4485fde4f0c85cc53c46247dd99813afe675a38b3b0569a683ddc2c2e021b8fc
-DIST scipy-1.6.0-html.zip 23941941 BLAKE2B 3222e9b1e1aeebfd1ab0f8d179d25c25d6ab26a54c3d6c7f12d5cb24dd59af216685cb1db1d11980ca32c8e14595a1753b69438d8c7504f7c4fc1b386e1c944d SHA512 42cd5595e1f260bcd14d5ce159d9acd0eaefbcb1401270b90efe48b0e743681361dba5ee410e5932533bca03c19daaacb6042ef8edea9b2cccd5dae21a612072
-DIST scipy-1.6.0-ref.pdf 34332184 BLAKE2B 948a03372797915e47d5e8ce44a32dcacb3448a20e06c5233d3362f0f04f228e8f7505aa918dbbd9a50ad64adb7a17181acab6a726ab251b8e8acf245a1550d6 SHA512 fe4c316f91cffb10d14207882ceb7a1d3711b03ad74857d771d0ec244caad60f878902f7279f6688c947fd415762abbb5a7082c810dd85c73385e8f58fbc056c
-DIST scipy-1.6.0.tar.gz 27275413 BLAKE2B f65fca81a21a3077ead119123fc3bb2ed96aaacfee6f291473ef6780c291f3e9fee88d86501d4cb966f1d601fb7f0656956134f0437eb8fefb8030e762c363a5 SHA512 995ffaf56b713cdd4bdb98d8525b892e9ad84a511878b43213cb71a67f34d87c111da36cf1e0b044c75c0d5af64bfde4ad0f3e9c5e71cae2dbf053251f37064e
-DIST scipy-1.6.1-html.zip 23946591 BLAKE2B d3464c342b1d4f43e17e214c7557737913bf4131f88b9d569cff106c75dc7ebf0d065283792fddc189e2a3ddc322f1b2b4f38c6d313569f28395e79680060b58 SHA512 73561f9daa303c6e967f9b11952c6239dea7ff1a2fa02434354ac78fcffe7a552aa0f1043a17cb5c35a442def499eff199856cca8efa1415449cbf54f0d4913b
-DIST scipy-1.6.1-ref.pdf 34594740 BLAKE2B 905ddcd7a3d462b09ded688f0818204d7684fa18058d0dac480d0a000e9ea0b7ebcdd33c01adae17234dcdf630d4aef9078174127af46f1db55d5c14b3245346 SHA512 355f4681439c1720f45dca6badfe72d77edfca0962fd9b42df34f1cd8fff7121fa6e7f60570bb638abd3ba9693930fa46b25af862d8fc1568b508c6fdd785479
-DIST scipy-1.6.1.tar.gz 27346828 BLAKE2B 147d7b3f796023fe557f07b46eefa1b23631106556ff56bb0ab5640d7dccfa86fecc2031ba0571eee2560a9bf86705a5ef32527852650e6d0629a722574bf135 SHA512 778a7bca15bb880a3fd1c3d46ef753920335eca95fe5f2b8512883a2aec1bb8e9d8a8fdbf4fee90e823e31980408a51451cc53d4f10c632cd72faf2856c868c8
DIST scipy-1.6.2.tar.gz 27187804 BLAKE2B af3578bc029c3af548c04144d7405ac8e6f8e057f870394e124f24aea9989120275407e5a7fdd29fbe1019d2acc295c1ce00872461ecf3a325000e8817cd559f SHA512 18b03f32e8343c5a6c6148ac0bfd4b5f2cc9ff5f74d5d41761ae9e773d6af8774c7b09a3fcc47122864eccce1dbbc17e9325819885d3fc3ab2baf98e7d3befa4
DIST scipy-1.6.3.tar.gz 27187987 BLAKE2B 30f7171ca0dc0842f254472f4b52c0b0ad4389964a140cc4b94f9d85437c5a7da238c082be503242d433f1d3c65c3fd4afeb2f7831eea39ce303077406e718df SHA512 10ff25da84ce09ae231e781873902d8040d79868721d75a3f9facee177e7f46f7c9c34374feee6fe2253ddd968716d2993658ce514c4ac0c98d255c06a6ef808
DIST scipy-html-1.6.1.zip 23946591 BLAKE2B d3464c342b1d4f43e17e214c7557737913bf4131f88b9d569cff106c75dc7ebf0d065283792fddc189e2a3ddc322f1b2b4f38c6d313569f28395e79680060b58 SHA512 73561f9daa303c6e967f9b11952c6239dea7ff1a2fa02434354ac78fcffe7a552aa0f1043a17cb5c35a442def499eff199856cca8efa1415449cbf54f0d4913b
diff --git a/dev-python/scipy/scipy-1.1.0.ebuild b/dev-python/scipy/scipy-1.1.0.ebuild
deleted file mode 100644
index 88024131251..00000000000
--- a/dev-python/scipy/scipy-1.1.0.ebuild
+++ /dev/null
@@ -1,148 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_7 )
-PYTHON_REQ_USE="threads(+)"
-
-DOC_PV=${PV}
-
-inherit fortran-2 distutils-r1 flag-o-matic multiprocessing toolchain-funcs
-
-DESCRIPTION="Scientific algorithms library for Python"
-HOMEPAGE="https://www.scipy.org/"
-SRC_URI="
- mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
- doc? (
- https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${PV}.zip -> ${PN}-${DOC_PV}-html.zip
- https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-ref-${PV}.pdf -> ${PN}-${DOC_PV}-ref.pdf
- )"
-
-LICENSE="BSD LGPL-2"
-SLOT="0"
-IUSE="doc sparse test"
-RESTRICT="!test? ( test )"
-KEYWORDS="amd64 ~arm ~arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
-
-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.22[${PYTHON_USEDEP}]
- >=dev-python/setuptools-36[${PYTHON_USEDEP}]
- virtual/pkgconfig
- doc? ( app-arch/unzip )
- test? (
- dev-python/nose[${PYTHON_USEDEP}]
- dev-python/pytest[${PYTHON_USEDEP}]
- )"
-RDEPEND="${CDEPEND}
- dev-python/pillow[${PYTHON_USEDEP}]"
-
-DOCS=( HACKING.rst.txt THANKS.txt )
-
-DISTUTILS_IN_SOURCE_BUILD=1
-
-src_unpack() {
- default
- if use doc; then
- unzip -qo "${DISTDIR}"/${PN}-${DOC_PV}-html.zip -d html || die
- fi
-}
-
-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_configure_all() {
- # bug 721860
- test-flag-FC -fallow-argument-mismatch &&
- append-fflags -fallow-argument-mismatch
-}
-
-python_compile() {
- # FIXME: parallel python building fails, bug #614464
- ${EPYTHON} tools/cythonize.py || die
- distutils-r1_python_compile \
- ${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"
- "${PYTHON}" -c \
- 'import numpy as np; print("relaxed strides checking:", np.ones((10,1),order="C").flags.f_contiguous)' \
- || die
- "${EPYTHON}" -c \
- "import scipy, sys; r = scipy.test('fast', verbose=2); sys.exit(r)" \
- || die "Tests fail with ${EPYTHON}"
-}
-
-python_install_all() {
- use doc && \
- local DOCS=( "${DISTDIR}"/${PN}-${DOC_PV}-ref.pdf ) \
- local HTML_DOCS=( "${WORKDIR}"/html/. )
- distutils-r1_python_install_all
-}
-
-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"
-}
diff --git a/dev-python/scipy/scipy-1.4.1.ebuild b/dev-python/scipy/scipy-1.4.1.ebuild
deleted file mode 100644
index 347f15eb4fa..00000000000
--- a/dev-python/scipy/scipy-1.4.1.ebuild
+++ /dev/null
@@ -1,154 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_{7..9} )
-PYTHON_REQ_USE="threads(+)"
-
-DOC_PV=${PV}
-
-inherit fortran-2 distutils-r1 flag-o-matic multiprocessing toolchain-funcs
-
-DESCRIPTION="Scientific algorithms library for Python"
-HOMEPAGE="https://www.scipy.org/"
-SRC_URI="
- mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
- doc? (
- https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${PV}.zip -> ${PN}-${DOC_PV}-html.zip
- https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-ref-${PV}.pdf -> ${PN}-${DOC_PV}-ref.pdf
- )"
-
-LICENSE="BSD LGPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="doc 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.29.13[${PYTHON_USEDEP}]
- >=dev-python/setuptools-36[${PYTHON_USEDEP}]
- dev-python/pybind11[${PYTHON_USEDEP}]
- virtual/pkgconfig
- doc? ( app-arch/unzip )
- test? (
- dev-python/nose[${PYTHON_USEDEP}]
- dev-python/pytest[${PYTHON_USEDEP}]
- )"
-RDEPEND="${CDEPEND}
- dev-python/pillow[${PYTHON_USEDEP}]"
-
-DOCS=( HACKING.rst.txt THANKS.txt )
-
-DISTUTILS_IN_SOURCE_BUILD=1
-
-src_unpack() {
- default
- if use doc; then
- unzip -qo "${DISTDIR}"/${PN}-${DOC_PV}-html.zip -d html || die
- fi
-}
-
-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
- cat >> setup.cfg <<-EOF || die
- [options]
- zip_safe = False
- EOF
-
- # Drop hashes to force rebuild of cython based .c code
- rm cythonize.dat || die
-
- distutils-r1_python_prepare_all
-}
-
-python_configure_all() {
- # bug 721860
- test-flag-FC -fallow-argument-mismatch &&
- append-fflags -fallow-argument-mismatch
-}
-
-python_compile() {
- # FIXME: parallel python building fails, bug #614464
- export MAKEOPTS=-j1
-
- ${EPYTHON} tools/cythonize.py || die
- distutils-r1_python_compile \
- ${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}/lib" || die "no ${TEST_DIR} available"
- PYTHONPATH=. "${EPYTHON}" -c "
-import scipy, sys
-r = scipy.test('fast', verbose=2)
-sys.exit(0 if r else 1)" || die "Tests fail with ${EPYTHON}"
-}
-
-python_install_all() {
- use doc && \
- local DOCS=( "${DISTDIR}"/${PN}-${DOC_PV}-ref.pdf ) \
- local HTML_DOCS=( "${WORKDIR}"/html/. )
- distutils-r1_python_install_all
-}
-
-python_install() {
- distutils-r1_python_install ${SCIPY_FCONFIG}
- python_optimize
-}
-
-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"
-}
diff --git a/dev-python/scipy/scipy-1.5.2.ebuild b/dev-python/scipy/scipy-1.5.2.ebuild
deleted file mode 100644
index 438d773e181..00000000000
--- a/dev-python/scipy/scipy-1.5.2.ebuild
+++ /dev/null
@@ -1,160 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_{7..9} )
-PYTHON_REQ_USE="threads(+)"
-
-DOC_PV=${PV}
-
-inherit fortran-2 distutils-r1 flag-o-matic multiprocessing toolchain-funcs
-
-DESCRIPTION="Scientific algorithms library for Python"
-HOMEPAGE="https://www.scipy.org/"
-SRC_URI="
- mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
- doc? (
- https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${PV}.zip -> ${PN}-${DOC_PV}-html.zip
- https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-ref-${PV}.pdf -> ${PN}-${DOC_PV}-ref.pdf
- )"
-
-LICENSE="BSD LGPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="doc 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.29.13[${PYTHON_USEDEP}]
- >=dev-python/setuptools-36[${PYTHON_USEDEP}]
- dev-python/pybind11[${PYTHON_USEDEP}]
- virtual/pkgconfig
- doc? ( app-arch/unzip )
- test? (
- dev-python/nose[${PYTHON_USEDEP}]
- dev-python/pytest[${PYTHON_USEDEP}]
- )"
-RDEPEND="${CDEPEND}
- dev-python/pillow[${PYTHON_USEDEP}]"
-
-DOCS=( HACKING.rst.txt THANKS.txt )
-
-DISTUTILS_IN_SOURCE_BUILD=1
-
-src_unpack() {
- default
- if use doc; then
- unzip -qo "${DISTDIR}"/${PN}-${DOC_PV}-html.zip -d html || die
- fi
-}
-
-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
- cat >> setup.cfg <<-EOF || die
- [options]
- zip_safe = False
- EOF
-
- # Drop hashes to force rebuild of cython based .c code
- rm cythonize.dat || die
-
- # TODO
- sed -e 's:test_magic_square_sparse_no_presolve:_&:' \
- -i scipy/optimize/tests/test_linprog.py || die
- sed -e "s:== 'levy_stable':in ('levy_stable', 'crystalball', 'ncf'):" \
- -i scipy/stats/tests/test_continuous_basic.py || die
-
- distutils-r1_python_prepare_all
-}
-
-python_configure_all() {
- # bug 721860
- test-flag-FC -fallow-argument-mismatch &&
- append-fflags -fallow-argument-mismatch
-}
-
-python_compile() {
- # FIXME: parallel python building fails, bug #614464
- export MAKEOPTS=-j1
-
- ${EPYTHON} tools/cythonize.py || die
- distutils-r1_python_compile \
- ${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}/lib" || die "no ${TEST_DIR} available"
- PYTHONPATH=. "${EPYTHON}" -c "
-import scipy, sys
-r = scipy.test('fast', verbose=2)
-sys.exit(0 if r else 1)" || die "Tests fail with ${EPYTHON}"
-}
-
-python_install_all() {
- use doc && \
- local DOCS=( "${DISTDIR}"/${PN}-${DOC_PV}-ref.pdf ) \
- local HTML_DOCS=( "${WORKDIR}"/html/. )
- distutils-r1_python_install_all
-}
-
-python_install() {
- distutils-r1_python_install ${SCIPY_FCONFIG}
- python_optimize
-}
-
-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"
-}
diff --git a/dev-python/scipy/scipy-1.5.3.ebuild b/dev-python/scipy/scipy-1.5.3.ebuild
deleted file mode 100644
index 8a3b7ee0526..00000000000
--- a/dev-python/scipy/scipy-1.5.3.ebuild
+++ /dev/null
@@ -1,160 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_{7..9} )
-PYTHON_REQ_USE="threads(+)"
-
-DOC_PV=${PV}
-
-inherit fortran-2 distutils-r1 flag-o-matic multiprocessing toolchain-funcs
-
-DESCRIPTION="Scientific algorithms library for Python"
-HOMEPAGE="https://www.scipy.org/"
-SRC_URI="
- mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
- doc? (
- https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${PV}.zip -> ${PN}-${DOC_PV}-html.zip
- https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-ref-${PV}.pdf -> ${PN}-${DOC_PV}-ref.pdf
- )"
-
-LICENSE="BSD LGPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="doc 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.29.13[${PYTHON_USEDEP}]
- >=dev-python/setuptools-36[${PYTHON_USEDEP}]
- dev-python/pybind11[${PYTHON_USEDEP}]
- virtual/pkgconfig
- doc? ( app-arch/unzip )
- test? (
- dev-python/nose[${PYTHON_USEDEP}]
- dev-python/pytest[${PYTHON_USEDEP}]
- )"
-RDEPEND="${CDEPEND}
- dev-python/pillow[${PYTHON_USEDEP}]"
-
-DOCS=( HACKING.rst.txt THANKS.txt )
-
-DISTUTILS_IN_SOURCE_BUILD=1
-
-src_unpack() {
- default
- if use doc; then
- unzip -qo "${DISTDIR}"/${PN}-${DOC_PV}-html.zip -d html || die
- fi
-}
-
-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
- cat >> setup.cfg <<-EOF || die
- [options]
- zip_safe = False
- EOF
-
- # Drop hashes to force rebuild of cython based .c code
- rm cythonize.dat || die
-
- # TODO
- sed -e 's:test_magic_square_sparse_no_presolve:_&:' \
- -i scipy/optimize/tests/test_linprog.py || die
- sed -e "s:== 'levy_stable':in ('levy_stable', 'crystalball', 'ncf'):" \
- -i scipy/stats/tests/test_continuous_basic.py || die
-
- distutils-r1_python_prepare_all
-}
-
-python_configure_all() {
- # bug 721860
- test-flag-FC -fallow-argument-mismatch &&
- append-fflags -fallow-argument-mismatch
-}
-
-python_compile() {
- # FIXME: parallel python building fails, bug #614464
- export MAKEOPTS=-j1
-
- ${EPYTHON} tools/cythonize.py || die
- distutils-r1_python_compile \
- ${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}/lib" || die "no ${TEST_DIR} available"
- PYTHONPATH=. "${EPYTHON}" -c "
-import scipy, sys
-r = scipy.test('fast', verbose=2)
-sys.exit(0 if r else 1)" || die "Tests fail with ${EPYTHON}"
-}
-
-python_install_all() {
- use doc && \
- local DOCS=( "${DISTDIR}"/${PN}-${DOC_PV}-ref.pdf ) \
- local HTML_DOCS=( "${WORKDIR}"/html/. )
- distutils-r1_python_install_all
-}
-
-python_install() {
- distutils-r1_python_install ${SCIPY_FCONFIG}
- python_optimize
-}
-
-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"
-}
diff --git a/dev-python/scipy/scipy-1.5.4.ebuild b/dev-python/scipy/scipy-1.5.4.ebuild
deleted file mode 100644
index 438d773e181..00000000000
--- a/dev-python/scipy/scipy-1.5.4.ebuild
+++ /dev/null
@@ -1,160 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_{7..9} )
-PYTHON_REQ_USE="threads(+)"
-
-DOC_PV=${PV}
-
-inherit fortran-2 distutils-r1 flag-o-matic multiprocessing toolchain-funcs
-
-DESCRIPTION="Scientific algorithms library for Python"
-HOMEPAGE="https://www.scipy.org/"
-SRC_URI="
- mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
- doc? (
- https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${PV}.zip -> ${PN}-${DOC_PV}-html.zip
- https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-ref-${PV}.pdf -> ${PN}-${DOC_PV}-ref.pdf
- )"
-
-LICENSE="BSD LGPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="doc 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.29.13[${PYTHON_USEDEP}]
- >=dev-python/setuptools-36[${PYTHON_USEDEP}]
- dev-python/pybind11[${PYTHON_USEDEP}]
- virtual/pkgconfig
- doc? ( app-arch/unzip )
- test? (
- dev-python/nose[${PYTHON_USEDEP}]
- dev-python/pytest[${PYTHON_USEDEP}]
- )"
-RDEPEND="${CDEPEND}
- dev-python/pillow[${PYTHON_USEDEP}]"
-
-DOCS=( HACKING.rst.txt THANKS.txt )
-
-DISTUTILS_IN_SOURCE_BUILD=1
-
-src_unpack() {
- default
- if use doc; then
- unzip -qo "${DISTDIR}"/${PN}-${DOC_PV}-html.zip -d html || die
- fi
-}
-
-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
- cat >> setup.cfg <<-EOF || die
- [options]
- zip_safe = False
- EOF
-
- # Drop hashes to force rebuild of cython based .c code
- rm cythonize.dat || die
-
- # TODO
- sed -e 's:test_magic_square_sparse_no_presolve:_&:' \
- -i scipy/optimize/tests/test_linprog.py || die
- sed -e "s:== 'levy_stable':in ('levy_stable', 'crystalball', 'ncf'):" \
- -i scipy/stats/tests/test_continuous_basic.py || die
-
- distutils-r1_python_prepare_all
-}
-
-python_configure_all() {
- # bug 721860
- test-flag-FC -fallow-argument-mismatch &&
- append-fflags -fallow-argument-mismatch
-}
-
-python_compile() {
- # FIXME: parallel python building fails, bug #614464
- export MAKEOPTS=-j1
-
- ${EPYTHON} tools/cythonize.py || die
- distutils-r1_python_compile \
- ${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}/lib" || die "no ${TEST_DIR} available"
- PYTHONPATH=. "${EPYTHON}" -c "
-import scipy, sys
-r = scipy.test('fast', verbose=2)
-sys.exit(0 if r else 1)" || die "Tests fail with ${EPYTHON}"
-}
-
-python_install_all() {
- use doc && \
- local DOCS=( "${DISTDIR}"/${PN}-${DOC_PV}-ref.pdf ) \
- local HTML_DOCS=( "${WORKDIR}"/html/. )
- distutils-r1_python_install_all
-}
-
-python_install() {
- distutils-r1_python_install ${SCIPY_FCONFIG}
- python_optimize
-}
-
-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"
-}
diff --git a/dev-python/scipy/scipy-1.6.0.ebuild b/dev-python/scipy/scipy-1.6.0.ebuild
deleted file mode 100644
index a1948aba749..00000000000
--- a/dev-python/scipy/scipy-1.6.0.ebuild
+++ /dev/null
@@ -1,155 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-PYTHON_REQ_USE="threads(+)"
-
-inherit fortran-2 distutils-r1 flag-o-matic multiprocessing toolchain-funcs
-
-DESCRIPTION="Scientific algorithms library for Python"
-HOMEPAGE="https://www.scipy.org/"
-SRC_URI="
- mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
- doc? (
- https://docs.scipy.org/doc/${P}/${PN}-html-${PV}.zip -> ${P}-html.zip
- https://docs.scipy.org/doc/${P}/${PN}-ref-${PV}.pdf -> ${P}-ref.pdf
- )"
-
-LICENSE="BSD LGPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="doc sparse test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
- >=dev-python/numpy-1.16.5[lapack,${PYTHON_USEDEP}]
- sci-libs/arpack:0=
- virtual/cblas
- virtual/lapack
- sparse? ( sci-libs/umfpack:0= )"
-RDEPEND="${DEPEND}
- dev-python/pillow[${PYTHON_USEDEP}]"
-BDEPEND="
- dev-lang/swig
- >=dev-python/cython-0.29.13[${PYTHON_USEDEP}]
- dev-python/pybind11[${PYTHON_USEDEP}]
- virtual/pkgconfig
- doc? ( app-arch/unzip )
- test? (
- dev-python/nose[${PYTHON_USEDEP}]
- dev-python/pytest[${PYTHON_USEDEP}]
- )"
-
-DISTUTILS_IN_SOURCE_BUILD=1
-
-src_unpack() {
- default
- if use doc; then
- unzip -qo "${DISTDIR}"/${P}-html.zip -d html || die
- fi
-}
-
-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
- cat >> setup.cfg <<-EOF || die
- [options]
- zip_safe = False
- EOF
-
- # Drop hashes to force rebuild of cython based .c code
- rm cythonize.dat || die
-
- # TODO
- sed -e 's:test_magic_square_sparse_no_presolve:_&:' \
- -i scipy/optimize/tests/test_linprog.py || die
- sed -e "s:== 'levy_stable':in ('levy_stable', 'crystalball', 'ncf'):" \
- -i scipy/stats/tests/test_continuous_basic.py || die
-
- distutils-r1_python_prepare_all
-}
-
-python_configure_all() {
- # bug 721860
- test-flag-FC -fallow-argument-mismatch &&
- append-fflags -fallow-argument-mismatch
-}
-
-python_compile() {
- # FIXME: parallel python building fails, bug #614464
- export MAKEOPTS=-j1
-
- ${EPYTHON} tools/cythonize.py || die
- distutils-r1_python_compile \
- ${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}/lib" || die "no ${TEST_DIR} available"
- PYTHONPATH=. "${EPYTHON}" -c "
-import scipy, sys
-r = scipy.test('fast', verbose=2)
-sys.exit(0 if r else 1)" || die "Tests fail with ${EPYTHON}"
-}
-
-python_install_all() {
- use doc && \
- local DOCS=( "${DISTDIR}"/${P}-ref.pdf ) \
- local HTML_DOCS=( "${WORKDIR}"/html/. )
- distutils-r1_python_install_all
-}
-
-python_install() {
- distutils-r1_python_install ${SCIPY_FCONFIG}
- python_optimize
-}
-
-pkg_postinst() {
- elog "You might want to set the variable SCIPY_PIL_IMAGE_VIEWER"
- elog "to your prefered image viewer. Example:"
- elog " echo \"export SCIPY_PIL_IMAGE_VIEWER=display\" >> ~/.bashrc"
-}
diff --git a/dev-python/scipy/scipy-1.6.1.ebuild b/dev-python/scipy/scipy-1.6.1.ebuild
deleted file mode 100644
index a1948aba749..00000000000
--- a/dev-python/scipy/scipy-1.6.1.ebuild
+++ /dev/null
@@ -1,155 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-PYTHON_REQ_USE="threads(+)"
-
-inherit fortran-2 distutils-r1 flag-o-matic multiprocessing toolchain-funcs
-
-DESCRIPTION="Scientific algorithms library for Python"
-HOMEPAGE="https://www.scipy.org/"
-SRC_URI="
- mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
- doc? (
- https://docs.scipy.org/doc/${P}/${PN}-html-${PV}.zip -> ${P}-html.zip
- https://docs.scipy.org/doc/${P}/${PN}-ref-${PV}.pdf -> ${P}-ref.pdf
- )"
-
-LICENSE="BSD LGPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="doc sparse test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
- >=dev-python/numpy-1.16.5[lapack,${PYTHON_USEDEP}]
- sci-libs/arpack:0=
- virtual/cblas
- virtual/lapack
- sparse? ( sci-libs/umfpack:0= )"
-RDEPEND="${DEPEND}
- dev-python/pillow[${PYTHON_USEDEP}]"
-BDEPEND="
- dev-lang/swig
- >=dev-python/cython-0.29.13[${PYTHON_USEDEP}]
- dev-python/pybind11[${PYTHON_USEDEP}]
- virtual/pkgconfig
- doc? ( app-arch/unzip )
- test? (
- dev-python/nose[${PYTHON_USEDEP}]
- dev-python/pytest[${PYTHON_USEDEP}]
- )"
-
-DISTUTILS_IN_SOURCE_BUILD=1
-
-src_unpack() {
- default
- if use doc; then
- unzip -qo "${DISTDIR}"/${P}-html.zip -d html || die
- fi
-}
-
-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
- cat >> setup.cfg <<-EOF || die
- [options]
- zip_safe = False
- EOF
-
- # Drop hashes to force rebuild of cython based .c code
- rm cythonize.dat || die
-
- # TODO
- sed -e 's:test_magic_square_sparse_no_presolve:_&:' \
- -i scipy/optimize/tests/test_linprog.py || die
- sed -e "s:== 'levy_stable':in ('levy_stable', 'crystalball', 'ncf'):" \
- -i scipy/stats/tests/test_continuous_basic.py || die
-
- distutils-r1_python_prepare_all
-}
-
-python_configure_all() {
- # bug 721860
- test-flag-FC -fallow-argument-mismatch &&
- append-fflags -fallow-argument-mismatch
-}
-
-python_compile() {
- # FIXME: parallel python building fails, bug #614464
- export MAKEOPTS=-j1
-
- ${EPYTHON} tools/cythonize.py || die
- distutils-r1_python_compile \
- ${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}/lib" || die "no ${TEST_DIR} available"
- PYTHONPATH=. "${EPYTHON}" -c "
-import scipy, sys
-r = scipy.test('fast', verbose=2)
-sys.exit(0 if r else 1)" || die "Tests fail with ${EPYTHON}"
-}
-
-python_install_all() {
- use doc && \
- local DOCS=( "${DISTDIR}"/${P}-ref.pdf ) \
- local HTML_DOCS=( "${WORKDIR}"/html/. )
- distutils-r1_python_install_all
-}
-
-python_install() {
- distutils-r1_python_install ${SCIPY_FCONFIG}
- python_optimize
-}
-
-pkg_postinst() {
- elog "You might want to set the variable SCIPY_PIL_IMAGE_VIEWER"
- elog "to your prefered image viewer. Example:"
- elog " echo \"export SCIPY_PIL_IMAGE_VIEWER=display\" >> ~/.bashrc"
-}
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-05-31 7:58 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2021-05-31 7:58 UTC (permalink / raw
To: gentoo-commits
commit: c7ad47d3139aa8f03f726fc241c74d290d89f5d2
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon May 31 07:54:06 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon May 31 07:55:14 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7ad47d3
dev-python/scipy: Stabilize 1.6.2 x86, #788544
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.6.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.6.2.ebuild b/dev-python/scipy/scipy-1.6.2.ebuild
index 0dbd5ea0e7d..0230181c4d6 100644
--- a/dev-python/scipy/scipy-1.6.2.ebuild
+++ b/dev-python/scipy/scipy-1.6.2.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="doc sparse"
DEPEND="
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-05-07 13:28 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2021-05-07 13:28 UTC (permalink / raw
To: gentoo-commits
commit: a80eaf9b418d53227f9ca981e402ee4e40c42c56
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri May 7 13:27:33 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri May 7 13:27:33 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a80eaf9b
dev-python/scipy: Stabilize 1.6.2 amd64, #788544
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.6.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.6.2.ebuild b/dev-python/scipy/scipy-1.6.2.ebuild
index 5bb4bcf91ec..0dbd5ea0e7d 100644
--- a/dev-python/scipy/scipy-1.6.2.ebuild
+++ b/dev-python/scipy/scipy-1.6.2.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="doc sparse"
DEPEND="
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-05-06 22:34 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2021-05-06 22:34 UTC (permalink / raw
To: gentoo-commits
commit: c9e27ef47fc373a2e55a4179ce01e08172b41eda
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu May 6 22:34:07 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu May 6 22:34:07 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9e27ef4
dev-python/scipy: Stabilize 1.6.2 ppc64, #788544
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.6.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.6.2.ebuild b/dev-python/scipy/scipy-1.6.2.ebuild
index 9bbfd69f4ac..5bb4bcf91ec 100644
--- a/dev-python/scipy/scipy-1.6.2.ebuild
+++ b/dev-python/scipy/scipy-1.6.2.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="doc sparse"
DEPEND="
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-04-26 8:33 Michał Górny
0 siblings, 0 replies; 209+ messages in thread
From: Michał Górny @ 2021-04-26 8:33 UTC (permalink / raw
To: gentoo-commits
commit: f7583124b25baff911d58438bd75a30ce11a2c56
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 26 07:00:38 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Apr 26 08:33:13 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7583124
dev-python/scipy: Bump to 1.6.3
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/Manifest | 3 +
dev-python/scipy/scipy-1.6.3.ebuild | 155 ++++++++++++++++++++++++++++++++++++
2 files changed, 158 insertions(+)
diff --git a/dev-python/scipy/Manifest b/dev-python/scipy/Manifest
index 17559e4b9c1..963a635e709 100644
--- a/dev-python/scipy/Manifest
+++ b/dev-python/scipy/Manifest
@@ -20,5 +20,8 @@ DIST scipy-1.6.1-html.zip 23946591 BLAKE2B d3464c342b1d4f43e17e214c7557737913bf4
DIST scipy-1.6.1-ref.pdf 34594740 BLAKE2B 905ddcd7a3d462b09ded688f0818204d7684fa18058d0dac480d0a000e9ea0b7ebcdd33c01adae17234dcdf630d4aef9078174127af46f1db55d5c14b3245346 SHA512 355f4681439c1720f45dca6badfe72d77edfca0962fd9b42df34f1cd8fff7121fa6e7f60570bb638abd3ba9693930fa46b25af862d8fc1568b508c6fdd785479
DIST scipy-1.6.1.tar.gz 27346828 BLAKE2B 147d7b3f796023fe557f07b46eefa1b23631106556ff56bb0ab5640d7dccfa86fecc2031ba0571eee2560a9bf86705a5ef32527852650e6d0629a722574bf135 SHA512 778a7bca15bb880a3fd1c3d46ef753920335eca95fe5f2b8512883a2aec1bb8e9d8a8fdbf4fee90e823e31980408a51451cc53d4f10c632cd72faf2856c868c8
DIST scipy-1.6.2.tar.gz 27187804 BLAKE2B af3578bc029c3af548c04144d7405ac8e6f8e057f870394e124f24aea9989120275407e5a7fdd29fbe1019d2acc295c1ce00872461ecf3a325000e8817cd559f SHA512 18b03f32e8343c5a6c6148ac0bfd4b5f2cc9ff5f74d5d41761ae9e773d6af8774c7b09a3fcc47122864eccce1dbbc17e9325819885d3fc3ab2baf98e7d3befa4
+DIST scipy-1.6.3.tar.gz 27187987 BLAKE2B 30f7171ca0dc0842f254472f4b52c0b0ad4389964a140cc4b94f9d85437c5a7da238c082be503242d433f1d3c65c3fd4afeb2f7831eea39ce303077406e718df SHA512 10ff25da84ce09ae231e781873902d8040d79868721d75a3f9facee177e7f46f7c9c34374feee6fe2253ddd968716d2993658ce514c4ac0c98d255c06a6ef808
DIST scipy-html-1.6.1.zip 23946591 BLAKE2B d3464c342b1d4f43e17e214c7557737913bf4131f88b9d569cff106c75dc7ebf0d065283792fddc189e2a3ddc322f1b2b4f38c6d313569f28395e79680060b58 SHA512 73561f9daa303c6e967f9b11952c6239dea7ff1a2fa02434354ac78fcffe7a552aa0f1043a17cb5c35a442def499eff199856cca8efa1415449cbf54f0d4913b
+DIST scipy-html-1.6.2.zip 23947380 BLAKE2B e4616a157c037b0830fc32d23678fb7e8ebe023d1fd9f0f762695a0d93bc56e432e441e675ec3c7a7d6586a665f6127ce49d570f1716876e58afb402761f8e95 SHA512 119a2227a808c752a751bc7bec6463da739c68391ebac8d2451998d90ebe03b2af401adbf987f0b694244e715c0ef1fd86c2f4a36c48dbb1ff7cdf4d914875df
DIST scipy-ref-1.6.1.pdf 34594740 BLAKE2B 905ddcd7a3d462b09ded688f0818204d7684fa18058d0dac480d0a000e9ea0b7ebcdd33c01adae17234dcdf630d4aef9078174127af46f1db55d5c14b3245346 SHA512 355f4681439c1720f45dca6badfe72d77edfca0962fd9b42df34f1cd8fff7121fa6e7f60570bb638abd3ba9693930fa46b25af862d8fc1568b508c6fdd785479
+DIST scipy-ref-1.6.2.pdf 34599668 BLAKE2B 9ae3221c814eb0d1b1e9191e08000955af503f6448cf8b5841e400fad106c658670339219f4838bd312023601776fe0b0d123ebbd41460c478145da2ac3e9989 SHA512 9aecb7ca760805c470c41121268281c9547aef35ddf078816c5e48f7cf4912a67cf622e267152c6cc823df9d82be1f3a875d97469169d0d91d6219164c130c88
diff --git a/dev-python/scipy/scipy-1.6.3.ebuild b/dev-python/scipy/scipy-1.6.3.ebuild
new file mode 100644
index 00000000000..43a412c578c
--- /dev/null
+++ b/dev-python/scipy/scipy-1.6.3.ebuild
@@ -0,0 +1,155 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit fortran-2 distutils-r1 flag-o-matic multiprocessing toolchain-funcs
+
+# upstream is slacking forever with doc updates
+DOC_PV=1.6.2
+DESCRIPTION="Scientific algorithms library for Python"
+HOMEPAGE="https://www.scipy.org/"
+SRC_URI="
+ mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
+ doc? (
+ https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip
+ https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-ref-${DOC_PV}.pdf
+ )"
+
+LICENSE="BSD LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="doc sparse"
+
+DEPEND="
+ >=dev-python/numpy-1.16.5[lapack,${PYTHON_USEDEP}]
+ sci-libs/arpack:0=
+ virtual/cblas
+ virtual/lapack
+ sparse? ( sci-libs/umfpack:0= )"
+RDEPEND="${DEPEND}
+ dev-python/pillow[${PYTHON_USEDEP}]"
+BDEPEND="
+ dev-lang/swig
+ >=dev-python/cython-0.29.13[${PYTHON_USEDEP}]
+ dev-python/pybind11[${PYTHON_USEDEP}]
+ virtual/pkgconfig
+ doc? ( app-arch/unzip )
+ test? (
+ dev-python/nose[${PYTHON_USEDEP}]
+ )"
+
+DISTUTILS_IN_SOURCE_BUILD=1
+
+distutils_enable_tests pytest
+
+src_unpack() {
+ default
+ if use doc; then
+ unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die
+ fi
+}
+
+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
+ cat >> setup.cfg <<-EOF || die
+ [options]
+ zip_safe = False
+ EOF
+
+ # Drop hashes to force rebuild of cython based .c code
+ rm cythonize.dat || die
+
+ # TODO
+ sed -e "s:== 'levy_stable':in ('levy_stable', 'crystalball', 'ncf'):" \
+ -i scipy/stats/tests/test_continuous_basic.py || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_configure_all() {
+ # bug 721860
+ test-flag-FC -fallow-argument-mismatch &&
+ append-fflags -fallow-argument-mismatch
+}
+
+python_compile() {
+ # FIXME: parallel python building fails, bug #614464
+ export MAKEOPTS=-j1
+
+ ${EPYTHON} tools/cythonize.py || die
+ distutils-r1_python_compile \
+ ${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}/lib" || die "no ${TEST_DIR} available"
+ PYTHONPATH=. "${EPYTHON}" -c "
+import scipy, sys
+r = scipy.test('fast', verbose=2)
+sys.exit(0 if r else 1)" || die "Tests fail with ${EPYTHON}"
+}
+
+python_install_all() {
+ use doc && \
+ local DOCS=( "${DISTDIR}"/${PN}-ref-${DOC_PV}.pdf ) \
+ local HTML_DOCS=( "${WORKDIR}"/html/. )
+ distutils-r1_python_install_all
+}
+
+python_install() {
+ distutils-r1_python_install ${SCIPY_FCONFIG}
+ python_optimize
+}
+
+pkg_postinst() {
+ elog "You might want to set the variable SCIPY_PIL_IMAGE_VIEWER"
+ elog "to your prefered image viewer. Example:"
+ elog " echo \"export SCIPY_PIL_IMAGE_VIEWER=display\" >> ~/.bashrc"
+}
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-03-31 10:14 Michał Górny
0 siblings, 0 replies; 209+ messages in thread
From: Michał Górny @ 2021-03-31 10:14 UTC (permalink / raw
To: gentoo-commits
commit: 2ff9510d975f320f672ad4444fbd0ddbde264a4a
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 31 08:15:58 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Mar 31 10:14:36 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ff9510d
dev-python/scipy: Bump to 1.6.2
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/Manifest | 3 +
dev-python/scipy/scipy-1.6.2.ebuild | 155 ++++++++++++++++++++++++++++++++++++
2 files changed, 158 insertions(+)
diff --git a/dev-python/scipy/Manifest b/dev-python/scipy/Manifest
index 13ed408f42a..17559e4b9c1 100644
--- a/dev-python/scipy/Manifest
+++ b/dev-python/scipy/Manifest
@@ -19,3 +19,6 @@ DIST scipy-1.6.0.tar.gz 27275413 BLAKE2B f65fca81a21a3077ead119123fc3bb2ed96aaac
DIST scipy-1.6.1-html.zip 23946591 BLAKE2B d3464c342b1d4f43e17e214c7557737913bf4131f88b9d569cff106c75dc7ebf0d065283792fddc189e2a3ddc322f1b2b4f38c6d313569f28395e79680060b58 SHA512 73561f9daa303c6e967f9b11952c6239dea7ff1a2fa02434354ac78fcffe7a552aa0f1043a17cb5c35a442def499eff199856cca8efa1415449cbf54f0d4913b
DIST scipy-1.6.1-ref.pdf 34594740 BLAKE2B 905ddcd7a3d462b09ded688f0818204d7684fa18058d0dac480d0a000e9ea0b7ebcdd33c01adae17234dcdf630d4aef9078174127af46f1db55d5c14b3245346 SHA512 355f4681439c1720f45dca6badfe72d77edfca0962fd9b42df34f1cd8fff7121fa6e7f60570bb638abd3ba9693930fa46b25af862d8fc1568b508c6fdd785479
DIST scipy-1.6.1.tar.gz 27346828 BLAKE2B 147d7b3f796023fe557f07b46eefa1b23631106556ff56bb0ab5640d7dccfa86fecc2031ba0571eee2560a9bf86705a5ef32527852650e6d0629a722574bf135 SHA512 778a7bca15bb880a3fd1c3d46ef753920335eca95fe5f2b8512883a2aec1bb8e9d8a8fdbf4fee90e823e31980408a51451cc53d4f10c632cd72faf2856c868c8
+DIST scipy-1.6.2.tar.gz 27187804 BLAKE2B af3578bc029c3af548c04144d7405ac8e6f8e057f870394e124f24aea9989120275407e5a7fdd29fbe1019d2acc295c1ce00872461ecf3a325000e8817cd559f SHA512 18b03f32e8343c5a6c6148ac0bfd4b5f2cc9ff5f74d5d41761ae9e773d6af8774c7b09a3fcc47122864eccce1dbbc17e9325819885d3fc3ab2baf98e7d3befa4
+DIST scipy-html-1.6.1.zip 23946591 BLAKE2B d3464c342b1d4f43e17e214c7557737913bf4131f88b9d569cff106c75dc7ebf0d065283792fddc189e2a3ddc322f1b2b4f38c6d313569f28395e79680060b58 SHA512 73561f9daa303c6e967f9b11952c6239dea7ff1a2fa02434354ac78fcffe7a552aa0f1043a17cb5c35a442def499eff199856cca8efa1415449cbf54f0d4913b
+DIST scipy-ref-1.6.1.pdf 34594740 BLAKE2B 905ddcd7a3d462b09ded688f0818204d7684fa18058d0dac480d0a000e9ea0b7ebcdd33c01adae17234dcdf630d4aef9078174127af46f1db55d5c14b3245346 SHA512 355f4681439c1720f45dca6badfe72d77edfca0962fd9b42df34f1cd8fff7121fa6e7f60570bb638abd3ba9693930fa46b25af862d8fc1568b508c6fdd785479
diff --git a/dev-python/scipy/scipy-1.6.2.ebuild b/dev-python/scipy/scipy-1.6.2.ebuild
new file mode 100644
index 00000000000..9bbfd69f4ac
--- /dev/null
+++ b/dev-python/scipy/scipy-1.6.2.ebuild
@@ -0,0 +1,155 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit fortran-2 distutils-r1 flag-o-matic multiprocessing toolchain-funcs
+
+# upstream is slacking forever with doc updates
+DOC_PV=1.6.1
+DESCRIPTION="Scientific algorithms library for Python"
+HOMEPAGE="https://www.scipy.org/"
+SRC_URI="
+ mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
+ doc? (
+ https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip
+ https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-ref-${DOC_PV}.pdf
+ )"
+
+LICENSE="BSD LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="doc sparse"
+
+DEPEND="
+ >=dev-python/numpy-1.16.5[lapack,${PYTHON_USEDEP}]
+ sci-libs/arpack:0=
+ virtual/cblas
+ virtual/lapack
+ sparse? ( sci-libs/umfpack:0= )"
+RDEPEND="${DEPEND}
+ dev-python/pillow[${PYTHON_USEDEP}]"
+BDEPEND="
+ dev-lang/swig
+ >=dev-python/cython-0.29.13[${PYTHON_USEDEP}]
+ dev-python/pybind11[${PYTHON_USEDEP}]
+ virtual/pkgconfig
+ doc? ( app-arch/unzip )
+ test? (
+ dev-python/nose[${PYTHON_USEDEP}]
+ )"
+
+DISTUTILS_IN_SOURCE_BUILD=1
+
+distutils_enable_tests pytest
+
+src_unpack() {
+ default
+ if use doc; then
+ unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die
+ fi
+}
+
+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
+ cat >> setup.cfg <<-EOF || die
+ [options]
+ zip_safe = False
+ EOF
+
+ # Drop hashes to force rebuild of cython based .c code
+ rm cythonize.dat || die
+
+ # TODO
+ sed -e "s:== 'levy_stable':in ('levy_stable', 'crystalball', 'ncf'):" \
+ -i scipy/stats/tests/test_continuous_basic.py || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_configure_all() {
+ # bug 721860
+ test-flag-FC -fallow-argument-mismatch &&
+ append-fflags -fallow-argument-mismatch
+}
+
+python_compile() {
+ # FIXME: parallel python building fails, bug #614464
+ export MAKEOPTS=-j1
+
+ ${EPYTHON} tools/cythonize.py || die
+ distutils-r1_python_compile \
+ ${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}/lib" || die "no ${TEST_DIR} available"
+ PYTHONPATH=. "${EPYTHON}" -c "
+import scipy, sys
+r = scipy.test('fast', verbose=2)
+sys.exit(0 if r else 1)" || die "Tests fail with ${EPYTHON}"
+}
+
+python_install_all() {
+ use doc && \
+ local DOCS=( "${DISTDIR}"/${PN}-ref-${DOC_PV}.pdf ) \
+ local HTML_DOCS=( "${WORKDIR}"/html/. )
+ distutils-r1_python_install_all
+}
+
+python_install() {
+ distutils-r1_python_install ${SCIPY_FCONFIG}
+ python_optimize
+}
+
+pkg_postinst() {
+ elog "You might want to set the variable SCIPY_PIL_IMAGE_VIEWER"
+ elog "to your prefered image viewer. Example:"
+ elog " echo \"export SCIPY_PIL_IMAGE_VIEWER=display\" >> ~/.bashrc"
+}
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-03-25 23:42 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2021-03-25 23:42 UTC (permalink / raw
To: gentoo-commits
commit: 61e300353c7db87920afe2012dfbb9079a904518
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 25 23:40:43 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 25 23:40:43 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61e30035
dev-python/scipy: Stabilize 1.6.1 ppc64, #778140
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.6.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.6.1.ebuild b/dev-python/scipy/scipy-1.6.1.ebuild
index d336bbed30f..a1948aba749 100644
--- a/dev-python/scipy/scipy-1.6.1.ebuild
+++ b/dev-python/scipy/scipy-1.6.1.ebuild
@@ -19,7 +19,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="doc sparse test"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-03-25 18:10 Agostino Sarubbo
0 siblings, 0 replies; 209+ messages in thread
From: Agostino Sarubbo @ 2021-03-25 18:10 UTC (permalink / raw
To: gentoo-commits
commit: c366350db682ac6fcd847b21ab44e4e1aaa53ad0
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 25 18:10:09 2021 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Thu Mar 25 18:10:09 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c366350d
dev-python/scipy: amd64 stable wrt bug #778140
Package-Manager: Portage-3.0.13, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
dev-python/scipy/scipy-1.6.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.6.1.ebuild b/dev-python/scipy/scipy-1.6.1.ebuild
index 65a1f0129c6..d336bbed30f 100644
--- a/dev-python/scipy/scipy-1.6.1.ebuild
+++ b/dev-python/scipy/scipy-1.6.1.ebuild
@@ -19,7 +19,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="doc sparse test"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-03-01 9:20 Agostino Sarubbo
0 siblings, 0 replies; 209+ messages in thread
From: Agostino Sarubbo @ 2021-03-01 9:20 UTC (permalink / raw
To: gentoo-commits
commit: f8a9ffa345d62b270fb7d9300bfae0ec9f184dd5
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 1 09:18:43 2021 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Mon Mar 1 09:18:43 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8a9ffa3
dev-python/scipy: amd64 stable wrt bug #771471
Package-Manager: Portage-3.0.13, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
dev-python/scipy/scipy-1.6.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.6.0.ebuild b/dev-python/scipy/scipy-1.6.0.ebuild
index 3ecc159bf31..a1948aba749 100644
--- a/dev-python/scipy/scipy-1.6.0.ebuild
+++ b/dev-python/scipy/scipy-1.6.0.ebuild
@@ -19,7 +19,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="doc sparse test"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-02-25 13:09 Sam James
0 siblings, 0 replies; 209+ messages in thread
From: Sam James @ 2021-02-25 13:09 UTC (permalink / raw
To: gentoo-commits
commit: d8f42f8305a5ba63774862a19efd5d1e3445eb6a
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 25 13:09:44 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Feb 25 13:09:44 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8f42f83
dev-python/scipy: Stabilize 1.6.0 ppc64, #771471
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/scipy/scipy-1.6.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.6.0.ebuild b/dev-python/scipy/scipy-1.6.0.ebuild
index 65a1f0129c6..3ecc159bf31 100644
--- a/dev-python/scipy/scipy-1.6.0.ebuild
+++ b/dev-python/scipy/scipy-1.6.0.ebuild
@@ -19,7 +19,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="doc sparse test"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-02-20 10:10 Michał Górny
0 siblings, 0 replies; 209+ messages in thread
From: Michał Górny @ 2021-02-20 10:10 UTC (permalink / raw
To: gentoo-commits
commit: e6bd483153ff1fbb671eb9879386e0e00991fd78
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 20 08:01:04 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Feb 20 10:10:13 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6bd4831
dev-python/scipy: Bump to 1.6.1
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/Manifest | 3 +
dev-python/scipy/scipy-1.6.1.ebuild | 155 ++++++++++++++++++++++++++++++++++++
2 files changed, 158 insertions(+)
diff --git a/dev-python/scipy/Manifest b/dev-python/scipy/Manifest
index 43540d9367a..13ed408f42a 100644
--- a/dev-python/scipy/Manifest
+++ b/dev-python/scipy/Manifest
@@ -16,3 +16,6 @@ DIST scipy-1.5.4.tar.gz 25237512 BLAKE2B 719cfecd6794b037dc636793ba38a3b39f5fd1a
DIST scipy-1.6.0-html.zip 23941941 BLAKE2B 3222e9b1e1aeebfd1ab0f8d179d25c25d6ab26a54c3d6c7f12d5cb24dd59af216685cb1db1d11980ca32c8e14595a1753b69438d8c7504f7c4fc1b386e1c944d SHA512 42cd5595e1f260bcd14d5ce159d9acd0eaefbcb1401270b90efe48b0e743681361dba5ee410e5932533bca03c19daaacb6042ef8edea9b2cccd5dae21a612072
DIST scipy-1.6.0-ref.pdf 34332184 BLAKE2B 948a03372797915e47d5e8ce44a32dcacb3448a20e06c5233d3362f0f04f228e8f7505aa918dbbd9a50ad64adb7a17181acab6a726ab251b8e8acf245a1550d6 SHA512 fe4c316f91cffb10d14207882ceb7a1d3711b03ad74857d771d0ec244caad60f878902f7279f6688c947fd415762abbb5a7082c810dd85c73385e8f58fbc056c
DIST scipy-1.6.0.tar.gz 27275413 BLAKE2B f65fca81a21a3077ead119123fc3bb2ed96aaacfee6f291473ef6780c291f3e9fee88d86501d4cb966f1d601fb7f0656956134f0437eb8fefb8030e762c363a5 SHA512 995ffaf56b713cdd4bdb98d8525b892e9ad84a511878b43213cb71a67f34d87c111da36cf1e0b044c75c0d5af64bfde4ad0f3e9c5e71cae2dbf053251f37064e
+DIST scipy-1.6.1-html.zip 23946591 BLAKE2B d3464c342b1d4f43e17e214c7557737913bf4131f88b9d569cff106c75dc7ebf0d065283792fddc189e2a3ddc322f1b2b4f38c6d313569f28395e79680060b58 SHA512 73561f9daa303c6e967f9b11952c6239dea7ff1a2fa02434354ac78fcffe7a552aa0f1043a17cb5c35a442def499eff199856cca8efa1415449cbf54f0d4913b
+DIST scipy-1.6.1-ref.pdf 34594740 BLAKE2B 905ddcd7a3d462b09ded688f0818204d7684fa18058d0dac480d0a000e9ea0b7ebcdd33c01adae17234dcdf630d4aef9078174127af46f1db55d5c14b3245346 SHA512 355f4681439c1720f45dca6badfe72d77edfca0962fd9b42df34f1cd8fff7121fa6e7f60570bb638abd3ba9693930fa46b25af862d8fc1568b508c6fdd785479
+DIST scipy-1.6.1.tar.gz 27346828 BLAKE2B 147d7b3f796023fe557f07b46eefa1b23631106556ff56bb0ab5640d7dccfa86fecc2031ba0571eee2560a9bf86705a5ef32527852650e6d0629a722574bf135 SHA512 778a7bca15bb880a3fd1c3d46ef753920335eca95fe5f2b8512883a2aec1bb8e9d8a8fdbf4fee90e823e31980408a51451cc53d4f10c632cd72faf2856c868c8
diff --git a/dev-python/scipy/scipy-1.6.1.ebuild b/dev-python/scipy/scipy-1.6.1.ebuild
new file mode 100644
index 00000000000..65a1f0129c6
--- /dev/null
+++ b/dev-python/scipy/scipy-1.6.1.ebuild
@@ -0,0 +1,155 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit fortran-2 distutils-r1 flag-o-matic multiprocessing toolchain-funcs
+
+DESCRIPTION="Scientific algorithms library for Python"
+HOMEPAGE="https://www.scipy.org/"
+SRC_URI="
+ mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
+ doc? (
+ https://docs.scipy.org/doc/${P}/${PN}-html-${PV}.zip -> ${P}-html.zip
+ https://docs.scipy.org/doc/${P}/${PN}-ref-${PV}.pdf -> ${P}-ref.pdf
+ )"
+
+LICENSE="BSD LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="doc sparse test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ >=dev-python/numpy-1.16.5[lapack,${PYTHON_USEDEP}]
+ sci-libs/arpack:0=
+ virtual/cblas
+ virtual/lapack
+ sparse? ( sci-libs/umfpack:0= )"
+RDEPEND="${DEPEND}
+ dev-python/pillow[${PYTHON_USEDEP}]"
+BDEPEND="
+ dev-lang/swig
+ >=dev-python/cython-0.29.13[${PYTHON_USEDEP}]
+ dev-python/pybind11[${PYTHON_USEDEP}]
+ virtual/pkgconfig
+ doc? ( app-arch/unzip )
+ test? (
+ dev-python/nose[${PYTHON_USEDEP}]
+ dev-python/pytest[${PYTHON_USEDEP}]
+ )"
+
+DISTUTILS_IN_SOURCE_BUILD=1
+
+src_unpack() {
+ default
+ if use doc; then
+ unzip -qo "${DISTDIR}"/${P}-html.zip -d html || die
+ fi
+}
+
+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
+ cat >> setup.cfg <<-EOF || die
+ [options]
+ zip_safe = False
+ EOF
+
+ # Drop hashes to force rebuild of cython based .c code
+ rm cythonize.dat || die
+
+ # TODO
+ sed -e 's:test_magic_square_sparse_no_presolve:_&:' \
+ -i scipy/optimize/tests/test_linprog.py || die
+ sed -e "s:== 'levy_stable':in ('levy_stable', 'crystalball', 'ncf'):" \
+ -i scipy/stats/tests/test_continuous_basic.py || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_configure_all() {
+ # bug 721860
+ test-flag-FC -fallow-argument-mismatch &&
+ append-fflags -fallow-argument-mismatch
+}
+
+python_compile() {
+ # FIXME: parallel python building fails, bug #614464
+ export MAKEOPTS=-j1
+
+ ${EPYTHON} tools/cythonize.py || die
+ distutils-r1_python_compile \
+ ${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}/lib" || die "no ${TEST_DIR} available"
+ PYTHONPATH=. "${EPYTHON}" -c "
+import scipy, sys
+r = scipy.test('fast', verbose=2)
+sys.exit(0 if r else 1)" || die "Tests fail with ${EPYTHON}"
+}
+
+python_install_all() {
+ use doc && \
+ local DOCS=( "${DISTDIR}"/${P}-ref.pdf ) \
+ local HTML_DOCS=( "${WORKDIR}"/html/. )
+ distutils-r1_python_install_all
+}
+
+python_install() {
+ distutils-r1_python_install ${SCIPY_FCONFIG}
+ python_optimize
+}
+
+pkg_postinst() {
+ elog "You might want to set the variable SCIPY_PIL_IMAGE_VIEWER"
+ elog "to your prefered image viewer. Example:"
+ elog " echo \"export SCIPY_PIL_IMAGE_VIEWER=display\" >> ~/.bashrc"
+}
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2021-01-24 11:58 Agostino Sarubbo
0 siblings, 0 replies; 209+ messages in thread
From: Agostino Sarubbo @ 2021-01-24 11:58 UTC (permalink / raw
To: gentoo-commits
commit: 1f30ce57daf6d86d4d29b6bff9b4dbf83ebfaa52
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 24 11:57:37 2021 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Sun Jan 24 11:57:37 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f30ce57
dev-python/scipy: amd64 stable wrt bug #756619
Package-Manager: Portage-3.0.9, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
dev-python/scipy/scipy-1.5.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.5.4.ebuild b/dev-python/scipy/scipy-1.5.4.ebuild
index 75aa881407e..4b29982a1f3 100644
--- a/dev-python/scipy/scipy-1.5.4.ebuild
+++ b/dev-python/scipy/scipy-1.5.4.ebuild
@@ -21,7 +21,7 @@ SRC_URI="
LICENSE="BSD LGPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="doc sparse test"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2020-12-31 20:22 Michał Górny
0 siblings, 0 replies; 209+ messages in thread
From: Michał Górny @ 2020-12-31 20:22 UTC (permalink / raw
To: gentoo-commits
commit: 49571f608157efeba94b19bdf767c8bec9bea8f4
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 31 19:01:55 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Dec 31 20:21:57 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49571f60
dev-python/scipy: Bump to 1.6.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/Manifest | 3 +
dev-python/scipy/scipy-1.6.0.ebuild | 155 ++++++++++++++++++++++++++++++++++++
2 files changed, 158 insertions(+)
diff --git a/dev-python/scipy/Manifest b/dev-python/scipy/Manifest
index dd57f9badef..43540d9367a 100644
--- a/dev-python/scipy/Manifest
+++ b/dev-python/scipy/Manifest
@@ -13,3 +13,6 @@ DIST scipy-1.5.3.tar.gz 25234560 BLAKE2B 734f29b7e3f6591b265ec43e173d1303683e2fc
DIST scipy-1.5.4-html.zip 23175279 BLAKE2B 79cf621daa4c41414cd6d52364481ff5df4a21232bc37a5c60f9e63b60e9ad9b07a1603865fd60b2041375ae12791d761fe5d3cbd1f5c0977a37e8bf497c1e3c SHA512 eb93b2ae1dcb916bfbe77ac0ccb7f7f66af3ad3965d397c84dfbc725af08060dccf3fb0988961bf2051f0236c64066dd28f01d85484babb3ee997a9d0bab8069
DIST scipy-1.5.4-ref.pdf 33467477 BLAKE2B d7a110258d6fe0430c380b34e2053b6b0ef8da7a6b3bee35314d55beae887afb32d01479f1ad6b8bf6847c2225890c20c118e3fd692dae55292793f38b484a9d SHA512 7f98b5014553f73880fe18d942684b8282c6aefb90b329865b65d45cfa0cffac0a8808e970af291a96e4d326ec8b284dc4385ffa5469049b4f643be8642329e7
DIST scipy-1.5.4.tar.gz 25237512 BLAKE2B 719cfecd6794b037dc636793ba38a3b39f5fd1a44ce2fd2cf2418b0ca6d1a7898b34c4cf684752fdde635107744773c796b998418d5a983450b70beb461e32df SHA512 d23f68911a8880f87767819750d4d175ba8f9c72fcb9b8080305ee65722c046d4485fde4f0c85cc53c46247dd99813afe675a38b3b0569a683ddc2c2e021b8fc
+DIST scipy-1.6.0-html.zip 23941941 BLAKE2B 3222e9b1e1aeebfd1ab0f8d179d25c25d6ab26a54c3d6c7f12d5cb24dd59af216685cb1db1d11980ca32c8e14595a1753b69438d8c7504f7c4fc1b386e1c944d SHA512 42cd5595e1f260bcd14d5ce159d9acd0eaefbcb1401270b90efe48b0e743681361dba5ee410e5932533bca03c19daaacb6042ef8edea9b2cccd5dae21a612072
+DIST scipy-1.6.0-ref.pdf 34332184 BLAKE2B 948a03372797915e47d5e8ce44a32dcacb3448a20e06c5233d3362f0f04f228e8f7505aa918dbbd9a50ad64adb7a17181acab6a726ab251b8e8acf245a1550d6 SHA512 fe4c316f91cffb10d14207882ceb7a1d3711b03ad74857d771d0ec244caad60f878902f7279f6688c947fd415762abbb5a7082c810dd85c73385e8f58fbc056c
+DIST scipy-1.6.0.tar.gz 27275413 BLAKE2B f65fca81a21a3077ead119123fc3bb2ed96aaacfee6f291473ef6780c291f3e9fee88d86501d4cb966f1d601fb7f0656956134f0437eb8fefb8030e762c363a5 SHA512 995ffaf56b713cdd4bdb98d8525b892e9ad84a511878b43213cb71a67f34d87c111da36cf1e0b044c75c0d5af64bfde4ad0f3e9c5e71cae2dbf053251f37064e
diff --git a/dev-python/scipy/scipy-1.6.0.ebuild b/dev-python/scipy/scipy-1.6.0.ebuild
new file mode 100644
index 00000000000..8c943a4bf01
--- /dev/null
+++ b/dev-python/scipy/scipy-1.6.0.ebuild
@@ -0,0 +1,155 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit fortran-2 distutils-r1 flag-o-matic multiprocessing toolchain-funcs
+
+DESCRIPTION="Scientific algorithms library for Python"
+HOMEPAGE="https://www.scipy.org/"
+SRC_URI="
+ mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
+ doc? (
+ https://docs.scipy.org/doc/${P}/${PN}-html-${PV}.zip -> ${P}-html.zip
+ https://docs.scipy.org/doc/${P}/${PN}-ref-${PV}.pdf -> ${P}-ref.pdf
+ )"
+
+LICENSE="BSD LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="doc sparse test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ >=dev-python/numpy-1.16.5[lapack,${PYTHON_USEDEP}]
+ sci-libs/arpack:0=
+ virtual/cblas
+ virtual/lapack
+ sparse? ( sci-libs/umfpack:0= )"
+RDEPEND="${DEPEND}
+ dev-python/pillow[${PYTHON_USEDEP}]"
+BDEPEND="
+ dev-lang/swig
+ >=dev-python/cython-0.29.13[${PYTHON_USEDEP}]
+ dev-python/pybind11[${PYTHON_USEDEP}]
+ virtual/pkgconfig
+ doc? ( app-arch/unzip )
+ test? (
+ dev-python/nose[${PYTHON_USEDEP}]
+ dev-python/pytest[${PYTHON_USEDEP}]
+ )"
+
+DISTUTILS_IN_SOURCE_BUILD=1
+
+src_unpack() {
+ default
+ if use doc; then
+ unzip -qo "${DISTDIR}"/${P}-html.zip -d html || die
+ fi
+}
+
+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
+ cat >> setup.cfg <<-EOF || die
+ [options]
+ zip_safe = False
+ EOF
+
+ # Drop hashes to force rebuild of cython based .c code
+ rm cythonize.dat || die
+
+ # TODO
+ sed -e 's:test_magic_square_sparse_no_presolve:_&:' \
+ -i scipy/optimize/tests/test_linprog.py || die
+ sed -e "s:== 'levy_stable':in ('levy_stable', 'crystalball', 'ncf'):" \
+ -i scipy/stats/tests/test_continuous_basic.py || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_configure_all() {
+ # bug 721860
+ test-flag-FC -fallow-argument-mismatch &&
+ append-fflags -fallow-argument-mismatch
+}
+
+python_compile() {
+ # FIXME: parallel python building fails, bug #614464
+ export MAKEOPTS=-j1
+
+ ${EPYTHON} tools/cythonize.py || die
+ distutils-r1_python_compile \
+ ${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}/lib" || die "no ${TEST_DIR} available"
+ PYTHONPATH=. "${EPYTHON}" -c "
+import scipy, sys
+r = scipy.test('fast', verbose=2)
+sys.exit(0 if r else 1)" || die "Tests fail with ${EPYTHON}"
+}
+
+python_install_all() {
+ use doc && \
+ local DOCS=( "${DISTDIR}"/${P}-ref.pdf ) \
+ local HTML_DOCS=( "${WORKDIR}"/html/. )
+ distutils-r1_python_install_all
+}
+
+python_install() {
+ distutils-r1_python_install ${SCIPY_FCONFIG}
+ python_optimize
+}
+
+pkg_postinst() {
+ elog "You might want to set the variable SCIPY_PIL_IMAGE_VIEWER"
+ elog "to your prefered image viewer. Example:"
+ elog " echo \"export SCIPY_PIL_IMAGE_VIEWER=display\" >> ~/.bashrc"
+}
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2020-11-05 12:41 Michał Górny
0 siblings, 0 replies; 209+ messages in thread
From: Michał Górny @ 2020-11-05 12:41 UTC (permalink / raw
To: gentoo-commits
commit: 8b1f78641bea942a18764ee628ca72fddaa9f2b8
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 5 11:06:29 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Nov 5 12:41:15 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b1f7864
dev-python/scipy: Bump to 1.5.4
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/Manifest | 3 +
dev-python/scipy/scipy-1.5.4.ebuild | 160 ++++++++++++++++++++++++++++++++++++
2 files changed, 163 insertions(+)
diff --git a/dev-python/scipy/Manifest b/dev-python/scipy/Manifest
index ecea6fa05fb..dd57f9badef 100644
--- a/dev-python/scipy/Manifest
+++ b/dev-python/scipy/Manifest
@@ -10,3 +10,6 @@ DIST scipy-1.5.2.tar.gz 25423944 BLAKE2B 0a4987da0cde4f33bbb0e2be571b59e9064b1c6
DIST scipy-1.5.3-html.zip 23172844 BLAKE2B eb90cb6d54ff1a6afeff387baccc273df4491a5d37202afa2a8dcebc29ecacf11784e2427fd9b91db954d13c418dae26619d172487515747f49ef6e41f793310 SHA512 cd7131efeccef2095955a3f6d5260d6f3d6d038668d686e556acf87f7aa4d85df576474b4feb7939c3eba51e81dc264590813483427db22038a09164f44f75b0
DIST scipy-1.5.3-ref.pdf 33463958 BLAKE2B 58939157eb5473278e1cde11a992082824e23220a83c6b3b87f219a12d7449a2290ce845e62d04fdbffb58ab9f6598da153b9ab75a139a071944e73738f19a1f SHA512 66dcb4e507f3f29ad82cc989e93dabe55e7c8147795ed8ed419c15ab50b0d6612e63dd918cab0640ab2085c68b1d14a3981d6da089baa4b4c2d302846aa4c496
DIST scipy-1.5.3.tar.gz 25234560 BLAKE2B 734f29b7e3f6591b265ec43e173d1303683e2fcfa493cc03d71222fb34ccbc1bb6498d0a9c814d7cb3b08f8d82f06829a2280e46bab733f1c4d6c57742555d70 SHA512 ac65196179663905cf813e023cbbc4c0ef42948425d8190db9218339e23dc3a53e788759f0d7bb986395f8b86f6e97f5de87704ef70445d9f9c10c4ceee8e104
+DIST scipy-1.5.4-html.zip 23175279 BLAKE2B 79cf621daa4c41414cd6d52364481ff5df4a21232bc37a5c60f9e63b60e9ad9b07a1603865fd60b2041375ae12791d761fe5d3cbd1f5c0977a37e8bf497c1e3c SHA512 eb93b2ae1dcb916bfbe77ac0ccb7f7f66af3ad3965d397c84dfbc725af08060dccf3fb0988961bf2051f0236c64066dd28f01d85484babb3ee997a9d0bab8069
+DIST scipy-1.5.4-ref.pdf 33467477 BLAKE2B d7a110258d6fe0430c380b34e2053b6b0ef8da7a6b3bee35314d55beae887afb32d01479f1ad6b8bf6847c2225890c20c118e3fd692dae55292793f38b484a9d SHA512 7f98b5014553f73880fe18d942684b8282c6aefb90b329865b65d45cfa0cffac0a8808e970af291a96e4d326ec8b284dc4385ffa5469049b4f643be8642329e7
+DIST scipy-1.5.4.tar.gz 25237512 BLAKE2B 719cfecd6794b037dc636793ba38a3b39f5fd1a44ce2fd2cf2418b0ca6d1a7898b34c4cf684752fdde635107744773c796b998418d5a983450b70beb461e32df SHA512 d23f68911a8880f87767819750d4d175ba8f9c72fcb9b8080305ee65722c046d4485fde4f0c85cc53c46247dd99813afe675a38b3b0569a683ddc2c2e021b8fc
diff --git a/dev-python/scipy/scipy-1.5.4.ebuild b/dev-python/scipy/scipy-1.5.4.ebuild
new file mode 100644
index 00000000000..a3d305b0846
--- /dev/null
+++ b/dev-python/scipy/scipy-1.5.4.ebuild
@@ -0,0 +1,160 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_{6..9} )
+PYTHON_REQ_USE="threads(+)"
+
+DOC_PV=${PV}
+
+inherit fortran-2 distutils-r1 flag-o-matic multiprocessing toolchain-funcs
+
+DESCRIPTION="Scientific algorithms library for Python"
+HOMEPAGE="https://www.scipy.org/"
+SRC_URI="
+ mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
+ doc? (
+ https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${PV}.zip -> ${PN}-${DOC_PV}-html.zip
+ https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-ref-${PV}.pdf -> ${PN}-${DOC_PV}-ref.pdf
+ )"
+
+LICENSE="BSD LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="doc 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.29.13[${PYTHON_USEDEP}]
+ >=dev-python/setuptools-36[${PYTHON_USEDEP}]
+ dev-python/pybind11[${PYTHON_USEDEP}]
+ virtual/pkgconfig
+ doc? ( app-arch/unzip )
+ test? (
+ dev-python/nose[${PYTHON_USEDEP}]
+ dev-python/pytest[${PYTHON_USEDEP}]
+ )"
+RDEPEND="${CDEPEND}
+ dev-python/pillow[${PYTHON_USEDEP}]"
+
+DOCS=( HACKING.rst.txt THANKS.txt )
+
+DISTUTILS_IN_SOURCE_BUILD=1
+
+src_unpack() {
+ default
+ if use doc; then
+ unzip -qo "${DISTDIR}"/${PN}-${DOC_PV}-html.zip -d html || die
+ fi
+}
+
+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
+ cat >> setup.cfg <<-EOF || die
+ [options]
+ zip_safe = False
+ EOF
+
+ # Drop hashes to force rebuild of cython based .c code
+ rm cythonize.dat || die
+
+ # TODO
+ sed -e 's:test_magic_square_sparse_no_presolve:_&:' \
+ -i scipy/optimize/tests/test_linprog.py || die
+ sed -e "s:== 'levy_stable':in ('levy_stable', 'crystalball', 'ncf'):" \
+ -i scipy/stats/tests/test_continuous_basic.py || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_configure_all() {
+ # bug 721860
+ test-flag-FC -fallow-argument-mismatch &&
+ append-fflags -fallow-argument-mismatch
+}
+
+python_compile() {
+ # FIXME: parallel python building fails, bug #614464
+ export MAKEOPTS=-j1
+
+ ${EPYTHON} tools/cythonize.py || die
+ distutils-r1_python_compile \
+ ${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}/lib" || die "no ${TEST_DIR} available"
+ PYTHONPATH=. "${EPYTHON}" -c "
+import scipy, sys
+r = scipy.test('fast', verbose=2)
+sys.exit(0 if r else 1)" || die "Tests fail with ${EPYTHON}"
+}
+
+python_install_all() {
+ use doc && \
+ local DOCS=( "${DISTDIR}"/${PN}-${DOC_PV}-ref.pdf ) \
+ local HTML_DOCS=( "${WORKDIR}"/html/. )
+ distutils-r1_python_install_all
+}
+
+python_install() {
+ distutils-r1_python_install ${SCIPY_FCONFIG}
+ python_optimize
+}
+
+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"
+}
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2020-10-19 8:13 Michał Górny
0 siblings, 0 replies; 209+ messages in thread
From: Michał Górny @ 2020-10-19 8:13 UTC (permalink / raw
To: gentoo-commits
commit: 6d71c30273359ddb890fb2eed49d615e5bc44b6c
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 19 06:51:04 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Oct 19 08:13:54 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d71c302
dev-python/scipy: Bump to 1.5.3
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/Manifest | 3 +
dev-python/scipy/scipy-1.5.3.ebuild | 160 ++++++++++++++++++++++++++++++++++++
2 files changed, 163 insertions(+)
diff --git a/dev-python/scipy/Manifest b/dev-python/scipy/Manifest
index 7677a3c2048..ecea6fa05fb 100644
--- a/dev-python/scipy/Manifest
+++ b/dev-python/scipy/Manifest
@@ -7,3 +7,6 @@ DIST scipy-1.4.1.tar.gz 24555206 BLAKE2B e35f6234404839cbd24d463c8cc2f1ea66aed91
DIST scipy-1.5.2-html.zip 23166876 BLAKE2B a90d6a2eb25c56147c0c1cccb58cddd230c20cd70dcc5c39b7307acaeac5320ff1c6ed46e3027ec40f604db503a90620cf87212e45f3158c667ec20d95bac649 SHA512 35c675821675844b163eacdaf448173edb78adb5e9f3e438a70809b8b59425a987fd3ed7d6f7863612111ece4a6a36504279ef4492166f5e24a9b2c7ea9d21e7
DIST scipy-1.5.2-ref.pdf 33462200 BLAKE2B 5784612eb41221a02520778d72341702a7dd4ee8c0147592e170054107219b03af4ccebe1f5e2a57f90f3b892455f95ec45d8eac8e4a7155e21e9ae0526b302f SHA512 15961b7280eb903d2db7a05915b94b3c298cabf68a6694da217680e23fe621885dd169dc88a033ee001a89bc6e6b13ef787ec61009f6ffe38aeaa2dfb84f8a47
DIST scipy-1.5.2.tar.gz 25423944 BLAKE2B 0a4987da0cde4f33bbb0e2be571b59e9064b1c6554c61c1655100abdecfde54d64845cd30c5b3fcac3ae7426572757aa9a66065dd3b48e6e4cdd4d0ea847868e SHA512 45463df30a0f6270d9f4cf52235f31607904a6ae1375e12600e7f1ab2d27b1dc25a6211b49dceb71506be22c756890adaf9f81d9e6be7455def86c9caf0dc923
+DIST scipy-1.5.3-html.zip 23172844 BLAKE2B eb90cb6d54ff1a6afeff387baccc273df4491a5d37202afa2a8dcebc29ecacf11784e2427fd9b91db954d13c418dae26619d172487515747f49ef6e41f793310 SHA512 cd7131efeccef2095955a3f6d5260d6f3d6d038668d686e556acf87f7aa4d85df576474b4feb7939c3eba51e81dc264590813483427db22038a09164f44f75b0
+DIST scipy-1.5.3-ref.pdf 33463958 BLAKE2B 58939157eb5473278e1cde11a992082824e23220a83c6b3b87f219a12d7449a2290ce845e62d04fdbffb58ab9f6598da153b9ab75a139a071944e73738f19a1f SHA512 66dcb4e507f3f29ad82cc989e93dabe55e7c8147795ed8ed419c15ab50b0d6612e63dd918cab0640ab2085c68b1d14a3981d6da089baa4b4c2d302846aa4c496
+DIST scipy-1.5.3.tar.gz 25234560 BLAKE2B 734f29b7e3f6591b265ec43e173d1303683e2fcfa493cc03d71222fb34ccbc1bb6498d0a9c814d7cb3b08f8d82f06829a2280e46bab733f1c4d6c57742555d70 SHA512 ac65196179663905cf813e023cbbc4c0ef42948425d8190db9218339e23dc3a53e788759f0d7bb986395f8b86f6e97f5de87704ef70445d9f9c10c4ceee8e104
diff --git a/dev-python/scipy/scipy-1.5.3.ebuild b/dev-python/scipy/scipy-1.5.3.ebuild
new file mode 100644
index 00000000000..a3d305b0846
--- /dev/null
+++ b/dev-python/scipy/scipy-1.5.3.ebuild
@@ -0,0 +1,160 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_{6..9} )
+PYTHON_REQ_USE="threads(+)"
+
+DOC_PV=${PV}
+
+inherit fortran-2 distutils-r1 flag-o-matic multiprocessing toolchain-funcs
+
+DESCRIPTION="Scientific algorithms library for Python"
+HOMEPAGE="https://www.scipy.org/"
+SRC_URI="
+ mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
+ doc? (
+ https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${PV}.zip -> ${PN}-${DOC_PV}-html.zip
+ https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-ref-${PV}.pdf -> ${PN}-${DOC_PV}-ref.pdf
+ )"
+
+LICENSE="BSD LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="doc 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.29.13[${PYTHON_USEDEP}]
+ >=dev-python/setuptools-36[${PYTHON_USEDEP}]
+ dev-python/pybind11[${PYTHON_USEDEP}]
+ virtual/pkgconfig
+ doc? ( app-arch/unzip )
+ test? (
+ dev-python/nose[${PYTHON_USEDEP}]
+ dev-python/pytest[${PYTHON_USEDEP}]
+ )"
+RDEPEND="${CDEPEND}
+ dev-python/pillow[${PYTHON_USEDEP}]"
+
+DOCS=( HACKING.rst.txt THANKS.txt )
+
+DISTUTILS_IN_SOURCE_BUILD=1
+
+src_unpack() {
+ default
+ if use doc; then
+ unzip -qo "${DISTDIR}"/${PN}-${DOC_PV}-html.zip -d html || die
+ fi
+}
+
+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
+ cat >> setup.cfg <<-EOF || die
+ [options]
+ zip_safe = False
+ EOF
+
+ # Drop hashes to force rebuild of cython based .c code
+ rm cythonize.dat || die
+
+ # TODO
+ sed -e 's:test_magic_square_sparse_no_presolve:_&:' \
+ -i scipy/optimize/tests/test_linprog.py || die
+ sed -e "s:== 'levy_stable':in ('levy_stable', 'crystalball', 'ncf'):" \
+ -i scipy/stats/tests/test_continuous_basic.py || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_configure_all() {
+ # bug 721860
+ test-flag-FC -fallow-argument-mismatch &&
+ append-fflags -fallow-argument-mismatch
+}
+
+python_compile() {
+ # FIXME: parallel python building fails, bug #614464
+ export MAKEOPTS=-j1
+
+ ${EPYTHON} tools/cythonize.py || die
+ distutils-r1_python_compile \
+ ${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}/lib" || die "no ${TEST_DIR} available"
+ PYTHONPATH=. "${EPYTHON}" -c "
+import scipy, sys
+r = scipy.test('fast', verbose=2)
+sys.exit(0 if r else 1)" || die "Tests fail with ${EPYTHON}"
+}
+
+python_install_all() {
+ use doc && \
+ local DOCS=( "${DISTDIR}"/${PN}-${DOC_PV}-ref.pdf ) \
+ local HTML_DOCS=( "${WORKDIR}"/html/. )
+ distutils-r1_python_install_all
+}
+
+python_install() {
+ distutils-r1_python_install ${SCIPY_FCONFIG}
+ python_optimize
+}
+
+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"
+}
^ permalink raw reply related [flat|nested] 209+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/
@ 2020-09-18 15:43 Michał Górny
0 siblings, 0 replies; 209+ messages in thread
From: Michał Górny @ 2020-09-18 15:43 UTC (permalink / raw
To: gentoo-commits
commit: 6be5c40f0ea8b4735bd8b8fcf884fb715c004946
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 18 15:39:00 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Sep 18 15:40:03 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6be5c40f
dev-python/scipy: Remove old
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/Manifest | 6 --
dev-python/scipy/scipy-1.5.0.ebuild | 154 ------------------------------------
dev-python/scipy/scipy-1.5.1.ebuild | 154 ------------------------------------
3 files changed, 314 deletions(-)
diff --git a/dev-python/scipy/Manifest b/dev-python/scipy/Manifest
index 9ed4593e3fc..7677a3c2048 100644
--- a/dev-python/scipy/Manifest
+++ b/dev-python/scipy/Manifest
@@ -4,12 +4,6 @@ DIST scipy-1.1.0.tar.gz 15583560 BLAKE2B 477753e622ee26a3bc8c2cb6829410152df84b2
DIST scipy-1.4.1-html.zip 61414053 BLAKE2B e1f0c1a7a8941958512dcc3c0f40ef4a590bab0b44b33f842bc6e1c5d103c17f223d8b0a2f4e564f57645d601d4d74005c1ec605be2dd3bf4db19d2ac1f614d1 SHA512 9eeae83cd723d63aa1dc7a610ce3118cb68a2336be24cbfeaa8e57b34de413b2efa2fdad0978eb5bdac0ebca6b15f564b9509637efbd87d1007c969ae954e3ae
DIST scipy-1.4.1-ref.pdf 41100747 BLAKE2B 8e56af69d0bffbe6eff73bfc5bb674aed3b80bdd80d59b58a1835f996c992306a059c2992d74c411e762490c526262753d33273613ed389928845c65eb6546b2 SHA512 76946f3b506fe22a595b70e5a418982257dd59db1a2e9af508cc1cab59d47ba4fc5951388e676f2a513043a6b3391ef853242e78d7feb99a6c21d19f6dca2b58
DIST scipy-1.4.1.tar.gz 24555206 BLAKE2B e35f6234404839cbd24d463c8cc2f1ea66aed91534e700fd54a623df40d069b14fc220f96af04c78d13b773bfc5461559e59b0bd9b836d7953f9249ccd7cae54 SHA512 79407a2cbb4ba29c0941570181df4d7835e5791e50a3abef9b63c2fc5b15308a2e4964eb71cdebbee8cd2dcb8e497cf92fe50ee21fb12cac3013ea5e0466b25d
-DIST scipy-1.5.0-html.zip 23579592 BLAKE2B 6e35a881967d38db67278d6990fbb1912238bca05c7064585aaaf849861371680c2cd5d3e9a150301c29984aa12db0eeebf5f23cb7d2a438edb28fed9654ac79 SHA512 a1dcf9c2d003b1f722a216c8bf0fda7022765c01505343e86da64ec9a4dbda4eb7da74ad09147e5b79e610f090740d19bda6017d6f894f2566547a42e8aa97b3
-DIST scipy-1.5.0-ref.pdf 33694300 BLAKE2B a7701cdfd8f6da71b59efcefca5c080426b175976429cb64d47f05f42795fea3abb6764c2e2d1807f215c9e00ccd5b2de254f1c68269b266492dfaf76f887972 SHA512 3208ab84421fbec0597931c6050666e9da7d21c6e73a685f084e9570a39539e9c2e5f7fbdfe27951b2ba8e51a1bc42b06ddd6c906a6a13c81a34a16dc0672dda
-DIST scipy-1.5.0.tar.gz 25573194 BLAKE2B f505e5f0627687aeefe0af0886b03eead9f6426f17bca21a3f73cc0d4957ac574e0123b86424ccf0d5f8f4a963b707a1443ddcd6e149f2a4e747daa55b1be95c SHA512 4c981a3125a88593cbc5a17417022a5db8f6ccb4c1c24e78afeb9bb26428b81d2d0fe9965caa418753b1bbbda2fa30533fa1307aac6ab168458d68f7b46049be
-DIST scipy-1.5.1-html.zip 23582280 BLAKE2B 97b256bc7367836f35ce7e0ac47436dd72c1afe249dea1a2f437ea883e74ecb8f5bbe22e20bb804aac66b86fb35e8b4f0e329c44d9d601318ef1accc82e8e850 SHA512 eb0c7736d2bdc9f45926d19f4a22e1168d0f06e21b338cd7e7884af79c7634885350c510251d4cd1629b2a294003e93f8e71bafd8ec64c1aea4d4174c3946597
-DIST scipy-1.5.1-ref.pdf 33698325 BLAKE2B 6ff0d13474acf2960352580765c86ef54faa9bb616b4b8097665fa3b8a3a6033acb524d5bb76757b23d0ea9550b556293509a91e5cbeb7b0a388ea75d1bec29b SHA512 c0fbebb5dec19aebe7783507ccebf28134227096caad915e1f28f963386a07b1246fa624e4680691809c5ba31a09d3dd6e4f27f9e86f5985f8a7eecb1eea82d3
-DIST scipy-1.5.1.tar.gz 25575560 BLAKE2B e431a54f1810590b75d0f115bdbcd3c561d0d918664d91654fa4f2583d4d2807deae36b3293be0a5add650fb5d99f744e1d893d369f6053741d863e2826dcc3c SHA512 d46abaaa52e5521d8f3f6d79f58c8473a8649faa01e93d250d2ee19d5778e31c13aaa855bd8f059ddc1424ae13001f15a41f240fa6b0acf3ffd911ea30da1040
DIST scipy-1.5.2-html.zip 23166876 BLAKE2B a90d6a2eb25c56147c0c1cccb58cddd230c20cd70dcc5c39b7307acaeac5320ff1c6ed46e3027ec40f604db503a90620cf87212e45f3158c667ec20d95bac649 SHA512 35c675821675844b163eacdaf448173edb78adb5e9f3e438a70809b8b59425a987fd3ed7d6f7863612111ece4a6a36504279ef4492166f5e24a9b2c7ea9d21e7
DIST scipy-1.5.2-ref.pdf 33462200 BLAKE2B 5784612eb41221a02520778d72341702a7dd4ee8c0147592e170054107219b03af4ccebe1f5e2a57f90f3b892455f95ec45d8eac8e4a7155e21e9ae0526b302f SHA512 15961b7280eb903d2db7a05915b94b3c298cabf68a6694da217680e23fe621885dd169dc88a033ee001a89bc6e6b13ef787ec61009f6ffe38aeaa2dfb84f8a47
DIST scipy-1.5.2.tar.gz 25423944 BLAKE2B 0a4987da0cde4f33bbb0e2be571b59e9064b1c6554c61c1655100abdecfde54d64845cd30c5b3fcac3ae7426572757aa9a66065dd3b48e6e4cdd4d0ea847868e SHA512 45463df30a0f6270d9f4cf52235f31607904a6ae1375e12600e7f1ab2d27b1dc25a6211b49dceb71506be22c756890adaf9f81d9e6be7455def86c9caf0dc923
diff --git a/dev-python/scipy/scipy-1.5.0.ebuild b/dev-python/scipy/scipy-1.5.0.ebuild
deleted file mode 100644
index 21948a8eb2c..00000000000
--- a/dev-python/scipy/scipy-1.5.0.ebuild
+++ /dev/null
@@ -1,154 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_{6..9} )
-PYTHON_REQ_USE="threads(+)"
-
-DOC_PV=${PV}
-
-inherit fortran-2 distutils-r1 flag-o-matic multiprocessing toolchain-funcs
-
-DESCRIPTION="Scientific algorithms library for Python"
-HOMEPAGE="https://www.scipy.org/"
-SRC_URI="
- mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
- doc? (
- https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${PV}.zip -> ${PN}-${DOC_PV}-html.zip
- https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-ref-${PV}.pdf -> ${PN}-${DOC_PV}-ref.pdf
- )"
-
-LICENSE="BSD LGPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
-IUSE="doc 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.29.13[${PYTHON_USEDEP}]
- >=dev-python/setuptools-36[${PYTHON_USEDEP}]
- dev-python/pybind11[${PYTHON_USEDEP}]
- virtual/pkgconfig
- doc? ( app-arch/unzip )
- test? (
- dev-python/nose[${PYTHON_USEDEP}]
- dev-python/pytest[${PYTHON_USEDEP}]
- )"
-RDEPEND="${CDEPEND}
- dev-python/pillow[${PYTHON_USEDEP}]"
-
-DOCS=( HACKING.rst.txt THANKS.txt )
-
-DISTUTILS_IN_SOURCE_BUILD=1
-
-src_unpack() {
- default
- if use doc; then
- unzip -qo "${DISTDIR}"/${PN}-${DOC_PV}-html.zip -d html || die
- fi
-}
-
-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
- cat >> setup.cfg <<-EOF || die
- [options]
- zip_safe = False
- EOF
-
- # Drop hashes to force rebuild of cython based .c code
- rm cythonize.dat || die
-
- distutils-r1_python_prepare_all
-}
-
-python_configure_all() {
- # bug 721860
- test-flag-FC -fallow-argument-mismatch &&
- append-fflags -fallow-argument-mismatch
-}
-
-python_compile() {
- # FIXME: parallel python building fails, bug #614464
- export MAKEOPTS=-j1
-
- ${EPYTHON} tools/cythonize.py || die
- distutils-r1_python_compile \
- ${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}/lib" || die "no ${TEST_DIR} available"
- PYTHONPATH=. "${EPYTHON}" -c "
-import scipy, sys
-r = scipy.test('fast', verbose=2)
-sys.exit(0 if r else 1)" || die "Tests fail with ${EPYTHON}"
-}
-
-python_install_all() {
- use doc && \
- local DOCS=( "${DISTDIR}"/${PN}-${DOC_PV}-ref.pdf ) \
- local HTML_DOCS=( "${WORKDIR}"/html/. )
- distutils-r1_python_install_all
-}
-
-python_install() {
- distutils-r1_python_install ${SCIPY_FCONFIG}
- python_optimize
-}
-
-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"
-}
diff --git a/dev-python/scipy/scipy-1.5.1.ebuild b/dev-python/scipy/scipy-1.5.1.ebuild
deleted file mode 100644
index 21948a8eb2c..00000000000
--- a/dev-python/scipy/scipy-1.5.1.ebuild
+++ /dev/null
@@ -1,154 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_{6..9} )
-PYTHON_REQ_USE="threads(+)"
-
-DOC_PV=${PV}
-
-inherit fortran-2 distutils-r1 flag-o-matic multiprocessing toolchain-funcs
-
-DESCRIPTION="Scientific algorithms library for Python"
-HOMEPAGE="https://www.scipy.org/"
-SRC_URI="
- mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
- doc? (
- https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${PV}.zip -> ${PN}-${DOC_PV}-html.zip
- https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-ref-${PV}.pdf -> ${PN}-${DOC_PV}-ref.pdf
- )"
-
-LICENSE="BSD LGPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
-IUSE="doc 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.29.13[${PYTHON_USEDEP}]
- >=dev-python/setuptools-36[${PYTHON_USEDEP}]
- dev-python/pybind11[${PYTHON_USEDEP}]
- virtual/pkgconfig
- doc? ( app-arch/unzip )
- test? (
- dev-python/nose[${PYTHON_USEDEP}]
- dev-python/pytest[${PYTHON_USEDEP}]
- )"
-RDEPEND="${CDEPEND}
- dev-python/pillow[${PYTHON_USEDEP}]"
-
-DOCS=( HACKING.rst.txt THANKS.txt )
-
-DISTUTILS_IN_SOURCE_BUILD=1
-
-src_unpack() {
- default
- if use doc; then
- unzip -qo "${DISTDIR}"/${PN}-${DOC_PV}-html.zip -d html || die
- fi
-}
-
-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
- cat >> setup.cfg <<-EOF || die
- [options]
- zip_safe = False
- EOF
-
- # Drop hashes to force rebuild of cython based .c code
- rm cythonize.dat || die
-
- distutils-r1_python_prepare_all
-}
-
-python_configure_all() {
- # bug 721860
- test-flag-FC -fallow-argument-mismatch &&
- append-fflags -fallow-argument-mismatch
-}
-
-python_compile() {
- # FIXME: parallel python building fails, bug #614464
- export MAKEOPTS=-j1
-
- ${EPYTHON} tools/cythonize.py || die
- distutils-r1_python_compile \
- ${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}/lib" || die "no ${TEST_DIR} available"
- PYTHONPATH=. "${EPYTHON}" -c "
-import scipy, sys
-r = scipy.test('fast', verbose=2)
-sys.exit(0 if r else 1)" || die "Tests fail with ${EPYTHON}"
-}
-
-python_install_all() {
- use doc && \
- local DOCS=( "${DISTDIR}"/${PN}-${DOC_PV}-ref.pdf ) \
- local HTML_DOCS=( "${WORKDIR}"/html/. )
- distutils-r1_python_install_all
-}
-
-python_install() {
- distutils-r1_python_install ${SCIPY_FCONFIG}
- python_optimize
-}
-
-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"
-}
^ permalink raw reply related [flat|nested] 209+ messages in thread
end of thread, other threads:[~2024-09-22 0:42 UTC | newest]
Thread overview: 209+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-08 19:39 [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/ Arthur Zamarin
-- strict thread matches above, loose matches on Subject: below --
2024-09-22 0:42 Sam James
2024-09-07 13:21 Jakov Smolić
2024-09-07 11:26 Jakov Smolić
2024-09-07 10:58 Michał Górny
2024-09-07 10:39 Arthur Zamarin
2024-08-21 15:06 Michał Górny
2024-07-31 3:53 Eli Schwartz
2024-07-13 15:18 Arthur Zamarin
2024-07-13 11:05 Arthur Zamarin
2024-07-13 10:06 Arthur Zamarin
2024-07-13 9:55 Arthur Zamarin
2024-07-13 8:28 Arthur Zamarin
2024-07-07 1:02 Ionen Wolkens
2024-07-07 1:02 Ionen Wolkens
2024-07-05 19:46 Viorel Munteanu
2024-06-27 19:09 Michał Górny
2024-06-27 18:54 Patrick McLean
2024-06-25 8:01 Michał Górny
2024-06-08 7:28 Arthur Zamarin
2024-05-24 19:32 Michał Górny
2024-05-20 16:25 Sam James
2024-05-20 16:25 Sam James
2024-04-03 18:51 Michał Górny
2024-03-20 12:50 Michał Górny
2024-02-08 17:10 Arthur Zamarin
2024-02-08 15:28 Michał Górny
2024-01-21 6:21 Michał Górny
2024-01-16 5:47 Sam James
2023-12-09 17:02 Michał Górny
2023-12-09 16:45 Arthur Zamarin
2023-12-09 15:13 Michał Górny
2023-12-09 14:37 Michał Górny
2023-12-09 14:00 Michał Górny
2023-11-25 10:14 Arthur Zamarin
2023-11-25 10:13 Arthur Zamarin
2023-11-20 7:03 Sam James
2023-11-19 20:38 Michał Górny
2023-11-19 20:07 Arthur Zamarin
2023-11-19 20:06 Arthur Zamarin
2023-11-19 16:01 Michał Górny
2023-11-19 13:31 Michał Górny
2023-11-18 20:13 Michał Górny
2023-11-15 17:13 Sam James
2023-11-15 16:34 Arthur Zamarin
2023-10-29 3:40 Sam James
2023-10-24 21:11 Michał Górny
2023-09-28 16:43 Michał Górny
2023-09-25 18:31 Arthur Zamarin
2023-09-25 17:33 Arthur Zamarin
2023-09-25 16:57 Arthur Zamarin
2023-09-25 16:54 Arthur Zamarin
2023-08-22 12:00 Sam James
2023-08-21 11:25 Sam James
2023-08-21 11:25 Sam James
2023-08-18 5:16 Michał Górny
2023-07-19 9:18 Benda XU
2023-06-29 15:09 Michał Górny
2023-06-28 23:04 Sam James
2023-06-28 23:04 Sam James
2023-06-26 13:23 Sam James
2023-06-26 13:14 Sam James
2023-04-28 4:32 Michał Górny
2023-04-27 23:31 Sam James
2023-04-25 16:05 Michał Górny
2023-04-25 15:00 Michał Górny
2023-04-25 15:00 Michał Górny
2023-04-23 19:30 Michał Górny
2023-04-20 21:52 Sam James
2023-04-20 21:52 Sam James
2023-04-14 20:46 Sam James
2023-04-06 7:58 Arthur Zamarin
2023-04-06 7:56 Arthur Zamarin
2023-03-24 20:48 Arthur Zamarin
2023-03-24 20:44 Arthur Zamarin
2023-03-24 20:34 Arthur Zamarin
2023-03-24 20:13 Arthur Zamarin
2023-02-20 6:24 Michał Górny
2023-01-28 14:18 Arthur Zamarin
2023-01-28 14:18 Arthur Zamarin
2023-01-28 14:15 Arthur Zamarin
2023-01-28 14:15 Arthur Zamarin
2023-01-28 12:08 Arthur Zamarin
2023-01-28 9:08 Sam James
2023-01-28 9:06 Sam James
2023-01-28 9:06 Sam James
2023-01-28 9:06 Sam James
2023-01-28 9:06 Sam James
2023-01-28 9:06 Sam James
2023-01-28 9:06 Sam James
2023-01-05 9:02 Sam James
2023-01-05 8:53 Sam James
2023-01-05 8:50 Sam James
2023-01-05 8:50 Sam James
2022-12-25 9:17 Michał Górny
2022-12-01 19:05 Arthur Zamarin
2022-11-30 19:16 Arthur Zamarin
2022-11-30 19:15 Arthur Zamarin
2022-11-30 14:43 Arthur Zamarin
2022-11-26 21:12 Michał Górny
2022-11-21 16:09 Michał Górny
2022-11-14 9:24 Arthur Zamarin
2022-11-12 16:31 Arthur Zamarin
2022-11-04 0:26 Sam James
2022-11-04 0:23 Sam James
2022-10-27 1:18 Sam James
2022-10-25 8:07 Sam James
2022-10-25 8:07 Sam James
2022-10-24 6:37 Agostino Sarubbo
2022-10-23 7:52 Agostino Sarubbo
2022-10-23 7:52 Agostino Sarubbo
2022-10-23 7:51 Agostino Sarubbo
2022-10-21 7:48 Michał Górny
2022-10-09 16:10 Sam James
2022-10-09 16:10 Sam James
2022-10-09 0:09 Sam James
2022-10-09 0:04 Sam James
2022-10-08 23:56 Sam James
2022-10-08 23:56 Sam James
2022-09-21 4:05 Sam James
2022-08-30 16:42 Sam James
2022-08-01 18:08 Arthur Zamarin
2022-07-31 23:02 Sam James
2022-07-31 17:12 Arthur Zamarin
2022-07-31 16:05 Jakov Smolić
2022-07-31 2:59 Sam James
2022-07-31 2:42 Sam James
2022-07-31 2:42 Sam James
2022-07-30 9:40 Sam James
2022-07-30 9:31 Sam James
2022-07-30 9:20 Sam James
2022-07-24 20:51 Sam James
2022-07-05 1:57 Sam James
2022-06-25 1:33 Sam James
2022-06-23 8:58 Agostino Sarubbo
2022-06-22 13:23 Agostino Sarubbo
2022-06-22 10:16 Agostino Sarubbo
2022-06-22 10:14 Agostino Sarubbo
2022-06-22 10:13 Agostino Sarubbo
2022-06-22 10:10 Agostino Sarubbo
2022-05-19 3:01 Sam James
2022-05-17 11:11 Michał Górny
2022-05-17 9:24 Agostino Sarubbo
2022-05-11 12:55 Agostino Sarubbo
2022-05-07 14:30 Jakov Smolić
2022-03-21 9:18 Jakov Smolić
2022-03-19 7:53 Agostino Sarubbo
2022-03-18 22:28 Michał Górny
2022-03-18 20:55 Arthur Zamarin
2022-03-18 8:57 Arthur Zamarin
2022-02-13 21:29 Jakov Smolić
2021-12-28 19:50 Arthur Zamarin
2021-12-23 22:46 Michał Górny
2021-12-23 22:43 Sam James
2021-12-21 7:20 Agostino Sarubbo
2021-12-19 22:06 Agostino Sarubbo
2021-12-19 11:08 Sam James
2021-12-18 20:00 Arthur Zamarin
2021-11-29 23:58 Sam James
2021-11-26 15:33 Arthur Zamarin
2021-11-25 1:32 Sam James
2021-11-25 0:32 Sam James
2021-11-18 11:15 Sam James
2021-11-17 22:47 Sam James
2021-11-14 23:51 Sam James
2021-11-14 6:32 Sam James
2021-11-14 6:07 Sam James
2021-11-14 3:23 Sam James
2021-11-11 9:18 Jakov Smolić
2021-11-06 5:53 Sam James
2021-11-05 18:09 Sam James
2021-11-05 18:09 Sam James
2021-11-05 18:02 Sam James
2021-11-05 18:02 Sam James
2021-11-05 18:01 Sam James
2021-11-05 7:36 Sam James
2021-11-05 7:36 Sam James
2021-11-05 6:04 Sam James
2021-11-05 5:57 Sam James
2021-11-05 5:56 Sam James
2021-11-05 5:14 Sam James
2021-11-05 2:29 Sam James
2021-10-24 21:14 Sam James
2021-10-19 0:12 Sam James
2021-10-12 7:42 Marek Szuba
2021-10-04 1:52 Sam James
2021-10-02 23:17 Sam James
2021-09-25 21:37 Michał Górny
2021-09-25 13:23 Michał Górny
2021-09-25 13:23 Michał Górny
2021-07-02 10:12 Marek Szuba
2021-06-19 16:18 Michał Górny
2021-06-06 7:14 Agostino Sarubbo
2021-05-31 20:42 Michał Górny
2021-05-31 7:58 Sam James
2021-05-07 13:28 Sam James
2021-05-06 22:34 Sam James
2021-04-26 8:33 Michał Górny
2021-03-31 10:14 Michał Górny
2021-03-25 23:42 Sam James
2021-03-25 18:10 Agostino Sarubbo
2021-03-01 9:20 Agostino Sarubbo
2021-02-25 13:09 Sam James
2021-02-20 10:10 Michał Górny
2021-01-24 11:58 Agostino Sarubbo
2020-12-31 20:22 Michał Górny
2020-11-05 12:41 Michał Górny
2020-10-19 8:13 Michał Górny
2020-09-18 15:43 Michał Górny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox