diff options
| author | Repository mirror & CI <repomirrorci@gentoo.org> | 2026-02-12 06:00:50 +0000 |
|---|---|---|
| committer | Repository mirror & CI <repomirrorci@gentoo.org> | 2026-02-12 06:00:50 +0000 |
| commit | 720e3d9541d5cbd60df7ea7518ccd7cebf29960b (patch) | |
| tree | 5c56adc0f3b2b970ef8144eee23e764168bd0a59 /dev-python | |
| parent | 6a46fea1a9dbf0da67b74b80550c71cda7385682 (diff) | |
| parent | a3e9ecfe168f95c9dcf19e7180dc3b25f9491f7f (diff) | |
| download | gentoo-720e3d9541d5cbd60df7ea7518ccd7cebf29960b.tar.gz gentoo-720e3d9541d5cbd60df7ea7518ccd7cebf29960b.tar.bz2 gentoo-720e3d9541d5cbd60df7ea7518ccd7cebf29960b.zip | |
Merge updates from master
Diffstat (limited to 'dev-python')
29 files changed, 730 insertions, 183 deletions
diff --git a/dev-python/annotated-doc/Manifest b/dev-python/annotated-doc/Manifest new file mode 100644 index 000000000000..5c33dcb6f4d5 --- /dev/null +++ b/dev-python/annotated-doc/Manifest @@ -0,0 +1,2 @@ +DIST annotated_doc-0.0.4.tar.gz 7288 BLAKE2B e5d1d07c16b9f75881e879a9b6f66d4d04f5f72111d9afd08d8e69e5cc7e1be9a00aa3d29191322c1c023b2bb3df58e183c4d9bc24efa78019136c41282aa561 SHA512 2beb6bde827e5c5f42daadcc8ac4b2b5911fa9448a5d5fadf461839ce166ba4cc1cbf9d7acb09c927f5970fdebf2f7c8433b6426ee5bbe11cf221e450344050b +DIST annotated_doc-0.0.4.tar.gz.provenance 9407 BLAKE2B ae24a3004199547c6f6b776fa7a1c2c8a8284d7aee81c4663f4ef44f20f6104e76185566d629eacf0961763639c5e945d6c149d69c8dc21bb71134fbe66bde7d SHA512 217a26d4a914bc8f7c8e92cbeeb8adc5071b97e8833784dc39728dbcdca80b8665d3042120a7532e46b9b5191bdf387b24398989c002a27480d51ded90c75890 diff --git a/dev-python/annotated-doc/annotated-doc-0.0.4.ebuild b/dev-python/annotated-doc/annotated-doc-0.0.4.ebuild new file mode 100644 index 000000000000..b5d5f9d10900 --- /dev/null +++ b/dev-python/annotated-doc/annotated-doc-0.0.4.ebuild @@ -0,0 +1,23 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pdm-backend +PYPI_VERIFY_REPO=https://github.com/fastapi/annotated-doc +PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Document parameters, variables inline, with Annotated" +HOMEPAGE=" + https://github.com/fastapi/annotated-doc/ + https://pypi.org/project/annotated-doc/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest diff --git a/dev-python/annotated-doc/metadata.xml b/dev-python/annotated-doc/metadata.xml new file mode 100644 index 000000000000..9549ab021f9d --- /dev/null +++ b/dev-python/annotated-doc/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="github">fastapi/annotated-doc</remote-id> + <remote-id type="pypi">annotated-doc</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index ad9b64a07b69..d00a6f000f9b 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -11,3 +11,4 @@ DIST boto3-1.42.43.gh.tar.gz 1082187 BLAKE2B f53ca79ea1c6ca1db912d7c7ddbb34776ec DIST boto3-1.42.44.gh.tar.gz 1082573 BLAKE2B 98ac0981ec6df7594dcfcbc1ccddcbe8e9f4423cd61e034279dd4c9b52a5b251f158b1a3ec026dec02bf3178a3e30dc61086cdf53ff2516b7ee6b22ea32bfb3d SHA512 16b05dee6df917a8be2b4e09bc44f4032a08c059eb6aea5d9bf76ad38951ae589b4fa244f0d8b591123622fc3244d955bc028dd397a79ca0ab3d6dcddb7ae0cd DIST boto3-1.42.45.gh.tar.gz 1083470 BLAKE2B 4d6f23bbe6e05cc813cf48bfb81c425c192132ef6dfd573958b2d0ae624eaa11e3fd9dcd177e3fe0d1322d60860e7e5b0bdebf0651bebeb2495b42661aaf7456 SHA512 e7510d3842074e54148b21e82297974c4b8a7d6ee92889bade6dd2669209f3ec5c8f94eb651a057b8a6fb85ed4609a0730592509ac9059a5ed50792c0855e15f DIST boto3-1.42.46.gh.tar.gz 1084384 BLAKE2B 37e931dcee276e0100fce155d5919e43d2fe17c49960e0aadc97e3a877ae52dee3f85d5f2b1c0dcfdf8edc26e6b9be1feb3ffbbd0d937fa874d6d265f5cde620 SHA512 a2bff5ea50915b7901eb406df80992b31ab407966202c3a397c173b4b3845407d878c93e254faf54468c5d4c4cb87f7f0e4c0cf17a7f102dc5fc1ca4818cb99a +DIST boto3-1.42.47.gh.tar.gz 1084845 BLAKE2B f4eaa0a073edcd0cecbe2752d3af28c09cbb7045ec6d55c32bbe6ecfe43d1ff91ddde9b6b26a74f2d69eb2d9295b8c673f082dc7aa1f6c920f7696236ae51563 SHA512 5820e6a55dc90ad33102203af883c5ba55cd282aadcd0a5380bb482c9318bfed2d4ad17f26550f526f03a017dfbc8a46b84a58b5326c79b59270739c131cac7a diff --git a/dev-python/boto3/boto3-1.42.47.ebuild b/dev-python/boto3/boto3-1.42.47.ebuild new file mode 100644 index 000000000000..019ca75e6b75 --- /dev/null +++ b/dev-python/boto3/boto3-1.42.47.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2026 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" + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.16.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 1b21f86dd30f..e6ee14134eab 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -11,3 +11,4 @@ DIST botocore-1.42.43.gh.tar.gz 15818434 BLAKE2B 386b4bdff2a7b7595dfa71dad6cef18 DIST botocore-1.42.44.gh.tar.gz 15820139 BLAKE2B a7047f799dc39ee8f49c7128e91e0f11f20c38b946ec5555a75e6fd3f8691fe396d312b9ff3023fc031415cc0846fe94f5d9a5357e31f9d0670cf7e534474609 SHA512 519b7e28d5b46e7e6ac3b375f1926670d361695b34f07d8eddcf48fee8af2b3674040fa5a3b1a27961f77c435a3c4c78deb1802933f08d993dfe4cb782ea4b2c DIST botocore-1.42.45.gh.tar.gz 15825494 BLAKE2B d376a9f800b28b784dba58d32713108ab88d72b6c98ebbef84dc8dc81d1b286609cd6249c7deffa92626d24ad83ee7873465aaab85e23b5938857a432041087d SHA512 401db4160b04bb585d648d6b05c7dc9f33bebb0b50077e04a6e07aabb43a6049be510630d889b9e550843af607a06a0a2cd20c74379a41dce0a58f9f0d1f0deb DIST botocore-1.42.46.gh.tar.gz 15831397 BLAKE2B 148e1bc0dcf632a76c5d2fb80ae31d197ec9006565660a42fe535ef43c618b411d1caa3835dedc57e9abc9eaf2535c20617f5c7ca0703310a1cb18a9d9a981f9 SHA512 bc7fa8a77589638dfe903eed1c54e315439a3e9014c046d3ecbd06197abadceed3be68d3cce268aa8a9b45a060ec492a95b4fba5c403d0803d2b7cf5aafef3ec +DIST botocore-1.42.47.gh.tar.gz 15836852 BLAKE2B c925221b714e9e2bd60bd08ae83287e2238d1215c99e5401d42b6f08d550ade1e7e28ad4a35966b282aa55448439246617ccd9b3699bc08f01552760053cbd5c SHA512 7aa634b9c77f7c54445c3b7e358431660488f80350b77facbc325be7c606119f2fa10f5f166356f3a3f9500b4e5859e7876f882160e0aa5e5bad64fdb8213ae6 diff --git a/dev-python/botocore/botocore-1.42.47.ebuild b/dev-python/botocore/botocore-1.42.47.ebuild new file mode 100644 index 000000000000..d43f8b5c5f23 --- /dev/null +++ b/dev-python/botocore/botocore-1.42.47.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2026 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" + +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/crispy-bootstrap4/Manifest b/dev-python/crispy-bootstrap4/Manifest index acd30a8823af..8c63bb4eb977 100644 --- a/dev-python/crispy-bootstrap4/Manifest +++ b/dev-python/crispy-bootstrap4/Manifest @@ -1 +1,2 @@ DIST crispy-bootstrap4-2025.6.gh.tar.gz 32715 BLAKE2B a239fba7c9d93d6455526d2dc577d6f1ce9bbe3d2ca5076d8376ad60bbaa1f56e7de103cd791ff9d16ffb4b81a4ff59a6fba8071f1098b1f1e10b7b7856cbb8b SHA512 10edf4d44931a593072c3089ec6eb82e1d42e37b4fcddbfa7c8313c868f880c9eff3d9b270f4bb31148285b9a88f9952348fe4485c76932300e2b788dd00cb91 +DIST crispy-bootstrap4-2026.2.gh.tar.gz 31366 BLAKE2B 730b94aab236ca7b7a508ff7f8329f15114a4b336bdfb0e3acdc66600882466b29c0559615e96a6379808269df1bcfbd952a85f0c2235aec98be292166b10c3d SHA512 6a93c028337702ae921097b4018ebd1db08f0ed13dab4826910670595a17f833bb013f99fc2baffe597cb4cb9cb72faf6b88b12d6e4047e9a089c36118717374 diff --git a/dev-python/crispy-bootstrap4/crispy-bootstrap4-2026.2.ebuild b/dev-python/crispy-bootstrap4/crispy-bootstrap4-2026.2.ebuild new file mode 100644 index 000000000000..712793df3237 --- /dev/null +++ b/dev-python/crispy-bootstrap4/crispy-bootstrap4-2026.2.ebuild @@ -0,0 +1,31 @@ +# Copyright 2023-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{12..13} ) + +inherit distutils-r1 + +DESCRIPTION="Bootstrap4 template pack for django-crispy-forms" +HOMEPAGE=" + https://github.com/django-crispy-forms/crispy-bootstrap4/ + https://pypi.org/project/crispy-bootstrap4/ +" +SRC_URI=" + https://github.com/django-crispy-forms/crispy-bootstrap4/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/django-5.2[${PYTHON_USEDEP}] + >=dev-python/django-crispy-forms-2.0[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=( pytest-django ) +distutils_enable_tests pytest diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest index df5a24f12374..f90868caca2c 100644 --- a/dev-python/google-api-python-client/Manifest +++ b/dev-python/google-api-python-client/Manifest @@ -5,3 +5,5 @@ DIST google_api_python_client-2.188.0.tar.gz 14302906 BLAKE2B 822b2897260a3c37ff DIST google_api_python_client-2.188.0.tar.gz.provenance 5771 BLAKE2B 54ffd78d498a5b86e96ebdcc038a6c4477dde2c74e269978beb2000f2eac723b00160c7440efbe26960dab4ba59dfb789f28dfa03824f0abf86f95961de97140 SHA512 d2999a10c1bf82b54b3404f9c1cfa68de61546a61507e21094afd2d911fca53b1e086ea6559e012e11fe2d4a1bb99b9fb57e033322f0c93045e50f4a79d46e75 DIST google_api_python_client-2.189.0.tar.gz 13979470 BLAKE2B aefc980b263c95fdf4bf991330f5a4c12fe959e78fadb353fcc989f025c10f72c3ce4996381a4dbfba28ad472879c50042d860ce18ce00ff4a7c38a8dcf43425 SHA512 b1d33adb71f155880206396337645f507b6f768dfa3bc91ba45647fd60b7818d59e03d58dfa14bf5456c60833aa91ef7516fb8fa84cdec6a8d086dd951f26644 DIST google_api_python_client-2.189.0.tar.gz.provenance 5830 BLAKE2B 2d65d4b17fdb3e19d819fa757ca116bd67ecc6bc29ca40afa9170bdbf78dcefc2a13fd1590d54193b70aeefec10a872e4202a71b8945aeaaf6f60b4ec2821e8a SHA512 bb1a0dc8e823d43c1ba2930e10da639882e9e76a65258a8cfa071f3974748f7f5d0a8edc961b7490dc9487f85ccee27c659650bb6df4193314ab916ac85bbd4e +DIST google_api_python_client-2.190.0.tar.gz 14111143 BLAKE2B 734257756de0e54dc620853c0bf4b269a66413292c89afe2b919c61d9d4a12b6336d12cb83bd10881b6a179b0e1a4fbcde50b617c3d1787cce5451cedeb494ed SHA512 81f914cf107f76770b34edaccb148b242fbf9391c538eba3ae4935f3acf33fe8b175e4e10b75456fec23262e4265b1e9532beae7a54e49798019eecbbde46900 +DIST google_api_python_client-2.190.0.tar.gz.provenance 5783 BLAKE2B 943beebdb890cb953ca5bcb395b95493a3d7a75a5ff8744c5a6ad5780a3370c4f31bc742c9111354403dfcdaf5aaded7bfe8cdd6c8ed1dc198021c7dba33cef2 SHA512 2836262e5dd0fc41d380d92b9f64e4f7cf3f52885140d87034796d4763358ef07665f70eea176d46a56c7ebc701680224762e57ac70fcce9fd1d2694d8a9b416 diff --git a/dev-python/google-api-python-client/google-api-python-client-2.190.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.190.0.ebuild new file mode 100644 index 000000000000..afe582e39b48 --- /dev/null +++ b/dev-python/google-api-python-client/google-api-python-client-2.190.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=gcp:google-cloud-sdk-py@oss-exit-gate-prod.iam.gserviceaccount.com +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Google API Client for Python" +HOMEPAGE=" + https://github.com/googleapis/google-api-python-client/ + https://pypi.org/project/google-api-python-client/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/httplib2-0.15[${PYTHON_USEDEP}] + <dev-python/httplib2-1[${PYTHON_USEDEP}] + >=dev-python/google-api-core-2.3.1[${PYTHON_USEDEP}] + >=dev-python/google-auth-1.35.0[${PYTHON_USEDEP}] + >=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}] + >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}] + <dev-python/uritemplate-5[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/parameterized[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # require Internet access (and credentials) + tests/test_discovery.py::DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive + tests/test_discovery.py::DiscoveryFromDocument::test_api_endpoint_override_from_client_options_mapping_object + tests/test_discovery.py::Universe::test_client_options_universe_configured_with_mtls + tests/test_discovery.py::Universe::test_universe_env_var_configured_with_mtls + ) + + epytest tests +} diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 7e963651c3b6..80e4ad80d5a3 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -8,3 +8,4 @@ DIST hypothesis-6.151.2.gh.tar.gz 9878376 BLAKE2B 11f6da8ede480bffb503e67d6ed943 DIST hypothesis-6.151.3.gh.tar.gz 9879536 BLAKE2B 339bb7cc1f45403c97626b4ca0df33e9378ef301efcc7949aca0750fe08425af3e71703a5c0743feb731d62e6d5cc44c2f41fe84544aa8d9d199b004d567f8ab SHA512 f7b3d4859b2d43c3be8c36c610ca16a3ae8dd36dbb14a5e029b4046467fb061ec70f4e53e88ecdb7c85a1364e556955b83cc8d511d1962dcf34dae047ace6f3d DIST hypothesis-6.151.4.gh.tar.gz 9879516 BLAKE2B b53dc0691cdbbfad47dd4de9712cecc7fddd9c59b626d22250d367a71dd58c43c22c173380d120f56d7b9f17c03df076ea7963c8c435fb9b187b3baffeb2d44e SHA512 fef3fe9f7b10204c37a4d7767ab0fd9e4a74e3d69de55700cfd34ef86dd2af980131411f3728462d28670836cf9adfc53d87b24bd85a6d19bce562471290dfe3 DIST hypothesis-6.151.5.gh.tar.gz 9879758 BLAKE2B 9065ab0acf74f23f01016608465af54822a6789dbf5f8043e54cd617046ee0c3c1d72897a66a0b48e9e5e146433bfbc753352e20cb941ebfa3008b348746a4c2 SHA512 2adfd5f69c2eca234666b8d91bb136081eaec32b5e0f158c0432148bcceae25d9515fa014648bf416311a82354a7598091ee1edf7370bbb0ede37fe9fa4d9b48 +DIST hypothesis-6.151.6.gh.tar.gz 9880002 BLAKE2B e913687bbe41a0a5750b523054da699bdad18840f1ecbec5b3ba4c232dfef0c4ba6e506156d7c9ce9c7b5e47ff0e2614bb206d9958e1ba3fa7dd8ac0c8a8d8f7 SHA512 9e022b284293d9a7a4907a608c54bc4d8f5a6487870b5c5a8cd92ae5be87fbf720767738d1fb686f8b6503bdc5dd2dcb2a0bb339ca4821cce05cc50b17224449 diff --git a/dev-python/hypothesis/hypothesis-6.151.6.ebuild b/dev-python/hypothesis/hypothesis-6.151.6.ebuild new file mode 100644 index 000000000000..2c7b795b1150 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.151.6.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( python3_{11..13} ) +PYTHON_COMPAT=( "${CLI_COMPAT[@]}" pypy3_11 python3_14 python3_{13,14}t ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 optfeature + +TAG=hypothesis-python-${PV} +MY_P=hypothesis-${TAG} +DESCRIPTION="A library for property based testing" +HOMEPAGE=" + https://github.com/HypothesisWorks/hypothesis/ + https://pypi.org/project/hypothesis/ +" +SRC_URI=" + https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}/hypothesis-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="cli" + +RDEPEND=" + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' "${CLI_COMPAT[@]}") + ) +" +BDEPEND=" + test? ( + >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + >=dev-python/pytest-8[${PYTHON_USEDEP}] + ) +" +PDEPEND=" + dev-python/hypothesis-gentoo[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGIN_LOAD_VIA_ENV=1 +EPYTEST_PLUGINS=( "${PN}" pytest-xdist ) +EPYTEST_RERUNS=5 +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + # NB: paths need to be relative to pytest.ini, + # i.e. start with hypothesis-python/ + local EPYTEST_DESELECT=( + # broken somehow (xdist?) + 'hypothesis-python/tests/pytest/test_constant_collection_timing.py::test_constant_collection_timing[True]' + ) + case ${EPYTHON} in + python3.14t) + EPYTEST_DESELECT+=( + # TODO + 'hypothesis-python/tests/cover/test_lambda_formatting.py::test_modifying_lambda_source_code_returns_unknown[False]' + ) + ;; + esac + + local -x HYPOTHESIS_NO_PLUGINS=1 + epytest -o filterwarnings= tests/{cover,pytest,quality} +} + +src_install() { + local HAD_CLI= + + distutils-r1_src_install + + if [[ ! ${HAD_CLI} ]]; then + rm -r "${ED}/usr/bin" || die + fi +} + +python_install() { + distutils-r1_python_install + if use cli && has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then + HAD_CLI=1 + else + rm -r "${D}$(python_get_scriptdir)" || die + fi +} + +pkg_postinst() { + optfeature "datetime support" dev-python/pytz + optfeature "dateutil support" dev-python/python-dateutil + optfeature "numpy support" dev-python/numpy + optfeature "django support" dev-python/django dev-python/pytz + optfeature "pandas support" dev-python/pandas + optfeature "pytest support" dev-python/pytest +} diff --git a/dev-python/icalendar/Manifest b/dev-python/icalendar/Manifest index 6a91f96e75c3..f9642ddcd478 100644 --- a/dev-python/icalendar/Manifest +++ b/dev-python/icalendar/Manifest @@ -1,2 +1,2 @@ -DIST icalendar-6.3.1.tar.gz 177169 BLAKE2B 00b3c5b0f4e8e670b73dd556c71b6796308b27ff0216acde647cdcbe87c5cf92ab1cdfd538c5290ca9b7fff7d3cb1908e7c7c877d26cbef2b7ac6e8547e3214e SHA512 f9762f4fc5827433e3ef8892dfd3252fa081d2db4f8ee5d0092c280f52944c564a230beea04b2b1a7db66bd2538416b5f5ae9a9253a87c62397caa64d8fc82b8 DIST icalendar-6.3.2.tar.gz 178422 BLAKE2B e3c34b8b9372f66c42ea1be609e77e45c03a17585157699cd6aa4c521cf9b35d78e3d3821811b1fbd828c1add81b26ff3047565c826229cfbf1a3dab42fc96ea SHA512 a74067a527d46e26a8c50c6ef1ec9a264534349fae624df75388c9167b509d829f6a60340975b6aaeff1f7544bf5318ab24cc33e2bf7189fb8f57c00fea44bd8 +DIST icalendar-7.0.0.tar.gz 436350 BLAKE2B 6ea30c35f6de88fe1c61a70603d907cc0029b9057cea0eaa0cdb8fbbd89eff8a53ee073e83a20515600cfc82ffa9a1c55a259144740ac3f05c395eb15481ca08 SHA512 c920cf6f16178d7425e469dc299aad7a903b0c0066a4d811b19ecdeb2863e0e2f19bdcb65f91068c19bcbacac94d8657f4bb7f8e605db26ecd016625743cfb44 diff --git a/dev-python/icalendar/icalendar-6.3.1.ebuild b/dev-python/icalendar/icalendar-7.0.0.ebuild index 65de32871ef4..2e868f8b1129 100644 --- a/dev-python/icalendar/icalendar-6.3.1.ebuild +++ b/dev-python/icalendar/icalendar-7.0.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -8,7 +8,7 @@ PYTHON_COMPAT=( python3_{11..14} ) inherit distutils-r1 pypi -DESCRIPTION="Package used for parsing and generating iCalendar files (RFC 2445)" +DESCRIPTION="RFC 5545 compatible parser and generator of iCalendar files" HOMEPAGE=" https://github.com/collective/icalendar/ https://pypi.org/project/icalendar/ @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="BSD-2" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv x86" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" RDEPEND=" dev-python/python-dateutil[${PYTHON_USEDEP}] @@ -25,14 +25,18 @@ RDEPEND=" BDEPEND=" dev-python/hatch-vcs[${PYTHON_USEDEP}] test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] + >=dev-python/pytz-2025.2[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.10[${PYTHON_USEDEP}] + ' 3.11 3.12) ) " +EPYTEST_PLUGINS=( hypothesis ) distutils_enable_tests pytest -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} +EPYTEST_IGNORE=( + # upstream puts quite an effort for funding.json, but failed to + # include it in sdist + src/icalendar/tests/test_funding_json.py +) diff --git a/dev-python/ipython/Manifest b/dev-python/ipython/Manifest index 87cb873312c1..514d0c07ac7e 100644 --- a/dev-python/ipython/Manifest +++ b/dev-python/ipython/Manifest @@ -1,6 +1,5 @@ DIST ipython-9.10.0.tar.gz 4426526 BLAKE2B 0b7e4f370bce45fe9703ae27872217e4a04cca89880863e61499c7132a42c4b739c54202fead6e76c4550408f3555c5b677f4d2dadc93395efbeef7418b3ae3c SHA512 f0f6592aa7984cbf77b82630ec6c9e5d269e6c2486dc885de4640e5d3f60a4d39fb8660a7d7e93efc241ad213a70667322d05a0d86468d22b701698a3e2fb03a DIST ipython-9.10.0.tar.gz.provenance 9575 BLAKE2B 2041c8b06c8e896ccb6e6c0fcea9c3708229b35472dec88f3d00b4445095b5e804d48e88357608ea951ae795b37e2007e0f51aaf26b66ef7923dd6ead6fe0935 SHA512 ab56e0f6897fdf00c2d18e630a48ddaec3caeb4670690c8c7607d4384e42fe841e37d644cb68a7c9875620bf40c23590d41409fc92eda0e1ec415b61c69b6435 -DIST ipython-9.4.0.tar.gz 4385338 BLAKE2B 20bf17c945ab2c727aa340a500e2f452dadd440ff809e5aea2ebaa0bd146a6bf2103f2435549a0f4b898690e6aceb15850fc2ba92bb9b94d8e084b1f13cb17a1 SHA512 8e0bd35effa6b5d6d17b7903ae708f1db753717b2271c79b6662fc508e003a7b3b510604ed340e6e89a8c84abf7c3718f785eb39d0914b653c47adc999a1d2f4 DIST ipython-9.7.0.tar.gz 4422115 BLAKE2B c79ed9d48daa647d3430f8f8a6cb7ea58be3bf9f283be0fb0a68bc530859db5f9cfd8419cef8c783ac7ae939fc111dd4a01841fa22f544135cda536100afbc6c SHA512 d611bd9c36a7497c4757895a074d89ef1bb0ac8def6c819bbe084879f6d44f506a5fa30bddff2249b5e0bb363206eb09b3e311037643ce8f17012513a2285e9f DIST ipython-9.8.0.tar.gz 4424940 BLAKE2B 8b4d5673be8e4164a06afe15b6f277d94c0f7196c81c2a2a6195732d0d0f3c353ad9d78c5702ef93edbd1dd44f732332afcfdaa10a2377f2ec9f47318e41b14a SHA512 1f7be5df369ff9c8a5905529286d59927775b47766f6a61ad97f062fb8a068aa9875610e5b313207bf26013ac4dc6d2b24d4d28c3b54586e1f08193d980a6eba DIST ipython-9.8.0.tar.gz.provenance 9236 BLAKE2B ca790e6cb3f0bd3e16e319e6283bdf3f36926a5b8238fdfe02057fe6f6254a549398f5109987e90f8179ba9c39c18e8a4dd029c9612801122f68e30d02cd5bc2 SHA512 26d9183e825e2fbc6fe98669e9ae63fe7652fa00e6b927811c438fc7bb5b4b857a9a7d1ba8fc59201de51087726344193962319da91e4aa0c93fcb907f8b655f diff --git a/dev-python/ipython/ipython-9.4.0.ebuild b/dev-python/ipython/ipython-9.4.0.ebuild deleted file mode 100644 index bc467e4f4930..000000000000 --- a/dev-python/ipython/ipython-9.4.0.ebuild +++ /dev/null @@ -1,146 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( pypy3_11 python3_{11..13} ) -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..12}) - 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 - ) - ;; - 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? No. pypy has no numpy - # 2. handle it in the eclass instead (use _python_ln_rel). - # With pypy not an option the dosym becomes unconditional - 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/pillow/Manifest b/dev-python/pillow/Manifest index 1f224a536098..6150ded23987 100644 --- a/dev-python/pillow/Manifest +++ b/dev-python/pillow/Manifest @@ -1,4 +1,5 @@ DIST pillow-11.3.0.gh.tar.gz 47173056 BLAKE2B 1260c7025e6013c50782024756a0c891d3735bd7d4c1c9d0a89d9eb1c94bd2f762369086f7269d487100e8a0e2678a73012bf29172697c1a1a18e58f9019a9bd SHA512 7d97e623bd41da94dd89a66dc600cea016d0a4f33fbf036175768ea96b2031c1968acf4fc3d9b2835ce93f9533838a9ce68a6579a7397f4aeccafb6032adb3db DIST pillow-12.0.0.gh.tar.gz 47078314 BLAKE2B 14540f6b016004de56e5736f66f23999ebc2683c4be5053631fd6890502d7416d05e9ef858460fec4473d873893303b51f251ed3b50facb11616211b0629e79c SHA512 816237b |
