summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-06-26 19:33:08 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-06-26 19:33:08 +0100
commite52012895af4c92f008daac78c3d8b6d691a5dd1 (patch)
tree23cfaf6724a2a4437945e792ce42481a83acfd4a /dev-python
parente41409e9c4ccf0cd1b45b81f9d2370d13326cfc2 (diff)
gentoo auto-resync : 26:06:2023 - 19:33:07
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/Manifest.gzbin262618 -> 262635 bytes
-rw-r--r--dev-python/beniget/Manifest2
-rw-r--r--dev-python/beniget/beniget-0.4.1-r1.ebuild2
-rw-r--r--dev-python/gast/Manifest4
-rw-r--r--dev-python/gast/gast-0.5.3-r1.ebuild2
-rw-r--r--dev-python/gast/gast-0.5.4.ebuild2
-rw-r--r--dev-python/mypy/Manifest2
-rw-r--r--dev-python/mypy/mypy-1.4.1.ebuild67
-rw-r--r--dev-python/nautilus-python/Manifest2
-rw-r--r--dev-python/nautilus-python/nautilus-python-4.0.ebuild2
-rw-r--r--dev-python/numpy/Manifest4
-rw-r--r--dev-python/numpy/files/numpy-1.25.0-fix-long-double-check.patch151
-rw-r--r--dev-python/numpy/files/numpy-1.25.0-skip-python3.12-irrelevant-tests.patch187
-rw-r--r--dev-python/numpy/numpy-1.25.0.ebuild9
-rw-r--r--dev-python/scipy/Manifest3
-rw-r--r--dev-python/scipy/scipy-1.11.0.ebuild124
-rw-r--r--dev-python/vcrpy/Manifest2
-rw-r--r--dev-python/vcrpy/vcrpy-4.4.0.ebuild52
18 files changed, 606 insertions, 11 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz
index 4e803e28b48a..8f1c17fd86a9 100644
--- a/dev-python/Manifest.gz
+++ b/dev-python/Manifest.gz
Binary files differ
diff --git a/dev-python/beniget/Manifest b/dev-python/beniget/Manifest
index 2f6f0174025e..f143637d26bd 100644
--- a/dev-python/beniget/Manifest
+++ b/dev-python/beniget/Manifest
@@ -1,3 +1,3 @@
DIST beniget-0.4.1.gh.tar.gz 16353 BLAKE2B ef7de5eb15b59de10c56057b22e718ca7284d251a98ff1f8dbe31bad2e1bc7ca3c22c2794b1cae8b4c5fdf2a4b91ac6f9a3a0bef3c3aef51fbe6a93341333e31 SHA512 bd2b7beda41953be9b4052b539ae9812a370702874602175bfca66deebbc569515b9a59c750dc4898a6cb9f4a1d49f8ff15c1288035aaf72940cdd439eaace43
-EBUILD beniget-0.4.1-r1.ebuild 643 BLAKE2B 9a0ef8fc6a20f66a4a00d158f9e53331920cf61c96ebc829db728d0677fe9c089735c463f7c90adfd28852f2b1da0e2fc9111e108fa20d401e692f5845bdcdb5 SHA512 081712c1459f99f0c4fd2e754670382c3bc165da4003fca7b3d36efb1ffa8c61b226e19bc2b4d982fd748b68c1b573d753c056d9b2a12e2799e920d4cf1f44ba
+EBUILD beniget-0.4.1-r1.ebuild 644 BLAKE2B b12b7986c7a51b1fac662d3b6dc5a5baa81994921c7f0905e33fa496ce688b808e0a09f5ccb66cf9f02c50efcc7514c35b2dcbb39c02f80d4886fd6f07c04048 SHA512 e68211b7e3b77d2690b3a5837cf40afdcaf626c80839ca0fafe614cd3c4533b8b01ee509e747a41e5ffa500e96b0aeec176c4b32578ed7e255dcfbe70d6ea88e
MISC metadata.xml 378 BLAKE2B eb443e862f02368c1521515425eb99835a1b9505ea959705f1fd4e5e02b764ad900dfeb96d849f3110bf154ae3d2bd0e5033e89edc1df0a7e18c085fab77e2c6 SHA512 87c1d109aceda4601ff65cf5f355c36e82a7e5ee7772d77bfac4277620f96644006186278bedffcadd5af75e692b0e22e0e6df76e8303c9218818a54aff06bb9
diff --git a/dev-python/beniget/beniget-0.4.1-r1.ebuild b/dev-python/beniget/beniget-0.4.1-r1.ebuild
index e60c6108fde4..5dc29850a20f 100644
--- a/dev-python/beniget/beniget-0.4.1-r1.ebuild
+++ b/dev-python/beniget/beniget-0.4.1-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
diff --git a/dev-python/gast/Manifest b/dev-python/gast/Manifest
index 8b0d8f6ae496..218eaf96f842 100644
--- a/dev-python/gast/Manifest
+++ b/dev-python/gast/Manifest
@@ -1,5 +1,5 @@
DIST gast-0.5.3.tar.gz 23455 BLAKE2B b7263e959178421a7ba1cdb41cb09edbe1c30680573e1ab3b4de114e0bd151d2278be799fcc1a01524bb5ee6f6d6764d9902dd0018e7cbe54ac7a3d1300bbeb1 SHA512 a836be76303591ca7c40596d98a29dbd53f281e277c8c23e3821b2003d4e8aaf4d806e7f532f27c0eadd4bdca5a28dc0a3902245505ab97497b9afbfee0c2e52
DIST gast-0.5.4.tar.gz 25346 BLAKE2B c7161737367c2a3335d9e51af1dc09934ea16694d497cb151ed713b3372666456b5dcc2c595294c7162035af29d454bad5c8fb677030de9235c52d5ff8a3f05b SHA512 a288e2ecc15af2a5d50cb34979995f936e88cdaa4427f809b69015cb6ba98eaffd7ea9eff2dc61dae6f6c2d7d9c5cc6e3e9a5565bd7b1dd308cd39f56087c67d
-EBUILD gast-0.5.3-r1.ebuild 475 BLAKE2B c129603a5ec2693ce66c8f866802cc7ce486187fbfc5099a7f4376329f0ef18985d6dd0912eb3bf90dbf3a0fa6057f69b681d1ac262df5ccf5c048da69a80a14 SHA512 6377596124c5557017d2fa2e24f4c02a5cf2ad5ff10379342989aaa8d4c304d8e38a806f225d7bc59fff58358e5f6591a8f6f04b109b858383279efbac702bfe
-EBUILD gast-0.5.4.ebuild 529 BLAKE2B 807934344a658308d0b89cf4c001cdef82b0b677a2807212b9a720a1a8f6e7caf6c52602e8ecba58e6a3e79d745d631eb7b7225a7ced57a64fa9dc29b412e56d SHA512 9c64fdaddada1de76db08e32b7cce04bbbfdc0cb791faffceb667b137d62d4c96b092fd640c926d167b8e02399085c62c44b655770aeee3674426b17c214bbc8
+EBUILD gast-0.5.3-r1.ebuild 476 BLAKE2B 20da2b3118a973a71de86ca9f6812066dff27e65b665cea102a4f27b18369ff6278473a1707b3a326114c34d1d2b73f1ffbf4df706dda594e8860d9b3d42bd21 SHA512 dc0c38af180b9de04f74c806ddaeb2f4bc9c52dcae2064ad185ae64b127386d209acf2e98a6ebfa0ff595307ce81b40247e60890ffd672e01cb8c8314f31c2b3
+EBUILD gast-0.5.4.ebuild 530 BLAKE2B 5401ee77dbdc5735e4d2257b32633dab025dd39527342261fc97966cc20e7fdbc44ee96cb9e01c1dd5af7fff93b2b215076046e7d235ce0865716d063adf5eb2 SHA512 557ef5e1f0809d50096f9b69c7e9ac40e37f740a3e2c5ee48dececa3c7233403b24c04d5dcbae74bc355684d2f145a9d735ff78b78ff1a8b75c0252696707d98
MISC metadata.xml 739 BLAKE2B 6a226f9d712552a98ff4e7562da4097bb307fc7641085f45aed3f8610fefcb01e8458e96a5e46af30e3e01574415149269dcf5222229290225dd5f02543959b0 SHA512 02f9b1a30219372f6b769158ff9fb096a74f7d8ee6b67f5f9ad23ff382ce450767867a4074e04b1d5ac77e1987c3e9b661630e7626b68f8b5270032d7684161d
diff --git a/dev-python/gast/gast-0.5.3-r1.ebuild b/dev-python/gast/gast-0.5.3-r1.ebuild
index 7e38030fff6c..e9712b6d8199 100644
--- a/dev-python/gast/gast-0.5.3-r1.ebuild
+++ b/dev-python/gast/gast-0.5.3-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi
diff --git a/dev-python/gast/gast-0.5.4.ebuild b/dev-python/gast/gast-0.5.4.ebuild
index b6c2631556e1..189e453ed542 100644
--- a/dev-python/gast/gast-0.5.4.ebuild
+++ b/dev-python/gast/gast-0.5.4.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1 pypi
diff --git a/dev-python/mypy/Manifest b/dev-python/mypy/Manifest
index 3af646406130..f8c0f2e85df2 100644
--- a/dev-python/mypy/Manifest
+++ b/dev-python/mypy/Manifest
@@ -1,5 +1,7 @@
DIST mypy-1.3.0.gh.tar.gz 2823529 BLAKE2B 0f1b4b6178ef9308fa6aeda494092229ebe07095c032b83fffd28be851608a3dc92ae4924ea64d87318155bf9d99bf16e17e2603f39fc915463455db520d6138 SHA512 1ab0e667bd019ea6804c70c775c2bfb454231ca2426b2b78b5c91672f7f20fd1195ee481a688d9b6238c3b5f6dc9a7aa5466c7405ce71dd6f78c489a43670fc0
DIST mypy-1.4.0.gh.tar.gz 2863445 BLAKE2B e6d700a464d6ddb2ef49fd0dadca2139e7b21ebb33753e5f4ec0a60f7cac623d853dcf02cb096397c52e35c39182a082ade11b57e2a7a116bdeb9a606f854a99 SHA512 69aa3babe77c6f7576d01f29e4b9cf456bfcf7689a82d5156967c04f85ff823b34907ae006db75f1accfa52a76b51d98de1a9d307c32e70a4130046c13087501
+DIST mypy-1.4.1.gh.tar.gz 2864808 BLAKE2B 7dfda945cf554e170d048fc4b2689aa25a57e058857e17dd052090089a7880da74a3dd552fb1b8f8fa9bd9e84f1c97e49b36075d10957c6ee12c2507fb775668 SHA512 8a20ded76d9d3f323dc607c6cfdd4814c2ab798620a0b38198c7ff79bd1fb93aef7f8d60afa6e568957fcd8d9bfdf42308da07b4b0dd6260f192131377ee6951
EBUILD mypy-1.3.0.ebuild 1864 BLAKE2B c3a3541b8267cf0c43860f5ebc4dabfb7f83df15af99253a012b95ca3efd550706930806840a51098e6e4560d401081380025525c1fd80b08eb73ade35daa62e SHA512 09aa65b2e52605c34122c5e64f96bd044a43167ed86233aca6c16daa3e211f4b910a7daf8d3586598ee5261b79bfcc904f9db46d4e3da9cc7776bad80bdae10e
EBUILD mypy-1.4.0.ebuild 1873 BLAKE2B 2e3a8da162c2e730aa2b3717c6849b0f5d0fcb2bac79038e8c81e439beab42efbe9587eeec73148a574bd69fd2a75cde9f6f93de46cb0291aaa32a483adb6ce8 SHA512 ee4e81c62488fd2aed0617cbc3a79710d4b66c053c137372be3b69046e6e2ad3d6a26b81a0b03cb252cdad01d88153a0950128212b939d6882c962e3d02a0ba5
+EBUILD mypy-1.4.1.ebuild 1852 BLAKE2B 2ce7b6d2a2f94c445feff3431aa4d2cf78dd0079fb814aa44091951d0cc66a68629bccb1033035e8f7ac93dac5d3c183f37c329ac444fcd11840602a27eaf7d3 SHA512 81a0e521f29cd1f3b6e8256e1c2fc78277d5ba02e0b586e04c449c20ed32f226cb8046862e323f4e7d300f51ce277f09413bdc15df3fe509729ced504e6b529f
MISC metadata.xml 515 BLAKE2B 75827bbbeb70fd4b9295ab4689068d2d4b686b32d4059acde94fb0d08048e9e56ecaf3eec39dc5567b2753e2552353e273cdf2f4e27d077cc9b03320ee09c64b SHA512 c1c3c7a3651e61e0b63ab4462f0370cce9cbdce33e64c5e7a1fbefe8116d5d3d3b35bc4095d8a5ce28caf69b0644af3f13c9a27b683f2f981e52f8bfe4ac8615
diff --git a/dev-python/mypy/mypy-1.4.1.ebuild b/dev-python/mypy/mypy-1.4.1.ebuild
new file mode 100644
index 000000000000..dc80689d5044
--- /dev/null
+++ b/dev-python/mypy/mypy-1.4.1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit distutils-r1 multiprocessing
+
+DESCRIPTION="Optional static typing for Python"
+HOMEPAGE="
+ https://www.mypy-lang.org/
+ https://github.com/python/mypy/
+ https://pypi.org/project/mypy/
+"
+SRC_URI="
+ https://github.com/python/mypy/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+# stubgen collides with this package: https://bugs.gentoo.org/585594
+RDEPEND="
+ !dev-util/stubgen
+ >=dev-python/psutil-4[${PYTHON_USEDEP}]
+ >=dev-python/typed-ast-1.4.0[${PYTHON_USEDEP}]
+ <dev-python/typed-ast-2[${PYTHON_USEDEP}]
+ >=dev-python/typing-extensions-4.1.0[${PYTHON_USEDEP}]
+ >=dev-python/mypy_extensions-1.0.0[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/tomli[${PYTHON_USEDEP}]
+ ' 3.{9..10})
+"
+BDEPEND="
+ test? (
+ >=dev-python/attrs-18.0[${PYTHON_USEDEP}]
+ >=dev-python/filelock-3.3.0[${PYTHON_USEDEP}]
+ >=dev-python/lxml-4.4.0[${PYTHON_USEDEP}]
+ <dev-python/pytest-7.4.0[${PYTHON_USEDEP}]
+ >=dev-python/pytest-6.1.0[${PYTHON_USEDEP}]
+ >=dev-python/pytest-xdist-1.18[${PYTHON_USEDEP}]
+ >=dev-python/py-1.5.2[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+ >=dev-python/typed-ast-1.4.0[${PYTHON_USEDEP}]
+ >=dev-python/virtualenv-16.0.0[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+# this requires packaging a lot of type stubs
+export MYPY_USE_MYPYC=0
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # the majority of them require Internet (via pip)
+ mypy/test/testpep561.py
+ )
+ # Some mypy/test/testcmdline.py::PythonCmdlineSuite tests
+ # fail with high COLUMNS values
+ local -x COLUMNS=80
+ epytest -n "$(makeopts_jobs)"
+}
diff --git a/dev-python/nautilus-python/Manifest b/dev-python/nautilus-python/Manifest
index 94f2b4e6a767..9d0edcd739f7 100644
--- a/dev-python/nautilus-python/Manifest
+++ b/dev-python/nautilus-python/Manifest
@@ -1,3 +1,3 @@
DIST nautilus-python-4.0.tar.xz 32184 BLAKE2B cc910de82e54cd687d23541a0b283a70dc5a0626acebf8787110ae1b5a4c080741c0879968816e217a4da968a77169d79b6614dd055f1ae57999a9a49f2553cb SHA512 f70f825b821f266caafd1b347066de01462b8256ec126072042d09dd7fd6c9324847d5ddab65671589d0a411f8b8fed428dbc94806ac679d646861c66c3a0dd5
-EBUILD nautilus-python-4.0.ebuild 1187 BLAKE2B 048f83808ac440331d7c066994fa947f351be0a41fa91a8b5911654f37c5c2ddccb3ca03559ae4aaa0dabba94e59dced695e597a233044a8fb209bec122d203f SHA512 437db3950a35a063b403f3bdb028cc7f9b3ae53de2bb6e176f72c61a03c4d98ca265ccd280922bb9b68173b3bf113fc8d116278fdb2565b295be7d76f2d7b07d
+EBUILD nautilus-python-4.0.ebuild 1186 BLAKE2B d1ce0b7112eedd5e24926943ac945cccc46187451722b6dca87a3e1f05c0a7d72ebf22bccbcbf9568891b838301e1e97d5b38d9a0a915c15672551c4c1dcbaab SHA512 dc0c718868985af5f2af4d8e068d2ec5ae62c8ca71d1a5c04428caae18f92451c85d46750e90e7021a519cb33af1685898b1297a97a2a058f1ae34ed5281c404
MISC metadata.xml 356 BLAKE2B faf70d4fbe0451757ccedb3d4c316fd8d4528adc79a559eabb3e8e55e026729d20bcef8113d35d3c0e6f4c17ba36eeae4230cff1876f5c8c2d4ce9a4ba0f9881 SHA512 a17c4dbc5f2f06617086a7b5a9c82eede6236cca667f5fe765ece5eaaba9a909aec03234bd93cab339c0449465df41aade9ac4176a70ab95218485fdf4705a72
diff --git a/dev-python/nautilus-python/nautilus-python-4.0.ebuild b/dev-python/nautilus-python/nautilus-python-4.0.ebuild
index 73257df7644c..9b1912556ed3 100644
--- a/dev-python/nautilus-python/nautilus-python-4.0.ebuild
+++ b/dev-python/nautilus-python/nautilus-python-4.0.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://projects.gnome.org/nautilus-python/"
LICENSE="GPL-2+"
SLOT="0"
-KEYWORDS="~alpha amd64 ~arm64 ~ppc64 x86"
+KEYWORDS="~alpha amd64 arm64 ~ppc64 x86"
IUSE="gtk-doc"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
diff --git a/dev-python/numpy/Manifest b/dev-python/numpy/Manifest
index 0b939a1b35d5..7b233fd9d96e 100644
--- a/dev-python/numpy/Manifest
+++ b/dev-python/numpy/Manifest
@@ -1,5 +1,7 @@
AUX numpy-1.22.0-no-hardcode-blasv2.patch 2710 BLAKE2B 71da07805e25acc58120da2b8d8692ec5893040eee3c2842620e2a9186062936082f34610d3056c44e44a921116f99158dfb7481c4eccc82d33b3b18a63b379e SHA512 87bcecee3435dedcd87128c81d0002a786b4b23928973216f32c8d12b797d6a9948c3e7b41142235abe35734683e6ef84c02ffe255ba492a0ad43626071dc5a9
AUX numpy-1.24.3-fix-c++-linkage.patch 993 BLAKE2B 9ad31b995b209ea0674ee144a72dfa6b6bf5e10e3676a8c3dda9327ff9befed5cbdcfc0819a9053e1d281862ea8df40514e8e0fc05fee8c4a743faf8f56f5e72 SHA512 29a1e287f04a68785284005d8d2ee56e26f5180e42bc4a7ba0dc06f5523c91447a5a749bd4492ecf7ba5c916f80f03e619429f75ae3636cef24c4f11f29a6d23
+AUX numpy-1.25.0-fix-long-double-check.patch 5788 BLAKE2B c004fa342349a22dda30566d3015257146cee89e5b15c32d9b0bdbd44f4c7be76749f248e792d9ffd77ea8a674a2dfe0d183a9de48a1bb0f450e7a3f2f9688b0 SHA512 d2ecea4bc1878cb3df1b730b705bfa445f8f74356a5232de7ef5c94624847703985ac51d6b5bc3b961be6ef4b854804a531b5645e57ae4f6197d5aedb2e1c459
+AUX numpy-1.25.0-skip-python3.12-irrelevant-tests.patch 7363 BLAKE2B ca4581f61fb1350803915bcc8e3198bd13c75e0c7e178c86e72682222cbafff396f23afad9d7427d9d2a4be625f84626c899493045a0b8cc7ee3d031d36712c3 SHA512 cce36c856beb2254436f2753ed94b7a933d1e4c06fe0a96c2be70d944f91bb13f3358f50981398d0b9169c0e01b64695c3adb797db15cb6b695488318e276886
AUX numpy-1.25.0_rc1-meson-pyproject.toml.patch 16917 BLAKE2B 6cdda647c1c4f003adcaff3d634cbaa2f6c1624f2e44bfff1b6542189693a1dc99bf8a3da38d5e9a5dd2b3a6382d0430f03eb3c39811cf3b72e85a1bbae9ea0e SHA512 0a51b1c84356704f373ba1188dc63152e45fdb7bc71881e8ab08b67bfbf2e8f1e9b5544eedf6e3d8b4b872e294e28233e9f059dfdad42ff835bba22ee66d0d93
DIST numpy-1.24.0.tar.gz 10897101 BLAKE2B 59e2b913f90de76589d8fbb2f07e2d389012c7f6ce9bd641bc4837776465ce9c41c34f19f92bee55d4bae6245c1d2c84315b359ef0b089fd68d31cd7e7ec44b1 SHA512 3b4e6255b8d39e8504a50ecd3c2ba09d5b16d3f6c70b23b67e4dbf03d1fe390c55030f46090341d39a1ee8228c61ad6212fdc6e4579fcec9e26b4dbe70268661
DIST numpy-1.24.2.tar.gz 10906862 BLAKE2B e48f65eab709f0c57ec378d813a7b65bcaca6d5960b559d6db1c60726e5cf12517f4b2e1636b0ff815a2109925edccba200270db5170fd0aff5fd635919165ac SHA512 145fd7fb3919a185f75076d51b92c54a7fb1b776b637752ca15fdee15b239d6a517ef1bb8cded7c92e059cf6cda0146c24943c042d19b791e81125bc0ad4b820
@@ -9,5 +11,5 @@ EBUILD numpy-1.24.0.ebuild 4196 BLAKE2B a7359b00b007339381f458502457b2d2f9f07daf
EBUILD numpy-1.24.2.ebuild 4366 BLAKE2B a596f2a7404747dacfe7ce08be400836ca89a39c7c63137bc4b1f089d71b5bc1dae6cdf6e8226ebd871665f2ea1058d55836fba3222d8cf316be749974881be4 SHA512 7842c22c4e2b321627f7b8ca0eb8ee3a8717ef42f25327df606188355e323ceb2a825b08faff5fbc9e2dcc8e8f9b6cde6e0d63bf24e41b1a9e41209322fa6aa5
EBUILD numpy-1.24.3-r1.ebuild 4631 BLAKE2B 89d426ee6284e84f8603c9fdd4e1adc6ab97be8e2504c67ec3545a95fc47d03024602816a1198fbfc6771d256d2fbc23e181307370d5acce144b0417c5c2391f SHA512 c5e33896690a50f83d14f7544920f4755ca0d927982dd9271da400a23cfb3226abe779fe117e15b3776e31c8fc96751955ec55ce69e46ab58a3e2874a94f6f8d
EBUILD numpy-1.24.3.ebuild 4581 BLAKE2B 0ab41b83e18c8395c19885f292a186407f62c584a94ff2eeeaf2e72847b1973581b9eab51b351898171ad51610d7eea6b9d3545f4a771c143f752e6790924345 SHA512 cc1204442685b83ca2f9103f52fe8f338729e62eae4299a511bad54b71c99a77bbb50d22b77f08b8ddf1924340211360d17e0886f20ac55572a130e941250b80
-EBUILD numpy-1.25.0.ebuild 2793 BLAKE2B af7a6b2015cdfd41d196615ff1f5ee1e563932f5eb928983cea0a85f35a43c2564dec50e6302eae286b46abc14aa8920e3bfa1445b69009147634a7b9d69958a SHA512 01a0935c5a3097e49f67e0aa6375e50d78332e7ba5316faa83e5421b07dc2af868266329fcc629ca1c83ae1bcd47b48a30c9f089472e9157bf1f73604f9600df
+EBUILD numpy-1.25.0.ebuild 3159 BLAKE2B 4922ee982a5fe23a28d832bb634b55bdce81be2e20d459a70002f53bd16020ceb688ca66879ae74646d21451bb92cd4058242429f6f086403d56aa6f89eea69a SHA512 3efd47da84609257837bebc9854f932ea85ce2c9ada614af5da551bb87b88b5dd58f0f9370b98afa2f128a1b5537de37782c766be6011b34796597b30aa0b83c
MISC metadata.xml 932 BLAKE2B 7a4af31f613bab05ff542da48bf6ff1484d9df2459f559516e71329451dd739d3df0fead507c8033d94ab9ed516b68efe7f21819a8cd6ca303643d8c8bc34e86 SHA512 32cb8c1ab61521a02cbec38f6ea383f074e50d46aa3462ddcb85710f9d348e8e628cf2a5725e3cd921cc32f02885a1b5f02125639f0ec885384eeeff7f468a06
diff --git a/dev-python/numpy/files/numpy-1.25.0-fix-long-double-check.patch b/dev-python/numpy/files/numpy-1.25.0-fix-long-double-check.patch
new file mode 100644
index 000000000000..4f3ef21c93b3
--- /dev/null
+++ b/dev-python/numpy/files/numpy-1.25.0-fix-long-double-check.patch
@@ -0,0 +1,151 @@
+https://github.com/numpy/numpy/commit/de0b2d5c6dee9303c4a055e7591978ed5a06e403
+
+From de0b2d5c6dee9303c4a055e7591978ed5a06e403 Mon Sep 17 00:00:00 2001
+From: matoro <matoro@users.noreply.github.com>
+Date: Sun, 18 Jun 2023 19:39:06 -0400
+Subject: [PATCH] BLD: Port long double identification to C for meson
+
+This ports the old Python code for identifying the long double
+representation to C, so that it can be easily invoked by meson. The
+original implementation is at https://github.com/numpy/numpy/blob/eead09a3d02c09374942cdc787c0b5e4fe9e7472/numpy/core/setup_common.py#L264-L434
+
+The C portion of the code has been tested and confirmed to work on
+systems with the following formats, either natively or via an
+alternative ABI: INTEL_EXTENDED_16_BYTES_LE, IEEE_QUAD_BE,
+IEEE_QUAD_LE, IBM_DOUBLE_DOUBLE_BE, IBM_DOUBLE_DOUBLE_LE,
+IEEE_DOUBLE_BE, INTEL_EXTENDED_12_BYTES_LE.
+
+The original meson port includes an error condition with the comment
+"This should not be possible, 12 bits of "content" should still result
+in sizeof() being 16." As far as I can tell this is incorrect, as
+compiling on an x86_64 system with 32-bit ABI (gcc -m32) does indeed
+have sizeof(long double)==12. This is reflected in the C code.
+
+Closes gh-23972, closes
+https://github.com/mesonbuild/meson/issues/11068.
+---
+ numpy/core/meson.build | 110 ++++++++++++++++++++++++++++++++---------
+ 1 file changed, 87 insertions(+), 23 deletions(-)
+
+diff --git a/numpy/core/meson.build b/numpy/core/meson.build
+index 3427de408f1..92b393e4bc1 100644
+--- a/numpy/core/meson.build
++++ b/numpy/core/meson.build
+@@ -361,29 +361,93 @@ foreach intrin: optional_intrinsics
+ endif
+ endforeach
+
+-# long double representation detection (see setup_common.py)
+-# TODO: this is still incomplete, and different from how it's done in the
+-# numpy.distutils based build, see https://github.com/mesonbuild/meson/issues/11068
+-longdouble_size = cc.sizeof('long double')
+-if longdouble_size == 8
+- if host_machine.endian() == 'little'
+- longdouble_format = 'IEEE_DOUBLE_LE'
+- else
+- longdouble_format = 'IEEE_DOUBLE_BE'
+- endif
+-elif longdouble_size == 12
+- error('This should not be possible, 12 bits of "content" should still result in sizeof() being 16. Please report this error!'
+- )
+-elif longdouble_size == 16
+- if host_machine.endian() == 'little'
+- # FIXME: this varies, there's multiple formats here! Not yet implemented.
+- # TBD how we deal with the mess of old long double formats.
+- longdouble_format = 'INTEL_EXTENDED_16_BYTES_LE'
+- else
+- error('No idea what this is ....')
+- endif
+-else
+- error('Unknown long double size: ' + londouble_size)
++# This is a port of the old python code for identifying the long double
++# representation to C. The old Python code is in this range:
++# https://github.com/numpy/numpy/blob/eead09a3d02c09374942cdc787c0b5e4fe9e7472/numpy/core/setup_common.py#L264-L434
++# This port is in service of solving gh-23972
++# as well as https://github.com/mesonbuild/meson/issues/11068
++longdouble_format = meson.get_compiler('c').run(
++'''
++#include <stdio.h>
++#include <string.h>
++
++#define repcmp(z) (memcmp((const char *)&foo.x, z, sizeof(foo.x)) == 0)
++
++const struct {
++ char before[16];
++ long double x;
++ char after[8];
++} foo = {{'\0'}, -123456789.0, {'\0'}};
++
++int main(void) {
++ switch (sizeof(foo.x)) {
++ case 8: {
++ if (repcmp(
++ ((const char[]){0000, 0000, 0000, 0124, 0064, 0157, 0235, 0301}))) {
++ fprintf(stdout, "IEEE_DOUBLE_LE");
++ return 0;
++ }
++ if (repcmp(
++ ((const char[]){0301, 0235, 0157, 0064, 0124, 0000, 0000, 0000}))) {
++ fprintf(stdout, "IEEE_DOUBLE_BE");
++ return 0;
++ }
++ fprintf(stdout, "UNKNOWN");
++ return 1;
++ }
++ case 12: {
++ if (repcmp(((const char[]){0000, 0000, 0000, 0000, 0240, 0242, 0171, 0353,
++ 0031, 0300, 0000, 0000}))) {
++ fprintf(stdout, "INTEL_EXTENDED_12_BYTES_LE");
++ return 0;
++ }
++ if (repcmp(((const char[]){0300, 0031, 0000, 0000, 0353, 0171, 0242, 0240,
++ 0000, 0000, 0000, 0000}))) {
++ fprintf(stdout, "MOTOROLA_EXTENDED_12_BYTES_BE");
++ return 0;
++ }
++ fprintf(stdout, "UNKNOWN");
++ return 1;
++ }
++ case 16: {
++ if (repcmp(
++ ((const char[]){0000, 0000, 0000, 0000, 0240, 0242, 0171, 0353,
++ 0031, 0300, 0000, 0000, 0000, 0000, 0000, 0000}))) {
++ fprintf(stdout, "INTEL_EXTENDED_16_BYTES_LE");
++ return 0;
++ }
++ if (repcmp(
++ ((const char[]){0300, 0031, 0326, 0363, 0105, 0100, 0000, 0000,
++ 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000}))) {
++ fprintf(stdout, "IEEE_QUAD_BE");
++ return 0;
++ }
++ if (repcmp(
++ ((const char[]){0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000,
++ 0000, 0000, 0100, 0105, 0363, 0326, 0031, 0300}))) {
++ fprintf(stdout, "IEEE_QUAD_LE");
++ return 0;
++ }
++ if (repcmp(
++ ((const char[]){0000, 0000, 0000, 0124, 0064, 0157, 0235, 0301,
++ 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000}))) {
++ fprintf(stdout, "IBM_DOUBLE_DOUBLE_LE");
++ return 0;
++ }
++ if (repcmp(
++ ((const char[]){0301, 0235, 0157, 0064, 0124, 0000, 0000, 0000,
++ 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000}))) {
++ fprintf(stdout, "IBM_DOUBLE_DOUBLE_BE");
++ return 0;
++ }
++ fprintf(stdout, "UNKNOWN");
++ return 1;
++ }
++ }
++}
++''').stdout()
++if longdouble_format == 'UNKNOWN' or longdouble_format == 'UNDEFINED'
++ error('Unknown long double format of size: ' + cc.sizeof('long double').to_string())
+ endif
+ cdata.set10('HAVE_LDOUBLE_' + longdouble_format, true)
+
+
diff --git a/dev-python/numpy/files/numpy-1.25.0-skip-python3.12-irrelevant-tests.patch b/dev-python/numpy/files/numpy-1.25.0-skip-python3.12-irrelevant-tests.patch
new file mode 100644
index 000000000000..cd829c5ef08e
--- /dev/null
+++ b/dev-python/numpy/files/numpy-1.25.0-skip-python3.12-irrelevant-tests.patch
@@ -0,0 +1,187 @@
+https://github.com/numpy/numpy/commit/515403f2c637cb58f8dc326d88dd6f768f027cf4
+https://github.com/numpy/numpy/commit/b0872b858e2e6ebc394e95c81a024dcf1573c690
+https://github.com/numpy/numpy/commit/e42fc93b54a6d41dab72d86921f96e5ebc4c4198
+https://github.com/numpy/numpy/commit/4552b6cb0083502f731794e961cd30b9b62ba2e3
+
+From 515403f2c637cb58f8dc326d88dd6f768f027cf4 Mon Sep 17 00:00:00 2001
+From: Ralf Gommers <ralf.gommers@gmail.com>
+Date: Sun, 18 Jun 2023 15:56:23 +0200
+Subject: [PATCH] TST: disable `test_new_policy` test for memory allocator.
+
+This is way too slow, running a large part of the test suite twice.
+Issue 23975 tracks changing how this feature is tested.
+---
+ numpy/core/tests/test_mem_policy.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/numpy/core/tests/test_mem_policy.py b/numpy/core/tests/test_mem_policy.py
+index b4e2f65916c..0855d60771a 100644
+--- a/numpy/core/tests/test_mem_policy.py
++++ b/numpy/core/tests/test_mem_policy.py
+@@ -359,7 +359,7 @@ def test_thread_locality(get_module):
+ assert np.core.multiarray.get_handler_name() == orig_policy_name
+
+
+-@pytest.mark.slow
++@pytest.mark.skip(reason="too slow, see gh-23975")
+ def test_new_policy(get_module):
+ a = np.arange(10)
+ orig_policy_name = np.core.multiarray.get_handler_name(a)
+
+From b0872b858e2e6ebc394e95c81a024dcf1573c690 Mon Sep 17 00:00:00 2001
+From: Ralf Gommers <ralf.gommers@gmail.com>
+Date: Mon, 19 Jun 2023 11:07:19 +0200
+Subject: [PATCH] TST: skip refcount related tests on py312
+
+Python 3.12 has immortal refcounts; the initial and final
+values will be the same when accessing `sys.getrefcount` inside a
+test.
+
+Closes gh-23986
+--- a/numpy/core/tests/test_dtype.py
++++ b/numpy/core/tests/test_dtype.py
+@@ -755,6 +755,11 @@ def iter_struct_object_dtypes():
+ yield pytest.param(dt, p, 12, obj, id="<structured subarray 2>")
+
+
++@pytest.mark.skipif(
++ sys.version_info >= (3, 12),
++ reason="Python 3.12 has immortal refcounts, this test will no longer "
++ "work. See gh-23986"
++)
+ @pytest.mark.skipif(not HAS_REFCOUNT, reason="Python lacks refcounts")
+ class TestStructuredObjectRefcounting:
+ """These tests cover various uses of complicated structured types which
+--- a/numpy/core/tests/test_regression.py
++++ b/numpy/core/tests/test_regression.py
+@@ -1465,6 +1465,10 @@ def test_structured_arrays_with_objects1(self):
+ x[x.nonzero()] = x.ravel()[:1]
+ assert_(x[0, 1] == x[0, 0])
+
++ @pytest.mark.skipif(
++ sys.version_info >= (3, 12),
++ reason="Python 3.12 has immortal refcounts, this test no longer works."
++ )
+ @pytest.mark.skipif(not HAS_REFCOUNT, reason="Python lacks refcounts")
+ def test_structured_arrays_with_objects2(self):
+ # Ticket #1299 second test
+
+From e42fc93b54a6d41dab72d86921f96e5ebc4c4198 Mon Sep 17 00:00:00 2001
+From: Ralf Gommers <ralf.gommers@gmail.com>
+Date: Mon, 19 Jun 2023 11:14:38 +0200
+Subject: [PATCH] TST: skip memory allocator and `array_interface` tests on
+ py312
+
+They require numpy.distutils, which isn't available on >=3.12
+The `numpy.testing.extbuild` utility will need changing to make this
+work again. Could either use plain `setuptools` or `meson`.
+--- a/numpy/core/tests/test_array_interface.py
++++ b/numpy/core/tests/test_array_interface.py
+@@ -128,6 +128,9 @@ def get_module(tmp_path):
+ more_init=more_init)
+
+
++# FIXME: numpy.testing.extbuild uses `numpy.distutils`, so this won't work on
++# Python 3.12 and up.
++@pytest.mark.skipif(sys.version_info >= (3, 12), reason="no numpy.distutils")
+ @pytest.mark.slow
+ def test_cstruct(get_module):
+
+--- a/numpy/core/tests/test_mem_policy.py
++++ b/numpy/core/tests/test_mem_policy.py
+@@ -9,6 +9,11 @@
+ import sys
+
+
++# FIXME: numpy.testing.extbuild uses `numpy.distutils`, so this won't work on
++# Python 3.12 and up. It's an internal test utility, so for now we just skip
++# these tests.
++
++
+ @pytest.fixture
+ def get_module(tmp_path):
+ """ Add a memory policy that returns a false pointer 64 bytes into the
+@@ -213,6 +218,7 @@ def get_module(tmp_path):
+ more_init=more_init)
+
+
++@pytest.mark.skipif(sys.version_info >= (3, 12), reason="no numpy.distutils")
+ def test_set_policy(get_module):
+
+ get_handler_name = np.core.multiarray.get_handler_name
+@@ -241,6 +247,7 @@ def test_set_policy(get_module):
+ assert get_handler_name() == orig_policy_name
+
+
++@pytest.mark.skipif(sys.version_info >= (3, 12), reason="no numpy.distutils")
+ def test_default_policy_singleton(get_module):
+ get_handler_name = np.core.multiarray.get_handler_name
+
+@@ -262,6 +269,7 @@ def test_default_policy_singleton(get_module):
+ assert def_policy_1 is def_policy_2 is get_module.get_default_policy()
+
+
++@pytest.mark.skipif(sys.version_info >= (3, 12), reason="no numpy.distutils")
+ def test_policy_propagation(get_module):
+ # The memory policy goes hand-in-hand with flags.owndata
+
+@@ -320,6 +328,7 @@ async def async_test_context_locality(get_module):
+ assert np.core.multiarray.get_handler_name() == orig_policy_name
+
+
++@pytest.mark.skipif(sys.version_info >= (3, 12), reason="no numpy.distutils")
+ def test_context_locality(get_module):
+ if (sys.implementation.name == 'pypy'
+ and sys.pypy_version_info[:3] < (7, 3, 6)):
+@@ -341,6 +350,7 @@ def concurrent_thread2(get_module, event):
+ get_module.set_secret_data_policy()
+
+
++@pytest.mark.skipif(sys.version_info >= (3, 12), reason="no numpy.distutils")
+ def test_thread_locality(get_module):
+ orig_policy_name = np.core.multiarray.get_handler_name()
+
+@@ -359,6 +369,7 @@ def test_thread_locality(get_module):
+ assert np.core.multiarray.get_handler_name() == orig_policy_name
+
+
++@pytest.mark.skipif(sys.version_info >= (3, 12), reason="no numpy.distutils")
+ @pytest.mark.skip(reason="too slow, see gh-23975")
+ def test_new_policy(get_module):
+ a = np.arange(10)
+@@ -388,6 +399,8 @@ def test_new_policy(get_module):
+ c = np.arange(10)
+ assert np.core.multiarray.get_handler_name(c) == orig_policy_name
+
++
++@pytest.mark.skipif(sys.version_info >= (3, 12), reason="no numpy.distutils")
+ @pytest.mark.xfail(sys.implementation.name == "pypy",
+ reason=("bad interaction between getenv and "
+ "os.environ inside pytest"))
+@@ -420,6 +433,8 @@ def test_switch_owner(get_module, policy):
+ else:
+ os.environ['NUMPY_WARN_IF_NO_MEM_POLICY'] = oldval
+
++
++@pytest.mark.skipif(sys.version_info >= (3, 12), reason="no numpy.distutils")
+ def test_owner_is_base(get_module):
+ a = get_module.get_array_with_base()
+ with pytest.warns(UserWarning, match='warn_on_free'):
+
+
+From 4552b6cb0083502f731794e961cd30b9b62ba2e3 Mon Sep 17 00:00:00 2001
+From: Ralf Gommers <ralf.gommers@gmail.com>
+Date: Mon, 19 Jun 2023 12:07:32 +0200
+Subject: [PATCH] TST: skip test using `np.load` on py2-saved .npy file on
+ py312
+
+--- a/numpy/lib/tests/test_format.py
++++ b/numpy/lib/tests/test_format.py
+@@ -527,6 +527,7 @@ def test_load_padded_dtype(tmpdir, dt):
+ assert_array_equal(arr, arr1)
+
+
++@pytest.mark.skipif(sys.version_info >= (3, 12), reason="see gh-23988")
+ @pytest.mark.xfail(IS_WASM, reason="Emscripten NODEFS has a buggy dup")
+ def test_python2_python3_interoperability():
+ fname = 'win64python2.npy'
diff --git a/dev-python/numpy/numpy-1.25.0.ebuild b/dev-python/numpy/numpy-1.25.0.ebuild
index 9261cf73b3ba..b9b702ebe7a8 100644
--- a/dev-python/numpy/numpy-1.25.0.ebuild
+++ b/dev-python/numpy/numpy-1.25.0.ebuild
@@ -5,7 +5,7 @@ EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=meson-python
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
PYTHON_REQ_USE="threads(+)"
FORTRAN_NEEDED=lapack
@@ -22,7 +22,7 @@ LICENSE="BSD"
SLOT="0"
IUSE="lapack"
if [[ ${PV} != *_rc* ]] ; then
- KEYWORDS="~amd64"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64"
fi
RDEPEND="
@@ -52,6 +52,8 @@ BDEPEND="
PATCHES=(
"${FILESDIR}"/${PN}-1.25.0_rc1-meson-pyproject.toml.patch
+ "${FILESDIR}"/${PN}-1.25.0-skip-python3.12-irrelevant-tests.patch
+ "${FILESDIR}"/${PN}-1.25.0-fix-long-double-check.patch
)
distutils_enable_tests pytest
@@ -107,6 +109,9 @@ python_test() {
EPYTEST_DESELECT+=(
# too large for 32-bit platforms
core/tests/test_ufunc.py::TestUfunc::test_identityless_reduction_huge_array
+ 'core/tests/test_multiarray.py::TestDot::test_huge_vectordot[float64]'
+ 'core/tests/test_multiarray.py::TestDot::test_huge_vectordot[complex128]'
+ lib/tests/test_histograms.py::TestHistogram::test_big_arrays
)
;;
*)
diff --git a/dev-python/scipy/Manifest b/dev-python/scipy/Manifest
index bfffe5dddb0e..d0d430224d93 100644
--- a/dev-python/scipy/Manifest
+++ b/dev-python/scipy/Manifest
@@ -1,4 +1,7 @@
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
EBUILD scipy-1.10.1.ebuild 2662 BLAKE2B dec183f49fdfc327173ad0a5ae329cf9621662f08f116a16d3048004b1de25e535b0ba5edaad8c21ffee328cbdc9eb233f2494dc99ab24a687bb21ca7699925a SHA512 ee9bf4e78a98402d4ea0658af6d45428144a5ddca988583421abc1d992ac7e38c3ef3dab4500ac09ac103c6e5e7190c7d4e1d7036bbe26c4572463edfbefc066
+EBUILD scipy-1.11.0.ebuild 2788 BLAKE2B 5ed5993b046a177228cc67096e20dacd5ba760f94db41d3df741b3473858ccc3828f272b880fe004824084d13775be17b4c57487f78bd703461a983ead7a2ccd SHA512 8d0cd0d692fe8b4c2575810e5a9cbc3eebe7db4f54d10521e5bd023dc9e0a596ee689c016cf9b1c5a93d5fbb9ce08cf6fc1edce12638cd225cbcd5a94c3a2586
MISC metadata.xml 953 BLAKE2B a09ea1325a175e349fbc3ca77c5e7b373538ea01147e8544f44b7d4e0c55fbbc2012431fcfe9a3457e82d295e4b5630df1ed69c48ef3462ed9b157af30a1e09a SHA512 74a21c6e1a9bef95b3d74a9513c59d302f473725c04fa32a9991b6108113c0f4b78179ce4a628140e7aa870c24ca60bddf7a00063b6b73dd45110112311371d8
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..10bd746dd9b0
--- /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() {
+ 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/vcrpy/Manifest b/dev-python/vcrpy/Manifest
index ee93657d9479..df5071e1538c 100644
--- a/dev-python/vcrpy/Manifest
+++ b/dev-python/vcrpy/Manifest
@@ -1,8 +1,10 @@
DIST vcrpy-4.2.1.gh.tar.gz 331180 BLAKE2B 345e4c148963e2109d02be4e96986083236bd29fa8049c7cc54483f12d0506cde5c116b6f2fe80e099599b22a73e2f6240f7bb91e4a7d8af7f4e8e741097160d SHA512 59231e5164cda3099b18d099f0ef97e062e6401e52e5dfc4022aa89ca02881e9e6e3c782f12c288f5281b3b3bf175dc33a267bc6d2b40791582a1221f5d7aaab
DIST vcrpy-4.3.0.gh.tar.gz 331605 BLAKE2B 92f995d21d986c20445ca6200778e9097fce7d4e44e8812018d5bf04b5f8f93bacf922f5332af59d3e147d6f43d8e3ab4afbbd65ba1314b760479029a64d01bd SHA512 772eb9cf23336ff961fc381a878a4e3e7a1cd81bbd6282f5a945536fd1c6b6d866fecfcfa582c9305de045e953186fea857a18d9f66012be36833d3a489b52ec
DIST vcrpy-4.3.1.gh.tar.gz 332412 BLAKE2B c2de3c9c3398bfe132b8a103566c6b1f48532d909d9c015b02349ef1283757ac75a31730f35b66ba211aaa1c015ffdf026da388a0a272deac2736e9e57d8ef32 SHA512 3ba3354ec0f1b8985890e70c6adff3416350adfa9dfec1db99051c2e1271f321bddf6e2dcd736a77ef953b71e4b5b0555cf05273443231e87a180f52b2372c9a
+DIST vcrpy-4.4.0.gh.tar.gz 335402 BLAKE2B 1b32105ec7f319ea32318ce7193a433afa0e5e3da36531aa1d9a414b669150feb34490ea575f728569b622e740c42f73e22590ffda9aa9ed33a0bee2e11ac8ec SHA512 0b322cd688a9896cfd74ffd32de9560de9109a103989e04204868382b060621910ae0f0df456e1ed53576ecd8bb1e1f0c4c5d1500f4f6d291772f505ba36deba
EBUILD vcrpy-4.2.1-r1.ebuild 1667 BLAKE2B 9d68df0c82ddbfdf803a38bc83e65407a606259e9f9f5ae3a2b70da57c0bfd42144358e4e9ccfa5677e7b1bc6b36f024e31574d5751f5c0c0b36a60c22a949c0 SHA512 da8149b41c165462c6a4059a8687b87aba162d0ff12df138fb9c686b64ddc18ce320f7531701e41b4c1d2ec1d7d4de841c0113eff218f345a539117d5162be8c
EBUILD vcrpy-4.2.1.ebuild 1592 BLAKE2B 916cf1b8db402859ea682ae08d02eec1310a222a4ed349082f7ce73cddc330c50db73e18beda03e0ff0c54e9242180c192df6bd8e6e1fe4164b381c19ac6bd09 SHA512 704a4edbacef601d7015c12fb1a70a5d64be413d3404e7f79d459ae404a4663bea3b48117b91751a42e046d7595b1cef985c841814a67df3426a7bbd7207368f
EBUILD vcrpy-4.3.0.ebuild 1742 BLAKE2B 91d5763d7ead9d22d8f17deb7a095ce38640c3f4e8e8a501a6603c2f8ee3e9955179f690f9044ea26fa6f71ad7028f845d350e6bbf8aecccf5195eba1c1c0b14 SHA512 0fda527e1c72c290554ca9328fd461001182bd4f2d09ae8ccaf16a6ca2bd31eb5b17d73f6dfcede0efd1d5d635df563933b21623f9f4be047f39e1d74fb10c35
EBUILD vcrpy-4.3.1.ebuild 1816 BLAKE2B 33cf75408bb9ae8360c59d9331438e3719c769149d70e83984ad5a51643021dcc48c6926f210e81684ddaf55ad256bd7883ce36f8c499b8b0682eb4ac29078d5 SHA512 736127099249f27b30256450461480044458053d8f4986ae778457d34c8fdd9e99b6954a292e57ec499f52fc6770360c257432660cf49791eff9af3a5466554d
+EBUILD vcrpy-4.4.0.ebuild 1366 BLAKE2B 3c90b3809728b0837dae064ec5a1fbf4abc5d272a7d04e5601a8f41320c3910435aa1ae593b09fdc0e3d4fbaf141d1a68b3282fb166ea9d3cc3e9c8cdd8e6933 SHA512 7d1917b94f02e011ef28419380295f4f347084c4494d3cef661835e713dfaa5ec8c2e83d357861cc7c8c5e5dc89a4af27df6d43e179550eafd16d1b743bb2375
MISC metadata.xml 388 BLAKE2B fd31293bd6085e6a93816a1813a8c3a9d046ed3d932fba5b32b454a71e7535606ba92815699b7ca10fc837b07a5335df54d5fae8c860a7ea88c6ea72891d0620 SHA512 0360ac6f113035ffd1991d2a42000f290c9d0a3fa8c4dac9abfde0eecafd23e1ff9929d8ee521f83a924c523992fabc5cb4353079bf7c52dac9f906a31d4da55
diff --git a/dev-python/vcrpy/vcrpy-4.4.0.ebuild b/dev-python/vcrpy/vcrpy-4.4.0.ebuild
new file mode 100644
index 000000000000..b6025c252abe
--- /dev/null
+++ b/dev-python/vcrpy/vcrpy-4.4.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Automatically mock your HTTP interactions to simplify and speed up testing"
+HOMEPAGE="
+ https://github.com/kevin1024/vcrpy/
+ https://pypi.org/project/vcrpy/
+"
+SRC_URI="
+ https://github.com/kevin1024/vcrpy/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
+
+RDEPEND="
+ >=dev-python/httplib2-0.9.1[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ >=dev-python/six-1.5[${PYTHON_USEDEP}]
+ dev-python/urllib3[${PYTHON_USEDEP}]
+ dev-python/wrapt[${PYTHON_USEDEP}]
+ dev-python/yarl[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/pytest-httpbin[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # these tests are failing with recent dev-python/werkzeug; related:
+ # https://github.com/kevin1024/vcrpy/issues/645
+ tests/integration/test_record_mode.py::test_new_episodes_record_mode_two_times
+ tests/integration/test_urllib2.py
+ )
+
+ local -x REQUESTS_CA_BUNDLE=$("${EPYTHON}" -m pytest_httpbin.certs)
+ epytest -m 'not online'
+}