diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-10-01 12:11:11 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-10-01 12:11:11 +0000 |
| commit | ef5d772cb212bb9d3049523be8a7bd2e01301090 (patch) | |
| tree | 8345c2730a3aa49abe87d32a748203d81b1a7454 /dev-python | |
| parent | d5751b1260fda1bd00ddfc78bb34b3c7afd9b343 (diff) | |
| download | baldeagleos-repo-ef5d772cb212bb9d3049523be8a7bd2e01301090.tar.gz baldeagleos-repo-ef5d772cb212bb9d3049523be8a7bd2e01301090.tar.xz baldeagleos-repo-ef5d772cb212bb9d3049523be8a7bd2e01301090.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
78 files changed, 1465 insertions, 1344 deletions
diff --git a/dev-python/apprise/Manifest b/dev-python/apprise/Manifest index 6b44cfbdb40c..688ee79021c5 100644 --- a/dev-python/apprise/Manifest +++ b/dev-python/apprise/Manifest @@ -1,2 +1,2 @@ -DIST apprise-1.9.3.tar.gz 1795515 BLAKE2B 50b6d6b5b9d53a9caf4bf0b4408c0f6c3755527baacca300fd21c090ed65e1407975e5ed468b1d9a6e1ed6e0853ad4014aef2843c89dcc0f2ee9529401ec3b7d SHA512 9b75db6f9926a8e19f75662737df1a8848b26db0c84ecc9e816838fd25f6e7ea291462ff201b36f4f33536d83fd821910be762988a573d503f137f76b1bae9c2 DIST apprise-1.9.4.tar.gz 1855012 BLAKE2B 2375d22f5f3d28a8c9bf8692e6fc1b029cfe0a3ad0eaebfd43cf06fd4b29dfa212289197706ff0913083fb8cab27d967395282bcaf43f5a32593bb115e15f9c5 SHA512 5e25ac6260506e1963f4bb89dcd30bdc7ca639760c0078dc839774901345a91f6b1ec182b40116712f6206115a7e86edfa786f375a09efdfa1473132b5d5cefa +DIST apprise-1.9.5.tar.gz 1877134 BLAKE2B d26bd5fb1d2076b25129f89919282db0910f32b16947352f7f0b3d1478209506d9a536fb07ab129f5e2d9847a5c8f32fbcb4826dca1fdb6a6d86905e45cf92fe SHA512 a28f873e56dd1c4fd744f0d402765499144f1f8f76b55ee23bef2c80573cff6f744d66ab0707bef27f5f50165d05ec1454e0903ea018fc147e9b75fb89e4a756 diff --git a/dev-python/apprise/apprise-1.9.3.ebuild b/dev-python/apprise/apprise-1.9.5.ebuild index a08e8a8e78fa..43e0d62db9e5 100644 --- a/dev-python/apprise/apprise-1.9.3.ebuild +++ b/dev-python/apprise/apprise-1.9.5.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="BSD-2" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv" IUSE="+dbus mqtt" RDEPEND=" @@ -30,9 +30,14 @@ RDEPEND=" " BDEPEND=" dev-python/babel[${PYTHON_USEDEP}] - test? ( - dev-python/pytest-mock[${PYTHON_USEDEP}] - ) " +EPYTEST_PLUGINS=( pytest-mock ) +# xdist causes test failures distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # fails if pygobject is installed + # https://github.com/caronc/apprise/issues/1383 + tests/test_plugin_glib.py::test_plugin_glib_send_raises_generic +) diff --git a/dev-python/astroid/Manifest b/dev-python/astroid/Manifest index 5507eefd8ac3..ef0f11988066 100644 --- a/dev-python/astroid/Manifest +++ b/dev-python/astroid/Manifest @@ -1,3 +1,4 @@ DIST astroid-3.3.11.gh.tar.gz 469464 BLAKE2B cb2ad429fa303e1049de685079d814696f9a907f75d85e0eb6aadef34d791ca2564e2727aff604e1f15b8bdd262b6c5dbfaa64193bac008d39e9bb7e642254cc SHA512 7dd0fae9fa6135abb505af567731f9062ea5f45b5c2e9c613fd1c5cbeeb409779a620cde3ecc42cd8a0733ccebc58b5e8e66baa1a38b6f46b1d3fcf2e33914b5 DIST astroid-4.0.0_beta2.gh.tar.gz 469767 BLAKE2B d3f03cd34e7a1fc667eecf0fd68fd58ece838bfccbabce13ad3a1020999d0e984c865d11100bfb514cc5034863b8df77db9fb8e7132fd2ec74035c8ba8a39108 SHA512 eabf3e08677894e3f4d843ad602fdf957518c143f42ad5e5c81ab679175e6717a339a6b78d7c377576d75f30a56cfc59045a47d23d18e10835df69f9656f588c DIST astroid-4.0.0_beta3.gh.tar.gz 472369 BLAKE2B 53e36752a4e6ed9c9d8e25cd7143d1bd3fadba1a1c151cd6e9c7a8fed2c6fbd05f2fe9eab6489e93897efcc2ac62a6b09074d656f1cb60d9bf26c854191a79b4 SHA512 37316cfdf7285eb6471e52e534ffe34456b6e7be9d07288ec62a78cc20de1f6189a1220fd098579213c29b2bfacd5ff20bc08b7dc519b04a36b24dfb6f34f706 +DIST astroid-4.0.0_rc0.gh.tar.gz 474866 BLAKE2B 4a722d135579a0e01c32ceff21c824ff4f6009a4e3acecf5df20ff83dd67fffd93fe86fe4b9c2687792d15664d9a509e1da2152cdbc10a5c70b00eed9cb57f7c SHA512 855893700b47514716589295a42920e21734110ac98e65affb83dd303edb10495e1a9daabe5ddee298a9c686120cfdb3283cbc184db2752f0fedae18355d08f7 diff --git a/dev-python/astroid/astroid-4.0.0_rc0.ebuild b/dev-python/astroid/astroid-4.0.0_rc0.ebuild new file mode 100644 index 000000000000..1a8626569f2d --- /dev/null +++ b/dev-python/astroid/astroid-4.0.0_rc0.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 + +MY_P=${P/_/} +DESCRIPTION="Abstract Syntax Tree for logilab packages" +HOMEPAGE=" + https://github.com/pylint-dev/astroid/ + https://pypi.org/project/astroid/ +" +SRC_URI=" + https://github.com/pylint-dev/astroid/archive/v${PV/_/}.tar.gz + -> ${P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="LGPL-2.1+" +SLOT="0" + +# dev-python/regex isn't available for pypy +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/attrs[${PYTHON_USEDEP}] + >=dev-python/numpy-1.17.0[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/regex[${PYTHON_USEDEP}] + ' 'python*') + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_test() { + local EPYTEST_IGNORE=() + local EPYTEST_DESELECT=( + # hangs randomly + tests/test_nodes.py::AsStringTest::test_recursion_error_trapped + # no clue why they're broken + tests/test_modutils.py::GetModulePartTest::test_known_values_get_builtin_module_part + # TODO + tests/test_builder.py::BuilderTest::test_data_build_error_filename + # numpy-2 (https://github.com/pylint-dev/astroid/issues/2442) + tests/brain/numpy/test_core_einsumfunc.py::test_numpy_function_calls_inferred_as_ndarray + tests/brain/numpy/test_core_fromnumeric.py::BrainNumpyCoreFromNumericTest::test_numpy_function_calls_inferred_as_ndarray + tests/brain/numpy/test_core_multiarray.py::BrainNumpyCoreMultiarrayTest::test_numpy_function_calls_inferred_as_ndarray + tests/brain/numpy/test_core_numerictypes.py::NumpyBrainCoreNumericTypesTest::test_datetime_astype_return + tests/brain/numpy/test_core_numerictypes.py::NumpyBrainCoreNumericTypesTest::test_generic_types_are_subscriptables + tests/brain/numpy/test_core_umath.py::NumpyBrainCoreUmathTest::test_numpy_core_umath_functions_return_type + tests/brain/numpy/test_core_umath.py::NumpyBrainCoreUmathTest::test_numpy_core_umath_functions_return_type_tuple + # old pythons only + tests/brain/test_dataclasses.py::test_pydantic_field + tests/test_regrtest.py::NonRegressionTests::test_numpy_distutils + # -Werror, sigh + tests/test_nodes.py::test_deprecated_nodes_import_from_toplevel + ) + + if ! has_version "dev-python/mypy[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + tests/test_raw_building.py + ) + fi + + epytest +} diff --git a/dev-python/beautifulsoup4/Manifest b/dev-python/beautifulsoup4/Manifest index 227e33648f27..e44642f0017f 100644 --- a/dev-python/beautifulsoup4/Manifest +++ b/dev-python/beautifulsoup4/Manifest @@ -1,2 +1,3 @@ DIST beautifulsoup4-4.13.5.tar.gz 622954 BLAKE2B 4dc86ae7dfd3b9f9f4b3a5b305ee34bbf9ec7f3dcdea2703d4bde274df76137d057dad2c5a49d34a6ee0f7a5f28e48c4aa78b5f5fd1c199d9a33732877a81c09 SHA512 81c0be4e2f228ea11c78540d850ba11e74ebf784460188680d351fbe0f54f4fb9f94e0e7a1a1bfb9e6e5222be6203fbd777aa3483902942dbf9319227ff112bf DIST beautifulsoup4-4.14.0.tar.gz 625697 BLAKE2B 45efe0e7112004db3263c3ef12d8672efe394e5bd63aee8c091190268f92c6b2bb8c2f9143ad7a62792ea395217f3639fb979812d299caf4845b77417c3bad06 SHA512 a1aac3447226752f5cbf41c75a50fa34573c4949690f4cec270811a9db24634b18e21f7c5fd53dd8244eb2d89173742dba9e64e956d6f284d42b55f4785cb14d +DIST beautifulsoup4-4.14.2.tar.gz 625822 BLAKE2B 4a47694486c87e8dac7b248d9bd7a7613308d07250922e171bccdb9ba0c77d0a1e93b63b81060cc2df0897e036ed8bf7a443723ff0e15cc2800215a170d64c8d SHA512 71615985822a10788b3fb51b832cef0ee7b95464e64e08302471cc68b42924c5d6561c3a355ea211d963c65a46a92d3e5128fb05df653c7bead8623791cae3cb diff --git a/dev-python/beautifulsoup4/beautifulsoup4-4.14.2.ebuild b/dev-python/beautifulsoup4/beautifulsoup4-4.14.2.ebuild new file mode 100644 index 000000000000..8c4da3acbd87 --- /dev/null +++ b/dev-python/beautifulsoup4/beautifulsoup4-4.14.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Pythonic idioms for iterating, searching, and modifying an HTML/XML parse tree" +HOMEPAGE=" + https://www.crummy.com/software/BeautifulSoup/bs4/ + https://pypi.org/project/beautifulsoup4/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + dev-python/html5lib[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + >=dev-python/soupsieve-2.6[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.0.0[${PYTHON_USEDEP}] +" +# bs4 prefers cchardet > chardet > charset-normalizer +# however, charset-normalizer causes test failures, so force the other two +# dev-python/chardet[${PYTHON_USEDEP}] +BDEPEND=" + test? ( + || ( + dev-python/faust-cchardet[${PYTHON_USEDEP}] + dev-python/chardet[${PYTHON_USEDEP}] + ) + dev-python/packaging[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest +distutils_enable_sphinx doc + +EPYTEST_DESELECT=( + # broken by security backports, already skipped on py3.13+ + "bs4/tests/test_fuzz.py::TestFuzz::test_rejected_markup[crash-ffbdfa8a2b26f13537b68d3794b0478a4090ee4a]" +) diff --git a/dev-python/blake3/Manifest b/dev-python/blake3/Manifest index 69957115da9e..387f3972f3ca 100644 --- a/dev-python/blake3/Manifest +++ b/dev-python/blake3/Manifest @@ -1,13 +1,11 @@ DIST arrayref-0.3.9.crate 9186 BLAKE2B 8d7443944c81bf849fbb8a4e09ee379134c173decc712c6fafe483fb1545fba1f7f735979e5e26976502284502b5c7046f0b6aad59f8731a4ac8e1a51929c979 SHA512 f97e33e7fd65a8e908c21ab918350f71f12d49783162b90c5618660217b36516c39750b292a1248125f12429e4e00af9ff20c3846be81175946b8541d96ee606 DIST arrayvec-0.7.6.crate 31237 BLAKE2B b9d1df7e3ec47d434a2606fe9540e37e02351873b376a4e113b54461288e9ab20e02285eed5c4bc0f052ec4d6b3c804044413490ea706c31a852624b03bde7bb SHA512 b1f320746018a7f32340a833420089446ec5cefb7f299b4506eab7423d5db49f00b72d8aa8c6600f9159b9480d5eb3ce69407d93f5c9934147860c83e4d6eca8 -DIST autocfg-1.4.0.crate 17712 BLAKE2B 7f7300439899be03d001dd32b7e797bc4b9a58103081b6f7353c4b5897813cedf870b3fb1fa25d320a75326b334b44d8287e8603de34fc560d0b567143915cc6 SHA512 3b5e7c30bc73e105e4bfcab584c24fc4016db41fac9c356c6649fd841051704bbe8848e09546eb50d7c1f18ea8ce1cb72fbc268a620d5c609b3472114b5be73c DIST autocfg-1.5.0.crate 18729 BLAKE2B 27580e39b366c6fca02c9db09997b6415c409f12068f1249184268bf96fd85ba659e25ec730f99e10caf452f96c486f3d7442bf09c4552b5f39519b21d6f88cc SHA512 f279856f234d39d369623576acf9546a1ca24d7fe449f36d4fb93ea75a7efaf2c4015b9616a69bbbed358c5e5882e16b045352f046aa4c049b3d13b1e8257b08 DIST blake3-1.8.2.crate 205967 BLAKE2B ec9afd8f3fda5ac545fae869e4af941a4ae30473cb3e5a0b0f128c1dbf0c6231e3cf87decdfc765b69b99e2b2879f3f345ff7bf738911557740fb0445c9e028c SHA512 8635c3ac12c7f333912a6f42c75499395d6178a0dca810d9199bb533facb409970b17bff4b7f55731a7d5d75932e62b236e1651ed0388e2796024bd7dd2852b8 -DIST blake3-py-1.0.5.gh.tar.gz 114090 BLAKE2B 42f0688a6e65b244246ffe62960dab1e00af679063f783930fb1b0752c033173b183fe18ffb5c47093a1149c5c77b110339b370a2a3e7c0f868e30e5ff033fad SHA512 006d716fcf088a8a64188d79324e2fbef00d41b66cd7292cb0d94496d7397297f49e1cb33cf120ec76d40a93a01594e494df44433d83f83b48169677f41a6536 DIST blake3-py-1.0.6.gh.tar.gz 114491 BLAKE2B c775df5bc9e64be88c9b0bd8ad98679e2a314ffa76c3bdf9042ca28c243cb709ee48713b02916791f4846e36ba818a1fad792853897652ee894ebadee9c2afcb SHA512 0ac8c813cba427002bf7e6305960d90dd683f0bccfe00b0ad1f2275b7be320519d1c74aa4d891ad77ce32d9c1dac19fd7a4fe22ea815bd3242cbb803209a845f -DIST cc-1.2.23.crate 106527 BLAKE2B 0fd9e69ad743f4df15da3d25f85e1a422ef64b81b72af491001ccfba5c0c39e448deecc92e3a553bf74574460ecd2bf8f4056a1cd05d05856a1f3f36fa25bc19 SHA512 3fced846c630c09f629854754dc247affeae3e71375953617d77947b2bdfb479369db159cec941c7b094fd9d2fee62f7d5898d6d76de920dbd70de24ee35fd0b +DIST blake3-py-1.0.7.gh.tar.gz 114424 BLAKE2B 4aea5de0f99b5e098b0e45f0db02f15df53a3e73dbaf94aa9d2177c81b00069aec95e1912a5247d7adebbcac2dc4a2dca01e8544ad8434c0ec7bfba5832b9194 SHA512 326cbccb2415e388b310be57e7ed694c86fb808d075dc6093a2a9eb92d71201531e813945fe56235bc3916305a4595f42c5d6a2221ab0e62f16f3ffd98428690 DIST cc-1.2.38.crate 90139 BLAKE2B 18bcb89240d08928ad0950f923dda66b2703f5256a507d1bd36fb6468c6479d440692e37df096d1b0f3dba5177fba2cfae12f989782952946f99823567c4c212 SHA512 6614c2bbad044db8b60e14f3dfe6258e1a967e4f6019cac97ba82dad736270853077d6d6bfaa48d88102bed45cd39e8d55458a3664146bf5b96dfb9fc93fbd44 -DIST cfg-if-1.0.0.crate 7934 BLAKE2B e99a5589c11d79d77a4537b34ce0a45d37b981c123b79b807cea836c89fc3926d693458893baca2882448d3d44e3f64e06141f6d916b748daa10b8cc1ae16d1b SHA512 0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff +DIST cc-1.2.39.crate 90774 BLAKE2B 03c02839a1e464a32a6a6e532e1c7505d7c062facbfa3bfb0e69070d336922e247da8a63876e90f5f31c3c13085500fbf6a0736609db6c840d889e281d345892 SHA512 73f580f1bc1cab96a54a86025957cd846f7a3629f43b3b51b81e336a10cbbe81be6936afcef42118ad9b85184bf3b4dac2c151a62018f75b6b517ff294827954 DIST cfg-if-1.0.3.crate 8719 BLAKE2B 5cd0ac122110740895b45cdf8e0f738f2de1882d5a06c696d08e906765e4ddcd72a866dcc115da52d9fece205c9ad15dc25ad98dff36b32517012a7586e986ee SHA512 afe424a191c2aaaffec3d114e0116d0324d12117aeb22df78e47ad6752444bc5acb074ab0a174476b71e584a37743f9dcc2b0e8036d590fcc5afc7c55f86122b DIST constant_time_eq-0.3.1.crate 11561 BLAKE2B 9ac06a1b13da2aacfaa20d60e48df4f32f6462e4036fd9ec116c45a9bbe142a18b82cf18d762989876f31b745d98d52ce7e3d32f6c9700a500f16f00649b5699 SHA512 2b6b0d7572c02606b7c3780013fb1d1773b999a0d9934e4b140dd82f94e6c91d2ef82f6daaa1bda94f95bdf6b5997b2f0ea0c8eba8ca7e28a07d1e06b1071b50 DIST crossbeam-deque-0.8.6.crate 22471 BLAKE2B 02b854df171b0430ca8a40349674ff251698d0c322c317055da8678da6661730c945d86737fa4947c3bd824ffe402271ee2f77fd6a505d2d46b4a41454c510c8 SHA512 9368c0c224c4b84356f1d422d8869a5ab4bfb36b0ff69244a9e7a7304ed51f034001cd9b2bc35849df874d36ed34285c66574943573522ea32bbdc5a05df6989 @@ -18,34 +16,31 @@ DIST find-msvc-tools-0.1.2.crate 30461 BLAKE2B 66623bcb6fb43aeed869066f9a51eeb7f DIST heck-0.5.0.crate 11517 BLAKE2B 5365ec43b2239a76b33a174f1a4292ece4147f9d382a68c6c60db78fdc8bad0afb1d51a65bcb25e96675372faa4ea37c318265030b0546ba51942f7c929e1835 SHA512 f044fc9c3d22466629fd8f772ec0555350fd611c0cfadca51d99a3d2f10e155f77c1091916c8a95a6b9b499f366c2e99a5fbf45b010f988bfb9b2501bf9f6a76 DIST hex-0.4.3.crate 13299 BLAKE2B deab49bf3d97f6fd7c0a0855b50232422443b226362bc7a4a19e57c2e662fff2cb046d4c5bd7618ddd523045f3d8c78754508f862f9a8ca29ca9247da6d6ec79 SHA512 fd8ff33b68eea2d6f2c6b02a6d82a2807cbcdc209ca5a76e3e3e5d006917ee151f236b6d18e2646cc9a9674bcdda1d6ce6ee363a89cadd99bef00d0eea9989e6 DIST indoc-2.0.6.crate 17164 BLAKE2B 1a6cff95bc12ea885ef36b935bf4f1c7870d65be0ff31ffc67dcab904fa80215c1254c1803c5d0c5686252addfad3512e9e1ec79d3edcba026a879f4706926d1 SHA512 e2ea2e5c8226c802bbe0631c1a99d2edd088cbafbf978b2a7b71c7c7f47754c6d4653f466e286441b61cc46def1c7f7a02d4785caab93a61dd785211dba7d1a9 -DIST libc-0.2.172.crate 791646 BLAKE2B 3a6eb0eba1e31cf89ac792a8e667c0f68b2a0e62502710ffe77c2b06321103a30ffdc4516c0a91fd3ff44508d5304dfb04ab919bd3e723e34c66b560a20e7f86 SHA512 7bfe400ee65c1b7e540fd19a9b7eb1429a66863d5e94ee7caa83a227d19a4143316d3b401013fb7f88c8e4cdb1a40cfbd58826597c8e23799e02e29553b67e34 DIST libc-0.2.175.crate 788728 BLAKE2B dfbcc891a6da7d327916883deec54dbcb0ee5e7fda0b805926f06088dbbbef0520a838c07a62ea075d6a5a035994ea8130efbbc88e08b928c13b06bc5cf75bb9 SHA512 02fa1b6e61ecec3b626f3c802b53e7f46c98558f6e8c810b46d7322c2e4825f1be87068942ac81c07a2188356c6e2b6836b0dddd784396e43ab3712a62cd17ea -DIST memmap2-0.9.5.crate 33280 BLAKE2B cffb232e313c40c6a698ad6c9e6bf140193cf1cd4dc003ea6da08d748f11001c5426786f741dfe23490841350363db3b9adea927f3e40138b36f2f4558c7a113 SHA512 947eeaf7ded7241a256fc2b288013585f5034a77a18c8621ab01a4b47c0ae6e9b9414c5e9e2f2d47b661f8c6966b1ed0d159342cae80cf45e51629949c3b1337 +DIST libc-0.2.176.crate 790040 BLAKE2B 0c58e6c9a3ef8983ecb33917903ce021df7c249dc2b142805c47360418be7219277b8a02d04df7bdafdb1fb04ca21fb2e791cd625a8e696faff3b762cf0e0799 SHA512 e1c5acef0efd3ee6b0742e28d86ee74f9555745349de8ca5c2a64a823365948fe1f7c72a6b9ce6d4a251a67beb45b748cf575005b935bf0188903b49843e9192 DIST memmap2-0.9.8.crate 34478 BLAKE2B b692ca950cdc51d2ac17133fcbee48f4e6a9cb3ffc00b1bccfdce366ee29fbf62686eeb780a5896a76a4634b6fbfcf0da4d12987dec872f80e6cf792c5c9da65 SHA512 291d20396dce8f34cef46801bb26f73a2b5e07a0a58e01894858696578d4fbcd1c3b3872828a80cb2552ee71908cc2c13599c1522a0f0d4663e603fbc924556a DIST memoffset-0.9.1.crate 9032 BLAKE2B 0aab55fe084134bb599c52d77c96400db40949b1013e7037747ada4fcec8dc4a124b6f3755f04b36e057eb2fb4a6bd6f07d6eebcf166f8a71405ef434d802fbf SHA512 3a236c0f481e36973b9f805e454c2efe4dd375e6b4ee406b57145136c70d5fbf4e1183d563ebf3b5fbde7363bbf5f08f0d88e507aae5bda4cc75664ecd0e33aa DIST once_cell-1.21.3.crate 34534 BLAKE2B 3578aaef305cad2fdffdc40c392775a3540bfab3f3aeafd22466d9507bf8346b9fcc200929d48525b051070c0aaa423ecbcaa12868b34dca007991effb224166 SHA512 32a87506c6f4598f3ca2c88556014ef2093d5db9a08602335e847caa537a866492fa74c894e7e1da2e4289a1d3dbffcb90a9e37a4a1453203832f434b8206990 -DIST portable-atomic-1.11.0.crate 181258 BLAKE2B 627bd7c306f6c4d7991abd9f995b7e0ce110a7ace738690c287a43ce3b979691214e525876f8ace0c2f0d10d781fba95c7d3bf29aea28e09b05b06f4764db03f SHA512 71774f8308963c5399095c6b755befdf9ff3d28f9529b4bae1fe0f2aba733339a267aa6f0ff854e59fa5044a9b0c2c86bad3bc4fcaa951724c839b0d6a22041e DIST portable-atomic-1.11.1.crate 185506 BLAKE2B 953bb1f2059dc1d891305eb89945f1f6a172fa50972725aee499de72b5dd9b4ad8ccefe4e891183ff8e6b64f4d1bb45ec33b06e0f5af34c940f817b290f746d9 SHA512 4c037ae0b4aef43077bdbf803389bc078d963f20d023e2e1d339a54f67fa9b27c174e7c1b6eca8881ecf301e30c431632d2c0dcedfb5b19552892fac0f81e2e1 DIST proc-macro2-1.0.101.crate 53886 BLAKE2B db566c4fb6a197e0aa45cc074310853eaa24ceeafe9fb91f2014ba47cf6b1cbc34e4e9391456c946587540c8e270e1a37f5195cf03bd15ea5d4f171bba9772db SHA512 3171c807d24371da2931f9c706fb3129bb9bf3ac40418e5d14cfc372baf96e5fee9ede72091163858e3ba0b4f88594efa1031b0bb7128ca68e7b847dead6856c -DIST proc-macro2-1.0.95.crate 51820 BLAKE2B 93229d80556ec03bce4031607d13c7902cacc2d7e2586a692ffe8543d52e3f3ba253c9c311ddedf6d9348ce8758ae8ff64577675cda2dac557f936a328de47e3 SHA512 f78e4d47ecd29c1b2315554705e445507bbfb9449afd0bf1b74df28f266ac6382ca8c3ce135ddc55c989eaee64d1794a0933a941c8ff55f543fa21c400016547 -DIST pyo3-0.24.2.crate 1113754 BLAKE2B ba8117316f8c40f32a32e81ab19e30b289dd685d2e007121190d6028b222552210e00bc8c573ae2fdaa4d68327b9be86740916236a9b7497f0195d9466a05fb4 SHA512 fa9ff4b215e4b3346191bd2eed6624cf4c3eb3ad9ec6dfe42df2bdf55dc7189d5ac366015982b09c5d3252703f07a47f4eee39c627494cc295254d57d0e6626e DIST pyo3-0.25.1.crate 1121993 BLAKE2B 79a982131fc4c4f9292e97bc8d938d236ee9cefb99bb90646a84703660ad506aee8ae1f1e626d985aa62c695722510f2697544581fa5c3a01f193be2bc2779fe SHA512 9c842c89d274dba0c8a3085a8524736245d65f07e5c05bc13fc89167cfdeb1a4ff2b4a9da9467eee918e45d01777473f39bda11efe0052859969d4fdeac1adc6 -DIST pyo3-build-config-0.24.2.crate 34019 BLAKE2B 7043708120865561ecb2785e618b8544e2fce456e611bf0042284b7a6349b66f541b60c252cb1d1d6ff5cdee84f0c0a11631c602cd5f8a0896689277f28515b1 SHA512 e388d8f319c95af85d2779cd9d24f1293e3b9ac97ea8cf99064ff851b9bf93bf86f476b97ca1434ea0060043a6e7af1129a7e6c1fd1159eb7b025c646a7ddc37 +DIST pyo3-0.26.0.crate 1151579 BLAKE2B bcc8236785502928bf4a0b7a320e0a8f3d6140c562de4351a52d015aaebb8dd6b4d68fe607c8ea13ec66941c8f01d2c18c4249adfacb521355d4bf158667f3a3 SHA512 e073a4d893f88aa0301ef0ead78048137515edd93c490e6dccbc301ff65a208534c65c1d216b04639d4b1ec1e4b69bc87bd34974e5d0659134c28dcce589c194 DIST pyo3-build-config-0.25.1.crate 34126 BLAKE2B ca905f1f74e26f38ab63a4f5754055c9dff01f9396f81ece09b7ce067181b657e6746db3b373f7177805f6564d0df0db064b5fcab8160d5edc357e64dd32d0fc SHA512 d6fe4a46111188203a839c8c73b9835f98cd6bc5982868cbcc9f502c5a09b35c3e61117b50ef8372470051b5bc4959731907748ffca89f42f300a3081b7b0467 -DIST pyo3-ffi-0.24.2.crate 76458 BLAKE2B 1cf67756e79e02429d5dab9db2bc2abcb77430a9cab9e16cbf8de74bfe6c5e70bc1a92c71b9bc5b6cebaecd1c803215aa5b186236fa50b74875d42fd0c78b55d SHA512 cf18b1048f5f30948cfa213c5f812d50253ac79fb1f1a8eef1034ca91d0ba720428b546294f75327df6243889915d25d398a7bce446cabc3b9aae661ba973058 +DIST pyo3-build-config-0.26.0.crate 34309 BLAKE2B 5ea8b51da2f425674cd3bfcc1090ffdd08da01d2161dc66b08995c20cc859422f9f84077c545e5a0580182910aeb9dbba97838915148a82b86948d1cca3c8722 SHA512 a982d0a0baa4af58c2cef7c0c4b2671e3f559ca7f30586eda9fbd05e842efa2bfea0089ddbc729225b848871f6a25f85e86576e1dff519192ba289cd92c6aa8b DIST pyo3-ffi-0.25.1.crate 78058 BLAKE2B 351fe00c99008a34a003e50cd4f6d25e6dae5a446928358cd5146ac9924254614724a015ae77d8aade7bcb497cf5e5b5018021ff5d89a8efa6412f5ccb48744e SHA512 35ab63888f49df13fab8b96b87f6c705186173923fd5898abe8730675156426f020ee517019926ba5e06cdb4fc5f91a75f648ce9eba892e9eaf3ee17864a8ec7 -DIST pyo3-macros-0.24.2.crate 8874 BLAKE2B 03a7173da6f594995046f41d3e7bb7ce847f32cfa1cb5cc59671c74d732746851902f759b073ae0a84034577065eae0d6fffd579a5f25e80561ac213feb228c1 SHA512 ac75dcaf24e308dfefe0e0c2931a3527829750dd2afcb29028d48483ae91a65078afec3d8c03d47f946a6d3b3da9f681e03fedcffd2bbde4b8208eed5faa7ffa +DIST pyo3-ffi-0.26.0.crate 78247 BLAKE2B 65f1c399bc763bf8afc36ccac27d28242ebcccebd08ab8d9b3165ca5c9abb10f76e76fe5a250aa1e0cdc1d1e8a613160660f07bc0dbc2812675acb9dfc8e89c2 SHA512 91c2ae828e997dee5e48d839794727e94576228e9329c358a3bc77a59f8f37fa0ae6c2579229782b3f46ab90725844ce9194b9de4d3849d824adf1d40743bf7e DIST pyo3-macros-0.25.1.crate 8886 BLAKE2B aad9c975c90ff93429be24287d76edd945578b546a927f54d82b6d4bf184f1f8d426ac112307205346e85999a1e89b097f68310de647f27474790bff01c3517a SHA512 08387f3d1ddb0cc253eed376e6e8ebe5722b31664ec742f16c0454b52f1fbcadbe7720ae9e2d3870fe0ca2690916cf6e3e032f5a3e65d767322c068432f6d470 -DIST pyo3-macros-backend-0.24.2.crate 72654 BLAKE2B 0e5488334e3cf609d4a4973cd9cfaf5c7fbe4b983b1666837258ee0ff86f9250b0550422f398e384c037e6c914da0880a50388c027c444c98abc730942ef1de6 SHA512 e70809ffee1b20161b112055bb813acf35912473923a9fec4ef1ecaa7100d9fc92a1423255d182bed42435dd4ca3276dc3c0d6eeaa158a6e67a790604b961a0d +DIST pyo3-macros-0.26.0.crate 8906 BLAKE2B 60eef72d27b5bc922b75f71ae24bb6f380288cb3a619bf2940b0de47b27e86cce0ffdb1fbdc9c0540d3f15c9df4884497aa1e6efec0f1579ac722b414818a428 SHA512 07bcddba0926c3dff7629da3260f9a38593fbb337b6a68d55c223f5944d912885e5319cd635ae1785026fed4adea1fcc19695ae83aca5bea127c5a8868fd2c43 DIST pyo3-macros-backend-0.25.1.crate 76006 BLAKE2B 02225f8591585a6cbea7d6e53503bfbac395253cb0f45c588a2eb38908bf241034412832f2fcf4e9301318b5b9b82a888755d970f544f402a4f0cf9e4a6eefe9 SHA512 4c9006424630ab9bcd5dcdd45fe927a95a40a61757f0950396eb9f0c3f1794772092a19773c102220489cc621ad65d81dbbe459a1be472f6cd3211c50ef33cc2 +DIST pyo3-macros-backend-0.26.0.crate 81809 BLAKE2B 73885035855daf00b001e97e0a5ebe09412d212c8f01aa4db6638ef09990bf1bccbacf2e5a7e6ec21929bb1c2beba06587ecdb6ee954eda9e9c51c6c276cea95 SHA512 4146011a8ef18ecaa44b425eebe6e5e1370945063b98aaa83452e57b66aefbf5d483367b1d4d44aa5091303c4ba7f568c6428ecec0cfa6c90ba41631d4e99367 DIST quote-1.0.40.crate 31063 BLAKE2B 09036ff3e5ebbd775c466bb936de91d4c070481eb4b98c62a4cddcda57cd7b67d63f979b321f6ec64aabee3f5da6c28e7a3efb83f4647768ba578f1bd0bd0bdb SHA512 45a76e22a2b0bec47e4ba73c3b73cc41d821dfcce9876134c5d8eed514da214aee4ce7612e372c8709f888c0d8b9b7e5442f27adb7a59f3571f0339ed7e2ac99 +DIST quote-1.0.41.crate 31408 BLAKE2B 9d496e0878fc329ac9492ecbd470e762bd807ec8ca4e17a856b4d1c776351434778f519977137a67b8c143ee60b20774c09768d480cff51b22f2cfcb364a20d9 SHA512 64374d70eb29f7d7e02e535ba383586d93f68a9b6464c79840fa6c42a1ac47be7ba14e415a40e158f845e486ed33d5c564c882913780d296360b30a56301ff7e DIST rayon-1.10.0.crate 180155 BLAKE2B 16cb706d2317d8a349394c521ec5ab550290c5ab2a0a0dc24f0282fa7eb01fd1351a7dc8b5af3a55ea321e6526fbe037fec3cf8b32463166a082a6e417a51fca SHA512 3f628c58f3af3cbd1f245ca1be9c8393eff41112891fc4e676a2b9e26b6cba7cb80d7b6ce46e75bbb65e42fc00c5c0bb6b6a4b59092882f03febeb31f9cca5d3 +DIST rayon-1.11.0.crate 182470 BLAKE2B 40a21dac636e7a652d62d9db520bc50a7a0019f0f96aec6a9002dffdef3d7ee0b2a323e4c3022e5cbaa22efe52bc72573bcfc7d399dffc853bec08190ea4eab6 SHA512 24238ba604099b3e58282b7338ccc63e52621e329ac908d7f3799c632f4ff97ae305a5b361479d4d7d0f09b76f49ab3b75c4187c41542caaca0575d51c299d2c DIST rayon-core-1.12.1.crate 70701 BLAKE2B a32eb9ae9a71b4f0881f7bfd5375aa7db5681f20f7e0b25e6ecb3161f2aad36b93026c1691d02bf298a48ea07ec9475a237fba457ed0b0b8624aebab2b4988df SHA512 33d0297b682f131c50e1eabc3be583211a5abe790301cbca91bf510e43d6714b7564ca39fab7c4bf6f02aa0df6bb394f386a61320f21ddb6bd7aea1372b5e99e +DIST rayon-core-1.13.0.crate 73151 BLAKE2B 31112b2f4ff2a0607daced97e234c6cad1356c79d21c7493f3b19b2747083eca85709d5548c9214bb5186a7e2e5fe0def27c45d69d597cac976bb0956da2aa70 SHA512 dce0adda8f5858d351f628f50168d9097ecca437b77fc0c63ad18fb8b3fcc87f2f513cbcbf57606862e30e81f293a05d245073be75292d1a536d6a4d3e2edb9b DIST shlex-1.3.0.crate 18713 BLAKE2B 18800c364d3a628f1a3125097ea82fe6286550c2997235df0bf8483a3906aacabc81308cb239887d46ba2f457cc6f8acd5aca78316707eea5098cd5666aea67d SHA512 5c8cedbe666a14b8a0874defb9208146ce64579cde52ed483e4a794cac5dde6a24bf8d684404edff582f842e1fd4fa3fbeddbe074f191e4ec4aa517aa456fe8a -DIST syn-2.0.101.crate 299250 BLAKE2B 7018cdede66dca82e7d7a7e07e52a178687957fcfd69f1a2862094497d2fb9d78ada14b94761679bbc5f6c76c808a63e948ed071e4f65c2f9580a40bf58c9426 SHA512 05e4233a51f4d229dd4c9bd23c5224c42ec5554d02fd316dad10dfdb876aa1d379c7ea30b1ace979537da91ee746ca4fdcef7690885f83fd41ec8c9dc5984101 DIST syn-2.0.106.crate 301514 BLAKE2B 6b28b30ee067c23dc4bd1b38365d14c1700245c974e785173965b0822301966d642b36bdda25210d61f17a99fc71eb81e29a56c89d1649773908bae32778fb1f SHA512 e07e1058770fa3f1039eaf335340cefb597c0dd11bb90fec9fa777ca5815d0e0bb1711bb4db52cac77e205dd68fbe2bce0e1aa9895c2a52a1ea6d7758d13424c -DIST target-lexicon-0.13.2.crate 27923 BLAKE2B 0761f0ffdc23b9c9df86b384d59611c7b8b5e29ff068f03367ad2fe84cfb6d11e1af149b9338236978e9566fedc51387db9f239d2a602db41045ac3db907faec SHA512 d25e3cc3d679cb6b6f24c03e0c24db9d6ca31b8ed42ac9531bd7637557fbba225a6c8ac4f68a8eaf3569195814d599e668a968afbc73b940a77cbc27552cc90a DIST target-lexicon-0.13.3.crate 28498 BLAKE2B 397315667737abde41949081f8377f704c3a1105790162249a9f0c08b60f012e67d66550e9063d900ac98f5191d13c5ed23d1a8045f99373e7a673a3cfc029e7 SHA512 23422df6edb2a8cb0a9f048864faf76ccb27d6e97fbed7b208b77206941b196f155896a0381150e387142e976439a0a296dcf4cbb4df6bc0e11c65f97f979443 -DIST unicode-ident-1.0.18.crate 47743 BLAKE2B 517ab42a847020515b2b871844d0571ea672340f89a762631a791eac18935ac122122fa5566e58b99ab47de179eadb5298e8ff1d05b123c4e93b7fa989c8e31f SHA512 d11f89fb696f9e2953c96a40b5478832651b268c83b9c7a700b07e768e795d6e8dc346597d1226df21219d36866768d1f640bd8edb68db8bd3d5d437b2bfd324 DIST unicode-ident-1.0.19.crate 47480 BLAKE2B d1b9d26833fcd1f3a8498abe2f4ba4202e4547315e48aa927c0f6e4a760c6c7000ff0c18d0cf45af362323c42843d745958c1b0419835f39e13dbc1559487026 SHA512 b17fcf6bffdb4745e0b1bf4983a0dcc4c84f8b4e2c2c618eefbbeae83f94ec75df87b55f9e2dede8c3b4c6e22107fcfc589475c0cbc2c58dfb8630db8d362183 DIST unindent-0.2.4.crate 7422 BLAKE2B 2e7870cd4f78240dbb1e5fb9c0f9b55c57bb40242fe668f105a0e862f1d6300e31efbffe0cdff676a5f96a8d19dfb148f88bfef1cd8a710556d777fd0f4ee37f SHA512 58bd4fd20a0b0a7200e0ea3ea70553cea135a5a8f7a2fb178520c41228f435becce4b9981019b7c73a17df87a2ee9b2a47c4cec29a3011bfe848d48b2473761b diff --git a/dev-python/blake3/blake3-1.0.5.ebuild b/dev-python/blake3/blake3-1.0.7.ebuild index d928898e2d4d..72eeb2f18f97 100644 --- a/dev-python/blake3/blake3-1.0.5.ebuild +++ b/dev-python/blake3/blake3-1.0.7.ebuild @@ -8,39 +8,41 @@ DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=standalone PYTHON_COMPAT=( python3_{11..14} ) +RUST_MIN_VER="1.80.0" CRATES=" arrayref@0.3.9 arrayvec@0.7.6 - autocfg@1.4.0 + autocfg@1.5.0 blake3@1.8.2 - cc@1.2.23 - cfg-if@1.0.0 + cc@1.2.39 + cfg-if@1.0.3 constant_time_eq@0.3.1 crossbeam-deque@0.8.6 crossbeam-epoch@0.9.18 crossbeam-utils@0.8.21 either@1.15.0 + find-msvc-tools@0.1.2 heck@0.5.0 hex@0.4.3 indoc@2.0.6 - libc@0.2.172 - memmap2@0.9.5 + libc@0.2.176 + memmap2@0.9.8 memoffset@0.9.1 once_cell@1.21.3 - portable-atomic@1.11.0 - proc-macro2@1.0.95 - pyo3-build-config@0.24.2 - pyo3-ffi@0.24.2 - pyo3-macros-backend@0.24.2 - pyo3-macros@0.24.2 - pyo3@0.24.2 - quote@1.0.40 - rayon-core@1.12.1 - rayon@1.10.0 + portable-atomic@1.11.1 + proc-macro2@1.0.101 + pyo3-build-config@0.26.0 + pyo3-ffi@0.26.0 + pyo3-macros-backend@0.26.0 + pyo3-macros@0.26.0 + pyo3@0.26.0 + quote@1.0.41 + rayon-core@1.13.0 + rayon@1.11.0 shlex@1.3.0 - syn@2.0.101 - target-lexicon@0.13.2 - unicode-ident@1.0.18 + syn@2.0.106 + target-lexicon@0.13.3 + unicode-ident@1.0.19 unindent@0.2.4 " @@ -77,6 +79,11 @@ SLOT="0" KEYWORDS="~amd64" IUSE="+rust" +RDEPEND=" + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.6.0[${PYTHON_USEDEP}] + ' 3.10) +" BDEPEND=" rust? ( ${RUST_DEPEND} @@ -93,6 +100,7 @@ BDEPEND=" QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/blake3/blake3.*.so" +EPYTEST_PLUGINS=() distutils_enable_tests pytest pkg_setup() { @@ -116,7 +124,6 @@ src_prepare() { python_compile() { local DISTUTILS_USE_PEP517=$(usex rust maturin setuptools) - local -x PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1 if ! use rust; then cd c_impl || die diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 7bf932417a7e..cf37467cf94b 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -13,3 +13,5 @@ DIST boto3-1.40.37.gh.tar.gz 1002433 BLAKE2B 1455b91f685be5a50daa48de432998ad77e DIST boto3-1.40.38.gh.tar.gz 1002682 BLAKE2B 079377e6d6d5fb0f4622b9a8023fecce859cb4ee6fa4d971e32b4f41113ac0d170a4a511c781e8361d5be7ef677db207914620f228eff571a090fcb26e46092d SHA512 b63d594175a2d68a6d9e86bb59094360827ff312e9b31b88d64fc385fa4571dcff03de35ec725280881862e9a53637de6fb2c80450e8831da464b73de9206a67 DIST boto3-1.40.39.gh.tar.gz 1002988 BLAKE2B 944ac6019c461af48526851d526cc397bd300b8e396d5935828564ed2be483971a132b29325d171d82f3bf89c22347dc1ac5ec0f0fb7ba5d4057ccc22a523990 SHA512 ca48b1e4115b55a3309636fc7d3dcea8e59a5705775455513ea74acfb958dc7d770f908d0c7c2bbbc04f6661085cfd15dbf9ef9c4d94c4ad7dc690ed5d680ac5 DIST boto3-1.40.40.gh.tar.gz 1003705 BLAKE2B b7a555bb3ce92d01a14f3bc43a689452ed7f1cdef7e8f165ed4ee9b5625ab8c064c4ba541c67f301d938d6a3886301f1c563c0f77a72bae19c88ff60f35fdcfa SHA512 47172d50ce7203abb5e85e7e66da93e388a6f28a244fe0e654f619dee5388961d080ff04ff7126c09bc52af7c3f03cd4c334fc757bc63fbfb2572cab668b7b26 +DIST boto3-1.40.41.gh.tar.gz 1004100 BLAKE2B 5962a2a77f20535580cdc8efb6cf6eb7004b0903879dd2ff554cc6f48541cf132e80a3e1c001ad364f9e38855cbadae52b6b39a8e33363ee0cc6b2c13485de2a SHA512 c80f6f83b63bd593113c99f2f1a8b86de734722306304ce4a4cc9a40610c2bcc274c17ee0246a550127d8a2503367bf961b2469bdd0e39c90db5c539dba04158 +DIST boto3-1.40.42.gh.tar.gz 1005633 BLAKE2B a247bd55488854a6b5796385cb185e66dce964a98ab1eec2d244b43802cffbe00cf331efbe3c498c0f5999299870bc10158b98979747593eea8ca47581bb1afd SHA512 a6673cdf916cce47429fecf9d5462670ee2140b89838c815be74a5c2806f09dc6fd788dc3e14136f5bd6e9c0e4f0c8663e7cf93152a898340b023a51bc39c4f4 diff --git a/dev-python/boto3/boto3-1.40.41.ebuild b/dev-python/boto3/boto3-1.40.41.ebuild new file mode 100644 index 000000000000..90fb2a42e6e5 --- /dev/null +++ b/dev-python/boto3/boto3-1.40.41.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.14.0[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + epytest tests/{functional,unit} +} diff --git a/dev-python/boto3/boto3-1.40.42.ebuild b/dev-python/boto3/boto3-1.40.42.ebuild new file mode 100644 index 000000000000..90fb2a42e6e5 --- /dev/null +++ b/dev-python/boto3/boto3-1.40.42.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.14.0[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 52e22d7a61c7..0bb155b53916 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -13,3 +13,5 @@ DIST botocore-1.40.37.gh.tar.gz 15152557 BLAKE2B b0ed767f10514f099730e08ef6c8588 DIST botocore-1.40.38.gh.tar.gz 15154440 BLAKE2B a43db5c4fc5998b4160f4f07a933a4157df833c65762bcf73fab6fdf9d44978d6c139bd0a3d6967640fb7114b3fa048f78aebd420f47c207b7af52cfd1bd4371 SHA512 681575e86ff0efc53008e160637c36c84197c4d043039b8cc42bb144b651bc1186c7183a96a02ac12ecf6cf184dd7cc30277af17e878b4b03be03df31d322a79 DIST botocore-1.40.39.gh.tar.gz 15154528 BLAKE2B d5f580048ede0cda636ca74a18fafe100e6c70ba690721e3c8c30d7abbd5a1641549e926a67780c082e192bb653e8d54cfa1c2189ad2a5fe2a835cfe88bb3d9a SHA512 5032f1e6903d62c89df28c15586595f478d679e54c47088dd715a2005cf91c7353620d7b572d073232a7f023d574f16ceb51cc4449038178ac6c5cc342c1df3b DIST botocore-1.40.40.gh.tar.gz 15161555 BLAKE2B 099fc06007aedcb65b73de369b00d799ce7166f7ba4838a75abb2158f13dceade699b47eb5bff3cde48b7e5316eb12c2ba08ab22cf642bbaf26907454fe1e393 SHA512 4625752f7d2593a12451d257002dabc8ec3aa84267a1466a8e5e767878aae0bf875ae82d899fffc6b740ac957cd08fbd1baafdb4b82c2ebbaaf6f5d14db5eba6 +DIST botocore-1.40.41.gh.tar.gz 15164168 BLAKE2B 6e566392943e927d3b22f6dd44462d55b88867caf10c53054bd080f640a7b31f6d750a58c85bb599dc2cfe7a5e97ace98060d3740d4ba57566db709f49cafe05 SHA512 295e7b0fb305aadf67e0729fd0bd0af954d7a53c2c7735939ffd49c4f47d5239e55f29f0d669e6a0be32a404e20164c5fc0b29f36113e2a6a1c60cae6267064c +DIST botocore-1.40.42.gh.tar.gz 15185422 BLAKE2B a9f080f72a1476b09a2874241cddaaf2c287e717bb870716bea813417ab578d0458ac5d920214fd7fb7a2a8d428a7e6469aecaa1f78f6eebd4824328f1e7063a SHA512 b39b60bddc61aa8b4f4e461122c961dba5447a429f8a95640db4356817f060feb088f4c1523315ffa156969aff61c55f25fbe53257c20f4f1c990cd138c0c380 diff --git a/dev-python/botocore/botocore-1.40.41.ebuild b/dev-python/botocore/botocore-1.40.41.ebuild new file mode 100644 index 000000000000..a931fcaefec4 --- /dev/null +++ b/dev-python/botocore/botocore-1.40.41.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + <dev-python/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +# unbundled packages +RDEPEND+=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + ) + + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/botocore-1.40.42.ebuild b/dev-python/botocore/botocore-1.40.42.ebuild new file mode 100644 index 000000000000..a931fcaefec4 --- /dev/null +++ b/dev-python/botocore/botocore-1.40.42.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + <dev-python/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +# unbundled packages +RDEPEND+=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + ) + + epytest tests/{functional,unit} +} diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index 91e4c02456a4..1f0c4758f47a 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -1,4 +1,2 @@ -DIST cfn_lint-1.37.2.tar.gz 3105967 BLAKE2B afa47f8c3669b32a6471e6bd438b68407f87f76c1473d848b8bc70474616418505ffcb69f7a35124fc2c5c1b2a5135d2d9ed51f2227b36e753d7a481fbc5b362 SHA512 e5a24a4cc506c287af3229ca86bee6ece335b8b80c7083f9b8c52a79d09c441043b176464e84051d05e135d2e47b11b307531a9ab0b24de98545e9e276697f64 -DIST cfn_lint-1.38.3.tar.gz 3547091 BLAKE2B d1e05090f3d6bf43b4a4ab90f658fe3c958d78804d2fbb1e07ad8d799f261799104c83eb71bc62fb04a84a66733243d38434948b7156398ce570539a5cf4058f SHA512 392dad7a58abdaa4b6416701381164c7dc98ca483aacbdc335ae26ba64ee2f15f680bfc931e4cfb6c21a6accb3f5c6c27c52e158a52d500820f086cbda06f7f5 -DIST cfn_lint-1.39.0.tar.gz 3539764 BLAKE2B 5e03ffab22bb11e887279b044f97f0206352e4f3918ac64e10106209d33b0df8dff5e6c82b35d6a175fc3fdf0e1e65c2b52ab836fbdde6694d5a09d9fb53003e SHA512 4ce87af557eb8c4dfb11bfdf6c57e4f30762644f55e32e5b3248df73cd50a94f958b58345f94fab2b80dbd4c551873fb5d062b68b4f224c8e94b5e512e28a987 DIST cfn_lint-1.39.1.tar.gz 3250565 BLAKE2B 8cae83fc090a5208e24d85270085fe7ab271838decf8e8c6914679ef2c8693f1067814f0656264bf47b8a214689862eec6f0524c9dc6bb8803cb167ed9db166d SHA512 d2c3246acde134ae840552f1202d2f8a4033fc22e7eae3ac7bd53c151294b36396c2611f3e75c86b083d0a9d00e13f9c148ceef921cbd3dd59820abdf6140333 +DIST cfn_lint-1.40.0.tar.gz 3359732 BLAKE2B adcefc474df4c05558acf69892daf8335cca39b979221cdec82de9e7b58409b1c9e980bfd1becb65b3a84fd41933ec5ece2199c698b3987499694758a9289a82 SHA512 0da2b29ab549c4422b5c2cc0c51d54308f9dd7990061e39654fa3a08c75c63e44e36b133e292757f1bb13121003791cb33409c404ec201da8718421da89a0d4f diff --git a/dev-python/cfn-lint/cfn-lint-1.37.2.ebuild b/dev-python/cfn-lint/cfn-lint-1.37.2.ebuild deleted file mode 100644 index 5eba69062708..000000000000 --- a/dev-python/cfn-lint/cfn-lint-1.37.2.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 pypi - -DESCRIPTION="CloudFormation Linter" -HOMEPAGE=" - https://github.com/aws-cloudformation/cfn-lint/ - https://pypi.org/project/cfn-lint/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm64 ~riscv x86" - -RDEPEND=" - >=dev-python/aws-sam-translator-1.97.0[${PYTHON_USEDEP}] - dev-python/jsonpatch[${PYTHON_USEDEP}] - >=dev-python/jschema-to-python-1.2.3[${PYTHON_USEDEP}] - <dev-python/jsonschema-5[${PYTHON_USEDEP}] - >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}] - dev-python/junit-xml[${PYTHON_USEDEP}] - <dev-python/networkx-4[${PYTHON_USEDEP}] - >dev-python/pyyaml-5.4[${PYTHON_USEDEP}] - >=dev-python/regex-2021.7.1[${PYTHON_USEDEP}] - >=dev-python/sarif-om-1.0.4[${PYTHON_USEDEP}] - >=dev-python/sympy-1.0.0[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/setuptools-77.0.3[${PYTHON_USEDEP}] - test? ( - dev-python/defusedxml[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=() -distutils_enable_tests pytest - -src_prepare() { - # unpin the deps - sed -e 's:~=[0-9.]*::' -i pyproject.toml || die - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # different line wrapping somehow - test/unit/module/template/test_template.py::TestTemplate::test_build_graph - # requires git repo - test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs - ) - - # from tox.ini - local -x AWS_DEFAULT_REGION=us-east-1 - epytest -} diff --git a/dev-python/cfn-lint/cfn-lint-1.38.3.ebuild b/dev-python/cfn-lint/cfn-lint-1.38.3.ebuild deleted file mode 100644 index 57aad19a4bb1..000000000000 --- a/dev-python/cfn-lint/cfn-lint-1.38.3.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 pypi - -DESCRIPTION="CloudFormation Linter" -HOMEPAGE=" - https://github.com/aws-cloudformation/cfn-lint/ - https://pypi.org/project/cfn-lint/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm64 ~riscv x86" - -RDEPEND=" - >=dev-python/aws-sam-translator-1.97.0[${PYTHON_USEDEP}] - dev-python/jsonpatch[${PYTHON_USEDEP}] - >=dev-python/jschema-to-python-1.2.3[${PYTHON_USEDEP}] - <dev-python/jsonschema-5[${PYTHON_USEDEP}] - >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}] - dev-python/junit-xml[${PYTHON_USEDEP}] - <dev-python/networkx-4[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.4[${PYTHON_USEDEP}] - >=dev-python/regex-2021.7.1[${PYTHON_USEDEP}] - >=dev-python/sarif-om-1.0.4[${PYTHON_USEDEP}] - >=dev-python/sympy-1.0.0[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/setuptools-77.0.3[${PYTHON_USEDEP}] - test? ( - dev-python/defusedxml[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=() -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # different line wrapping somehow - test/unit/module/template/test_template.py::TestTemplate::test_build_graph - # requires git repo - test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs - # TODO: suddenly started failing in older versions too - # https://github.com/aws-cloudformation/cfn-lint/issues/4207 - test/integration/test_good_templates.py - test/unit/module/override/test_exclude.py::TestExclude::test_success_run - test/unit/module/test_api.py::TestLintFile::test_good_template - test/unit/module/test_rules_collections.py::TestRulesCollection::test_success_run - ) - - # from tox.ini - local -x AWS_DEFAULT_REGION=us-east-1 - epytest -} diff --git a/dev-python/cfn-lint/cfn-lint-1.39.0.ebuild b/dev-python/cfn-lint/cfn-lint-1.40.0.ebuild index 6a1d53b2d46a..6a1d53b2d46a 100644 --- a/dev-python/cfn-lint/cfn-lint-1.39.0.ebuild +++ b/dev-python/cfn-lint/cfn-lint-1.40.0.ebuild diff --git a/dev-python/clang/Manifest b/dev-python/clang/Manifest index e3c6add151f6..1fca96741050 100644 --- a/dev-python/clang/Manifest +++ b/dev-python/clang/Manifest @@ -15,4 +15,5 @@ DIST llvm-project-21.1.1.src.tar.xz.sig 438 BLAKE2B 8fdf614e67e31382c65d70a551ef DIST llvm-project-21.1.2.src.tar.xz 158926856 BLAKE2B 1b5684586297ad637c6da0976854b24d746679e9d125a19e321dc28fa7f83949cc431f4b630e4976496660389e7abac09962c21e45b88dff7d0900ee1bda51d7 SHA512 f810ba8706872257715c05f80c304ceb396cf38b3a8e0bfb50e474e8d0a3417740b9afea170a7c06a33927037753a190471917e83d6740cb18bc50fd50cf4f3d DIST llvm-project-21.1.2.src.tar.xz.sig 566 BLAKE2B 6209caf851c681e6f63ed1bd9589ac139c104d6ee21f463aacda472e30a847c32f3bd74a04208af05bb6203d8fa31bdc0028c0e72736a3037940e75eda615415 SHA512 dd8aa57451752a9207c276117a4b8a86f41263ea3ccc4fa198cd40d6fec79acd0ba126c4b84a1acbb52bbb2bce029fbc336deac8131be94747dd04e4a0f69331 DIST llvm-project-70bd610e43853d575e22be1cda46614fe9f0072f.tar.gz 247904536 BLAKE2B f0ae7bd39d921ce28adb6e2aadd8b2b94ba7a48ba344ea6ea236b2507430fb1a0e23cd6186d79d445de31d46580e2ac9ec400fc686cd9a7513e0ae2d0f479c1d SHA512 1201acbcec20d00979e7f06075756926161123cfb11da146a3bfa5c81d607b61d94c645d0abba839614cbe5d44cacb0b1c754e1ae49fa871cb86d9f6d7c70e26 +DIST llvm-project-89ed5255b9ee88119e409a6d986eb1ad0e8f08e3.tar.gz 248431210 BLAKE2B b98dfe5ae46190a5a2460c965f0ec51d2f65a9d1d14f82afa19a10f00a2c29520c52309ee66d71efed6361aa675abcc9bd1b5e61e1c3b1aa9bac4984050c2bc2 SHA512 f860f529f4eb67f4a5875d9931accae2f48b88486dd6715a2ca2add7d5aa1541a30e323612394162e65597054d61a879a9ba94e4dbf417c3fb5f8ff069c2d924 DIST llvm-project-f059d2bac034acca39ad60a1b13aaec6afa0a3d6.tar.gz 248627883 BLAKE2B e1603ba38fcf70e7f3794a30a42057d0052a422bd0aaf423c65d1fd8f9ec7d3981cd651f309dc3ab5c28183291241732373b9bdb75fc2a11fc8d9f238388b8c3 SHA512 63a1627a8b3cc8f240cefe2066d7e306cab5091317f97dd808b9ad887d4e6eb2d21af3f79bccfdb9387f5f7a5ed0b772013b0261a647c8d50ffaa55914362dfb diff --git a/dev-python/clang/clang-22.0.0_pre20251001.ebuild b/dev-python/clang/clang-22.0.0_pre20251001.ebuild new file mode 100644 index 000000000000..9c57b6c8dbb9 --- /dev/null +++ b/dev-python/clang/clang-22.0.0_pre20251001.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..14} ) +inherit llvm.org python-r1 + +DESCRIPTION="Python bindings for llvm-core/clang" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# The module is opening libclang.so directly, and doing some blasphemy +# on top of it. +DEPEND=" + >=llvm-core/clang-${PV}:* + !llvm-core/llvm:0[clang(-),python(-)] + !llvm-core/clang:0[python(-)] +" +RDEPEND=" + ${DEPEND} + ${PYTHON_DEPS} +" +BDEPEND=" + ${PYTHON_DEPS} + test? ( + llvm-core/clang:${LLVM_MAJOR} + ) +" + +LLVM_COMPONENTS=( clang/{bindings/python,include} ) +llvm.org_set_globals + +python_test() { + # tests rely on results from a specific clang version, so override + # the search path + local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir) + local -x CLANG_NO_DEFAULT_CONFIG=1 + "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" +} + +src_test() { + python_foreach_impl python_test +} + +src_install() { + python_foreach_impl python_domodule clang +} diff --git a/dev-python/fastimport/Manifest b/dev-python/fastimport/Manifest index af9e8c2c4d52..c29a08a12f83 100644 --- a/dev-python/fastimport/Manifest +++ b/dev-python/fastimport/Manifest @@ -1 +1,2 @@ DIST fastimport-0.9.14.tar.gz 41791 BLAKE2B b0becb3de319c44e60cf8575afd9b19ad69ca8715d9eae8ced079136dccadda82ac340ad7e01f8a556bde07fbecfbbe6f9eb841909ee2e6b6bbe8e808f463e43 SHA512 cbf8f0bf5b66e847d4482b6af29ee26a69a2aadefe22c4a2f17d976a94fce86b016b61b17d0a7f4be82ceb7824d0bc12b509b8148c18f9dc8888304158a7c266 +DIST fastimport-0.9.16.tar.gz 50475 BLAKE2B ba68ff09b35c2cb56cabe3fb06f7f55424f43650476ec85056955cdd741be5abaf7654815b1734a8cf04ac18f826419cdf4c16a88c5eb3100723719e846211ea SHA512 b1e570679dc64c1f75f064fd13e40da4b02c6f3620ee5369eee8e63d7d8c22ae1be6973a1dda34c2935625640d3348fbfb3de3d1059ef8b5ff16da1152661c50 diff --git a/dev-python/fastimport/fastimport-0.9.16.ebuild b/dev-python/fastimport/fastimport-0.9.16.ebuild new file mode 100644 index 000000000000..f807c69a3b96 --- /dev/null +++ b/dev-python/fastimport/fastimport-0.9.16.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Library for parsing the fastimport VCS serialization format" +HOMEPAGE=" + https://github.com/jelmer/python-fastimport/ + https://pypi.org/project/fastimport/ +" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +python_test() { + "${EPYTHON}" -m unittest -v fastimport.tests.test_suite || + die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/flask-restx/Manifest b/dev-python/flask-restx/Manifest index 19db7fcf45ad..ae28dc344467 100644 --- a/dev-python/flask-restx/Manifest +++ b/dev-python/flask-restx/Manifest @@ -1 +1,2 @@ DIST flask-restx-1.3.0.tar.gz 400119 BLAKE2B 9f1056ed517eba9438cd29b67b621fdc46b63d3b8351dac8f7c11fc20bdea058f6b0ad5b1d732b0edb71e4fac16006535a7ec48e3a47e1aa7e261861b7fc37cb SHA512 6e1148e124fb84b486b799f7dc11dd627e8da43af89f51f603267d9e569c8517280fca7898309dbacb9213131419fa745725b7ffa5af40c17aaeeee0453f6146 +DIST flask-restx-1.3.2.tar.gz 401497 BLAKE2B 671580d824c55c00f3cf64b9604305b1f75a300efef00e3b5baf3d9a505dec433598e479f75f2eb7ffd27fc356c8b532ea681d9abab89abe999a9979a84859f1 SHA512 fa679015a59870b1c2900c9450bb5f544be90d30420edc5634917e20b5b747ea4d6c81ef110b23c0dbf7c9abdc186230a8c3ea03e104dfb3c4e4723c5bb09926 diff --git a/dev-python/flask-restx/flask-restx-1.3.2.ebuild b/dev-python/flask-restx/flask-restx-1.3.2.ebuild new file mode 100644 index 000000000000..c15022558b4a --- /dev/null +++ b/dev-python/flask-restx/flask-restx-1.3.2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +inherit distutils-r1 + +DESCRIPTION="Framework API development with Flask" +HOMEPAGE="https://flask-restx.readthedocs.io" +SRC_URI="https://github.com/python-restx/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +RDEPEND=" + dev-python/aniso8601[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] +" + +DEPEND="${RDEPEND} + test? ( + dev-python/blinker[${PYTHON_USEDEP}] + dev-python/faker[${PYTHON_USEDEP}] + dev-python/pytest-flask[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/tzlocal[${PYTHON_USEDEP}] + ) +" + +PATCHES=( "${FILESDIR}/${PN}-avoid-importlib_resources.patch" ) + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + "tests/test_swagger.py::SwaggerTest::test_specs_endpoint_host_and_subdomain" + "tests/test_fields.py::DatetimeFieldTest::test_iso8601_value" + "tests/test_fields.py::DatetimeFieldTest::test_rfc822_value" + "tests/test_inputs.py::URLTest::test_check" + "tests/test_inputs.py::EmailTest::test_valid_value_check" +) + +EPYTEST_IGNORE=( + "tests/benchmarks/bench_marshalling.py" + "tests/benchmarks/bench_swagger.py" +) diff --git a/dev-python/fonttools/Manifest b/dev-python/fonttools/Manifest index e97a67cf2097..e4b31bf21d97 100644 --- a/dev-python/fonttools/Manifest +++ b/dev-python/fonttools/Manifest @@ -1,5 +1,4 @@ -DIST fonttools-4.58.5.gh.tar.gz 3964953 BLAKE2B 55604a10796af825a71e0937032285d4a03c061408474f3af3172aea9155fbccafd314282ca357e539e24f32235927adbbe4e3e1b62c2d6a4a50c2492924a802 SHA512 02a5796b6041561c9f6b7f5a27a5b8de926f5243288ce28f98ec175d890e011427e3be1e0d1a2f259e556225ef0d6f24c7fc5ee03983692beb5486120fb8acc5 DIST fonttools-4.59.0.gh.tar.gz 3973909 BLAKE2B 7b53b12b37be67cb764bfe2a0bcc7af85650431277678e63976d2a1d82a9386c6d1fa07485307fa114b0067c170998c31713cbe67a88b4ddab380d308570ff41 SHA512 552c7ebb5d8d6ce8cc37d2d20a52a213a5ccf52d532c166ad07182e3a2e5f5ac82b3ab9b45787fd1e7cfc3b588568507a006fd1b0b763402064b89ae71a86e91 -DIST fonttools-4.59.1.gh.tar.gz 3975993 BLAKE2B 7e56e6e72e74318466b7ee673e4a9d057072413b1f2e68ae01708fa3bf2bec8c0972389e22629cc1705a7e141e7480df2203f4ab51dbc5dbc8d644924e7cf30b SHA512 834a8df4c30d75d9028ef799fa5eae5de97fce8fd3723997a537d90a4f4e4bcbd5a6f5bf62aecb902b8f547fa211bf8a401d7c77602d9ec504ecf46f5db8c749 DIST fonttools-4.59.2.gh.tar.gz 3982477 BLAKE2B e0c5747efed1d8d402ccfe0f603ce9ba4360355193a4968ad2e8e58e7b5155bde890f5db573dd7c3ec449701311f22d51a97213dd560cc4cf7b694f0ab715d1d SHA512 34a36048680e2494f49a0fd5b94352face4cd5727e8748cbfccb6ec71f44d69d155bba43de7b9244d91723c762101216f4b057e4f64a577197f79c1db269eaff DIST fonttools-4.60.0.gh.tar.gz 3990380 BLAKE2B f42611c4270e4b9407a4f8750f9ef2492ca9e9560ca2cdbb1a2cee5800ad799fed52de80dd7c17a4722bb9cf62265c33d5483f0f7376ca2ba54f700336295900 SHA512 9c692a6b4a349a2b37ab74d5e2ceef66d561eebb0cb30c2feb29eecc29bfd9430821ed5587b8f6d204e02c0d33f59540cc47a02d9bc40c2d0916d7c4934ed8ee +DIST fonttools-4.60.1.gh.tar.gz 3997441 BLAKE2B 44d5e9e2eacc70b09782ee82c654c6dabdcfce6d1d32eb3e9c03bb466d6056b885cc50f615d9ad5909a7c201f0b461ea89c77c468da02e7879bb0e876e3d149e SHA512 50e887f7cfa3a35ba5ca606fe0ce4766185272804bbd05e880cc47b0b73b4af865d902e5a34391bca1fed45275bd1b7922c0bb2b1c6685b9a2aa7026ae70d104 diff --git a/dev-python/fonttools/fonttools-4.58.5.ebuild b/dev-python/fonttools/fonttools-4.58.5.ebuild deleted file mode 100644 index 5c94cb5e198f..000000000000 --- a/dev-python/fonttools/fonttools-4.58.5.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2025 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_{9,10,11,12,13} pypy3 ) -PYTHON_REQ_USE="xml(+)" - -inherit distutils-r1 virtualx - -DESCRIPTION="Library for manipulating TrueType, OpenType, AFM and Type1 fonts" -HOMEPAGE=" - https://github.com/fonttools/fonttools/ - https://pypi.org/project/fonttools/ -" -SRC_URI=" - https://github.com/fonttools/fonttools/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" -IUSE="+native-extensions" - -RDEPEND=" - >=dev-python/fs-2.4.9[${PYTHON_USEDEP}] -" -BDEPEND=" - native-extensions? ( - $(python_gen_cond_dep ' - dev-python/cython[${PYTHON_USEDEP}] - ' 'python*') - ) - test? ( - dev-python/brotlicffi[${PYTHON_USEDEP}] - dev-python/munkres[${PYTHON_USEDEP}] - app-arch/zopfli - ) -" - -EPYTEST_PLUGINS=( pytest-rerunfailures ) -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_compile() { - local -x FONTTOOLS_WITH_CYTHON=$(usex native-extensions) - [[ ${EPYTHON} == pypy3 ]] && FONTTOOLS_WITH_CYTHON=0 - distutils-r1_python_compile -} - -src_test() { - # virtualx used when matplotlib is installed causing plot module tests to run - virtx distutils-r1_src_test -} - -python_test() { - local EPYTEST_DESELECT=( - # flaky test - Tests/ttLib/woff2_test.py::WOFF2ReaderTest::test_get_normal_tables - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - nonfatal epytest --reruns=5 Tests fontTools || - die -n "Tests failed with ${EPYTHON}" -} diff --git a/dev-python/fonttools/fonttools-4.59.1-r1.ebuild b/dev-python/fonttools/fonttools-4.60.1.ebuild index 38f1b1e81cba..38f1b1e81cba 100644 --- a/dev-python/fonttools/fonttools-4.59.1-r1.ebuild +++ b/dev-python/fonttools/fonttools-4.60.1.ebuild diff --git a/dev-python/google-auth/Manifest b/dev-python/google-auth/Manifest index 458b8890926c..d3f152102222 100644 --- a/dev-python/google-auth/Manifest +++ b/dev-python/google-auth/Manifest @@ -1 +1,3 @@ DIST google_auth-2.40.3.tar.gz 281029 BLAKE2B eb95721c42ee37c0498c9c57fe3aceea006bc0b401a84c8f33a0000e8f49975537124827092da9ad40a66650dbe6e276b570d77eb45bcc86c23085a231572e1b SHA512 35062091ab3515f381c5da5d7952e1c60c650f62041b32217905462b0393199666126cbc018e96ea694eadaf9fec2528e9c7531758cfeda8a244fa10f8d362fb +DIST google_auth-2.41.0.tar.gz 292282 BLAKE2B 74dd18bc2677baa87a8eacb3a1eaa8fabf61b29cfe6e8a4f16e81eb658943d3ea98a27409a532f01ce47a83f7b2ae600072633d2b530f8851b15f03c943c1a82 SHA512 39f28c0e9d1fbd4058c6b6e5e415bf2e4db4fdbc0a181cdcd085628edbe51af2eb69d201fb25e8a3a97cd574db2a2f1ac6961836a7f6447d415426e99dcb3545 +DIST google_auth-2.41.1.tar.gz 292284 BLAKE2B 8351dee7d5f0c40d9898ab0cd70cec379a9c39981d024caacc2d9e62428e18c8ea71a54aac43456fe669a31e24202e76b7a4b7df5e3a23cb79cb1b92701f0b70 SHA512 af2912c8be751659b701c5ffafb0c955ef8ad5609911d15ee58ad2e3e72dd041cded34bf3b56b37d5fe64ab17f0c625dfcb95c31d2dbf27ea61fd27e5f4777a7 diff --git a/dev-python/google-auth/google-auth-2.41.0.ebuild b/dev-python/google-auth/google-auth-2.41.0.ebuild new file mode 100644 index 000000000000..08a525bb29ad --- /dev/null +++ b/dev-python/google-auth/google-auth-2.41.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Google Authentication Library" +HOMEPAGE=" + https://github.com/googleapis/google-auth-library-python/ + https://pypi.org/project/google-auth/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/cachetools[${PYTHON_USEDEP}] + >=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}] + >=dev-python/pyasn1-modules-0.2.1[${PYTHON_USEDEP}] + >=dev-python/rsa-3.1.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/aioresponses[${PYTHON_USEDEP}] + >=dev-python/cryptography-38.0.3[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + >=dev-python/pyjwt-2.0[${PYTHON_USEDEP}] + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/pyu2f[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-{asyncio,localserver} ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # unpin deps + sed -i -e 's:,<[0-9.]*::' setup.py || die +} + +EPYTEST_DESELECT=( + # tests are broken with up-to-date pyopenssl + tests/transport/test__mtls_helper.py::TestDecryptPrivateKey::test_success +) + +EPYTEST_IGNORE=( + # these are compatibility tests with oauth2client + # disable them to unblock removal of that package + tests/test__oauth2client.py +) diff --git a/dev-python/google-auth/google-auth-2.41.1.ebuild b/dev-python/google-auth/google-auth-2.41.1.ebuild new file mode 100644 index 000000000000..08a525bb29ad --- /dev/null +++ b/dev-python/google-auth/google-auth-2.41.1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Google Authentication Library" +HOMEPAGE=" + https://github.com/googleapis/google-auth-library-python/ + https://pypi.org/project/google-auth/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/cachetools[${PYTHON_USEDEP}] + >=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}] + >=dev-python/pyasn1-modules-0.2.1[${PYTHON_USEDEP}] + >=dev-python/rsa-3.1.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/aioresponses[${PYTHON_USEDEP}] + >=dev-python/cryptography-38.0.3[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + >=dev-python/pyjwt-2.0[${PYTHON_USEDEP}] + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/pyu2f[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-{asyncio,localserver} ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # unpin deps + sed -i -e 's:,<[0-9.]*::' setup.py || die +} + +EPYTEST_DESELECT=( + # tests are broken with up-to-date pyopenssl + tests/transport/test__mtls_helper.py::TestDecryptPrivateKey::test_success +) + +EPYTEST_IGNORE=( + # these are compatibility tests with oauth2client + # disable them to unblock removal of that package + tests/test__oauth2client.py +) diff --git a/dev-python/gsd/Manifest b/dev-python/gsd/Manifest index ca1fc656f081..82392831aeda 100644 --- a/dev-python/gsd/Manifest +++ b/dev-python/gsd/Manifest @@ -1,2 +1,2 @@ -DIST gsd-3.4.2.tar.gz 109691 BLAKE2B 160b53d465607c8248ee9b2cecf1c2aafb55a89317e294b613615c1f12e19988841d024823ec27ad7b6c9003a1be26aa9941f509467eded87fb72baeaf229bce SHA512 e1e8310873c81473a6e718295da47b435a765428f42b885c577ef9d509bae76f54c9e99ee9d5f74dd5cf0848817e27dadc21e9717004065b63ed1f6cf6853cfb DIST gsd-4.0.0.tar.gz 110595 BLAKE2B 7aeb318535cc8004ba06e98dc7d8a1e96a2e0a5f8bd07374199f83292c9cd40a1867592121dbbadb68bb4d63e36a744edd01f9b2507c35ac7272af13ef5adf89 SHA512 4863c204a9d905aefe0ce31aa15f5a7820047da177a4d2058bf76ff0660c1ad749c8fa1e6fa612ae4125060b77082ef80549e7439cba383d27f8d724ad14ddbe +DIST gsd-4.1.0.tar.gz 141350 BLAKE2B 578680a05e79f9747fea0252e4ad0b2a541819f19d8ca68924d25df70397e49a9aa787b9d9905f0b7f7fd2f069cf856ffe2b531c6bbc0dfa69080aff9283025a SHA512 13b81905943ad12a764f454a684cf4b016e829f18d92933562fed35b34fd9c5dbabc6b78cf3a80c07d9e68ed93edf28cd2e62d3f984984eca331ce7cec3bf51b diff --git a/dev-python/gsd/gsd-3.4.2.ebuild b/dev-python/gsd/gsd-4.1.0.ebuild index b5c0acb7e15b..74aa1ebf54cb 100644 --- a/dev-python/gsd/gsd-3.4.2.ebuild +++ b/dev-python/gsd/gsd-4.1.0.ebuild @@ -32,6 +32,7 @@ BDEPEND=" dev-python/cython[${PYTHON_USEDEP}] " +EPYTEST_PLUGINS=() distutils_enable_tests pytest python_test() { diff --git a/dev-python/ipython/Manifest b/dev-python/ipython/Manifest index 8a997ad12f03..b9408867a507 100644 --- a/dev-python/ipython/Manifest +++ b/dev-python/ipython/Manifest @@ -2,3 +2,4 @@ DIST ipython-8.37.0.tar.gz 5606088 BLAKE2B 4cb3a6ae801fcbbf352eb8aaae11a7bc6911a DIST ipython-9.3.0.tar.gz 4426460 BLAKE2B d9d6ec38ab7ee2c4128869cd6fa0518c5df8ed3f3eb1db531099ff753b959a2eb1d872b5c782a017b2f559b460c0121cb951893c54f842cb936f08022eb32325 SHA512 21bd98e7f164bdbb799e0316c56620b0d086af943e28fa43f5d1f4c31064e496b01b47babcf0be4282d12d446362a7c0945a29580078279dc3038c66e8e75cf6 DIST ipython-9.4.0.tar.gz 4385338 BLAKE2B 20bf17c945ab2c727aa340a500e2f452dadd440ff809e5aea2ebaa0bd146a6bf2103f2435549a0f4b898690e6aceb15850fc2ba92bb9b94d8e084b1f13cb17a1 SHA512 8e0bd35effa6b5d6d17b7903ae708f1db753717b2271c79b6662fc508e003a7b3b510604ed340e6e89a8c84abf7c3718f785eb39d0914b653c47adc999a1d2f4 DIST ipython-9.5.0.tar.gz 4389137 BLAKE2B c9d0cccac9a7a0711425e74ecfde8bdb7789d8289d58d86dccaddd06c1012f4c5f94aedf444f8b6c313d04f7617c5d9adc191d7b25426d8f70622435207acbe5 SHA512 fddf470a03ed94dfe2e193dce0d7228bd1143706ce1cd189348d6778eb7d1650a1589e49bc050214337b5fd9c30e7f1d91f871bc0d4a0a04d1a227747a81a132 +DIST ipython-9.6.0.tar.gz 4396932 BLAKE2B 8e674c65f01dff76f4fc0bdd70bac64735cb188737c3b1c0b25fda407e2e7cd2231603306b49568bb74accba975c9dd63d08e7bda8ad8fae20be622ce3f6769e SHA512 32128f60bd5ef133f6f16636ec66bb407b8b8499aa40aa960076ad1ab78d150c5bea3a5508a4284302dd950e7a92ee045f9665c29914adfabd1eca7d8f50c470 diff --git a/dev-python/ipython/ipython-9.6.0.ebuild b/dev-python/ipython/ipython-9.6.0.ebuild new file mode 100644 index 000000000000..8e49a2804c83 --- /dev/null +++ b/dev-python/ipython/ipython-9.6.0.ebuild @@ -0,0 +1,150 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) +PYTHON_REQ_USE='readline(+),sqlite,threads(+)' + +inherit distutils-r1 optfeature pypi virtualx + +DESCRIPTION="Advanced interactive shell for Python" +HOMEPAGE=" + https://ipython.org/ + https://github.com/ipython/ipython/ + https://pypi.org/project/ipython/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="examples gui notebook nbconvert +smp test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/decorator[${PYTHON_USEDEP}] + dev-python/ipython-pygments-lexers[${PYTHON_USEDEP}] + >=dev-python/jedi-0.16[${PYTHON_USEDEP}] + dev-python/matplotlib-inline[${PYTHON_USEDEP}] + >=dev-python/pexpect-4.3[${PYTHON_USEDEP}] + >=dev-python/prompt-toolkit-3.0.41[${PYTHON_USEDEP}] + <dev-python/prompt-toolkit-3.1[${PYTHON_USEDEP}] + >=dev-python/pygments-2.4.0[${PYTHON_USEDEP}] + dev-python/stack-data[${PYTHON_USEDEP}] + >=dev-python/traitlets-5.13.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/typing-extensions[${PYTHON_USEDEP}] + ' 3.11) +" + +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + app-text/dvipng[truetype] + >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}] + >=dev-python/matplotlib-3.9[${PYTHON_USEDEP}] + dev-python/nbformat[${PYTHON_USEDEP}] + >=dev-python/numpy-1.23[${PYTHON_USEDEP}] + dev-python/matplotlib-inline[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pickleshare[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/testpath[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-asyncio ) +distutils_enable_tests pytest + +RDEPEND+=" + nbconvert? ( + dev-python/nbconvert[${PYTHON_USEDEP}] + ) +" +PDEPEND=" + $(python_gen_cond_dep ' + gui? ( dev-python/qtconsole[${PYTHON_USEDEP}] ) + ' 'python*') + $(python_gen_cond_dep ' + notebook? ( + dev-python/notebook[${PYTHON_USEDEP}] + dev-python/ipywidgets[${PYTHON_USEDEP}] + dev-python/widgetsnbextension[${PYTHON_USEDEP}] + ) + ' 3.{11..13}) + smp? ( + >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}] + >=dev-python/ipyparallel-6.2.3[${PYTHON_USEDEP}] + ) +" + +python_prepare_all() { + # Rename the test directory to reduce sys.path pollution + # https://github.com/ipython/ipython/issues/12892 + mv IPython/extensions/{,ipython_}tests || die + + distutils-r1_python_prepare_all +} + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + local -x IPYTHON_TESTING_TIMEOUT_SCALE=20 + local EPYTEST_DESELECT=() + + case ${EPYTHON} in + pypy3*) + EPYTEST_DESELECT+=( + # https://github.com/ipython/ipython/issues/14244 + tests/test_display.py::TestAudioDataWithoutNumpy + # minor exception message mismatch + # https://github.com/ipython/ipython/issues/14976 + tests/test_ultratb.py::ExceptionMessagePreferenceTest::test_jsondecodeerror_message + ) + ;; + esac + + # nonfatal implied by virtx + nonfatal epytest || die "Tests failed on ${EPYTHON}" +} + +python_install() { + distutils-r1_python_install + + # Create ipythonX.Y symlinks. + # TODO: + # 1. do we want them for pypy? + # 2. handle it in the eclass instead (use _python_ln_rel). + # With pypy not an option the dosym becomes unconditional + # TODO2: figure out what TODO meant. + dosym ../lib/python-exec/${EPYTHON}/ipython \ + /usr/bin/ipython${EPYTHON#python} +} + +python_install_all() { + distutils-r1_python_install_all + + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi +} + +pkg_postinst() { + optfeature "code formatting" dev-python/black + optfeature "sympyprinting" dev-python/sympy + optfeature "cythonmagic" dev-python/cython + optfeature "%lprun magic command" dev-python/line-profiler + optfeature "%matplotlib magic command" dev-python/matplotlib-inline + + if use nbconvert; then + if ! has_version virtual/pandoc ; then + einfo "Node.js will be used to convert notebooks to other formats" + einfo "like HTML. Support for that is still experimental. If you" + einfo "encounter any problems, please use app-text/pandoc instead." + fi + fi +} diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index d12ab8aeaca8..a11d7c268c91 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1,3 +1 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db -EBUILD langdetect-1.0.9.ebuild 494 BLAKE2B 9cd8a2a93a8d45bf51fe2324402b175d641762ea591fcb99459427f977a95eccffa6ca4777ca4df39814eea6eac62711567faa654456d32f79023a4685804504 SHA512 d973b85ba1a44389a4275f02a779a93a005f7c2e096467b94b072862e4984d5b42cf33f9821ac68aa5b85b12c98983a90b96049989d8c84497969174b6bb838e -MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch new file mode 100644 index 000000000000..637368d2f237 --- /dev/null +++ b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch @@ -0,0 +1,13 @@ +Fix "Package 'langdetect.profiles' is absent from the `packages` configuration." + +--- a/setup.py ++++ b/setup.py +@@ -18,7 +18,7 @@ setup( + author_email='michal.danilak@gmail.com', + url='https://github.com/Mimino666/langdetect', + keywords='language detection library', +- packages=['langdetect', 'langdetect.utils', 'langdetect.tests'], ++ packages=['langdetect', 'langdetect.utils', 'langdetect.tests', 'langdetect.profiles'], + include_package_data=True, + install_requires=['six'], + license='MIT', diff --git a/dev-python/langdetect/langdetect-1.0.9.ebuild b/dev-python/langdetect/langdetect-1.0.9.ebuild index 56733bbffc48..98b2b0bf8d0b 100644 --- a/dev-python/langdetect/langdetect-1.0.9.ebuild +++ b/dev-python/langdetect/langdetect-1.0.9.ebuild @@ -1,9 +1,9 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) +PYTHON_COMPAT=( python3_{11..14} ) DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 pypi @@ -19,4 +19,6 @@ KEYWORDS="~amd64" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" +PATCHES=( "${FILESDIR}/${P}-explicit-config.patch" ) + distutils_enable_tests unittest diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index 020e07f2a3dd..c0f74ac187e2 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,11 +2,9 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>marcin.deranek@slonko.net</email> - <name>Marcin Deranek</name> + <email>pastalian46@gmail.com</email> + <name>Takuya Wakazono</name> </maintainer> - <upstream> - <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> - </upstream> - <origin>slonko-overlay</origin> + + <origin>gentoo-guru-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/lit/Manifest b/dev-python/lit/Manifest index e3c6add151f6..1fca96741050 100644 --- a/dev-python/lit/Manifest +++ b/dev-python/lit/Manifest @@ -15,4 +15,5 @@ DIST llvm-project-21.1.1.src.tar.xz.sig 438 BLAKE2B 8fdf614e67e31382c65d70a551ef DIST llvm-project-21.1.2.src.tar.xz 158926856 BLAKE2B 1b5684586297ad637c6da0976854b24d746679e9d125a19e321dc28fa7f83949cc431f4b630e4976496660389e7abac09962c21e45b88dff7d0900ee1bda51d7 SHA512 f810ba8706872257715c05f80c304ceb396cf38b3a8e0bfb50e474e8d0a3417740b9afea170a7c06a33927037753a190471917e83d6740cb18bc50fd50cf4f3d DIST llvm-project-21.1.2.src.tar.xz.sig 566 BLAKE2B 6209caf851c681e6f63ed1bd9589ac139c104d6ee21f463aacda472e30a847c32f3bd74a04208af05bb6203d8fa31bdc0028c0e72736a3037940e75eda615415 SHA512 dd8aa57451752a9207c276117a4b8a86f41263ea3ccc4fa198cd40d6fec79acd0ba126c4b84a1acbb52bbb2bce029fbc336deac8131be94747dd04e4a0f69331 DIST llvm-project-70bd610e43853d575e22be1cda46614fe9f0072f.tar.gz 247904536 BLAKE2B f0ae7bd39d921ce28adb6e2aadd8b2b94ba7a48ba344ea6ea236b2507430fb1a0e23cd6186d79d445de31d46580e2ac9ec400fc686cd9a7513e0ae2d0f479c1d SHA512 1201acbcec20d00979e7f06075756926161123cfb11da146a3bfa5c81d607b61d94c645d0abba839614cbe5d44cacb0b1c754e1ae49fa871cb86d9f6d7c70e26 +DIST llvm-project-89ed5255b9ee88119e409a6d986eb1ad0e8f08e3.tar.gz 248431210 BLAKE2B b98dfe5ae46190a5a2460c965f0ec51d2f65a9d1d14f82afa19a10f00a2c29520c52309ee66d71efed6361aa675abcc9bd1b5e61e1c3b1aa9bac4984050c2bc2 SHA512 f860f529f4eb67f4a5875d9931accae2f48b88486dd6715a2ca2add7d5aa1541a30e323612394162e65597054d61a879a9ba94e4dbf417c3fb5f8ff069c2d924 DIST llvm-project-f059d2bac034acca39ad60a1b13aaec6afa0a3d6.tar.gz 248627883 BLAKE2B e1603ba38fcf70e7f3794a30a42057d0052a422bd0aaf423c65d1fd8f9ec7d3981cd651f309dc3ab5c28183291241732373b9bdb75fc2a11fc8d9f238388b8c3 SHA512 63a1627a8b3cc8f240cefe2066d7e306cab5091317f97dd808b9ad887d4e6eb2d21af3f79bccfdb9387f5f7a5ed0b772013b0261a647c8d50ffaa55914362dfb diff --git a/dev-python/lit/lit-22.0.0_pre20251001.ebuild b/dev-python/lit/lit-22.0.0_pre20251001.ebuild new file mode 100644 index 000000000000..fdf920bda34f --- /dev/null +++ b/dev-python/lit/lit-22.0.0_pre20251001.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 llvm.org + +DESCRIPTION="A stand-alone install of the LLVM suite testing tool" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +# Tests require 'FileCheck' and 'not' utilities (from llvm) +BDEPEND=" + test? ( + dev-python/psutil[${PYTHON_USEDEP}] + llvm-core/llvm + ) +" + +LLVM_COMPONENTS=( llvm/utils/lit ) +llvm.org_set_globals + +# TODO: move the manpage generation here (from llvm-core/llvm) + +src_prepare() { + # flaky test + # https://github.com/llvm/llvm-project/issues/72022 + rm tests/progress-bar.py || die + + cd "${WORKDIR}" || die + distutils-r1_src_prepare +} + +python_test() { + local -x LIT_PRESERVES_TMP=1 + local litflags=$(get_lit_flags) + ./lit.py ${litflags//;/ } tests || die +} diff --git a/dev-python/mkdocs-material/Manifest b/dev-python/mkdocs-material/Manifest index 1e2a10567d48..42d272decc56 100644 --- a/dev-python/mkdocs-material/Manifest +++ b/dev-python/mkdocs-material/Manifest @@ -1,5 +1,2 @@ -DIST mkdocs-material-9.6.16.gh.tar.gz 14916715 BLAKE2B f13d548d74870ce31fa99f6b4d76ee93cf31f67b0f04270bfe1c9e71ff2af5266d33c0015e7fa2f6270f1e1505d22a31917f9394086a2cb0c5dd459e489d2970 SHA512 2e62b54b04f4efff49648829a2da3bb43a7303bca38f3a26094355383ec7f190ae35e273ca37b6f86e6d09697312f0acb90e9963771a5f4d4214fcc0a92e8134 -DIST mkdocs-material-9.6.17.gh.tar.gz 14917296 BLAKE2B 27d8d3df60117ef462db61ff3c96f672f3ad890f45532f0d441b34a5f929df26b113839c305a2bd411100de5d2c2fe1f319974ebae7384d09dd17054bd6290a8 SHA512 91cbbaa6ac8087194176c185af34d0a2ae91d690bb959bba2cb4e192efe0e44dc126c15d8508e470ec4583c59e3f0322f69a7c7e08f3594ab7e33d8a7aa0d8c7 -DIST mkdocs-material-9.6.18.gh.tar.gz 14920802 BLAKE2B 317527670f494d970661417f45d6c2e9d26e5fc1cb2d90717beb3063740b4bb3620458270d0af6e491d602641a25d262fccc94d0e57e6c592934324f069eb28c SHA512 eb83fbf2342796ea74b2900575e183e9afc776dfc976fbd33cbe31c51344d7310f32c1308b319b057dfdc4569742b0b24acbd1b4761fecd5f5555d958c2d1630 -DIST mkdocs-material-9.6.19.gh.tar.gz 14930257 BLAKE2B 8df423b011628baf45e1fa8ffb100f10185c24dc86dcd15cb65584249426e56f6569c511b97c728780020dd67bb2a88277ee2812c0d56d4665a8480854d8a71c SHA512 a47d28a99992ce94493f6b835814a317a80eafcd31774778c9ab07bff6e96c2ebe30e685106f1cbe476c2b7c48ef94a5b439914c01a1e64a6cd02c884fd5c896 DIST mkdocs-material-9.6.20.gh.tar.gz 14933529 BLAKE2B bb4bd67e3d29d3528406bfd21f34614b8aa11b442714711c96589afbb3f758a90eaefa7a4784c0ab4d5c6befbb4e1d1625c702237242b488a0c7fc63be367c44 SHA512 2336ede01937aff3bc47117deb96423d2c115430a77343f3de3668898d47240e6d06286b76d9342ac31eac5369cdc9b7f4bf80cbf3a5b49c9dec76c6a547aca3 +DIST mkdocs-material-9.6.21.gh.tar.gz 14941581 BLAKE2B cfb1182279ec2a5ac7fbb6970b9f6724893f17b529d2857d0cf8dfa4d0527c3527a49235cb29a636dc5110ca57279206904f94c36012d14156f4b055f0a6857c SHA512 5cc2f0da266627b901788ecccd759bff535bfed83086fcfe73da92dbc0789c1c77286ae37fcfb07385bc7fdebbd1770e709cf1ee2746e11f36325add14fa97ed diff --git a/dev-python/mkdocs-material/mkdocs-material-9.6.16.ebuild b/dev-python/mkdocs-material/mkdocs-material-9.6.16.ebuild deleted file mode 100644 index b1db69f4c511..000000000000 --- a/dev-python/mkdocs-material/mkdocs-material-9.6.16.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -DOCS_BUILDER="mkdocs" -DOCS_DEPEND=" - dev-python/mkdocs-material-extensions - dev-python/mkdocs-minify-plugin - dev-python/mkdocs-redirects -" - -inherit distutils-r1 docs - -DESCRIPTION="A Material Design theme for MkDocs" -HOMEPAGE=" - https://github.com/squidfunk/mkdocs-material/ - https://pypi.org/project/mkdocs-material/ -" -SRC_URI=" - https://github.com/squidfunk/${PN}/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -# bundled icons -LICENSE+=" Apache-2.0 CC0-1.0 CC-BY-4.0 MIT" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv x86" -IUSE="social" - -RDEPEND=" - >=dev-python/babel-2.10.3[${PYTHON_USEDEP}] - >=dev-python/colorama-0.4[${PYTHON_USEDEP}] - >=dev-python/jinja2-3.0.2[${PYTHON_USEDEP}] - >=dev-python/lxml-4.6[${PYTHON_USEDEP}] - >=dev-python/markdown-3.2[${PYTHON_USEDEP}] - >=dev-python/mkdocs-1.5.3[${PYTHON_USEDEP}] - >=dev-python/paginate-0.5.6[${PYTHON_USEDEP}] - >=dev-python/pygments-2.16[${PYTHON_USEDEP}] - >=dev-python/pymdown-extensions-10.2[${PYTHON_USEDEP}] - >=dev-python/readtime-2.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/regex-2022.4.24[${PYTHON_USEDEP}] - ' 'python*') - >=dev-python/requests-2.26[${PYTHON_USEDEP}] - social? ( - >=dev-python/pillow-10.2[${PYTHON_USEDEP}] - >=media-gfx/cairosvg-2.5[${PYTHON_USEDEP}] - ) -" -BDEPEND=" - >=dev-python/trove-classifiers-2023.10.18[${PYTHON_USEDEP}] -" -# mkdocs-material-extensions depends on mkdocs-material creating a circular dep -PDEPEND=" - >=dev-python/mkdocs-material-extensions-1.2[${PYTHON_USEDEP}] -" - -PATCHES=( - # simplify pyproject to remove extra deps for metadata - "${FILESDIR}/${PN}-8.5.7-simplify-build.patch" - # import backrefs only when used (i.e. never) - "${FILESDIR}/${PN}-9.6.7-backrefs.patch" -) - -src_prepare() { - distutils-r1_src_prepare - echo "__version__ = '${PV}'" > gentoo_version.py || die -} diff --git a/dev-python/mkdocs-material/mkdocs-material-9.6.17.ebuild b/dev-python/mkdocs-material/mkdocs-material-9.6.17.ebuild deleted file mode 100644 index b1db69f4c511..000000000000 --- a/dev-python/mkdocs-material/mkdocs-material-9.6.17.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -DOCS_BUILDER="mkdocs" -DOCS_DEPEND=" - dev-python/mkdocs-material-extensions - dev-python/mkdocs-minify-plugin - dev-python/mkdocs-redirects -" - -inherit distutils-r1 docs - -DESCRIPTION="A Material Design theme for MkDocs" -HOMEPAGE=" - https://github.com/squidfunk/mkdocs-material/ - https://pypi.org/project/mkdocs-material/ -" -SRC_URI=" - https://github.com/squidfunk/${PN}/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -# bundled icons -LICENSE+=" Apache-2.0 CC0-1.0 CC-BY-4.0 MIT" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv x86" -IUSE="social" - -RDEPEND=" - >=dev-python/babel-2.10.3[${PYTHON_USEDEP}] - >=dev-python/colorama-0.4[${PYTHON_USEDEP}] - >=dev-python/jinja2-3.0.2[${PYTHON_USEDEP}] - >=dev-python/lxml-4.6[${PYTHON_USEDEP}] - >=dev-python/markdown-3.2[${PYTHON_USEDEP}] - >=dev-python/mkdocs-1.5.3[${PYTHON_USEDEP}] - >=dev-python/paginate-0.5.6[${PYTHON_USEDEP}] - >=dev-python/pygments-2.16[${PYTHON_USEDEP}] - >=dev-python/pymdown-extensions-10.2[${PYTHON_USEDEP}] - >=dev-python/readtime-2.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/regex-2022.4.24[${PYTHON_USEDEP}] - ' 'python*') - >=dev-python/requests-2.26[${PYTHON_USEDEP}] - social? ( - >=dev-python/pillow-10.2[${PYTHON_USEDEP}] - >=media-gfx/cairosvg-2.5[${PYTHON_USEDEP}] - ) -" -BDEPEND=" - >=dev-python/trove-classifiers-2023.10.18[${PYTHON_USEDEP}] -" -# mkdocs-material-extensions depends on mkdocs-material creating a circular dep -PDEPEND=" - >=dev-python/mkdocs-material-extensions-1.2[${PYTHON_USEDEP}] -" - -PATCHES=( - # simplify pyproject to remove extra deps for metadata - "${FILESDIR}/${PN}-8.5.7-simplify-build.patch" - # import backrefs only when used (i.e. never) - "${FILESDIR}/${PN}-9.6.7-backrefs.patch" -) - -src_prepare() { - distutils-r1_src_prepare - echo "__version__ = '${PV}'" > gentoo_version.py || die -} diff --git a/dev-python/mkdocs-material/mkdocs-material-9.6.19.ebuild b/dev-python/mkdocs-material/mkdocs-material-9.6.19.ebuild deleted file mode 100644 index b2827a7488c5..000000000000 --- a/dev-python/mkdocs-material/mkdocs-material-9.6.19.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -DOCS_BUILDER="mkdocs" -DOCS_DEPEND=" - dev-python/mkdocs-material-extensions - dev-python/mkdocs-minify-plugin - dev-python/mkdocs-redirects -" - -inherit distutils-r1 docs - -DESCRIPTION="A Material Design theme for MkDocs" -HOMEPAGE=" - https://github.com/squidfunk/mkdocs-material/ - https://pypi.org/project/mkdocs-material/ -" -SRC_URI=" - https://github.com/squidfunk/${PN}/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -# bundled icons -LICENSE+=" Apache-2.0 CC0-1.0 CC-BY-4.0 MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" -IUSE="social" - -RDEPEND=" - >=dev-python/babel-2.10.3[${PYTHON_USEDEP}] - >=dev-python/colorama-0.4[${PYTHON_USEDEP}] - >=dev-python/jinja2-3.0.2[${PYTHON_USEDEP}] - >=dev-python/lxml-4.6[${PYTHON_USEDEP}] - >=dev-python/markdown-3.2[${PYTHON_USEDEP}] - >=dev-python/mkdocs-1.5.3[${PYTHON_USEDEP}] - >=dev-python/paginate-0.5.6[${PYTHON_USEDEP}] - >=dev-python/pygments-2.16[${PYTHON_USEDEP}] - >=dev-python/pymdown-extensions-10.2[${PYTHON_USEDEP}] - >=dev-python/readtime-2.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/regex-2022.4.24[${PYTHON_USEDEP}] - ' 'python*') - >=dev-python/requests-2.26[${PYTHON_USEDEP}] - social? ( - >=dev-python/pillow-10.2[${PYTHON_USEDEP}] - >=media-gfx/cairosvg-2.5[${PYTHON_USEDEP}] - ) -" -BDEPEND=" - >=dev-python/trove-classifiers-2023.10.18[${PYTHON_USEDEP}] -" -# mkdocs-material-extensions depends on mkdocs-material creating a circular dep -PDEPEND=" - >=dev-python/mkdocs-material-extensions-1.2[${PYTHON_USEDEP}] -" - -PATCHES=( - # simplify pyproject to remove extra deps for metadata - "${FILESDIR}/${PN}-8.5.7-simplify-build.patch" - # import backrefs only when used (i.e. never) - "${FILESDIR}/${PN}-9.6.7-backrefs.patch" -) - -src_prepare() { - distutils-r1_src_prepare - echo "__version__ = '${PV}'" > gentoo_version.py || die -} diff --git a/dev-python/mkdocs-material/mkdocs-material-9.6.18.ebuild b/dev-python/mkdocs-material/mkdocs-material-9.6.21.ebuild index b2827a7488c5..b2827a7488c5 100644 --- a/dev-python/mkdocs-material/mkdocs-material-9.6.18.ebuild +++ b/dev-python/mkdocs-material/mkdocs-material-9.6.21.ebuild diff --git a/dev-python/narwhals/Manifest b/dev-python/narwhals/Manifest index 09434be6746f..f8e53eb1e3be 100644 --- a/dev-python/narwhals/Manifest +++ b/dev-python/narwhals/Manifest @@ -1,4 +1,4 @@ -DIST narwhals-2.4.0.tar.gz 556886 BLAKE2B 7dbcfe11b90d0462022bc9512eb58dfea185ffd33ee625f3f9a9058ebf599d51c291459b856c8011e60ca205bea0adb46b88373ea5691e1cc52e3f99a8b26222 SHA512 dc462f95ba05c60109a1d2897053eac80bb6082e8ec4e24e25c0d509e1f29a024951c6c8967ea2db89ac728ecc261d71fba7068e375b3939615289ed53482fe9 -DIST narwhals-2.4.0.tar.gz.provenance 9563 BLAKE2B 581aa7997ff6b37df4c30bae2d393ff34ac4b76c7a78b66b0cd988a6f2e93f338f07bae13d3c449db86fbabe5964fa70e23df69c63fce59e44afe2308bcc6f88 SHA512 9df638ef9f15db137e73727e78553f76d46c84aef2442c242ad1b2b75c45d73e341a0e55aa7f00168a274db35651fc47a1949b8e645479c5b75cdec0467e748a DIST narwhals-2.5.0.tar.gz 558573 BLAKE2B f09121d35150efdeb328685ac09569c852357c79d1ffd85931a4922090bc84de8ec6c7401d69d1444c84e823e2e65d79f4c3f3f5f8cab147e4e0bb081c446d02 SHA512 b33f22c05935b12aad87809cea8aeafd8f17873725b1a0665a9845f71ab4caf5caa22c6f5612b7a334eebf37efab3f971c6599bd7d93a41c21c4c0f8303447fa DIST narwhals-2.5.0.tar.gz.provenance 9939 BLAKE2B 3f7b0e304584d3cc18f500f9310e97af5609c598f5e4e74b01d50138b42898983611c89644682f2453eb27830893e98b02406e0a1d93086a5be6f0fc55b0b95a SHA512 f3367e78f6c0897543d208b56a886280d217fc7beff6b647892b970aa38436cb9cd70ebd899a39729040f1fa193d21c7bce36701ce078556f5d7e7381660c5b4 +DIST narwhals-2.6.0.tar.gz 561649 BLAKE2B a687857f573ec262fc4ac872d728318bd232f01026c865703cdf18363023fbd3cf6feeb5964a24563d7ccbd82dc065590b4779204da5fff61e6448f784103852 SHA512 cf41582635376891f70a409e0505cee7575cb74e7df61f2e5f21a691e23f20b27091e7191bc0d88116d72363020d53d5a01bdbacfed9ed1c4c8acf1444a917b7 +DIST narwhals-2.6.0.tar.gz.provenance 9653 BLAKE2B 53edab41fedc85c2f7f10f61d50fe3a391e621c5d743217fe9aded918ad8dbe03921be314807de6d9cd1d01c07402be77361d6ad271757582bef73223c64288d SHA512 5ee4999f2e00fb95510cf25a566c0306220d2a4f74eac1f0751d6e5ccc9c64ecec327562412ae977e7704462cfdcc74594cd2e40e531c356727df918bdc53b1c diff --git a/dev-python/narwhals/narwhals-2.4.0.ebuild b/dev-python/narwhals/narwhals-2.6.0.ebuild index f92dfab8ea90..f92dfab8ea90 100644 --- a/dev-python/narwhals/narwhals-2.4.0.ebuild +++ b/dev-python/narwhals/narwhals-2.6.0.ebuild diff --git a/dev-python/nbxmpp/Manifest b/dev-python/nbxmpp/Manifest index 321e9362458d..fcf0c4ec0308 100644 --- a/dev-python/nbxmpp/Manifest +++ b/dev-python/nbxmpp/Manifest @@ -1,3 +1,2 @@ -DIST python-nbxmpp-4.5.4.tar.bz2 138170 BLAKE2B 00a4919032dd29828dc735695afe9c0814a8fe2ec765a534257768896d9f27bc3a395275d546ad717bdd16c97161e8f0a8acaf43cdb7bd9404e40bc72f2c3da5 SHA512 fcaedae519d8cd2d52cc65721ab1e743569ba1cf7c29f2db41ed5671ba0f2c5b47f1f6d9521e1614e89e21512a4575c6788316cdb86936f0c4886d54c3831bb3 -DIST python-nbxmpp-6.2.0.tar.bz2 152532 BLAKE2B ce2e754b04d7f7a16fce67665168c012bf1269ba434ac33b695be62dc19add3d917264a65a859d7d3e5f17a94c038adeb578aca89b1c1b23641e825bdcfcb9b3 SHA512 794924ae2feccff2cbc29e4b7ce68fb62f59f5a6ffcd04f5552916a9496050a85dcd403c1c50f2c5bd54f2613b8106fc5b93c3b192b003cf7b9d1a9723afe162 DIST python-nbxmpp-6.3.0.tar.bz2 153622 BLAKE2B 9cfb5286c091d12b6e63dbf73d85dc338d1c8b1f3158feee0f31acb836af99034211c4d805f40b89f691c51cb13594e9b7eea2369bdd2cb0f873aa920742b7d5 SHA512 48ffa19d0563da16a113fad141c9d159f80c78dab9d5ba098df913555d632ad00006a64cddd63009a89f228bef1f2b911ce207a70642b75f085b2d9ee91b6717 +DIST python-nbxmpp-6.3.1.tar.bz2 153878 BLAKE2B bc5aafe61863755af8c11578b68361f2ce7cf8c8dab1539fd97a69258fb43539a92ca119f1ec5f98a4d496010f9720c83e80c137539c0b924150a96e57094a18 SHA512 a15311ac4593f1462e040188a8a539d6e078b254085c02df33fb48450c88e9a0a534d02494994233978ef967f007eae9516c2002bca5c7060a52daccd0e38af8 diff --git a/dev-python/nbxmpp/nbxmpp-4.5.4.ebuild b/dev-python/nbxmpp/nbxmpp-4.5.4.ebuild deleted file mode 100644 index 836cdb9659fe..000000000000 --- a/dev-python/nbxmpp/nbxmpp-4.5.4.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 - -MY_P=python-nbxmpp-${PV} -DESCRIPTION="Python library to use Jabber/XMPP networks in a non-blocking way" -HOMEPAGE=" - https://dev.gajim.org/gajim/python-nbxmpp/ - https://pypi.org/project/nbxmpp/ -" -SRC_URI=" - https://dev.gajim.org/gajim/python-nbxmpp/-/archive/${PV}/${MY_P}.tar.bz2 -" -S=${WORKDIR}/${MY_P} - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 arm64 ~loong ~riscv x86" - -RDEPEND=" - dev-libs/gobject-introspection - net-libs/libsoup:3.0[introspection] - dev-python/idna[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - >=dev-python/precis-i18n-1.0.0[${PYTHON_USEDEP}] - >=dev-python/pygobject-3.42[${PYTHON_USEDEP}] -" - -distutils_enable_tests unittest diff --git a/dev-python/nbxmpp/nbxmpp-6.2.0.ebuild b/dev-python/nbxmpp/nbxmpp-6.3.1.ebuild index 685a57b5ac33..2b844179f3ca 100644 --- a/dev-python/nbxmpp/nbxmpp-6.2.0.ebuild +++ b/dev-python/nbxmpp/nbxmpp-6.3.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +PYTHON_COMPAT=( python3_{11..14} ) inherit distutils-r1 @@ -21,7 +21,7 @@ S=${WORKDIR}/${MY_P} LICENSE="GPL-3" SLOT="0" -KEYWORDS="amd64 arm64 ~loong ~riscv x86" +KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86" RDEPEND=" dev-libs/gobject-introspection diff --git a/dev-python/notebook/Manifest b/dev-python/notebook/Manifest index d22018209f95..640ae280397d 100644 --- a/dev-python/notebook/Manifest +++ b/dev-python/notebook/Manifest @@ -1,5 +1,4 @@ DIST notebook-7.3.3.tar.gz 12758099 BLAKE2B e5e988a166b5124f95cc050a4d9402778108c084325024c8ed3829780665d7149a06cccd4ab80d33e572b0b98d9088751d2a9313f10a940e8d82b5eb14db25f3 SHA512 e0f476c5a91edba48dc43b25417946983c46d5b4beaac6531ebf7af02bc4a9f2bae09b7d7524d7ad6e33c262769c1dc40c36f4593cfc70b8c98f41f40a75f8a2 -DIST notebook-7.4.4.tar.gz 13883628 BLAKE2B a5673563176a14c4272b60662be6ca7c909bf18645a2e19c45cc6f5816da4f0b262365f8370219f6fc92456ed4ec01299b88d705b08630eee741955c3c274cc8 SHA512 56a58c0126c52f311dca0118abe8c40624bf0a19fa3c7c0ef210b506a69cf1fb6711b0f752766902e3eb0cb840d273307e0930a0b48047826facb806294a5aeb DIST notebook-7.4.5.tar.gz 13888993 BLAKE2B 0b757a44e704b486360f564bbadb733723af9803e71611537fe70f2bc42c5636769b5f4656f82dbea1b711e7e1dc1479fd4dcc0e28a5dec657984e912c6d9862 SHA512 37e8c840bee87a8983601a38764f1ffb68f21fbed693363af886739baa1bfc522835c957811a066ea7c80b6b55df23d90bce079faf3e2869ba2ba57c528a9489 DIST notebook-7.4.6.tar.gz 13937087 BLAKE2B 62679c3abb2220a00575b6dcf749a157604b67d58d352186748be7fece1b8b7a798a70ed5c07f85fa5b6d3f7d144929e43e572d2fff0f365251897a413827013 SHA512 ad6cdfcab3851840ef4fb36e6fe97ba738e050a4f8f4c5c35f63310acfb4290635ef2570545d36f2a5ecb4410b599ae0fe9cd9ffff292718d39e40fb27db9254 DIST notebook-7.4.7.tar.gz 13937702 BLAKE2B 3c63eb57e0e439de7d08b319a1770767ae0bd32a2ff6caec4bf371a948f208eb03ac63ddf44f1d7f78ee898147696082e188ae53b096cb79dcb0d65feb77c95a SHA512 038046d891e7af6d64259e7f52e10be1bb5cd8d5928f44a8039eb916e48f8d4a926a55bb6ab5f5fd803baa32972636afd4498ec41911797e7bb1396bc8ca257f diff --git a/dev-python/notebook/notebook-7.4.4.ebuild b/dev-python/notebook/notebook-7.4.4.ebuild deleted file mode 100644 index 21c375273cea..000000000000 --- a/dev-python/notebook/notebook-7.4.4.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 pypi xdg-utils - -DESCRIPTION="Jupyter Interactive Notebook" -HOMEPAGE=" - https://jupyter.org/ - https://github.com/jupyter/notebook/ - https://pypi.org/project/notebook/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86" - -RDEPEND=" - >=dev-python/jupyter-server-2.4.0[${PYTHON_USEDEP}] - <dev-python/jupyter-server-3[${PYTHON_USEDEP}] - >=dev-python/jupyterlab-4.4.4[${PYTHON_USEDEP}] - <dev-python/jupyterlab-4.5[${PYTHON_USEDEP}] - >=dev-python/jupyterlab-server-2.27.1[${PYTHON_USEDEP}] - <dev-python/jupyterlab-server-3[${PYTHON_USEDEP}] - >=dev-python/notebook-shim-0.2[${PYTHON_USEDEP}] - <dev-python/notebook-shim-0.3[${PYTHON_USEDEP}] - >=dev-python/tornado-6.2.0[${PYTHON_USEDEP}] -" - -BDEPEND=" - dev-python/hatch-jupyter-builder[${PYTHON_USEDEP}] - >=dev-python/jupyterlab-4.4[${PYTHON_USEDEP}] - <dev-python/jupyterlab-4.5[${PYTHON_USEDEP}] - test? ( - dev-python/ipykernel[${PYTHON_USEDEP}] - dev-python/nbval[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/requests-unixsocket[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=( pytest-{console-scripts,jupyter,timeout,tornasync} ) -distutils_enable_tests pytest - -python_install_all() { - distutils-r1_python_install_all - mv "${ED}/usr/etc" "${ED}/etc" || die -} - -pkg_postinst() { - xdg_desktop_database_update - xdg_icon_cache_update -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_icon_cache_update -} diff --git a/dev-python/numexpr/Manifest b/dev-python/numexpr/Manifest index 932c17fdacbc..854887f3108e 100644 --- a/dev-python/numexpr/Manifest +++ b/dev-python/numexpr/Manifest @@ -1,3 +1,4 @@ DIST numexpr-2.11.0.gh.tar.gz 124469 BLAKE2B c00d2175925e5745e474d5b311faebf6bf8cf551a8d8d4ce679892c0b57a66bd9b007a51e8913ebc7d24924d46b1aa41476d3cefa358cb6cc3143dbbcf8cb835 SHA512 6a6d504a7eeb4aff16c975b204735befb2ca9152cf351b45c439e18e8a5a9b74b811271407da35c62a7d3a6e69012c70f686ee08740a10c0fddf91ae8a4c98f0 DIST numexpr-2.12.1.gh.tar.gz 129597 BLAKE2B 7b820754eb58d5cb1514eafa12a978c3fc1146dd32479ec806fe6f68805bed20c28ad17d6cb5309f4cb74b22e3229080fec0fd65db9f15d1116eba7f9107c7bb SHA512 fab6b97320bf297588ca7f775f8ecec10cefb170309ef5a68ec300cd982f6998cbc642e63e41f732b3f3c732bb997bdd1748d58705b484c9fb89f7d57c791d1a DIST numexpr-2.13.0.gh.tar.gz 133488 BLAKE2B 5c9c1c7573703303a7ebf051cdff4422116a8e5e8d48032c9564d77f30854ba9490ef5b452e32c1657a04e6dfec75c7fd0417a2674bd5dd263d17b91b34b2cb1 SHA512 393af00a9e5be30bd7c74cde7142f9f9562fc44dd41acba4616a3dc749b146f52a21f558bfeee0ab172095790cd353bc54bee37b5c036e63cc4e8ae0d44918df +DIST numexpr-2.13.1.gh.tar.gz 134005 BLAKE2B 569ef8fbbfac683ffebb1e989d87a27be244799fc2541848b98ed4b29af7fea06ad7d9fcc0df13fa6591160b0071340c4bb6e29c4eb69a3bb656d630e378fcc7 SHA512 d0c15c13309cd2b4cbe5e8cd1d035e3dbd04377945c17c5c2e930ddc374b988d503695312882a7c22c502043d1c0ffc8a5f69e2950b6ebb825ad53d66d31f029 diff --git a/dev-python/numexpr/numexpr-2.13.1.ebuild b/dev-python/numexpr/numexpr-2.13.1.ebuild new file mode 100644 index 000000000000..296cef371d31 --- /dev/null +++ b/dev-python/numexpr/numexpr-2.13.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2025 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_{9,10,11,12,13} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="Fast numerical array expression evaluator for Python and NumPy" +HOMEPAGE=" + https://github.com/pydata/numexpr/ + https://pypi.org/project/numexpr/ +" +SRC_URI=" + https://github.com/pydata/numexpr/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" + +DEPEND=" + >=dev-python/numpy-2.0.0_rc:=[${PYTHON_USEDEP}] +" +RDEPEND=" + ${DEPEND} + dev-python/packaging[${PYTHON_USEDEP}] +" + +python_test() { + pushd "${BUILD_DIR}/install/$(python_get_sitedir)" >/dev/null || die + "${EPYTHON}" -c ' +import sys,numexpr +sys.exit(0 if numexpr.test(verbosity=2).wasSuccessful() else 1) + ' || die "Tests failed with ${EPYTHON}" + pushd >/dev/null || die +} diff --git a/dev-python/pandas/Manifest b/dev-python/pandas/Manifest index d42b3e556a47..edfc4dcecff9 100644 --- a/dev-python/pandas/Manifest +++ b/dev-python/pandas/Manifest @@ -2,3 +2,4 @@ DIST pandas-2.2.3.tar.gz 4399213 BLAKE2B eca6d31b21f6385c606b3c6f8f4eedc5871719a DIST pandas-2.3.0.tar.gz 4484490 BLAKE2B 4fa8ad780e47bb9cfd6dfe3ea89d7c217d2d9bfce66b7cbf81e061309b60fb938b70ea98088c97f37c364abec261e68ec4d40f826265a3d7cb964160eac120b1 SHA512 f7c61b7ab30a67343c11a174209c88f24e6aef4224a0649a31be294e102dbe02fe38be4c5b3050d6c175c780d33da8c582491d7b6832eb212daa2c651bf691a3 DIST pandas-2.3.1.tar.gz 4487493 BLAKE2B d20f7f7b16e02d70f7cef228a20d0b1a1e7a8f4f2376f723b96ea38ca0df6e4bb9943b7ecf5d9f1f614e76f0b4bf84cf94c9a8768a8c5c045595bc052b7763bc SHA512 8d87295b7150708dfcd0d313933aa8ab056cd62eb404a540d3e96df16a5f78921fe1a56fbee15af2d159990465cc1bd939520fa640365b3ac892704dba991aea DIST pandas-2.3.2.tar.gz 4488684 BLAKE2B d63a81eb06806ed80847322741f0e3e34c8a51af4794b0a18816ae2e10fd27c25b015da95f4a6c2cfb9767b9388025a3b5522817f9013b50c589d5ecf7ae7f64 SHA512 4cbc4db60e36f07e483322eb734d229ef67af042a8f8be5f2285b3607f1a1f122ecdd95884ea12b1850b5d98423e2d0895fa5c738df6b40ff1950fe6d4371708 +DIST pandas-2.3.3.tar.gz 4495223 BLAKE2B c31604617900d439020dcdd66fcbca1cf3b720b6f4dd8ea51891946ad04774754cf7636a2ffb9fe746d15911a88153d36d4033b6a0207e9c7a1653a0f677570d SHA512 4179acb9fd9d1c5d543bb19b22483b4c2b17a36d5b10270a02ff4d8370b43c16a93673bf5509a5b1d1c960c0fde9238bbbf5b309c6745d2abf3d934535f3fd85 diff --git a/dev-python/pandas/pandas-2.3.3.ebuild b/dev-python/pandas/pandas-2.3.3.ebuild new file mode 100644 index 000000000000..6d5d0cde29a1 --- /dev/null +++ b/dev-python/pandas/pandas-2.3.3.ebuild @@ -0,0 +1,201 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=meson-python +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +PYTHON_REQ_USE="threads(+)" + +VIRTUALX_REQUIRED="manual" + +inherit distutils-r1 optfeature pypi toolchain-funcs virtualx + +DESCRIPTION="Powerful data structures for data analysis and statistics" +HOMEPAGE=" + https://pandas.pydata.org/ + https://github.com/pandas-dev/pandas/ + https://pypi.org/project/pandas/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +IUSE="big-endian full-support minimal test X" +RESTRICT="!test? ( test )" + +RECOMMENDED_DEPEND=" + >=dev-python/bottleneck-1.3.4[${PYTHON_USEDEP}] + >=dev-python/numexpr-2.8.0[${PYTHON_USEDEP}] +" + +# TODO: add pandas-gbq to the tree +# TODO: Re-add dev-python/statsmodel[python3_11] dep once it supports python3_11 +# https://github.com/statsmodels/statsmodels/issues/8287 +OPTIONAL_DEPEND=" + >=dev-python/beautifulsoup4-4.14.2[${PYTHON_USEDEP}] + dev-python/blosc[${PYTHON_USEDEP}] + >=dev-python/html5lib-1.1[${PYTHON_USEDEP}] + >=dev-python/jinja2-3.1.2[${PYTHON_USEDEP}] + >=dev-python/lxml-4.8.0[${PYTHON_USEDEP}] + >=dev-python/matplotlib-3.6.1[${PYTHON_USEDEP}] + >=dev-python/openpyxl-3.0.7[${PYTHON_USEDEP}] + >=dev-python/sqlalchemy-1.4.36[${PYTHON_USEDEP}] + >=dev-python/tabulate-0.8.10[${PYTHON_USEDEP}] + >=dev-python/xarray-2022.3.0[${PYTHON_USEDEP}] + >=dev-python/xlrd-2.0.1[${PYTHON_USEDEP}] + >=dev-python/xlsxwriter-3.0.3[${PYTHON_USEDEP}] + >=dev-python/xlwt-1.3.0[${PYTHON_USEDEP}] + !arm? ( !hppa? ( !ppc? ( !x86? ( + >=dev-python/scipy-1.8.1[${PYTHON_USEDEP}] + dev-python/statsmodels[${PYTHON_USEDEP}] + ) ) ) ) + !big-endian? ( + >=dev-python/tables-3.7.0[${PYTHON_USEDEP}] + ) + X? ( + || ( + >=dev-python/pyqt5-5.15.6[${PYTHON_USEDEP}] + >=dev-python/qtpy-2.2.0[${PYTHON_USEDEP}] + x11-misc/xclip + x11-misc/xsel + ) + ) +" +DEPEND=" + >=dev-python/numpy-1.23.2:=[${PYTHON_USEDEP}] +" +COMMON_DEPEND=" + ${DEPEND} + >=dev-python/python-dateutil-2.8.2[${PYTHON_USEDEP}] + >=dev-python/pytz-2020.1[${PYTHON_USEDEP}] +" +BDEPEND=" + ${COMMON_DEPEND} + >=dev-build/meson-1.2.1 + >=dev-python/cython-3.0.5[${PYTHON_USEDEP}] + >=dev-python/versioneer-0.28[${PYTHON_USEDEP}] + test? ( + ${VIRTUALX_DEPEND} + ${RECOMMENDED_DEPEND} + ${OPTIONAL_DEPEND} + dev-libs/apache-arrow[brotli,parquet,snappy] + >=dev-python/beautifulsoup4-4.14.2[${PYTHON_USEDEP}] + >=dev-python/hypothesis-6.46.1[${PYTHON_USEDEP}] + >=dev-python/openpyxl-3.0.10[${PYTHON_USEDEP}] + >=dev-python/pyarrow-10.0.1[parquet,${PYTHON_USEDEP}] + >=dev-python/pymysql-1.0.2[${PYTHON_USEDEP}] + >=dev-python/xlsxwriter-3.0.3[${PYTHON_USEDEP}] + x11-misc/xclip + x11-misc/xsel + ) +" +RDEPEND=" + ${COMMON_DEPEND} + dev-python/tzdata[${PYTHON_USEDEP}] + !minimal? ( ${RECOMMENDED_DEPEND} ) + full-support? ( ${OPTIONAL_DEPEND} ) +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +PATCHES=( + # https://github.com/pandas-dev/pandas/pull/61331/commits/12b1d00622ffc8b99986da2f4478cc2df4da213a + # (partially applied to 2.3.1, sigh) + "${FILESDIR}/${PN}-2.3.1-xarray-test.patch" +) + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + # Note; deselects relative to pandas/ + local EPYTEST_DESELECT=( + # test for rounding errors, fails if we have better precision + # e.g. on amd64 with FMA or on arm64 + # https://github.com/pandas-dev/pandas/issues/38921 + tests/window/test_rolling.py::test_rolling_var_numerical_issues + + # TODO: missing data not covered by --no-strict-data-files? + tests/io/xml/test_xml.py::test_empty_stylesheet + tests/io/xml/test_xml.py::test_wrong_file_path + + # deprecation warning + 'tests/computation/test_eval.py::TestEval::test_scalar_unary[numexpr-pandas]' + + # requires -Werror + tests/tslibs/test_to_offset.py::test_to_offset_lowercase_frequency_deprecated + tests/tslibs/test_to_offset.py::test_to_offset_uppercase_frequency_deprecated + tests/copy_view/test_array.py::test_dataframe_multiple_numpy_dtypes + + # probably pytz, doesn't happen on main (where zoneinfo is used) + 'tests/arrays/test_array.py::test_array_inference[data7-expected7]' + + # virtx? + pandas/tests/test_downstream.py::test_seaborn + ) + + if ! tc-has-64bit-time_t; then + EPYTEST_DESELECT+=( + # Needs 64-bit time_t (TODO: split into 32-bit arch only section) + tests/tseries/offsets/test_year.py::test_add_out_of_pydatetime_range + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BusinessDay]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BusinessHour]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BusinessMonthEnd]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BusinessMonthBegin]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BQuarterEnd]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BQuarterBegin]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-CustomBusinessDay]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-CustomBusinessHour]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-CustomBusinessMonthEnd]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-CustomBusinessMonthBegin]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-MonthEnd]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-MonthBegin]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-SemiMonthBegin]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-SemiMonthEnd]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-QuarterEnd]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-LastWeekOfMonth]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-WeekOfMonth]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-Week]' + ) + fi + + if ! has_version "dev-python/scipy[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + tests/plotting/test_misc.py::test_savefig + ) + fi + + local -x LC_ALL=C.UTF-8 + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + "${EPYTHON}" -c "import pandas; pandas.show_versions()" || die + # nonfatal from virtx + # --no-strict-data-files is necessary since upstream prevents data + # files from even being included in GitHub archives, sigh + # https://github.com/pandas-dev/pandas/issues/54907 + nonfatal epytest pandas/tests \ + --no-strict-data-files -o xfail_strict=false \ + -m "not single_cpu and not slow and not network and not db" || + die "Tests failed with ${EPYTHON}" + rm test_stata.dta || die +} + +pkg_postinst() { + optfeature "accelerating certain types of NaN evaluations, using specialized cython routines to achieve large speedups." dev-python/bottleneck + optfeature "accelerating certain numerical operations, using multiple cores as well as smart chunking and caching to achieve large speedups" ">=dev-python/numexpr-2.1" + optfeature "needed for pandas.io.html.read_html" dev-python/beautifulsoup4 dev-python/html5lib dev-python/lxml + optfeature "for msgpack compression using blosc" dev-python/blosc + optfeature "Template engine for conditional HTML formatting" dev-python/jinja2 + optfeature "Plotting support" dev-python/matplotlib + optfeature "Needed for Excel I/O" ">=dev-python/openpyxl-3.0.10" dev-python/xlsxwriter dev-python/xlrd dev-python/xlwt + optfeature "necessary for HDF5-based storage" ">=dev-python/tables-3.7.0" + optfeature "R I/O support" dev-python/rpy2 + optfeature "Needed for parts of pandas.stats" dev-python/statsmodels + optfeature "SQL database support" ">=dev-python/sqlalchemy-1.4.36" + optfeature "miscellaneous statistical functions" dev-python/scipy + optfeature "necessary to use pandas.io.clipboard.read_clipboard support" dev-python/pyqt5 dev-python/qtpy x11-misc/xclip x11-misc/xsel +} diff --git a/dev-python/passlib/files/passlib-1.7.4-bcrypt.patch b/dev-python/passlib/files/passlib-1.7.4-bcrypt.patch new file mode 100644 index 000000000000..19bb604dbef4 --- /dev/null +++ b/dev-python/passlib/files/passlib-1.7.4-bcrypt.patch @@ -0,0 +1,21 @@ +diff -r 7aafcc60b4f5 passlib/handlers/bcrypt.py +--- a/passlib/handlers/bcrypt.py Thu Oct 08 15:01:32 2020 -0400 ++++ b/passlib/handlers/bcrypt.py Wed Oct 01 09:04:12 2025 +0200 +@@ -366,6 +366,8 @@ + NOTE: if in future we need to deliberately create hashes which have this bug, + can use something like 'hashpw(repeat_string(secret[:((1+secret) % 256) or 1]), 72)' + """ ++ return False ++ + # check if it exhibits wraparound bug + secret = (b"0123456789"*26)[:255] + bug_hash = ident.encode("ascii") + b"04$R1lJ2gkNaoPGdafE.H.16.nVyh2niHsGJhayOHLMiXlI45o8/DU.6" +@@ -609,7 +611,7 @@ + except ImportError: # pragma: no cover + return False + try: +- version = _bcrypt.__about__.__version__ ++ version = _bcrypt.__version__ + except: + log.warning("(trapped) error reading bcrypt version", exc_info=True) + version = '<unknown>' diff --git a/dev-python/passlib/passlib-1.7.4-r3.ebuild b/dev-python/passlib/passlib-1.7.4-r4.ebuild index be2a4edfcafe..c3fee75559ae 100644 --- a/dev-python/passlib/passlib-1.7.4-r3.ebuild +++ b/dev-python/passlib/passlib-1.7.4-r4.ebuild @@ -28,12 +28,17 @@ BDEPEND=" ) )" +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 distutils_enable_tests pytest src_prepare() { - # fix compatibility with >=dev-python/bcrypt-4.1 - # https://foss.heptapod.net/python-libs/passlib/-/issues/190 - sed -i -e '/bcrypt/s:__about__\.::' passlib/handlers/bcrypt.py || die + local PATCHES=( + # combined bcrypt compatibility fixes + # https://foss.heptapod.net/python-libs/passlib/-/issues/190 + # https://foss.heptapod.net/python-libs/passlib/-/issues/196 + "${FILESDIR}/${P}-bcrypt.patch" + ) distutils-r1_src_prepare } @@ -42,6 +47,11 @@ python_test() { local EPYTEST_DESELECT=( # broken all the time by new django releases passlib/tests/test_ext_django.py + + # bcrypt now disallows implicit password truncation + passlib/tests/test_handlers_bcrypt.py::bcrypt_bcrypt_test::test_70_hashes + passlib/tests/test_handlers_bcrypt.py::bcrypt_bcrypt_test::test_secret_w_truncate_size + passlib/tests/test_handlers_django.py::django_bcrypt_test::test_secret_w_truncate_size ) case ${EPYTHON} in diff --git a/dev-python/pipx/Manifest b/dev-python/pipx/Manifest index 3a7ccd545d14..b73703483be8 100644 --- a/dev-python/pipx/Manifest +++ b/dev-python/pipx/Manifest @@ -2,3 +2,4 @@ DIST pip-23.3.2-py3-none-any.whl 2109393 BLAKE2B 278b9941f93951508ae2f508b1b5a9f DIST pip-24.0-py3-none-any.whl 2110226 BLAKE2B 6a0c8c9796cd574ef1d709de40a8530a15e50158143e332b79e5ad3edceda6ce93c5ef4df49b169062598618dcc6967c2115ac2c10b05abf345318204f1eeffc SHA512 5d7462a584105bccaa9cf376f5a8c5827ead099c813c8af7392d478a4398f373d9e8cac7bbad2db51b335411ab966b21e119b1b1234c9a7ab70c6ddfc9306da6 DIST pipx-1.7.1-test-shim.tar.xz 72696 BLAKE2B 276db812b311774d1ad5177402084eec5d3287f72416a8bd67db99530b0ee3ba538e196b8f6ce4ade8bd73b81be238d656366c2048abb90e584be1565b25e33b SHA512 e7c6d604487e1d9a7a7b5c1cd35e758e056d7cc8f9ca4a79ad45617d44d0e857ef336cf012ea08a7e0aa0773ca4c3f9995fe3bdcd3baff048281473464c39256 DIST pipx-1.7.1.gh.tar.gz 391902 BLAKE2B eb2801c8b2a12a8096ff2fb6882b970cce154cf3f65a87e59ab321d36ce05a9bba03ac818e2148136e00e86fe44d6efd5a39d1c535e4e135feb48b7487f1dde3 SHA512 6375d413974477f488eb8c8d95594f39cf7c54e4c09639c95cb82ed58467266c0124259b1a1fc07596ac0fbffc9fd2ff2fffe58083d78e67ca9f056f2353852f +DIST pipx-1.8.0.gh.tar.gz 446941 BLAKE2B 7247fe0d76e65d8996039b569d8c163b665a4372a7fb065fe9b5495809444698b8e2c7f8edf727a66d7a04f03ac0f57d9a19962c40f3f132bb9afcf74691410a SHA512 76c534a12f085964499c0a2f67535e892c72008b4f01396cbc9e6dd7bbace85433f3f0539ddfa44d1b26425cc7f022eeecaefc0f80aad920066a7d9b2e71a84a diff --git a/dev-python/pipx/pipx-1.8.0.ebuild b/dev-python/pipx/pipx-1.8.0.ebuild new file mode 100644 index 000000000000..65260ea2c6ec --- /dev/null +++ b/dev-python/pipx/pipx-1.8.0.ebuild @@ -0,0 +1,109 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +# To update test shim, use https://github.com/projg2/pipx-repack-wheels +TEST_SHIM=pipx-1.7.1-test-shim +DESCRIPTION="Install and Run Python Applications in Isolated Environments" +HOMEPAGE=" + https://pipx.pypa.io/stable/ + https://pypi.org/project/pipx/ + https://github.com/pypa/pipx/ +" +# no tests in sdist +SRC_URI=" + https://github.com/pypa/pipx/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://dev.gentoo.org/~mgorny/dist/${TEST_SHIM}.tar.xz + $(pypi_wheel_url pip 23.3.2) + $(pypi_wheel_url pip 24.0) + ) +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/argcomplete-1.9.4[${PYTHON_USEDEP}] + >=dev-python/packaging-20.0[${PYTHON_USEDEP}] + >=dev-python/platformdirs-2.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.10) + >=dev-python/userpath-1.9.1[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/ensurepip-pip + dev-python/ensurepip-setuptools + dev-python/ensurepip-wheel + dev-python/pypiserver[${PYTHON_USEDEP}] + ) +" + +EPYTEST_RERUNS=5 +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +src_prepare() { + if use test; then + cp -vs "${BROOT}"/usr/lib/python/ensurepip/{pip,setuptools,wheel}-*.whl \ + "${WORKDIR}/${TEST_SHIM}/" || die + # needed for pinned pin version test + cp -vs "${DISTDIR}"/pip-23.3.2-py3-none-any.whl \ + "${WORKDIR}/${TEST_SHIM}/" || die + cp -vs "${DISTDIR}"/pip-24.0-py3-none-any.whl \ + "${WORKDIR}/${TEST_SHIM}/" || die + mkdir -p .pipx_tests/package_cache || die + + > scripts/update_package_cache.py || die + # sigh + sed -e 's:server = str.*:server = "pypi-server":' \ + -i tests/conftest.py || die + fi + + distutils-r1_src_prepare +} + +python_configure() { + if use test; then + local v=$( + "${EPYTHON}" - <<-EOF + import sys + print(".".join(str(x) for x in sys.version_info[:2])) + EOF + ) + if [[ ! -e .pipx_tests/package_cache/${v} ]]; then + ln -s "${WORKDIR}/${TEST_SHIM}" \ + ".pipx_tests/package_cache/${v}" || die + fi + fi +} + +python_test() { + local EPYTEST_DESELECT=( + # Internet + tests/test_run.py::test_run_ensure_null_pythonpath + tests/test_run.py::test_run_script_from_internet + 'tests/test_install.py::test_install_package_specs[pycowsay-git+https://github.com/cs01/pycowsay.git@master]' + tests/test_install.py::test_force_install_changes + 'tests/test_install.py::test_install_package_specs[nox-https://github.com/wntrblm/nox/archive/2022.1.7.zip]' + tests/test_interpreter.py::test_fetch_missing_python + tests/test_list.py::test_list_standalone_interpreter + tests/test_standalone_interpreter.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o tmp_path_retention_policy=all +} diff --git a/dev-python/pylast/Manifest b/dev-python/pylast/Manifest index b26c4f115e30..14e79ab61362 100644 --- a/dev-python/pylast/Manifest +++ b/dev-python/pylast/Manifest @@ -1 +1,2 @@ DIST pylast-5.5.0.tar.gz 45569 BLAKE2B 397efaf358f58eee91cc1c047496a43259b54f645ce8de01ac14589e4a1098887f9d48099d3373da3e68e1c9c04adc31edf5869e539e9dbe67290f8e8a70a956 SHA512 c4776bf1f430ab8f819dceadbf3efd79ce61bce4780588cd82f12ff99c2cdb96f08871b14693e81183bafe03afd5dda242eebd083e60cc5d035b5ca0f42cc289 +DIST pylast-6.0.0.tar.gz 45408 BLAKE2B 736d2d3967499c490d5407accbb3e0e1640b64ab3c2a6b5d7a9a4ec834db03ea16bd38e03c146f68c798ae1160c55dc7a00a2cc621834d794576f6ffc3b8f26a SHA512 5bb462f369f003fc78e1998915acdc2f96b320670ae80d71009b9e88d513639ac376424d8f3840fb7bfef9f3133247590460f00737d754933b7c5da8f9eb7561 diff --git a/dev-python/pylast/pylast-6.0.0.ebuild b/dev-python/pylast/pylast-6.0.0.ebuild new file mode 100644 index 000000000000..4b18ce7e2654 --- /dev/null +++ b/dev-python/pylast/pylast-6.0.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python interface to last.fm and other api-compatible websites" +HOMEPAGE=" + https://pypi.org/project/pylast/ + https://github.com/pylast/pylast/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + >=dev-python/httpx-0.26[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=( flaky ) +distutils_enable_tests pytest diff --git a/dev-python/pyside/pyside-6.9.9999.ebuild b/dev-python/pyside/pyside-6.9.9999.ebuild deleted file mode 100644 index 8d370bb985d9..000000000000 --- a/dev-python/pyside/pyside-6.9.9999.ebuild +++ /dev/null @@ -1,515 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# NOTE: We combine here several PyPI packages, we do this because -# pyside can and does break if it is compiled with a different -# toolchain then was used to build shiboken. This bundling ensures -# that we always use the same toolchain for all components. - -EAPI=8 - -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) -LLVM_COMPAT=( {16..20} ) -DISTUTILS_USE_PEP517=setuptools -DISTUTILS_EXT=1 - -inherit distutils-r1 llvm-r1 multiprocessing qmake-utils virtualx - -MY_PN=${PN}-setup-everywhere-src -MY_P=${MY_PN}-${PV} - -DESCRIPTION="Python bindings for the Qt framework" -HOMEPAGE="https://wiki.qt.io/PySide6" - -if [[ ${PV} == *.9999 ]]; then - inherit git-r3 - EGIT_REPO_URI=( - "https://code.qt.io/${PN}/${PN}-setup.git" - "https://github.com/qtproject/${PN}-${PN}-setup.git" - ) - EGIT_BRANCH=dev - [[ ${PV} == 6.*.9999 ]] && EGIT_BRANCH=${PV%.9999} -else - SRC_URI="https://download.qt.io/official_releases/QtForPython/${PN}6/PySide6-${PV}-src/${MY_P}.tar.xz" - S="${WORKDIR}/${MY_P}" - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" -fi - -LICENSE="|| ( GPL-2 GPL-3 LGPL-3 )" -SLOT="6/${PV}" - -# If a flag enables multiple Qt modules, they should be ordered -# according to their dependencies, e.g. for 3d, 3DCore must be first. -# Widgets for various modules are handled as a special case later -declare -A QT_MODULES=( - ["3d"]="3DCore 3DRender 3DLogic 3DInput 3DAnimation 3DExtras" - ["bluetooth"]="Bluetooth" - ["charts"]="Charts" - ["+concurrent"]="Concurrent" - ["+core"]="Core" - ["+dbus"]="DBus" - ["designer"]="Designer" - ["+gui"]="Gui" - ["help"]="Help" - ["httpserver"]="HttpServer" - ["location"]="Location" - ["multimedia"]="Multimedia" # plus widgets - ["network-auth"]="NetworkAuth" - ["+network"]="Network" - ["nfc"]="Nfc" - ["+opengl"]="OpenGL" # plus widgets - ["pdfium"]="Pdf" # plus widgets - ["positioning"]="Positioning" - ["+printsupport"]="PrintSupport" - ["qml"]="Qml" - ["quick3d"]="Quick3D" - ["quick"]="Quick" # plus widgets - ["remoteobjects"]="RemoteObjects" - ["scxml"]="Scxml" - ["sensors"]="Sensors" - ["serialbus"]="SerialBus" - ["serialport"]="SerialPort" - ["spatialaudio"]="SpatialAudio" - ["+sql"]="Sql" - ["svg"]="Svg" # plus widgets - ["speech"]="TextToSpeech" - ["+testlib"]="Test" - ["uitools"]="UiTools" - ["webchannel"]="WebChannel" - ["webengine"]="WebEngineCore" # plus widgets and quick - ["websockets"]="WebSockets" - ["webview"]="WebView" - ["+widgets"]="Widgets" - ["+xml"]="Xml" -) - -# Manually reextract these requirements on version bumps by running the -# following one-liner from within "${S}": -# $ grep 'set.*_deps' PySide6/Qt*/CMakeLists.txt -declare -A QT_REQUIREMENTS=( - ["3d"]="gui network opengl" - ["bluetooth"]="core" - ["charts"]="core gui widgets" - ["concurrent"]="core" - ["dbus"]="core" - ["designer"]="widgets" - ["gles2-only"]="gui" - ["gui"]="core" - ["help"]="widgets" - ["httpserver"]="core concurrent network websockets" - ["location"]="core positioning" - ["multimedia"]="core gui network" - ["network-auth"]="network" - ["network"]="core" - ["nfc"]="core" - ["opengl"]="gui" - ["pdfium"]="core gui network" - ["positioning"]="core" - ["printsupport"]="widgets" - ["qml"]="network" - ["quick"]="gui network qml opengl" - ["quick3d"]="gui network qml quick" - ["remoteobjects"]="core network" - ["scxml"]="core" - ["sensors"]="core" - ["serialbus"]="core network serialport" - ["serialport"]="core" - ["spatialaudio"]="core gui network multimedia" - ["speech"]="core multimedia" - ["sql"]="widgets" - ["svg"]="gui" - ["testlib"]="widgets" - ["uitools"]="widgets" - ["webchannel"]="core" - ["webengine"]="core gui network printsupport quick webchannel" - ["websockets"]="network" - ["webview"]="gui quick webengine" - ["widgets"]="gui" - ["xml"]="core" -) - -IUSE="${!QT_MODULES[@]} debug doc gles2-only numpy test tools" -RESTRICT="!test? ( test )" - -# majority of QtQml tests require QtQuick support -REQUIRED_USE=" - test? ( - qml? ( quick ) - ) -" -for requirement in ${!QT_REQUIREMENTS[@]}; do - REQUIRED_USE+=" ${requirement}? ( ${QT_REQUIREMENTS[${requirement}]} ) " -done - -# Minimal supported version of Qt. -QT_PV="$(ver_cut 1-3)*:6" - -# WebEngine needs sound support, so enable either pulseaudio or alsa -RDEPEND=" - =dev-qt/qtbase-${QT_PV}[concurrent?,dbus?,gles2-only=,network?,opengl?,sql?,widgets?,xml?] - 3d? ( =dev-qt/qt3d-${QT_PV}[qml?,gles2-only=] ) - bluetooth? ( =dev-qt/qtconnectivity-${QT_PV}[bluetooth] ) - charts? ( =dev-qt/qtcharts-${QT_PV} ) - designer? ( =dev-qt/qttools-${QT_PV}[designer,widgets,gles2-only=] ) - gui? ( - =dev-qt/qtbase-${QT_PV}[gui,jpeg(+)] - x11-libs/libxkbcommon - ) - help? ( =dev-qt/qttools-${QT_PV}[assistant,gles2-only=] ) - httpserver? ( =dev-qt/qthttpserver-${QT_PV} ) - location? ( =dev-qt/qtlocation-${QT_PV} ) - multimedia? ( =dev-qt/qtmultimedia-${QT_PV}[widgets(+)?] ) - network? ( =dev-qt/qtbase-${QT_PV}[ssl] ) - network-auth? ( =dev-qt/qtnetworkauth-${QT_PV} ) - nfc? ( =dev-qt/qtconnectivity-${QT_PV}[nfc] ) - numpy? ( >=dev-python/numpy-2.1.3[${PYTHON_USEDEP}] ) - pdfium? ( =dev-qt/qtwebengine-${QT_PV}[pdfium(-),widgets?] ) - positioning? ( =dev-qt/qtpositioning-${QT_PV} ) - printsupport? ( =dev-qt/qtbase-${QT_PV}[gui,widgets] ) - qml? ( =dev-qt/qtdeclarative-${QT_PV}[opengl?,widgets?] ) - quick3d? ( =dev-qt/qtquick3d-${QT_PV}[opengl?] ) - remoteobjects? ( =dev-qt/qtremoteobjects-${QT_PV} ) - scxml? ( =dev-qt/qtscxml-${QT_PV} ) - sensors? ( =dev-qt/qtsensors-${QT_PV}[qml?] ) - speech? ( =dev-qt/qtspeech-${QT_PV} ) - serialbus? ( =dev-qt/qtserialbus-${QT_PV} ) - serialport? ( =dev-qt/qtserialport-${QT_PV} ) - svg? ( =dev-qt/qtsvg-${QT_PV} ) - testlib? ( =dev-qt/qtbase-${QT_PV}[gui] ) - tools? ( - =dev-qt/qtbase-${QT_PV} - =dev-qt/qtdeclarative-${QT_PV}[qmlls] - =dev-qt/qttools-${QT_PV}[assistant,designer,linguist] - dev-python/pkginfo[${PYTHON_USEDEP}] - ) - uitools? ( =dev-qt/qttools-${QT_PV}[gles2-only=,widgets] ) - webchannel? ( =dev-qt/qtwebchannel-${QT_PV} ) - webengine? ( || ( - =dev-qt/qtwebengine-${QT_PV}[alsa,widgets?] - =dev-qt/qtwebengine-${QT_PV}[pulseaudio,widgets?] - ) - ) - websockets? ( =dev-qt/qtwebsockets-${QT_PV} ) - webview? ( =dev-qt/qtwebview-${QT_PV} ) - !dev-python/pyside:0 - !dev-python/shiboken6 - !dev-python/pyside6-tools -" - -DEPEND="${RDEPEND} - $(llvm_gen_dep ' - llvm-core/clang:${LLVM_SLOT} - llvm-core/llvm:${LLVM_SLOT} - ') - dev-util/vulkan-headers - test? ( =dev-qt/qtbase-${QT_PV}[gui] ) -" # testlib is toggled by the gui flag on qtbase - -BDEPEND=" - dev-build/cmake - dev-python/distro[${PYTHON_USEDEP}] - <dev-python/wheel-0.46.0[${PYTHON_USEDEP}] - dev-util/patchelf - doc? ( - >=dev-libs/libxml2-2.6.32 - >=dev-libs/libxslt-1.1.19 - media-gfx/graphviz - dev-python/sphinx[${PYTHON_USEDEP}] - dev-python/myst-parser[${PYTHON_USEDEP}] - ) - numpy? ( dev-python/numpy[${PYTHON_USEDEP}] ) -" - -PATCHES=( - # Needs porting to newer wheel and setuptools - "${FILESDIR}/${PN}-6.8.2-quick-fix-build-wheel.patch" -) - -# Build system duplicates system libraries. TODO: fix -QA_PREBUILT=( - "/usr/lib/python*/site-packages/PySide6/*" -) - -python_prepare_all() { - distutils-r1_python_prepare_all - - # Shiboken6 assumes Vulkan headers live under either "$VULKAN_SDK/include" - # or "$VK_SDK_PATH/include" rather than "${EPREFIX}/usr/include/vulkan". - sed -i -e "s~\bdetectVulkan(&headerPaths);~headerPaths.append(HeaderPath{QByteArrayLiteral(\"${EPREFIX}/usr/include/vulkan\"), HeaderType::System});~" \ - sources/shiboken6/ApiExtractor/clangparser/compilersupport.cpp || die - - # Shiboken6 assumes the "/usr/lib/clang/${CLANG_NEWEST_VERSION}/include/" - # subdirectory provides Clang builtin includes (e.g., "stddef.h") for the - # currently installed version of Clang, where ${CLANG_NEWEST_VERSION} is - # the largest version specifier that exists under the "/usr/lib/clang/" - # subdirectory. This assumption is false in edge cases, including when - # users downgrade from newer Clang versions but fail to remove those - # versions with "emerge --depclean". See also: - # https://github.com/leycec/raiagent/issues/85 - # - # Sadly, the clang-* family of functions exported by the "toolchain-funcs" - # eclass are defective, returning nonsensical placeholder strings if the - # end user has *NOT* explicitly configured their C++ compiler to be Clang. - # PySide6 does *NOT* care whether the end user has done so or not, as - # PySide6 unconditionally requires Clang in either case. See also: - # https://bugs.gentoo.org/619490 - sed -e \ - 's~(findClangBuiltInIncludesDir())~(QStringLiteral("'"${EPREFIX}"'/usr/lib/clang/'"${LLVM_SLOT}"'/include"))~' \ - -i sources/shiboken6/ApiExtractor/clangparser/compilersupport.cpp || die - - # blacklist.txt works like XFAIL - cat <<- EOF >> build_history/blacklist.txt || die - # segfaults with QOpenGLContext::create - [pysidetest::qapp_like_a_macro_test] - linux - # Tries to execute pip install - [pyside6-deploy::test_pyside6_deploy] - linux - [pyside6-android-deploy::test_pyside6_android_deploy] - linux - # Behavior changed and test not changed to accomodate - # https://bugreports.qt.io/projects/PYSIDE/issues/PYSIDE-3135 - [registry::existence_test] - linux - # Doesn't appear to play well with virtualx as it tries to use wayland - [QtUiTools::loadUiType_test] - linux - EOF - - if ! use numpy; then - cat <<- EOF >> build_history/blacklist.txt || die - # Requires numpy support to pass - [sample::array_numpy] - linux - [sample::nontypetemplate] - linux - [QtGui::qpainter_test] - linux - EOF - fi -} - -python_configure_all() { - ENABLED_QT_MODULES=() - - # The order matters, dependencies must come first so process - # REQUIRED_USE and recursively enable modules - enable_qt_mod() { - local flag=${1} - local modules=${QT_MODULES[${flag}]} - if [[ -z ${modules} ]]; then - die "incorrect flag=${flag}, not registered" - fi - local dependencies=${QT_REQUIREMENTS[${flag//+}]} - if [[ -n ${dependencies} ]]; then - local depflag - for depflag in ${dependencies}; do - if use ${depflag}; then - if [[ -z ${QT_MODULES[${depflag}]} ]]; then - depflag=+${depflag} - fi - enable_qt_mod ${depflag} - else - die "${depflag} is required but not enabled" - fi - done - fi - if [[ "${ENABLED_QT_MODULES[*]}" != *${modules}* ]]; then - ENABLED_QT_MODULES+=( ${modules} ) - fi - } - # Enable specified qt modules - local flag - for flag in ${!QT_MODULES[@]}; do - if use ${flag//+}; then - enable_qt_mod ${flag} - fi - done - - # Special cases - if use widgets; then - use multimedia && ENABLED_QT_MODULES+=( MultimediaWidgets ) - use opengl && ENABLED_QT_MODULES+=( OpenGLWidgets ) - use pdfium && ENABLED_QT_MODULES+=( PdfWidgets ) - use quick && ENABLED_QT_MODULES+=( QuickWidgets ) - use svg && ENABLED_QT_MODULES+=( SvgWidgets ) - use webengine && ENABLED_QT_MODULES+=( WebEngineWidgets ) - fi - if use quick; then - use webengine && ENABLED_QT_MODULES+=( WebEngineQuick ) - use testlib && ENABLED_QT_MODULES+=( QuickTest ) - fi - - # Arguments listed in options.py - MAIN_DISTUTILS_ARGS=( - --cmake="${EPREFIX}/usr/bin/cmake" - --ignore-git - --limited-api=no - --module-subset="$(printf '%s,' "${ENABLED_QT_MODULES[@]}")" - --no-strip - --no-size-optimization - --openssl="${EPREFIX}/usr/bin/openssl" - --qt=$(ver_cut 1-3) - --qtpaths=$(qt6_get_bindir)/qtpaths - --verbose-build - --parallel=$(makeopts_jobs) - $(usex debug "--debug" "--relwithdebinfo") - $(usex doc "--build-docs" "--skip-docs") - $(usex numpy "--enable-numpy-support" "--disable-numpy-support") - $(usex test "--build-tests --use-xvfb" "") - $(usex tools "" "--no-qt-tools") - ) -} - -python_compile() { - DISTUTILS_ARGS=( - "${MAIN_DISTUTILS_ARGS[@]}" - --build-type=shiboken6 - ) - distutils-r1_python_compile - - # The build system uses its own build dir, find the name of this dir. - local pyside_build_dir=$(find "${BUILD_DIR}/build$((${#DISTUTILS_WHEELS[@]}-1))" -maxdepth 1 -type d -name 'qfp*-py*-qt*-*' -printf "%f\n") - export pyside_build_id=${pyside_build_dir#qfp$(usev debug d)-py${EPYTHON#python}-qt$(ver_cut 1-3)-} - - DISTUTILS_ARGS=( - "${MAIN_DISTUTILS_ARGS[@]}" - --reuse-build - --shiboken-target-path="${BUILD_DIR}/build$((${#DISTUTILS_WHEELS[@]}-1))/${pyside_build_dir}/install" - --build-type=shiboken6-generator - ) - distutils-r1_python_compile - # If no pyside modules enabled, build just shiboken - if [[ ${#ENABLED_QT_MODULES[@]} -gt 0 ]]; then - DISTUTILS_ARGS=( - "${MAIN_DISTUTILS_ARGS[@]}" - --reuse-build - --shiboken-target-path="${BUILD_DIR}/build$((${#DISTUTILS_WHEELS[@]}-1))/${pyside_build_dir}/install" - --build-type=pyside6 - ) - distutils-r1_python_compile - fi - - # Link libraries to the usual location for backwards compatibility - pushd "${BUILD_DIR}/install/$(python_get_sitedir)" >/dev/null || - die - mkdir -p "${BUILD_DIR}/install/usr/$(get_libdir)" || die - local lib - for lib in */*.cpython-*.so - do - local base=${lib##*/} - ln -s "${base}" "${lib%/*}/${base%%.*}-${EPYTHON}.so" || - die - done - for lib in */*.cpython-*.so.$(ver_cut 1-2) - do - local base=${lib##*/} - ln -s "${base}" "${lib%/*}/${base%%.*}-${EPYTHON}.so.$(ver_cut 1-2)" || - die - done - for lib in */*.so*; do - ln -s "../../$(python_get_sitedir)/${lib}" \ - "${BUILD_DIR}/install/usr/$(get_libdir)/${lib#*/}" || die - done - popd >/dev/null || die - - # Symlinks for compatibility with pypi wheels - local dir - if [[ -d ${BUILD_DIR}/install/$(python_get_sitedir)/PySide6 ]] - then - pushd "${BUILD_DIR}/install/$(python_get_sitedir)/PySide6" \ - >/dev/null || die - mkdir -p "${BUILD_DIR}/install/usr/share/PySide6" || die - for dir in doc glue typesystems; do - ln -s "../../../$(python_get_sitedir)/PySide6/${dir}" \ - "${BUILD_DIR}/install/usr/share/PySide6/${dir}" || - die - done - popd >/dev/null || die - fi - mkdir -p "${BUILD_DIR}/install/usr/include" - for dir in PySide6 shiboken6_generator; do - if [[ -d ${BUILD_DIR}/install/$(python_get_sitedir)/${dir}/include ]] - then - ln -s "../../$(python_get_sitedir)/${dir}/include" \ - "${BUILD_DIR}/install/usr/include/${dir//_generator}" || - die - fi - done - - # Install misc files from inner install dir - find "${BUILD_DIR}"/build*/${pyside_build_dir}/install -type f \ - -name libPySidePlugin.so -exec \ - mkdir -p "${BUILD_DIR}/install/$(qt6_get_plugindir)/designer/" \; \ - -exec \ - cp "{}" "${BUILD_DIR}/install/$(qt6_get_plugindir)/designer/" \; \ - || die - - for dir in cmake pkgconfig; do - find "${BUILD_DIR}"/build*/${pyside_build_dir}/install -type d -name ${dir} \ - -exec cp -r "{}" "${BUILD_DIR}/install/usr/lib/" \; \ - || die - done - - # Uniquify the pkgconfigs file for the current Python target, - # preserving an unversioned "shiboken6.pc" file arbitrarily - # associated with the last Python target. - if [[ -f ${BUILD_DIR}/install/usr/lib/pkgconfig/shiboken6.pc ]] - then - sed -e 's~prefix=.*~prefix=/usr~g' \ - -e 's~exec_prefix=.*~exec_prefix=${prefix}~g' \ - -e "s~libdir=.*~libdir=$(python_get_sitedir)/shiboken6~g" \ - -e "s~includedir=.*~includedir=$(python_get_sitedir)/shiboken6_generator/include~g" \ - -i "${BUILD_DIR}/install/usr/lib/pkgconfig/shiboken6.pc" || die - cp "${BUILD_DIR}/install/usr/lib/pkgconfig/"shiboken6{,-${EPYTHON}}.pc || die - fi - if [[ -f ${BUILD_DIR}/install/usr/lib/pkgconfig/pyside6.pc ]] - then - sed -e 's~^Requires: shiboken6$~&-'${EPYTHON}'~' \ - -e 's~prefix=.*~prefix=/usr~g' \ - -e 's~exec_prefix=.*~exec_prefix=${prefix}~g' \ - -e "s~libdir=.*~libdir=$(python_get_sitedir)/PySide6~g" \ - -e "s~includedir=.*~includedir=$(python_get_sitedir)/PySide6/include~g" \ - -e "s~typesystemdir=.*~typesystemdir=$(python_get_sitedir)/PySide6/typesystems~g" \ - -e "s~gluedir=.*~gluedir=$(python_get_sitedir)/PySide6/glue~g" \ - -e "s~pythonpath=.*~pythonpath=$(python_get_sitedir)~g" \ - -i "${BUILD_DIR}/install/usr/lib/pkgconfig/pyside6.pc" || die - cp "${BUILD_DIR}/install/usr/lib/pkgconfig/"pyside6{,-${EPYTHON}}.pc || die - fi - - sed \ - -e "s~/lib/libshiboken6\.cpython~/$(get_libdir)/libshiboken6\.cpython~g" \ - -e "s~/lib/libpyside6\.cpython~/$(get_libdir)/libpyside6\.cpython~g" \ - -e "s~/lib/libpyside6qml\.cpython~/$(get_libdir)/libpyside6qml\.cpython~g" \ - -e "s~libshiboken6\.cpython.*\.so\.$(ver_cut 1-3)~libshiboken6\${PYTHON_CONFIG_SUFFIX}\.so\.$(ver_cut 1-2)~g" \ - -e "s~libpyside6\.cpython.*\.so\.$(ver_cut 1-3)~libpyside6\${PYTHON_CONFIG_SUFFIX}\.so\.$(ver_cut 1-2)~g" \ - -e "s~libpyside6qml\.cpython.*\.so\.$(ver_cut 1-3)~libpyside6qml\${PYTHON_CONFIG_SUFFIX}\.so\.$(ver_cut 1-2)~g" \ - -e "s~libshiboken6\.cpython.*\.so\.$(ver_cut 1-2)~libshiboken6\${PYTHON_CONFIG_SUFFIX}\.so\.$(ver_cut 1-2)~g" \ - -e "s~libpyside6\.cpython.*\.so\.$(ver_cut 1-2)~libpyside6\${PYTHON_CONFIG_SUFFIX}\.so\.$(ver_cut 1-2)~g" \ - -e "s~libpyside6qml\.cpython.*\.so\.$(ver_cut 1-2)~libpyside6qml\${PYTHON_CONFIG_SUFFIX}\.so\.$(ver_cut 1-2)~g" \ - -i "${BUILD_DIR}/install/usr/lib/cmake/"*/*.cmake || die - local file - for file in "${BUILD_DIR}/install/usr/lib/cmake/"*/*.cpython-*.cmake - do - local base=${file##*/} - ln -s "${base}" "${file%/*}/${base%%.*}-${EPYTHON}.cmake" || - die - done -} - -python_test() { - # Otherwise it picks the last built directory breaking assumption for multi target builds - mkdir -p build_history/9999-99-99_999999/ || die - local pyside_build_dir=qfp$(usev debug d)-py${EPYTHON#python}-qt$(ver_cut 1-3)-${pyside_build_id} - echo "$(ls -d "${BUILD_DIR}"/build*/${pyside_build_dir}/build | sort -V | tail -n 1)" > build_history/9999-99-99_999999/build_dir.txt || die - echo "${pyside_build_dir}" >> build_history/9999-99-99_999999/build_dir.txt || die - - virtx ${EPYTHON} testrunner.py test --projects=shiboken6 $(usev core '--projects=pyside6') || - die "Tests failed with ${EPYTHON}" -} - -pkg_preinst() { - # Avoid symlinks being blocked by directories - rm -rf "${EROOT}/usr/include/"{PySide6,shiboken6} || die - rm -rf "${EROOT}/usr/share/PySide6" || die -} diff --git a/dev-python/pyzotero/Manifest b/dev-python/pyzotero/Manifest index f015d734af0a..f8146062ff56 100644 --- a/dev-python/pyzotero/Manifest +++ b/dev-python/pyzotero/Manifest @@ -1,6 +1,2 @@ -DIST pyzotero-1.6.11.tar.gz 552337 BLAKE2B 64487fb2316e3e20ec962218972ea77de922df4421c85dd9f910e10aba77154c5dbba1cdb47acf9b8707b21b4bd682a3133e9f13fb052f5c9b0f33ec4c73f480 SHA512 b90b67467ea80a6825857fd5ce159e6de495b554b4fe83800c2c5814e91b85803e107647da36fcd70660e0b6b409c348e3958a45890d127b53d90146826b5755 -DIST pyzotero-1.6.13.gh.tar.gz 580842 BLAKE2B b421759644e561b0ebaa07ad3ab7c532c446183953fec79e7d28e60a204d7e6e3827484b91752a460ae823e49db564dda1355576c87b690940ec86511a34729f SHA512 66bc50aab5528eb1b2ead3a307ee17c02d6fe481fe3b2acf3eaba3ca5ee5f915315941812ec8ec295077563e9815b8968b049f01093b20d135237e71b09e1004 -DIST pyzotero-1.6.15.tar.gz 526457 BLAKE2B eea2b037975a7e5e0c2f57f29509626575575b8bf21ae64c266b1b70f27ef1bbadb49c856ee4ee042951b90679a1b9f06e671cdd5b3b16caa6b40469cf0bca67 SHA512 7a83674ad21f462ef019e27e1d051667eaed2c56c02fc524cbaac415da5a5d79400c78f0e16d00aa2a38db1af795f993103a6792fdef3ace28e3eca77cfe0ae3 -DIST pyzotero-1.6.15.tar.gz.provenance 9000 BLAKE2B 3d0ecb436dbcdcc901acbb83aeabb33ebe488df7471c85f1b64f2a1e4628c01e3cdca87c67a5e23ae5e256ad1a2c09db258ca4ca309416bc0123d3a9b63b8f3d SHA512 b2b32e538f1736b67bf0e55c29a7ee86949c6c67b50616b51dac00d54618093e04fee7f4728cc3cd85bdf83efcf4547ca47fda34f1e33e95306d844d39e35f17 DIST pyzotero-1.6.16.tar.gz 526904 BLAKE2B f5b385e3d22ec4a2bf9e35ea9578c60f2947fbff6edfe489e1ebbfbabf9f63d2088725be092e71a2eb4aa7c473e6008092121cf276182cb3cf7b043b6963eaed SHA512 e3ee2556f0411ad0c4f49f21630ba539cbe10fbb9deb849789a15c93a43327d5743312be8e71396e9354ee07a3edf64086680d566f45b9100a5f914effc4e5e3 DIST pyzotero-1.6.16.tar.gz.provenance 9231 BLAKE2B 7e877621d092b4b8e07a5a9eac4c9d5143d0172eeb199fba11e3f34e92f145c01ea2a66ac2e2190b231004337b51ec25d0be9f685f98615db111a1a5edd60bf5 SHA512 debdfadded065a7abdac9ff43d0417d03518f876355515881dcbd1b7901c6b68240695d408c20a9b3b8f105f800a1a2066e83192b1b91ef081fc91b1121a84da diff --git a/dev-python/pyzotero/pyzotero-1.6.11.ebuild b/dev-python/pyzotero/pyzotero-1.6.11.ebuild deleted file mode 100644 index 2cf81fc7bd4f..000000000000 --- a/dev-python/pyzotero/pyzotero-1.6.11.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A Python client for the Zotero API" -HOMEPAGE=" - https://github.com/urschrei/pyzotero/ - https://pypi.org/project/pyzotero/ -" - -LICENSE="BlueOak-1.0.0" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - app-text/zotero-bin - dev-python/bibtexparser[${PYTHON_USEDEP}] - >=dev-python/feedparser-6.0.11[${PYTHON_USEDEP}] - >=dev-python/httpx-0.28.1[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] -" - -BDEPEND=" - >=dev-python/trove-classifiers-2024.7.2[${PYTHON_USEDEP}] - test? ( - dev-python/httpretty[${PYTHON_USEDEP}] - dev-python/ipython[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - ) -" - -distutils_enable_sphinx doc \ - dev-python/sphinx-rtd-theme -distutils_enable_tests pytest - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -o addopts= -p asyncio -} diff --git a/dev-python/pyzotero/pyzotero-1.6.13.ebuild b/dev-python/pyzotero/pyzotero-1.6.13.ebuild deleted file mode 100644 index 178ca5fe8325..000000000000 --- a/dev-python/pyzotero/pyzotero-1.6.13.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=uv-build -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 - -DESCRIPTION="A Python client for the Zotero API" -HOMEPAGE=" - https://github.com/urschrei/pyzotero/ - https://pypi.org/project/pyzotero/ -" -# https://github.com/urschrei/pyzotero/issues/238 -SRC_URI=" - https://github.com/urschrei/pyzotero/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BlueOak-1.0.0" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - app-text/zotero-bin - <dev-python/bibtexparser-2[${PYTHON_USEDEP}] - >=dev-python/bibtexparser-1.4.3[${PYTHON_USEDEP}] - >=dev-python/feedparser-6.0.12[${PYTHON_USEDEP}] - >=dev-python/httpx-0.28.1[${PYTHON_USEDEP}] - >=dev-python/whenever-0.8.8[${PYTHON_USEDEP}] -" - -BDEPEND=" - >=dev-python/trove-classifiers-2024.7.2[${PYTHON_USEDEP}] - test? ( - >=dev-python/httpretty-1.1.4[${PYTHON_USEDEP}] - dev-python/ipython[${PYTHON_USEDEP}] - >=dev-python/pytz-2025.2[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - >=dev-python/tzdata-2025.2[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=( pytest-asyncio ) -distutils_enable_tests pytest - -python_test() { - epytest -o addopts= -} diff --git a/dev-python/pyzotero/pyzotero-1.6.15.ebuild b/dev-python/pyzotero/pyzotero-1.6.15.ebuild deleted file mode 100644 index 820dc35c88c9..000000000000 --- a/dev-python/pyzotero/pyzotero-1.6.15.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=uv-build -PYPI_VERIFY_REPO=https://github.com/urschrei/pyzotero -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A Python client for the Zotero API" -HOMEPAGE=" - https://github.com/urschrei/pyzotero/ - https://pypi.org/project/pyzotero/ -" - -LICENSE="BlueOak-1.0.0" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - app-text/zotero-bin - <dev-python/bibtexparser-2[${PYTHON_USEDEP}] - >=dev-python/bibtexparser-1.4.3[${PYTHON_USEDEP}] - >=dev-python/feedparser-6.0.12[${PYTHON_USEDEP}] - >=dev-python/httpx-0.28.1[${PYTHON_USEDEP}] - >=dev-python/whenever-0.8.8[${PYTHON_USEDEP}] -" - -BDEPEND=" - >=dev-python/trove-classifiers-2024.7.2[${PYTHON_USEDEP}] - test? ( - >=dev-python/httpretty-1.1.4[${PYTHON_USEDEP}] - dev-python/ipython[${PYTHON_USEDEP}] - >=dev-python/pytz-2025.2[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - >=dev-python/tzdata-2025.2[${PYTHON_USEDEP}] - ) -" - -distutils_enable_sphinx doc \ - dev-python/sphinx-rtd-theme -EPYTEST_PLUGINS=( pytest-asyncio ) -distutils_enable_tests pytest - -python_test() { - epytest -o addopts= -} diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest index 117f08150357..9c7539a84492 100644 --- a/dev-python/sqlglot/Manifest +++ b/dev-python/sqlglot/Manifest @@ -1,4 +1,4 @@ DIST sqlglot-26.33.0-crates.tar.xz 8859792 BLAKE2B abb2051b392c53dc3caa705ddd8df7076819a26dcdaa89fa3760559a79578db01e86943c2d0ffb8006263c2dca3aa50d20023eae9d772f8ebd12a8a2d3266cdd SHA512 7cca439a06433a62bcd4a2af33d240f46e9b5240cc158edbc654efb37a464aa0f1ebbe9749b2fc6352127b4809b63af2341fac6240050c414e578ae99444ba5d DIST sqlglot-26.33.0.tar.gz 5353340 BLAKE2B 18ace866ec89ced24911803497e8cb5c55fc6c157bf62b893e90df914b8be3360403ffff67f196080cdef9b9b9078b86d471494ae9768e7947a8b4d5d39e49af SHA512 df38e899d59bdd07aca0e5370833133308f9c5be4d0c990bf8112a48776fae034b622938aba968769aa5dc5e2957d56da48c89045b91b2d33783e6e25acc4a7b -DIST sqlglot-27.18.0.tar.gz 5478250 BLAKE2B 6b15843587ece336e4e92d5ec425ce28cace71c5b32f4451d8e7213661e3ed3b99c34f599f3db370d6b8764cd71a635e9cb666678a283c1d069e858c0644fab2 SHA512 542c3f9d48f47e4504d9adef64e703d03895be4139579534062e342b7717b0f776f072a1885f309536f88d11b28290c5bb37dfe5ce7b73e843051a87e4166a20 DIST sqlglot-27.19.0.tar.gz 5479756 BLAKE2B 72ea02627fe22d6cbe7d40b9c61b93d9eb1f8f8c038efebefc922b6abec73ade89a01cac41acba1c841b91494fa3077544280777e399ef8d07bef8251900f751 SHA512 91e5b252557f7d03fded6625724676617fec9ab5614bae226c2200fea7ba95cdbfe52a224a6274b0cd7d646f58276685e3bd43b3c4180c946d1c1ad7158482ba +DIST sqlglot-27.20.0.tar.gz 5480742 BLAKE2B 49875da9b993fc2333f9c0cfad9a8cffdd8aa2cc057ae7eb7807f217ab6e3a1a4f268664f3789480c30b7160663f3180b50c47050051a35664c1a28510e98923 SHA512 fef4fde85ebb64069e601c4a1ca59df7a1b4c85218f8a49c32486d0fdbcf234e70319e2b2ae4a908fdc8a9558b5f9c8d90bb45c53c43448d9adb1d1fd98ad866 diff --git a/dev-python/sqlglot/sqlglot-27.18.0.ebuild b/dev-python/sqlglot/sqlglot-27.20.0.ebuild index 9a517e6a4e70..9a517e6a4e70 100644 --- a/dev-python/sqlglot/sqlglot-27.18.0.ebuild +++ b/dev-python/sqlglot/sqlglot-27.20.0.ebuild diff --git a/dev-python/stripe/Manifest b/dev-python/stripe/Manifest index d1254b68a686..ae025b92a2bf 100644 --- a/dev-python/stripe/Manifest +++ b/dev-python/stripe/Manifest @@ -1,3 +1,2 @@ -DIST stripe-12.4.0.tar.gz 1414724 BLAKE2B ed0493787d3de0c60b4d6cdd48c6f82f6946715ab725f17652be6477b0db943f55092415832ca13891083947ab34dc9e91a41aa0901e5669581dfefef4f1f6af SHA512 34c335beffa30a763acd43eec182276e08fbc732829fc3ceceb6987b48a9a16a4c1b8d3047517b2bea5fb492fad4666e620016c40f9334fe0ca4115d8ec59588 -DIST stripe-12.5.0.tar.gz 1432368 BLAKE2B 9410cbbe837fe3e2f0c923d6aa644ffd29929532a1a2e202ec2ac558f3b30742095b1181fd23c8f85ddad5f1a035b10bbf75cb2eb72bed23bc27ea2f3d3aeed8 SHA512 be4a3cf55f75aed82b10da2800f27d1f5f835d65a879fc65045bf4e0eb543bbfc58b7e16bdd3ec185b0f3547bee8abc82e0e068ddebdabc0dbb14dcd445162f0 DIST stripe-12.5.1.tar.gz 1432826 BLAKE2B 84afb1f9dd9fa4b38d8781c7942d8ec2599c8f4a0552a3a39276beaaa6539c1d2ba07ef5b74493e13310310b29f803c37388bef3e46201d535c82babe2fc2e41 SHA512 037b1e45aa8be075eaec437a41a0701dd792324564fef8ffeee0b2a1428a52070e34c2ad5d40b10e31965daa4d83cc46024886e0527aac7961b9a5eef1b4ceed +DIST stripe-python-13.0.0.gh.tar.gz 1273133 BLAKE2B cddf505b5ae8ba344d0b2c8bc1dac775741cf72bd28c96bc3548ad997e5fa0f62defe3c913a3f49dd5591947822ffa4a0d1f7345cd0fab6b6d9d3ff429cfaf8c SHA512 b4c3c0db927996c1b029ef3451648b1e5cc24e94dd2110203760d0ab88768499983f93f10e98b22ee224ea9501598031088750ad8849d7b839dae3cb8cac7345 diff --git a/dev-python/stripe/stripe-12.4.0.ebuild b/dev-python/stripe/stripe-12.4.0.ebuild deleted file mode 100644 index 90dc7b46642b..000000000000 --- a/dev-python/stripe/stripe-12.4.0.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Stripe Python bindings" -HOMEPAGE=" - https://github.com/stripe/stripe-python/ - https://pypi.org/project/stripe/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm64 x86" -IUSE="telemetry" - -RDEPEND=" - >=dev-python/requests-2.20[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.5.0[${PYTHON_USEDEP}] -" -# please bump dev-util/stripe-mock dep to the latest version on every bump -BDEPEND=" - test? ( - >=dev-util/stripe-mock-0.194.0 - dev-python/aiohttp[${PYTHON_USEDEP}] - dev-python/httpx[${PYTHON_USEDEP}] - dev-python/trio[${PYTHON_USEDEP}] - net-misc/curl - ) -" - -EPYTEST_PLUGINS=( anyio pytest-mock ) -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -DOCS=( LONG_DESCRIPTION.rst CHANGELOG.md README.md ) - -src_prepare() { - distutils-r1_src_prepare - - if ! use telemetry; then - sed -i -e '/enable_telemetry/s:True:False:' stripe/__init__.py || die - fi -} - -python_test() { - local EPYTEST_DESELECT=( - # Internet - tests/test_http_client.py::TestLiveHTTPClients::test_httpx_request_async_https - 'tests/test_integration.py::TestIntegration::test_async_raw_request_timeout[asyncio-aiohttp]' - # timing - tests/test_integration.py::TestIntegration::test_passes_client_telemetry_when_enabled - ) - - epytest tests -} - -src_test() { - local stripe_mock_port=12111 - local stripe_mock_max_port=12121 - local stripe_mock_logfile="${T}/stripe_mock_${EPYTHON}.log" - # Try to start stripe-mock until we find a free port - while [[ ${stripe_mock_port} -le ${stripe_mock_max_port} ]]; do - ebegin "Trying to start stripe-mock on port ${stripe_mock_port}" - stripe-mock --http-port "${stripe_mock_port}" &> "${stripe_mock_logfile}" & - local stripe_mock_pid=${!} - sleep 2 - # Did stripe-mock start? - curl --fail -u "sk_test_123:" \ - "http://127.0.0.1:${stripe_mock_port}/v1/customers" &> /dev/null - eend ${?} "Port ${stripe_mock_port} unavailable" - if [[ ${?} -eq 0 ]]; then - einfo "stripe-mock running on port ${stripe_mock_port}" - break - fi - (( stripe_mock_port++ )) - done - if [[ ${stripe_mock_port} -gt ${stripe_mock_max_port} ]]; then - eerror "Unable to start stripe-mock for tests" - die "Please see the logfile located at: ${stripe_mock_logfile}" - fi - - local -x STRIPE_MOCK_PORT=${stripe_mock_port} - distutils-r1_src_test - - # Tear down stripe-mock - kill "${stripe_mock_pid}" || die "Unable to stop stripe-mock" -} diff --git a/dev-python/stripe/stripe-12.5.0.ebuild b/dev-python/stripe/stripe-13.0.0.ebuild index 13e57e4adcf1..bb588add4659 100644 --- a/dev-python/stripe/stripe-12.5.0.ebuild +++ b/dev-python/stripe/stripe-13.0.0.ebuild @@ -3,16 +3,22 @@ EAPI=8 -DISTUTILS_USE_PEP517=setuptools +DISTUTILS_USE_PEP517=flit PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) -inherit distutils-r1 pypi +inherit distutils-r1 +MY_P=stripe-python-${PV} DESCRIPTION="Stripe Python bindings" HOMEPAGE=" https://github.com/stripe/stripe-python/ https://pypi.org/project/stripe/ " +SRC_URI=" + https://github.com/stripe/stripe-python/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" @@ -38,8 +44,6 @@ EPYTEST_PLUGINS=( anyio pytest-mock ) EPYTEST_XDIST=1 distutils_enable_tests pytest -DOCS=( LONG_DESCRIPTION.rst CHANGELOG.md README.md ) - src_prepare() { distutils-r1_src_prepare diff --git a/dev-python/tifffile/Manifest b/dev-python/tifffile/Manifest index 4d886063274f..ada0a2e95f65 100644 --- a/dev-python/tifffile/Manifest +++ b/dev-python/tifffile/Manifest @@ -1,2 +1,2 @@ DIST tifffile-2025.9.20.gh.tar.gz 359328 BLAKE2B 4180d84b85d58ae2d1be15a0eea5ff53ecfe06181e7c3444f54a5b3d9e3f911d07d7a9fda8762847ba6002fe0f0a9ec3d29306f104ca23665ad52a8946886e04 SHA512 4e1f849f35fed303e6aeed13fb594a1665f82412ad77d28dcd7b044869b942dfff1c19ad63a6c64b87721a11ebc0eb1b9538dfede716711a74603e148f34ec0a -DIST tifffile-2025.9.9.gh.tar.gz 359564 BLAKE2B f8d8c132bd62dfc05e5aca508d8e5d0bd1047d308c24dc6f8ff27d46fcfc4898da9fecbd2dd6390cedd5de52325ffd84e97ec64e337eea5302c33d98a11d3fed SHA512 8b7b99243a6f960b5d486dfac5097bd68e9e467542195f7a8059573c8b26d2bd399401234bb1a7676e60a614a1df07ea19013c81936b613d5c72e43b7d4fad33 +DIST tifffile-2025.9.30.gh.tar.gz 359562 BLAKE2B accdc42dce218781d61b29b8931a73ebf4889f54e517940f5d00f897f07f3c175bd8e39aafa27c03e3eda624e8687dcb1ab1827878759edb2a1fef6ce07acec3 SHA512 77de77c7f3f013adcf5760353f20236180176282a958d3390161bcc456fdc47231883d86325a064b156fcb7e14acc48cb2b4b109d11a79ab298a1c6b6ef622bb diff --git a/dev-python/tifffile/tifffile-2025.9.9.ebuild b/dev-python/tifffile/tifffile-2025.9.30.ebuild index a1d2d3800bb1..a1d2d3800bb1 100644 --- a/dev-python/tifffile/tifffile-2025.9.9.ebuild +++ b/dev-python/tifffile/tifffile-2025.9.30.ebuild diff --git a/dev-python/whenever/Manifest b/dev-python/whenever/Manifest index 6d504b24cc14..c533ae8da675 100644 --- a/dev-python/whenever/Manifest +++ b/dev-python/whenever/Manifest @@ -65,8 +65,8 @@ DIST wasm-bindgen-macro-0.2.100.crate 9663 BLAKE2B b8a3fc6b3571f8caf106a9e9f3d9c DIST wasm-bindgen-macro-support-0.2.100.crate 26243 BLAKE2B c18e35978b62dd2822ba8a4f6955cd5154b2a0d81b8e8032c2f8bda42c1c25f74a13f3e1c3a7bf47a823de2517a237e6a1aef18b189bf1f2b934123c58d1eb34 SHA512 0d03eaeda37c9c6ae06c0fa96e872b54780c4cf545b621c730dcc113dd59a8cb6333c5e3818f51365f71913b9669d8a870a06e70729722d03c07a49cff8a4fdf DIST wasm-bindgen-shared-0.2.100.crate 8570 BLAKE2B 886fa72cae891d4c2311e12e28f0a7bde9bcaca893603afa3428a402726b3b2bcdb6cb7dca6fdf983bd8fac5f049f0543537f2161318769b43c7eebfc906df27 SHA512 3fca8ddd1c6b2f66f70f6608c9b341822603f1c0dd71d47d27c6be8fe3f2c88598619946627720734b48cf999cafd0c63a08af5db28ea78a1538d2165a5fba61 DIST web-sys-0.3.77.crate 638246 BLAKE2B 3f21ab03a18d82cffd96432e4f08bfae183b24f9a50dcfc51c927e9973dabfb8b6bb1f3ae044890832809ec91709242c1c37463931770d347fdf521587a72515 SHA512 cd149286105288f7c385a29eae7df2306d4066edfca4de1255efc7bd8a4e8eaafc313dab85091025c3b5d5e333fce8b7fcef1fb824fe4d799bcc9bb78b73c97a -DIST whenever-0.9.0.tar.gz 255590 BLAKE2B c671155028ea7ac5e2917d6592b817aa4d9e2f626a6063aadfe23e7d5578001596f41d9d40a96486885023f1b7519e74aa8273f3d9886f879e1e8bcf8c9ca60d SHA512 984cc045f5e566b949239ab427467399a787c98e96d16facad24f73d73b14916d69e2583736bea9e19cddedc2c1ea5df85f721f5f9c2458e9926f0b695d41794 DIST whenever-0.9.1.tar.gz 256575 BLAKE2B 950c66dce3b69381339280c684e9912e2a645bffc5f110fde6bbdc15c5bff1260e2bde626b393e78e633a1503368e45c911bcf8f6f787414a49d8b9935281291 SHA512 223c6c983fb4c4c9046283960e91a3648e72b851fd0ad8bd4bbca71889413e31f7e89cbbbb5396e63687a788919edbe92d62456ac2aec607677bce1ad4ffcf07 +DIST whenever-0.9.2.tar.gz 256743 BLAKE2B 46c622167a1031fda94d3a26ab0e2f3dd11278cec155aea02aa5d7ca16b606cfbc947a06f79c69901371bda250828503c99ecec466ba5060eacf6f6bcaf9f190 SHA512 f15d432eaec04d1687599d50c0495c4b810d210bdd3be9a23d10c4b0cf27324c981af8226863341da25f3b81e18937442a2071f0f10b785526831ef27e9eac31 DIST winapi-util-0.1.9.crate 12464 BLAKE2B 7fb9dd803fc2608c4e5bc75674472992d82da364f24c22072d5624d6ae6abc44abd3e3ea3c45a7558e045331f3d87572b306b4ab5de52c07ff3706e7f13c2a38 SHA512 c46b893f67ec6e36499b00736bb6b9421e0e2611e76784afa6da01d7ebd033df82f1be7cf8d871d541125d290983f98f26f759488ba9aface49efce8edd682e9 DIST windows-sys-0.59.0.crate 2387323 BLAKE2B 3110c8cd2bc005f8c95cd038a8d574af648dc19788fe4485f977376f92e36b911b1a542d669a07ae9cd4ea72a884ab01ec78b8a2b5587456eb202452d1d8fa0d SHA512 d35e009e979633a1f3c8468cd038bd5c8c0381405165ce03497decd7d9edaaac485d704487e4a61d9aaf4e4d011b4248408912df6a0044d50e8457259867e061 DIST windows-targets-0.52.6.crate 6403 BLAKE2B eb98d0a8daeed5fe76e7fa8edb2743e2a3e77dfb9c4ea68605a6ab10532cb7cfc43bc1cea0180869445bd940be762a40136500e26b84ca88b5e0c502004c7a4c SHA512 d6d2dbd96096c6c396dba141a9817e377c35877f3b2fe58b2553280c7cfcb1ed6ee75bd4d62c9b882662de67ddaf0c1049b91530d29c94dd709c230e08eb895f diff --git a/dev-python/whenever/whenever-0.9.0.ebuild b/dev-python/whenever/whenever-0.9.2.ebuild index 25844bed0177..25844bed0177 100644 --- a/dev-python/whenever/whenever-0.9.0.ebuild +++ b/dev-python/whenever/whenever-0.9.2.ebuild diff --git a/dev-python/xarray/Manifest b/dev-python/xarray/Manifest index 5e8722cbbb86..1a0a4deaf859 100644 --- a/dev-python/xarray/Manifest +++ b/dev-python/xarray/Manifest @@ -3,3 +3,4 @@ DIST xarray-2025.7.0.tar.gz 3005754 BLAKE2B 5e1cf6f1a845a9d38fee6f639016c79b14c1 DIST xarray-2025.7.1.tar.gz 3013717 BLAKE2B 37abbeec6736745a9a0cc098bfdb36b76c5b07a1f762a3207e7a69bda1670ad464c328daabcb5845f65dcb0b9901f045c633fb12fed4524bcc7dacfcc259e65b SHA512 446e50cfa16a3ba54124dc9417203ea96f6232e05515de38dc191b06ee417e165fd2faefaf4718eddb9620d32675abc6c2125ac7555759eb003263a70662cb7e DIST xarray-2025.8.0.tar.gz 3034425 BLAKE2B 089eecd4b8928bcc4cae2aa590a06f4d8b45b2886f1cb7f26114f97ea55914fecf83e58eec637c83123e1d81ff2bfb92f1d4ac18161b39495beb4975af71f255 SHA512 2ace4ae6736a5cde298f7d0da6b704326fa5b28d758744e0db022cc3e9ea6514ac447c5d7762fc273bc192ad7b31517edc0cda7a16302c3e9a63d5c952b1bcd2 DIST xarray-2025.9.0.tar.gz 3040318 BLAKE2B dd4482cb5263339360ae4bfc6046dfb7fe32748927af0a913cabd77699f74fff3f6ad4405a496e6fb98a78c752af5ffc89c69a734e2870458ece3d67c77c8fab SHA512 0cc572de58c59badb383d20292cf092500192e1723c12423f7d4c87e110feb08156cff71c136e45dd35eb70941a55e44a88774b698d09ecd083a882a207317e1 +DIST xarray-2025.9.1.tar.gz 3057322 BLAKE2B a62f1d69735f0d7776000862a4245ead49df1aa200f05fb6be5f1aec05acf43da0e5bf7c7c99a081cc0b0b22bea030b084a24853ff8bc87a0ff520bbe6dffe7f SHA512 dd720d19a766be6ffe46c6386037ff914e983168bcda8c7d50647039cae618f8e7bf3a89bf9b486ced6457789e07f48e346134c6b08aadbe5f44df6dbde59df6 diff --git a/dev-python/xarray/xarray-2025.9.1.ebuild b/dev-python/xarray/xarray-2025.9.1.ebuild new file mode 100644 index 000000000000..15976e697523 --- /dev/null +++ b/dev-python/xarray/xarray-2025.9.1.ebuild @@ -0,0 +1,131 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="N-D labeled arrays and datasets in Python" +HOMEPAGE=" + https://xarray.pydata.org/ + https://github.com/pydata/xarray/ + https://pypi.org/project/xarray/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +IUSE="big-endian" + +RDEPEND=" + >=dev-python/numpy-1.26[${PYTHON_USEDEP}] + >=dev-python/pandas-2.2[${PYTHON_USEDEP}] + >=dev-python/packaging-24.1[${PYTHON_USEDEP}] +" +# note: most of the test dependencies are optional +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/bottleneck[${PYTHON_USEDEP}] + dev-python/cftime[${PYTHON_USEDEP}] + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + !riscv? ( !x86? ( + >=dev-python/netcdf4-1.6.0[bzip2,szip,${PYTHON_USEDEP}] + ) ) + dev-python/toolz[${PYTHON_USEDEP}] + !hppa? ( >=dev-python/scipy-1.13[${PYTHON_USEDEP}] ) + ) +" + +EPYTEST_PLUGINS=( pytest-asyncio ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + # indirect pin, sigh + sed -i -e '/numpy/d' pyproject.toml || die +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO: these fail with filter errors even if netcdf4 is built + # with blosc/zstd support + 'xarray/tests/test_backends.py::TestNetCDF4Data::test_compression_encoding[zstd]' + 'xarray/tests/test_backends.py::TestNetCDF4Data::test_compression_encoding[blosc_lz]' + 'xarray/tests/test_backends.py::TestNetCDF4Data::test_compression_encoding[blosc_lz4]' + 'xarray/tests/test_backends.py::TestNetCDF4Data::test_compression_encoding[blosc_lz4hc]' + 'xarray/tests/test_backends.py::TestNetCDF4Data::test_compression_encoding[blosc_zlib]' + 'xarray/tests/test_backends.py::TestNetCDF4Data::test_compression_encoding[blosc_zstd]' + # requires h5netcdf package + xarray/tests/test_backends_datatree.py::TestNetCDF4DatatreeIO::test_open_datatree_specific_group + # NotImplementedError, seriously? + xarray/tests/test_backends.py::TestGenericNetCDF4InMemory::test_roundtrip_group_via_memoryview + ) + + if ! has_version ">=dev-python/scipy-1.4[${PYTHON_USEDEP}]" ; then + EPYTEST_DESELECT+=( + 'xarray/tests/test_missing.py::test_interpolate_na_2d[coords1]' + ) + + if ! has_version "dev-python/scipy[${PYTHON_USEDEP}]" ; then + EPYTEST_DESELECT+=( + xarray/tests/test_calendar_ops.py::test_interp_calendar + ) + fi + fi + + if use big-endian ; then + EPYTEST_DESELECT+=( + # Appears to be a numpy issue in display? See bug #916460. + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:12:43.145224193-ns-int64-20-True]' + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1970-09-21T00:12:44.145224808-ns-float64-1e+30-True]' + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:12:43.145225216-ns-float64--9.223372036854776e+18-True]' + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:12:43.145224193-ns-int64-None-False]' + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:12:43.145225-us-int64-None-False]' + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1970-01-01T00:00:01.000001-us-int64-None-False]' + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:21:52.901038080-ns-float32-20.0-True]' + ) + fi + + if [[ ${ABI} != *64* ]]; then + EPYTEST_DESELECT+=( + # these tests hardcode object sizes for 64-bit arches + # https://github.com/pydata/xarray/issues/9127 + xarray/tests/test_dataarray.py::TestDataArray::test_repr_multiindex + xarray/tests/test_dataarray.py::TestDataArray::test_repr_multiindex_long + xarray/tests/test_dataset.py::TestDataset::test_repr + xarray/tests/test_dataset.py::TestDataset::test_repr_multiindex + xarray/tests/test_datatree.py::TestRepr::test_doc_example + xarray/tests/test_datatree.py::TestRepr::test_repr_truncates_nodes + xarray/tests/test_formatting.py::test_array_repr_dtypes_unix + + # converting timestamps into ns, causing an overflow + xarray/tests/test_cftimeindex.py::test_asi8 + xarray/tests/test_coding_times.py::test_decode_cf_time_bounds + xarray/tests/test_coding_times.py::test_use_cftime_false_standard_calendar_in_range + xarray/tests/test_coding_times.py::test_decode_cf_datetime_non_standard_units + ) + fi + + case ${ARCH} in + arm64) + EPYTEST_DESELECT+=( + 'xarray/tests/test_backends.py::TestNetCDF4Data::test_roundtrip_mask_and_scale[dtype0-create_unsigned_false_masked_scaled_data-create_encoded_unsigned_false_masked_scaled_data]' + 'xarray/tests/test_backends.py::TestNetCDF4Data::test_roundtrip_mask_and_scale[dtype1-create_unsigned_false_masked_scaled_data-create_encoded_unsigned_false_masked_scaled_data]' + ) + ;; + esac + + if ! has_version "dev-python/seaborn[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + xarray/tests/test_plot.py::TestContour::test_colors + ) + fi + + epytest -o addopts= +} |
