From 2eb9743ff9bb1999fa3671f852c70a86f494fb4b Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Sun, 14 Jul 2024 05:43:47 +0000 Subject: Adding metadata --- dev-python/apsw/Manifest | 2 - dev-python/apsw/apsw-3.45.3.0.ebuild | 51 ------ dev-python/apsw/apsw-3.46.0.0.ebuild | 51 ------ dev-python/argh/Manifest | 1 + dev-python/argh/argh-0.31.3.ebuild | 28 ++++ dev-python/blosc/Manifest | 1 - dev-python/blosc/blosc-1.11.1.ebuild | 68 -------- dev-python/blosc/files/blosc-1.11.1-numpy-2.patch | 51 ------ dev-python/colored-traceback/Manifest | 1 + .../colored-traceback-0.4.2.ebuild | 24 +++ dev-python/hypothesis/Manifest | 1 + dev-python/hypothesis/hypothesis-6.108.0.ebuild | 103 +++++++++++++ dev-python/livereload/Manifest | 1 - dev-python/livereload/livereload-2.6.3-r1.ebuild | 49 ------ dev-python/livereload/livereload-2.7.0.ebuild | 2 +- dev-python/pip-run/Manifest | 1 + dev-python/pip-run/pip-run-12.7.0.ebuild | 50 ++++++ dev-python/portalocker/Manifest | 1 + dev-python/portalocker/portalocker-2.10.1.ebuild | 45 ++++++ dev-python/reportlab/Manifest | 1 - dev-python/reportlab/reportlab-4.2.0.ebuild | 53 ------- dev-python/scikit-build-core/Manifest | 1 - .../scikit-build-core-0.9.6.ebuild | 63 -------- dev-python/scipy/Manifest | 9 -- dev-python/scipy/files/scipy-1.13.1-test.patch | 46 ------ dev-python/scipy/scipy-1.11.3-r2.ebuild | 150 ------------------ dev-python/scipy/scipy-1.11.4-r1.ebuild | 150 ------------------ dev-python/scipy/scipy-1.12.0-r1.ebuild | 151 ------------------ dev-python/scipy/scipy-1.13.0.ebuild | 166 -------------------- dev-python/scipy/scipy-1.13.1.ebuild | 171 --------------------- dev-python/zstandard/zstandard-0.22.0-r1.ebuild | 80 ++++++++++ 31 files changed, 336 insertions(+), 1236 deletions(-) delete mode 100644 dev-python/apsw/apsw-3.45.3.0.ebuild delete mode 100644 dev-python/apsw/apsw-3.46.0.0.ebuild create mode 100644 dev-python/argh/argh-0.31.3.ebuild delete mode 100644 dev-python/blosc/blosc-1.11.1.ebuild delete mode 100644 dev-python/blosc/files/blosc-1.11.1-numpy-2.patch create mode 100644 dev-python/colored-traceback/colored-traceback-0.4.2.ebuild create mode 100644 dev-python/hypothesis/hypothesis-6.108.0.ebuild delete mode 100644 dev-python/livereload/livereload-2.6.3-r1.ebuild create mode 100644 dev-python/pip-run/pip-run-12.7.0.ebuild create mode 100644 dev-python/portalocker/portalocker-2.10.1.ebuild delete mode 100644 dev-python/reportlab/reportlab-4.2.0.ebuild delete mode 100644 dev-python/scikit-build-core/scikit-build-core-0.9.6.ebuild delete mode 100644 dev-python/scipy/files/scipy-1.13.1-test.patch delete mode 100644 dev-python/scipy/scipy-1.11.3-r2.ebuild delete mode 100644 dev-python/scipy/scipy-1.11.4-r1.ebuild delete mode 100644 dev-python/scipy/scipy-1.12.0-r1.ebuild delete mode 100644 dev-python/scipy/scipy-1.13.0.ebuild delete mode 100644 dev-python/scipy/scipy-1.13.1.ebuild create mode 100644 dev-python/zstandard/zstandard-0.22.0-r1.ebuild (limited to 'dev-python') diff --git a/dev-python/apsw/Manifest b/dev-python/apsw/Manifest index 1034a60389e7..ad0fba9c1b09 100644 --- a/dev-python/apsw/Manifest +++ b/dev-python/apsw/Manifest @@ -1,3 +1 @@ -DIST apsw-3.45.3.0.gh.tar.gz 904570 BLAKE2B 644c884b6f5624c2d8b48f204a43bbb6dd8761979099e1ebad96a30acc7d79f80549e50300279b8d1061f86f8852735fa92c99df4a6c81a364391a3635464ff1 SHA512 73c09aba4ff211e98dfb3365e5f0202f85fa0a05e78f6a35fe08515e84b74ed1576e7bb5c46c77c309ba3e6acacc5681d31e5a4d3d66835d347d82af8feced74 -DIST apsw-3.46.0.0.gh.tar.gz 905622 BLAKE2B 364d3dd3a967d540f2db15fac60bb082f2bdc4fd012697be2b5b9a1cdba26f0a42697577369bf38a7e022e4c996e5b74cefcaa775618e54834e2cc4fc536e39d SHA512 cfa78dee273e64644e4ce9f0ec158342ed8fb2096e7ae7b8a28aa67016376d3f457ebcd5e612ced544d93980fc918de684e2eae3e570de082b7e613577fd021f DIST apsw-3.46.0.1.gh.tar.gz 912632 BLAKE2B b2c89def11102a00dde64fa7d7546f50e302dfe4219394d3d6ddd7f66fec455a60689db61a94230f7ef9578069b08ecd826de82b4e8b019107b9a0b6a36c4271 SHA512 894cf6c49d608d9d8eff369dcf42dd3b2f5174cd98a2c471f41773e2c1474c13d31f08402d053fd0869acb5c038e26543caa345d205c46bd3b3ec6aaecda5089 diff --git a/dev-python/apsw/apsw-3.45.3.0.ebuild b/dev-python/apsw/apsw-3.45.3.0.ebuild deleted file mode 100644 index 5d81a128f396..000000000000 --- a/dev-python/apsw/apsw-3.45.3.0.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="APSW - Another Python SQLite Wrapper" -HOMEPAGE=" - https://github.com/rogerbinns/apsw/ - https://pypi.org/project/apsw/ -" -SRC_URI=" - https://github.com/rogerbinns/apsw/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="ZLIB" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 x86" -IUSE="doc" - -DEPEND=" - >=dev-db/sqlite-${PV%.*}:3 -" -RDEPEND=" - ${DEPEND} -" - -src_configure() { - cat >> setup.cfg <<-EOF || die - [build_ext] - enable=load_extension - use_system_sqlite_config=True - EOF -} - -python_test() { - esetup.py build_test_extension - cd "${T}" || die - "${EPYTHON}" -m apsw.tests -v || die "Tests failed under ${EPYTHON}" -} - -python_install_all() { - use doc && local HTML_DOCS=( doc/. ) - distutils-r1_python_install_all -} diff --git a/dev-python/apsw/apsw-3.46.0.0.ebuild b/dev-python/apsw/apsw-3.46.0.0.ebuild deleted file mode 100644 index cd1426156f2e..000000000000 --- a/dev-python/apsw/apsw-3.46.0.0.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="APSW - Another Python SQLite Wrapper" -HOMEPAGE=" - https://github.com/rogerbinns/apsw/ - https://pypi.org/project/apsw/ -" -SRC_URI=" - https://github.com/rogerbinns/apsw/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="ZLIB" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" -IUSE="doc" - -DEPEND=" - >=dev-db/sqlite-${PV%.*}:3 -" -RDEPEND=" - ${DEPEND} -" - -src_configure() { - cat >> setup.cfg <<-EOF || die - [build_ext] - enable=load_extension - use_system_sqlite_config=True - EOF -} - -python_test() { - esetup.py build_test_extension - cd "${T}" || die - "${EPYTHON}" -m apsw.tests -v || die "Tests failed under ${EPYTHON}" -} - -python_install_all() { - use doc && local HTML_DOCS=( doc/. ) - distutils-r1_python_install_all -} diff --git a/dev-python/argh/Manifest b/dev-python/argh/Manifest index 30e42a925157..611118f34f4b 100644 --- a/dev-python/argh/Manifest +++ b/dev-python/argh/Manifest @@ -1 +1,2 @@ DIST argh-0.31.2.tar.gz 57200 BLAKE2B e5ba440d08d8f5655d237d61ab65fef02296d28d0562945e56dfa6598deafa6cc288d88e625c4acabfa2eeda359f970679db1e7424d77e0278b65fbe15c8b499 SHA512 2e0d926cae88d6830706f631aa2220654777dcc1a4263af889064d4c805616fce368c90e871a393490b9590f82759f56b2434afeba468e7720f99d85c8b75dd1 +DIST argh-0.31.3.tar.gz 57570 BLAKE2B cb88813701f42657a8e89cab46be367c751ae59cc05d5eba9cebd77d375a73413b33e76d48bf84b42559fcf25f3d4b87473b124346fd4f3ba5433e60204b06a1 SHA512 c3335f975e612332ee9e3479f4517f356bacaad77f0df1e8660d5306257a8e32b139cdaa49c2c4bfa234f32e39e324182de997313c43ea4f45f2e11de7e2a24c diff --git a/dev-python/argh/argh-0.31.3.ebuild b/dev-python/argh/argh-0.31.3.ebuild new file mode 100644 index 000000000000..c8775dc755b5 --- /dev/null +++ b/dev-python/argh/argh-0.31.3.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="A simple argparse wrapper" +HOMEPAGE=" + https://pythonhosted.org/argh/ + https://github.com/neithere/argh/ + https://pypi.org/project/argh/ +" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + test? ( + dev-python/iocapture[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/blosc/Manifest b/dev-python/blosc/Manifest index ac1040693d95..16659d2bec3f 100644 --- a/dev-python/blosc/Manifest +++ b/dev-python/blosc/Manifest @@ -1,2 +1 @@ -DIST python-blosc-1.11.1.gh.tar.gz 111262 BLAKE2B cb348253a24258d2649ebc0604acbf936b8ccc2b28c42c69da2fee72ddf87eb17a24657bc5d3c0530193a60f482555ce4cc5d168a18d9c2d79a13410d40670bc SHA512 21f8a697a3a902860a6ed72233984cf00c464ec0ddde9842a0c24b1e8e5ec4dd57b872096445a873d162d7529cba5c3666ba2a3ee3f9b1b18107d9636011281c DIST python-blosc-1.11.2.gh.tar.gz 99160 BLAKE2B 79176961221a2dcdf389165b3ed0e629201605f806aca3e1ada1dd9b35c1acf13ea7fa6692a762f5e31270df327751642256a1c5bafb14fbed48ef69c6b9745c SHA512 56a53828669ac9d1452b247b8aad6bdfcb71ecffe9b8c7723e4405825704506946f150f54633b7e0886160255e5619c698b97847963c909e14c97808c04f39ab diff --git a/dev-python/blosc/blosc-1.11.1.ebuild b/dev-python/blosc/blosc-1.11.1.ebuild deleted file mode 100644 index 260a6143c5e6..000000000000 --- a/dev-python/blosc/blosc-1.11.1.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 - -MY_P=python-blosc-${PV} -DESCRIPTION="High performance compressor optimized for binary data" -HOMEPAGE=" - https://www.blosc.org/ - https://github.com/Blosc/python-blosc/ - https://pypi.org/project/blosc/ -" -SRC_URI=" - https://github.com/Blosc/python-blosc/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-libs/c-blosc-1.19.0:= -" -DEPEND=" - ${RDEPEND} -" -# py-cpuinfo dep is irrelevant for us, as it is only used to configure -# bundled c-blosc build -BDEPEND=" - dev-python/scikit-build[${PYTHON_USEDEP}] - test? ( - dev-python/numpy[${PYTHON_USEDEP}] - ) -" - -DOCS=( ANNOUNCE.rst README.rst RELEASE_NOTES.rst ) - -PATCHES=( - # https://github.com/Blosc/python-blosc/pull/329 - "${FILESDIR}/${P}-numpy-2.patch" -) - -src_configure() { - export USE_SYSTEM_BLOSC=1 - export BLOSC_DIR="${EPREFIX}/usr" -} - -python_compile() { - distutils-r1_python_compile - - # scikit-build is broken and reuses the same build - # https://github.com/scikit-build/scikit-build/issues/633 - rm -r _skbuild || die -} - -python_test() { - "${EPYTHON}" -m blosc.test -v || die -} diff --git a/dev-python/blosc/files/blosc-1.11.1-numpy-2.patch b/dev-python/blosc/files/blosc-1.11.1-numpy-2.patch deleted file mode 100644 index 97010c0a4bf6..000000000000 --- a/dev-python/blosc/files/blosc-1.11.1-numpy-2.patch +++ /dev/null @@ -1,51 +0,0 @@ -From 4823cb746023821166756322becd3fc242cd0b32 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= -Date: Sun, 16 Jun 2024 08:59:36 +0200 -Subject: [PATCH] Fix test failures with NumPy 2 - -* Replace deprecated `np.alltrue()` with `np.all()` (available since - NumPy 1.7.0). - -* Cast NumPy boolean to `bool()`, to ensure doctests pass both with - NumPy 2 (using `np.True_`) and NumPy 1 (using plain `True`). ---- - blosc/toplevel.py | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -diff --git a/blosc/toplevel.py b/blosc/toplevel.py -index ad9c12d..4d2d413 100644 ---- a/blosc/toplevel.py -+++ b/blosc/toplevel.py -@@ -514,7 +514,7 @@ def compress_ptr(address, items, typesize=8, clevel=9, shuffle=blosc.SHUFFLE, - items, np_array.dtype.itemsize) - >>> d = blosc.decompress(c) - >>> np_ans = numpy.fromstring(d, dtype=np_array.dtype) -- >>> (np_array == np_ans).all() -+ >>> bool((np_array == np_ans).all()) - True - - >>> import ctypes -@@ -640,7 +640,7 @@ def decompress_ptr(bytes_like, address): - items, np_array.dtype.itemsize) - >>> np_ans = numpy.empty(items, dtype=np_array.dtype) - >>> nbytes = blosc.decompress_ptr(c, np_ans.__array_interface__['data'][0]) -- >>> (np_array == np_ans).all() -+ >>> bool((np_array == np_ans).all()) - True - >>> nbytes == items * np_array.dtype.itemsize - True -@@ -769,12 +769,12 @@ def unpack_array(packed_array, **kwargs): - >>> len(parray) < a.size*a.itemsize - True - >>> a2 = blosc.unpack_array(parray) -- >>> numpy.alltrue(a == a2) -+ >>> bool(numpy.all(a == a2)) - True - >>> a = numpy.array(['å', 'ç', 'ø']) - >>> parray = blosc.pack_array(a) - >>> a2 = blosc.unpack_array(parray) -- >>> numpy.alltrue(a == a2) -+ >>> bool(numpy.all(a == a2)) - True - """ - diff --git a/dev-python/colored-traceback/Manifest b/dev-python/colored-traceback/Manifest index 821aa47eaee5..2adedaa5558f 100644 --- a/dev-python/colored-traceback/Manifest +++ b/dev-python/colored-traceback/Manifest @@ -1,3 +1,4 @@ DIST colored-traceback-0.3.0.tar.gz 3837 BLAKE2B bf79942de0d0791b567dce21609be87319da11596b90e67018ee74069ea63b072b73778283112f9f52270fef046220eff355993d38f84ecd80d895da0401a010 SHA512 013d779df231295319c29a48fe81a5ddfd1b77b1734dedf630a914bdf0ea89e19a8ec028ae40c55125209e748f4027a74d04ec816f6c6d3c21aca52d2dd58e37 DIST colored-traceback-0.4.0.tar.gz 4619 BLAKE2B 311c814820397774f466b2da1e64c1016ac4250ab4807b2c0c15bba74cf5c3b9f47fad24f6579de42af5c0c66455109fe5fe4e1611b47df2f7a37e083af23e51 SHA512 a477643ae646d93e4938351077760246d627ce4e2e7fc257dedb1b30a308c6851fbb5c265e168a3179ee60a970c8e3e0936b78ad0770f26a62027ed1b50082d2 DIST colored-traceback-0.4.1.tar.gz 4723 BLAKE2B 774a5b523650a97bca368a35ee5aec22fc8e7cc8c2f0ec4ec6dec2684bf369cdd558ac8edd0394d1f594e02b15c0caa2d694a2455ab2483a9ccc1cd95c96fc90 SHA512 0cbf100d59e251d15fd793262a6e86b4c84de89a11e9eb56e4a1886d6c94dc7e72c1a86b95d97ac0668013aad2fbde2e4787abff8847d153df8fd3ad6af6ba85 +DIST colored-traceback-0.4.2.tar.gz 4707 BLAKE2B 9a4e228b7291d4c74bc2cbee610ef750d3300fe9ee84cf2f6c668ebaf30f521eaae0ad67364936d1f537b66e30918ae729740dc604b8bd0829f9d383a847f511 SHA512 f83dcc820051cb42801d4b3020b00d20f870e9229789993716b3d03b1e834ccfc7c48cfa112de0ad8eb30f167bcb9018476e715203c4ab1dd1d7e46a8f982921 diff --git a/dev-python/colored-traceback/colored-traceback-0.4.2.ebuild b/dev-python/colored-traceback/colored-traceback-0.4.2.ebuild new file mode 100644 index 000000000000..c8faba164c41 --- /dev/null +++ b/dev-python/colored-traceback/colored-traceback-0.4.2.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Automatically color Python's uncaught exception tracebacks" +HOMEPAGE=" + https://github.com/staticshock/colored-traceback.py/ + https://pypi.org/project/colored-traceback/ +" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +RDEPEND=" + dev-python/pygments[${PYTHON_USEDEP}] +" diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 0abb827bfd58..97adefd19988 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -1,2 +1,3 @@ DIST hypothesis-6.104.1.gh.tar.gz 9466716 BLAKE2B 5ddefd5199bfb22ef8c2c2ae995de5353e7d067f044788f4cd9423cfa4674ff1c5a05760d686f4b4dd5fe9afb2b4ba1cdb38aa7d590575f79d75c460adde63ab SHA512 a9eef39e3cc8fde806cb860f47190239a680c3203ca0228450a7c999ee9618964e201c05a994835e5513f7945b3a5f830fd9fa941d4cfdf4793e5e2fb266df47 DIST hypothesis-6.107.0.gh.tar.gz 9470192 BLAKE2B 721d9ee1281600bca8387e396c1d79316db3130061ac40635f8cb8ba3cf91ad0417debe1276efb21cadf5e5f8ae856d13b82fc674313a21549adff645ce07b1f SHA512 13403073167d24e80fec4ed256a60e696b79b900a45dbd9f349b123fbefe3c7fa5daac6f35200d5198d4565033b65792cd1fd8a7816955aeddbbc0c7bb93d578 +DIST hypothesis-6.108.0.gh.tar.gz 9472307 BLAKE2B 778c0c33b29fdf933d8321f0b5f0b7c14390ee5511da2290c398c47a9c787274430a3465ab0084aece7363112a7de2465bd1ab0e00984eca067ec672915079d0 SHA512 93b3028025a3c799a796b8781551b04d1eeb9ca41b924c17a275c394f25a552d33a0fd0fa28f24bf0d39eb8dc85d4af57979d9f3321b6901ddc0c56695deef5b diff --git a/dev-python/hypothesis/hypothesis-6.108.0.ebuild b/dev-python/hypothesis/hypothesis-6.108.0.ebuild new file mode 100644 index 000000000000..6ba8058fdf38 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.108.0.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( pypy3 python3_{10..13} ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 optfeature + +TAG=hypothesis-python-${PV} +MY_P=hypothesis-${TAG} +DESCRIPTION="A library for property based testing" +HOMEPAGE=" + https://github.com/HypothesisWorks/hypothesis/ + https://pypi.org/project/hypothesis/ +" +SRC_URI=" + https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}/hypothesis-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="cli" + +RDEPEND=" + >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] + ' 3.9 3.10) + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' "${CLI_COMPAT[@]}") + ) +" +BDEPEND=" + test? ( + dev-python/pexpect[${PYTHON_USEDEP}] + >=dev-python/pytest-8[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + !! local-setup.cfg <<-EOF || die - [OPTIONS] - no-download-t1-files = 1 - EOF -} - -python_test() { - pushd tests >/dev/null || die - "${EPYTHON}" runAll.py --post-install --verbosity=2 || - die "Testing failed with ${EPYTHON}" - popd >/dev/null || die -} diff --git a/dev-python/scikit-build-core/Manifest b/dev-python/scikit-build-core/Manifest index 8f738b751755..5d4c05dd05f8 100644 --- a/dev-python/scikit-build-core/Manifest +++ b/dev-python/scikit-build-core/Manifest @@ -1,2 +1 @@ -DIST scikit_build_core-0.9.6.tar.gz 228743 BLAKE2B da5dff989ca053c9ee1abfff739d0b755bb14f9d810020e4b44ba5caad670dfe24ef99b4cb93a18ae162dca8fe21d6d09c4d692ff1406bfa3a64ca25c24aeddb SHA512 b2b1e9b4baefc360b26dfc0bbf0edef20d7b6681140ef9a413c565666869e67ddce2cdd3027f3de6af29b7ef76bd7eeb401c08f3803524706d0ace9106b63f65 DIST scikit_build_core-0.9.8.tar.gz 229845 BLAKE2B 419d8891dd3f95bee7f8f7dcc1addb94d2698f8ff392eef19a67e851f57b58d09b9878705d0e8d728d3c6f2b316d538c76471164781fcd1fb5d02dfbfd9d7a85 SHA512 f1206715eef1bdeccddc5987cae4f455522c4ef4dbca305ad7d3772c61f5615c5742b109c5527a5ad5e25a2348abff69ea5ae7153ac18c43cca63783872aa3d5 diff --git a/dev-python/scikit-build-core/scikit-build-core-0.9.6.ebuild b/dev-python/scikit-build-core/scikit-build-core-0.9.6.ebuild deleted file mode 100644 index c252aa77355d..000000000000 --- a/dev-python/scikit-build-core/scikit-build-core-0.9.6.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 2023-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Build backend for CMake based projects" -HOMEPAGE=" - https://github.com/scikit-build/scikit-build-core/ - https://pypi.org/project/scikit-build-core/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" - -# we always want [pyproject] extra -RDEPEND=" - app-alternatives/ninja - dev-build/cmake - >=dev-python/packaging-21.3[${PYTHON_USEDEP}] - >=dev-python/pathspec-0.10.1[${PYTHON_USEDEP}] - >=dev-python/pyproject-metadata-0.5[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/exceptiongroup[${PYTHON_USEDEP}] - >=dev-python/tomli-1.2.2[${PYTHON_USEDEP}] - ' 3.10) -" -BDEPEND=" - dev-python/hatch-vcs[${PYTHON_USEDEP}] - test? ( - dev-python/build[${PYTHON_USEDEP}] - >=dev-python/cattrs-22.2.0[${PYTHON_USEDEP}] - dev-python/fastjsonschema[${PYTHON_USEDEP}] - dev-python/pybind11[${PYTHON_USEDEP}] - >=dev-python/pytest-subprocess-1.5[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - dev-python/virtualenv[${PYTHON_USEDEP}] - dev-python/wheel[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local _EPYTEST_DESELECT=( - # TODO / we don't package validate_pyproject anyway - tests/test_schema.py::test_compare_schemas - # setuptools now respects PEP 625 - tests/test_setuptools_pep517.py::test_pep517_sdist - ) - local EPYTEST_IGNORE=( - # needs unpackaged validate_pyproject - tests/test_schema.py - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p subprocess -m "not isolated and not network" -} diff --git a/dev-python/scipy/Manifest b/dev-python/scipy/Manifest index d0f7b049753a..1e6b60d8065c 100644 --- a/dev-python/scipy/Manifest +++ b/dev-python/scipy/Manifest @@ -1,11 +1,2 @@ -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.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/files/scipy-1.13.1-test.patch b/dev-python/scipy/files/scipy-1.13.1-test.patch deleted file mode 100644 index e10e8551b757..000000000000 --- a/dev-python/scipy/files/scipy-1.13.1-test.patch +++ /dev/null @@ -1,46 +0,0 @@ -From 2f930ed7d579837423cf58f30d25d4922e4cef7c Mon Sep 17 00:00:00 2001 -From: Evgeni Burovski -Date: Thu, 6 Jun 2024 10:01:58 +0300 -Subject: [PATCH] TST: linalg: bump tolerance in TestEig::test_singular - -Some assertions have atol/rtol configurable, and one assertion had them -hardcoded, and that was causing tolerance problems in a Debian build with -reference LAPACK. - -closes https://github.com/scipy/scipy/issues/20911 ---- - scipy/linalg/tests/test_decomp.py | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -diff --git a/scipy/linalg/tests/test_decomp.py b/scipy/linalg/tests/test_decomp.py -index 5e171965a4bd..2c4033360d16 100644 ---- a/scipy/linalg/tests/test_decomp.py -+++ b/scipy/linalg/tests/test_decomp.py -@@ -181,7 +181,8 @@ def test_gh_3054(self): - assert_equal(w, np.inf) - assert_allclose(vr, 1) - -- def _check_gen_eig(self, A, B, atol_homog=1e-13, rtol_homog=1e-13): -+ def _check_gen_eig(self, A, B, atol_homog=1e-13, rtol_homog=1e-13, -+ atol=1e-13, rtol=1e-13): - if B is not None: - A, B = asarray(A), asarray(B) - B0 = B -@@ -230,7 +231,7 @@ def _check_gen_eig(self, A, B, atol_homog=1e-13, rtol_homog=1e-13): - for i in range(res.shape[1]): - if np.all(isfinite(res[:, i])): - assert_allclose(res[:, i], 0, -- rtol=1e-13, atol=1e-13, err_msg=msg) -+ rtol=rtol, atol=atol, err_msg=msg) - - # try to consistently order eigenvalues, including complex conjugate pairs - w_fin = w[isfinite(w)] -@@ -269,7 +270,7 @@ def test_singular(self): - [24, 35, 18, 21, 22]]) - - with np.errstate(all='ignore'): -- self._check_gen_eig(A, B, atol_homog=5e-13) -+ self._check_gen_eig(A, B, atol_homog=5e-13, atol=5e-13) - - def test_falker(self): - # Test matrices giving some Nan generalized eigenvalues. diff --git a/dev-python/scipy/scipy-1.11.3-r2.ebuild b/dev-python/scipy/scipy-1.11.3-r2.ebuild deleted file mode 100644 index 717e40190d9f..000000000000 --- a/dev-python/scipy/scipy-1.11.3-r2.ebuild +++ /dev/null @@ -1,150 +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=( python3_{8,9,10,11,12} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit flag-o-matic 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 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.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/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() { - # 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[]' - ) - ;; - esac - - epytest -n "$(makeopts_jobs)" --dist=worksteal 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.4-r1.ebuild b/dev-python/scipy/scipy-1.11.4-r1.ebuild deleted file mode 100644 index 002e52048ceb..000000000000 --- a/dev-python/scipy/scipy-1.11.4-r1.ebuild +++ /dev/null @@ -1,150 +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=( python3_{8,9,10,11,12} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit flag-o-matic 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 ~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/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() { - # 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[]' - ) - ;; - esac - - epytest -n "$(makeopts_jobs)" --dist=worksteal scipy -} - -python_install_all() { - use doc && local HTML_DOCS=( "${WORKDIR}"/html/. ) - - distutils-r1_python_install_all -} diff --git a/dev-python/scipy/scipy-1.12.0-r1.ebuild b/dev-python/scipy/scipy-1.12.0-r1.ebuild deleted file mode 100644 index 526c44927f9d..000000000000 --- a/dev-python/scipy/scipy-1.12.0-r1.ebuild +++ /dev/null @@ -1,151 +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=( python3_{8,9,10,11,12} pypy3 ) -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[]' - ) - ;; - esac - - epytest scipy -} - -python_install_all() { - use doc && local HTML_DOCS=( "${WORKDIR}"/html/. ) - - distutils-r1_python_install_all -} diff --git a/dev-python/scipy/scipy-1.13.0.ebuild b/dev-python/scipy/scipy-1.13.0.ebuild deleted file mode 100644 index 79ebd448b535..000000000000 --- a/dev-python/scipy/scipy-1.13.0.ebuild +++ /dev/null @@ -1,166 +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=( python3_{8,9,10,11,12} pypy3 ) -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[]' - # 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 -} diff --git a/dev-python/scipy/scipy-1.13.1.ebuild b/dev-python/scipy/scipy-1.13.1.ebuild deleted file mode 100644 index 2db8105e19cc..000000000000 --- a/dev-python/scipy/scipy-1.13.1.ebuild +++ /dev/null @@ -1,171 +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=( python3_{8,9,10,11,12} pypy3 ) -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 - -PATCHES=( - # https://github.com/scipy/scipy/pull/20914 - "${FILESDIR}/${P}-test.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) - ) - - # 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[]' - # 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 -} diff --git a/dev-python/zstandard/zstandard-0.22.0-r1.ebuild b/dev-python/zstandard/zstandard-0.22.0-r1.ebuild new file mode 100644 index 000000000000..29808364102c --- /dev/null +++ b/dev-python/zstandard/zstandard-0.22.0-r1.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 + +MY_P=python-zstandard-${PV} +DESCRIPTION="Zstandard Bindings for Python" +HOMEPAGE=" + https://github.com/indygreg/python-zstandard/ + https://pypi.org/project/zstandard/ +" +SRC_URI=" + https://github.com/indygreg/python-zstandard/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +DEPEND=" + app-arch/zstd:= +" +RDEPEND=" + ${DEPEND} + $(python_gen_cond_dep ' + >=dev-python/cffi-1.14.0-r2:=[${PYTHON_USEDEP}] + ' 'python*') +" +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + local PATCHES=( + "${FILESDIR}/${P}-build.patch" + ) + + # the C backend is repeatedly broken, so force CFFI instead + sed -e '/PYTHON_ZSTANDARD_IMPORT_POLICY/s:default:cffi:' \ + -i zstandard/__init__.py || die + # unbundle zstd + rm zstd/* || die + > zstd/zstd.c || die + # it does random preprocessing on that, so we can't use #include + local f + for f in zdict.h zstd.h; do + cp "${ESYSROOT}/usr/include/${f}" "zstd/${f}" || die + done + sed -i -e '/include_dirs/a libraries=["zstd"],' make_cffi.py || die + + distutils-r1_src_prepare + + DISTUTILS_ARGS=( + --no-c-backend + ) +} + +python_test() { + local EPYTEST_DESELECT=( + # unreliable, fails on x86 + tests/test_data_structures.py::TestCompressionParameters::test_estimated_compression_context_size + # check for bundled zstd version, fails on other system zstd + tests/test_module_attributes.py::TestModuleAttributes::test_version + ) + + rm -rf zstandard || die + epytest +} -- cgit v1.3.1