diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index 993cb771b4a6c..4edef00eebb6e 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -5,3 +5,4 @@ DIST aws-cli-2.36.46.gh.tar.gz 19284758 BLAKE2B 5cd2b985e327f84c64dd1901bf282069 DIST aws-cli-2.36.47.gh.tar.gz 19288749 BLAKE2B 998322f865614ff38445836c6385bbdd6d153146c0a53dc2482048d73632716191a47896517225d1e131e4389d72d6400cd357b06701f97d244dd07f16c4eab4 SHA512 3b6a05261548f82b0fc48be231055fe7d005429019bfff4f7ab574b98737891dc85add8b25e990630db30262ed220a3641f7da697a9a9f7758ca95dc991f8da9 DIST aws-cli-2.36.48.gh.tar.gz 19323282 BLAKE2B ed808c8a253bbe65599c1dbd4415aaa930a45a2b5c8233f86a5ca5529ca7cedb0a6534125ad0258204ad61a9eb66851e865b0241f8cbfe2da208695eebf503c6 SHA512 90269562aec7886a6d99682091331be058f26a67e16a32e375d46fbf4a32c5151f874bdb85297c00557d2ef581ca2d4b77b4d7f20fde12ccd6d43c7a27f8e1f0 DIST aws-cli-2.36.49.gh.tar.gz 19327940 BLAKE2B 408eb80778de27662f015988fc1729ee6c54f5ce0de656351a8a85612b810e9d0c3596ee7d315a3af3d9cbfcd247a75772d2de68240ecd8d292ac0d0729f1965 SHA512 88d8171dda087cceaf44d00f944a9b69da51bcefed28689271807fcdbda2ea2565e472f7a20f05836ec0c27fd17c630078675d1284ea438058748d901e87dca3 +DIST aws-cli-2.36.50.gh.tar.gz 19338543 BLAKE2B 18f08faf504224eaa9715f683e7e122b8e28a099df10b117f88811d5c71e76941df52e5dcd66be38461498503fb6dfce4deb0e73f9f910865b0821607971f9a9 SHA512 a7d26a8a7b030f2cf4e577a6ceed990cb659f2e7e406aed4f67c00be4612c74dfa4d26a3c98adafe02d97103a86a30074d492008c3e8c4a38a3820d52463a4db diff --git a/app-admin/awscli/awscli-2.36.50.ebuild b/app-admin/awscli/awscli-2.36.50.ebuild new file mode 100644 index 0000000000000..e90e9121459f0 --- /dev/null +++ b/app-admin/awscli/awscli-2.36.50.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{12..14} ) + +inherit distutils-r1 shell-completion + +MY_P=aws-cli-${PV} +DESCRIPTION="Universal Command Line Environment for AWS" +HOMEPAGE=" + https://github.com/aws/aws-cli/ + https://pypi.org/project/awscli/ +" +SRC_URI=" + https://github.com/aws/aws-cli/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" + +RDEPEND=" + >=dev-python/colorama-0.2.5[${PYTHON_USEDEP}] + >=dev-python/docutils-0.10[${PYTHON_USEDEP}] + >=dev-python/ruamel-yaml-0.15.0[${PYTHON_USEDEP}] + >=dev-python/prompt-toolkit-3.0.24[${PYTHON_USEDEP}] + >=dev-python/distro-1.5.0[${PYTHON_USEDEP}] + >=dev-python/awscrt-0.36.2[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +# bundled dependencies +RDEPEND+=" + >=dev-python/s3transfer-0.18.0[${PYTHON_USEDEP}] +" +TODO=" + dev-python/rsa[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + !app-admin/awscli-bin +" +BDEPEND=" + dev-python/flit-core[${PYTHON_USEDEP}] + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +EPYTEST_RERUNS=5 +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # this package bundles botocore & s3transfer, but they are custom + # v2 branches that were never released and are incompatible with + # our release versions + + # strip overzealous upper bounds on requirements + sed -i -e 's:,<[=0-9.]*::' -e 's:==:>=:' pyproject.toml || die + # wcwidth isn't used + sed -i -e '/wcwidth/d' pyproject.toml || die +} + +python_test() { + local -x TZ=UTC + + local EPYTEST_DESELECT=( + # TODO + tests/functional/autocomplete/test_main.py::test_smoke_test_completer + tests/unit/customizations/ec2instanceconnect/test_websocket.py::TestWebsocket::test_connect_with_proxy + tests/unit/customizations/ec2instanceconnect/test_websocket.py::TestWebsocket::test_connect_with_proxy_but_no_proxy_env_empty + tests/unit/customizations/emr/test_emr_utils.py::TestEMRutils::test_which_with_existing_command + tests/unit/customizations/emr/test_emr_utils.py::TestEMRutils::test_which_with_non_existing_command + tests/unit/customizations/wizard/test_app.py + tests/unit/test_compat.py::TestGetPreferredEncoding::test_getpreferredencoding_with_env_var + ) + + # Some tests take a lot of memory, so run parallel-safe tests first. + local awscli_parallel_tests=( + tests/functional/[ac-z]*/ + tests/unit/ + ) + local botocore_parallel_tests=( + tests/functional/botocore/*/ + tests/functional/botocore/test_[cds-z]*.py + ) + #epytest "${botocore_parallel_tests[@]}" + epytest "${awscli_parallel_tests[@]}" + + local EPYTEST_IGNORE=( + "${botocore_parallel_tests[@]}" + "${awscli_parallel_tests[@]}" + ) + EPYTEST_XDIST= epytest tests/functional +} + +python_install_all() { + newbashcomp bin/aws_bash_completer aws + newzshcomp bin/aws_zsh_completer.sh _aws + + distutils-r1_python_install_all + + rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die +} diff --git a/dev-libs/aws-c-common/Manifest b/dev-libs/aws-c-common/Manifest index 21e5c9fc23472..c3796f34c770a 100644 --- a/dev-libs/aws-c-common/Manifest +++ b/dev-libs/aws-c-common/Manifest @@ -1,3 +1,4 @@ DIST aws-c-common-0.12.6.tar.gz 629851 BLAKE2B 46adc68f4ff9bcef4a130dde295259237bc9c29c565df21458ff1f08769440b70903733feb4a4cda34aa0f203a4470bbe7888d8d2ecf98a15f37ed75b78f66d9 SHA512 577fdea85ea84563e2167d70f0988ceeccc6ab298a2ca034393872d1717237a64be0d0b5e9cd2083c2278b8c294bc4afb8f8d6bcc13e144259fa0e3166af35bb DIST aws-c-common-0.14.2.tar.gz 642107 BLAKE2B bdd0d652bd506ee79704c86129460437e972de523836922c985ec7dd6bc6b1b1619fb1cd4574774e5eb4df2176d8d88e1f8276986fc2a075b13cf0636d0fc40f SHA512 92c21c05d4273e7e38d5ea0097b205ed3766034ee9ca9295e72e14b8ca5998dcff1d3ccefae3d19f16607b1378f335be6bb16ea66a64c6e972a68ea34c80e5e0 DIST aws-c-common-1.0.0.tar.gz 647961 BLAKE2B 8d4d23c918ca60fa41720fa665c9a15d7b71b5be18d55eb21efcd5b379be66139c62fac48622a37780cd482f86408e911e33fec2dc8681dd242535f2db9573b8 SHA512 f9cd67637383d86353cef7d230051aad67574f9b5c72d6260713f9d8b1139d730ce56d3cc8b646bc0344d99c8cae79d3cfca86c1994207c1b74b9bb814645f4b +DIST aws-c-common-1.0.1.tar.gz 654484 BLAKE2B 7aac6581fd831bf1205e4135168abedd0f1417c0e4dc1348516e3023aabc41f5b06a52779365d9ad84179ad9e547d12d80ea3b48b78fb6627305b42159e01553 SHA512 6c6fc420e5bcdd9b40ea05af1314b46e6186063a00e4f1b8c134099dfc34c990cd790070dec101924c9d7d42469bfe1c4a86eef90747d642d1ef0e8378e3aaf3 diff --git a/dev-libs/aws-c-common/aws-c-common-1.0.1.ebuild b/dev-libs/aws-c-common/aws-c-common-1.0.1.ebuild new file mode 100644 index 0000000000000..4ec20c47596d8 --- /dev/null +++ b/dev-libs/aws-c-common/aws-c-common-1.0.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 2025-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Core c99 package for AWS SDK for C" +HOMEPAGE="https://github.com/awslabs/aws-c-common" +SRC_URI="https://github.com/awslabs/aws-c-common/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0/$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +CMAKE_SKIP_TESTS=( + # https://github.com/awslabs/aws-c-common/issues/1274 + test_file_path_read_from_offset_direct_io +) + +src_configure() { + local mycmakeargs=( + -DBUILD_TESTING=$(usex test) + ) + cmake_src_configure +} diff --git a/dev-libs/aws-c-s3/Manifest b/dev-libs/aws-c-s3/Manifest index 0d99991a5d7bc..388ff6e4d2911 100644 --- a/dev-libs/aws-c-s3/Manifest +++ b/dev-libs/aws-c-s3/Manifest @@ -2,3 +2,4 @@ DIST aws-c-s3-0.11.2.tar.gz 430361 BLAKE2B f7b0d331b540066eef7f50b5451e8fefa058f DIST aws-c-s3-0.13.1.tar.gz 460654 BLAKE2B 6a297805c93b855b8228c7e49df46ab5a1801ce0cfb3a0cf9fe41fb0d0cabdbf5187aa03c7b776b94ea260768bbf1e0c9e3bc72cfd1532f9c8a81e3a541dd47f SHA512 08d7df6a9c01cbc6b1d14aa9f22a9b93b1b9d7fd10d4379be82a438f7709a1c4553f0bb0328ea52670897fb87c0c81d7fdf3cfeee9f499745f49597a93a7613b DIST aws-c-s3-1.1.1.tar.gz 500597 BLAKE2B d8a790abcece7b108b56c7567612d2edf6782e2e7262a82ac64ebe4b4fbd982bfc4f922997ce7c66702337ab81d827d110bbe58e698dc7c970155e281c6c8364 SHA512 28f5b18869af318d848a8cab69fdeb8e1991ca87a2b6e6dd3cb2e026f398bae8b832e7dba7960e271fe0295094419c22d47932c43e068a882fbe820e4f432086 DIST aws-c-s3-1.1.2.tar.gz 502623 BLAKE2B 8e64f8196cafef0a73a3830f3521064c053f59e4418c5c9fc97a91c0f0184ac54207186a1bdfdfed5c904c6fd5488d6392e7a6486da8918eb39d7f05e02f5957 SHA512 6b424e00961e2252f071c2814a35ab20b4281cff0a129cb91c6b2228acaa6c925a7b7bb4aae568375ff80bc60ccd4ba17fcae29e25947cd98d4418a3d41d8913 +DIST aws-c-s3-1.1.3.tar.gz 508476 BLAKE2B cf6c699e6bdb22e3af9e1201f60aab2e06741fc82663dd6eb62ebe31c00de43e99ac8e00a260041fda0dabcf91f6a51eae8a6bbd94c2f95cb3566d3e43896312 SHA512 5017710d2ab4177c3e0b7d913e45cc116099d627a260a8428edff5a63c8896b8fe911ef76a4cfa0731c945940b4d0b1aea6ed92361728fbcb01ee0594dcc7cf0 diff --git a/dev-libs/aws-c-s3/aws-c-s3-1.1.3.ebuild b/dev-libs/aws-c-s3/aws-c-s3-1.1.3.ebuild new file mode 100644 index 0000000000000..6f3666219264b --- /dev/null +++ b/dev-libs/aws-c-s3/aws-c-s3-1.1.3.ebuild @@ -0,0 +1,48 @@ +# Copyright 2025-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="AWS C S3 async library" +HOMEPAGE="https://github.com/awslabs/aws-c-s3" +SRC_URI="https://github.com/awslabs/aws-c-s3/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0/$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND=" + >=dev-libs/aws-c-auth-1.0.0:= + >=dev-libs/aws-c-cal-1.0.0:= + >=dev-libs/aws-c-common-1.0.0:= + >=dev-libs/aws-c-http-1.0.0:= + >=dev-libs/aws-c-io-1.0.0:= + >=dev-libs/aws-checksums-1.0.0:= +" +RDEPEND="${DEPEND}" +BDEPEND="dev-libs/aws-c-common" + +src_configure() { + local mycmakeargs=( + -DAWS_GET_VERSION_MODULE="${ESYSROOT}/usr/$(get_libdir)/cmake/aws-c-common/modules/AwsGetVersion.cmake" + -DBUILD_TESTING=$(usex test) + ) + use test && mycmakeargs+=( + -DENABLE_NET_TESTS=OFF # Network Sandbox cause these to fail. + ) + + cmake_src_configure +} + +src_install() +{ + cmake_src_install + + if use test; then + rm "${ED}/usr/bin/s3" || die + fi +} diff --git a/dev-python/atpublic/Manifest b/dev-python/atpublic/Manifest index b19d9287125ea..a4eb6dd1f74e9 100644 --- a/dev-python/atpublic/Manifest +++ b/dev-python/atpublic/Manifest @@ -1 +1,2 @@ DIST atpublic-7.0.0.tar.gz 17801 BLAKE2B d733b1ccd7c997c9b5eea7541bf9b29a119262782e30cd2d81403e150370bd5b0ba9fa4183567820b5dcd909b30cf83c1ee685d46494070dccd548cdc8fce355 SHA512 cb1bc639e49edfb3a34e075faa28a68d8e8528e26d1600f55e5dbff67f9b12da13c82d30fd4413a7c09bc4816eb1f72517ef42aea00c2ebe0d790daa5b7f7df0 +DIST atpublic-8.0.1.tar.gz 27401 BLAKE2B 58b053e1b5eafdd42943c6f4b522fedc9eb370b6c660723bf8ad2914936d0ff5747bcd093bf567794f863cb73ef2c2e10d9168c8ef0e3f4cf7d0f14685b24e93 SHA512 6a38c1c787626c3c943c718d3370e3b3a710d030c51ae80598ccfefb9faf6aa44059950022163d56a65f21615cdcc6bcf759d8dd04c1954f984fbe7ded761b52 diff --git a/dev-python/atpublic/atpublic-8.0.1.ebuild b/dev-python/atpublic/atpublic-8.0.1.ebuild new file mode 100644 index 0000000000000..d68644978091b --- /dev/null +++ b/dev-python/atpublic/atpublic-8.0.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{12..15} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A decorator to populate __all__ and the module globals" +HOMEPAGE=" + https://gitlab.com/flufl/public/ + https://pypi.org/project/atpublic/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +BDEPEND=" + test? ( + dev-python/sybil[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest diff --git a/dev-python/atpublic/metadata.xml b/dev-python/atpublic/metadata.xml index 08dab8876a7a4..e129cee98cffa 100644 --- a/dev-python/atpublic/metadata.xml +++ b/dev-python/atpublic/metadata.xml @@ -12,6 +12,6 @@ atpublic - warsaw/public + flufl/public diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index de2cba40e1326..cffa09dcf2705 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -4,3 +4,4 @@ DIST boto3-1.43.83.gh.tar.gz 1218064 BLAKE2B 0758e28dd9b086615b045e107aece2ef46b DIST boto3-1.43.89.gh.tar.gz 1225424 BLAKE2B 625bb37a542644c8fe37aab42a115bf8be2e36373d7f6149dcc7e150e327c75b334ef480897be1d4954809b233a47e02854d7b28b4a3904f0e5cdcea3f0440d7 SHA512 1c04fd6df819abbe60d551c6d706f7254fe6d6758e95fd53ec70d4dd892b6f7bf69981cb001fc6ca5bc5885f083718b80a4fd045b146e7f4add16a50ac3a9d38 DIST boto3-1.43.93.gh.tar.gz 1230597 BLAKE2B 183d94cea0d706147a75674cb85a600ad21c2683618ba18a14e8630f23b19c94c11d0bc03ddc517194dad42dfb9445d1b34076b1f1b3ecbcec51ceccf30e5db0 SHA512 01612175497aada3b3fdf62ffcdb0626dc0fd5090d7d156d2a1f5fad4ec19b904ffecfd4b59880cf71ec07658bf00c2245bdd3c989a7513689ab59a2511e06ea DIST boto3-1.43.98.gh.tar.gz 1235430 BLAKE2B 6a08b191374c1c31b69c975cb4281685bee4914b8f2ab32dd2eb13c7742ff7e228a151f0e78b7f323d43ffe9b4dd7e4574104bc4a63cd573726715eceeb13137 SHA512 550c5daf6b3110562ba08e0694cdc19b7cd02e9d00aba22acc3a8272a63124d3e9eea870d7fced18685ee89459f375ace66aca49fcaece88a1d7dbfa1d54022e +DIST boto3-1.43.99.gh.tar.gz 1235825 BLAKE2B bee3274c9418d1f25d5531762a70e5039953ba0e3e97e896cb3f9259bf76394a32682085dd2cd361415ced8f7fcf4d32ac0569a0eae6ed34fb06b509ee90621e SHA512 990c09fd394e17265efa2cd32828c496bf708163ae7c2e1f91fb5ce4607a0b60f5f8bcc23fd788a749d3af779476180d875d38356719512a043598e07daf99a3 diff --git a/dev-python/boto3/boto3-1.43.99.ebuild b/dev-python/boto3/boto3-1.43.99.ebuild new file mode 100644 index 0000000000000..9b17e7a5c3815 --- /dev/null +++ b/dev-python/boto3/boto3-1.43.99.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_{12..15} ) + +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.19.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 321ede6d0919b..365efe6ba125f 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -4,3 +4,4 @@ DIST botocore-1.43.83.gh.tar.gz 17038145 BLAKE2B f74b399b04f9b259e1a2f424719c4b8 DIST botocore-1.43.89.gh.tar.gz 17111395 BLAKE2B 25837125b5d9477b011c065594ffa1b49a2f5d0cf76e1c664aa5401d50dfe8dd9573d0ab3a60f739c796c32965a7dd7608e302a284bfcc97d9f7f4a8a2b698e3 SHA512 c9c0b7636fb7595d4ff3ee2ec7e1ef8ad3000e9e453ce6edb827a1152109fc2fb6b226bd08f27653fc1436444c39be6f160fa4f7c34eb50a7384988686933590 DIST botocore-1.43.93.gh.tar.gz 17142451 BLAKE2B eec2955aa252ff8bc49c24095006f0c75669f7946dcdaece4c7f640e724910b14c1b1b0b07fb8e6661d96e95fe148201381d70b4685a7282c2c64f2656fde57a SHA512 e021322d630deb94f738aa5096a7b72ffdeffbeaf5d3f6fbc9e835b7f41afa25a738d353e37b4fbd73b5b8889334ccdf4caec64d4c63e4e966e0e245c6117cf0 DIST botocore-1.43.98.gh.tar.gz 17171860 BLAKE2B 8bb682accc106b35b89f19fc6512314f3251a896d5e3e74b02112d9dc6218c56388685113d1889dbbde18ca9ea2b18acd2386d54603567d334644bebc55a678a SHA512 42700b9fbbf6df97f410cff159aae5dd57f5c114567e80fe4930b42166608609fcd9822f011c0acb8a4fc46c92aedd9a7ea5afa1608a24e47b0e30d78274d0ac +DIST botocore-1.43.99.gh.tar.gz 17174718 BLAKE2B b893fe15a5addf1f74877a1eb1b7bea63ae6ed0e3c0f23b1877f55785502e6f8a16d52bf1c197d2347076fde7e1c724a04acff65d9973f07776c63ae4c6237df SHA512 756aa99dadb155463492b7c48638b4e3ddadb492d157be679d5d66de3c945c5d701c813cb583477f2e937c165aad5eac4841ba582253549e79347f2eb2f73dc4 diff --git a/dev-python/botocore/botocore-1.43.99.ebuild b/dev-python/botocore/botocore-1.43.99.ebuild new file mode 100644 index 0000000000000..a17fe86984fa3 --- /dev/null +++ b/dev-python/botocore/botocore-1.43.99.ebuild @@ -0,0 +1,80 @@ +# 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_{12..15} ) + +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/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 + ) + + # The test suite can eat up a lot of memory when running via xdist, + # and slow down some tiny tests. Let's just run a safe subset + # of tests known to be slow-ish in parallel, and the rest in series. + local parallel_tests=( + tests/functional/*/ + tests/functional/test_event_alias.py + tests/functional/test_[cds-z]*.py + tests/unit/ + ) + + epytest "${parallel_tests[@]}" + + local EPYTEST_IGNORE=( "${parallel_tests[@]}" ) + EPYTEST_XDIST= epytest tests/functional +} diff --git a/dev-python/breathe/Manifest b/dev-python/breathe/Manifest index 925bcf01af884..4e46ac6d7f249 100644 --- a/dev-python/breathe/Manifest +++ b/dev-python/breathe/Manifest @@ -1 +1,2 @@ DIST breathe-4.36.0.gh.tar.gz 219346 BLAKE2B 26e18a7cbe34762579bff965e48772b54438a2ed1235dad52fc63533afe47f78cb921683c201a281e732f4e67d5a5edbe850a369f57d7eca83f0a54f43cb68a5 SHA512 fd640ed75680134a5a0e8860764bb430bb971f49ad2f88392de7ba97d633e377079eaf1c7e35a72db135e4c4d3b066c6c9744ccc151ad18d865bb37c9de833d7 +DIST breathe-5.0.0.gh.tar.gz 260953 BLAKE2B 1bc338d1c0076ff6719e52f3cae9c1d16473f0efa040edd5e8a37042860bcf69274ff1a3fba791eba04388e1ff6fc2af8804f9d5348ed9257309cb064519329b SHA512 0cbbb2653f44a38c50d81a7ce3cf46aa15060ed6d2519e738e8e33b193c821839fcf2f05a0a9adabdfc02cac506f8749cca2dda8bfe93ecd0702493189696d61 diff --git a/dev-python/breathe/breathe-5.0.0.ebuild b/dev-python/breathe/breathe-5.0.0.ebuild new file mode 100644 index 0000000000000..15cad7d0e302a --- /dev/null +++ b/dev-python/breathe/breathe-5.0.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit-core +PYTHON_COMPAT=( python3_{12..15} ) + +inherit distutils-r1 + +DESCRIPTION="Sphinx Doxygen renderer" +HOMEPAGE=" + https://breathe.readthedocs.io/en/latest/ + https://github.com/breathe-doc/breathe/ + https://pypi.org/project/breathe/ +" +SRC_URI=" + https://github.com/breathe-doc/breathe/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +# need doxygen bump for tests? +#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + app-text/doxygen + dev-python/docutils[${PYTHON_USEDEP}] + >=dev-python/sphinx-7.2.0[${PYTHON_USEDEP}] + dev-texlive/texlive-bibtexextra + dev-texlive/texlive-fontsextra + dev-texlive/texlive-fontutils + dev-texlive/texlive-latex + dev-texlive/texlive-latexextra +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_configure_all() { + # normally called via setuptools_builder.py + # (with pointless dep on setuptools) + "${EPYTHON}" - <<-EOF || die + import xml_parser_generator.make_parser as mp + + mp.generate_from_json( + "xml_parser_generator/schema.json", + [ + ( + "xml_parser_generator/module_template.py.in", + "breathe/_parser.py" + ) + ] + ) + EOF +} diff --git a/dev-python/jupyterlab/Manifest b/dev-python/jupyterlab/Manifest index 15f7ec15b80a6..e0e54135861a3 100644 --- a/dev-python/jupyterlab/Manifest +++ b/dev-python/jupyterlab/Manifest @@ -1,2 +1,4 @@ DIST jupyterlab-4.5.10.tar.gz 23998879 BLAKE2B afce3426f0f8ba029e8667e6a487a5fd60c18341f60eb865569fd33845ea8ae76db92bc127c45f203cd3ebc9d819a80dbcd7c03002aa01f462b7af1b8d99bc83 SHA512 9dc87a87e9699e19c71df66a8e6cb699c194467fa8ee6450bab96199fb3188c82f0a18fad860d44433a05426219761db7c546b20ee1dcb9148a095a3ddc68e04 +DIST jupyterlab-4.5.11.tar.gz 24000794 BLAKE2B bfd3c3cfd00eb1aa1a2054580f437f720347cfd35c516f9b9ea608247e190797f82acb832cb40c5eb3f068db31c93a4ef3200dbba959d54ec0d97478e24327d5 SHA512 edc6d81b7cc5c1499ff66e0133858753fd6b594f0f3fa2e7fbccb96ef337538aa5806b3764f6dd2dea82e6c0fa8c8fe88a4a7610ea245cca4ed1405fce277616 DIST jupyterlab-4.6.3.tar.gz 28319771 BLAKE2B e4d4605dec5fef89599b1683700e8204817563ec11cd00592ab82be8e081c5eb8ce0ba654fe1d916e41f25507ab506ce77dd41f8a577f93ab3a5ab141b6ef1ee SHA512 d1105891542042df8448db15de70fdb26637672322760d8912191dd232912277f8345c5b8772070ce9c18d7d27b0ae72e331ed1b8d7b8ebb0ea46ee5222b77e7 +DIST jupyterlab-4.6.4.tar.gz 28335647 BLAKE2B c75b9880375b1f9cd40df57c96512f3763deccab71f468f58004d9600a0d9de65b9d1af2351cc48a754af98ff7e90f3052c053aed0a3edd18a3c53d00f8a1e59 SHA512 731d8a993434464960619f01e74aa4cf3b260d894be7db0fa6b9c29f4c2bf9afb00298999529511716b4d51700ffad630129566373d8102205da91dee047b011 diff --git a/dev-python/jupyterlab/jupyterlab-4.5.11.ebuild b/dev-python/jupyterlab/jupyterlab-4.5.11.ebuild new file mode 100644 index 0000000000000..0292a9ef47286 --- /dev/null +++ b/dev-python/jupyterlab/jupyterlab-4.5.11.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{12..14} ) + +inherit distutils-r1 pypi xdg + +DESCRIPTION="JupyterLab computational environment" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyterlab/jupyterlab/ + https://pypi.org/project/jupyterlab/ +" + +LICENSE="BSD MIT GPL-3 Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/async-lru-1.0.0[${PYTHON_USEDEP}] + >=dev-python/httpx-0.28.0[${PYTHON_USEDEP}] + >=dev-python/ipykernel-6.5.0[${PYTHON_USEDEP}] + >=dev-python/jinja2-3.0.3[${PYTHON_USEDEP}] + dev-python/jupyter-core[${PYTHON_USEDEP}] + >=dev-python/jupyter-lsp-2.0.0[${PYTHON_USEDEP}] + >=dev-python/jupyter-server-2.4.0[${PYTHON_USEDEP}] + =dev-python/jupyterlab-server-2.28.0[${PYTHON_USEDEP}] + =dev-python/notebook-shim-0.2[${PYTHON_USEDEP}] + >=dev-python/packaging-23.2[${PYTHON_USEDEP}] + >=dev-python/setuptools-41.1.0[${PYTHON_USEDEP}] + >=dev-python/tornado-6.2.0[${PYTHON_USEDEP}] + dev-python/traitlets[${PYTHON_USEDEP}] + net-libs/nodejs[npm] +" + +BDEPEND=" + dev-python/hatch-jupyter-builder[${PYTHON_USEDEP}] + test? ( + dev-python/requests[${PYTHON_USEDEP}] + dev-python/requests-cache[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + ) +" + +EPYTEST_DESELECT=( + # These tests call npm and want internet + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_uninstall_core_extension + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_install_and_uninstall_pinned_folder + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_install_and_uninstall_pinned + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_custom_minimal_core_config + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_custom + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_check + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build + jupyterlab/tests/test_build_api.py::TestBuildAPI::test_clear + jupyterlab/tests/test_build_api.py::TestBuildAPI::test_build +) + +EPYTEST_IGNORE=( + jupyterlab/tests/test_announcements.py +) + +EPYTEST_PLUGINS=( pytest-{console-scripts,jupyter,tornasync,timeout} ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest +# TODO: package sphinx_copybutton +#distutils_enable_sphinx docs/source dev-python/sphinx-rtd-theme dev-python/myst-parser + +python_install_all() { + distutils-r1_python_install_all + mv "${ED}/usr/etc" "${ED}/etc" || die +} diff --git a/dev-python/jupyterlab/jupyterlab-4.6.4.ebuild b/dev-python/jupyterlab/jupyterlab-4.6.4.ebuild new file mode 100644 index 0000000000000..3a29750159584 --- /dev/null +++ b/dev-python/jupyterlab/jupyterlab-4.6.4.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{12..14} ) + +inherit distutils-r1 pypi xdg + +DESCRIPTION="JupyterLab computational environment" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyterlab/jupyterlab/ + https://pypi.org/project/jupyterlab/ +" + +LICENSE="BSD MIT GPL-3 Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64" + +RDEPEND=" + >=dev-python/async-lru-1.0.0[${PYTHON_USEDEP}] + >=dev-python/httpx-0.28.0[${PYTHON_USEDEP}] + >=dev-python/ipykernel-6.5.0[${PYTHON_USEDEP}] + >=dev-python/jinja2-3.0.3[${PYTHON_USEDEP}] + dev-python/jupyter-builder[${PYTHON_USEDEP}] + dev-python/jupyter-core[${PYTHON_USEDEP}] + >=dev-python/jupyter-lsp-2.0.0[${PYTHON_USEDEP}] + >=dev-python/jupyter-server-2.19.0[${PYTHON_USEDEP}] + =dev-python/jupyterlab-server-2.28.0[${PYTHON_USEDEP}] + =dev-python/notebook-shim-0.2[${PYTHON_USEDEP}] + >=dev-python/packaging-23.2[${PYTHON_USEDEP}] + >=dev-python/setuptools-41.1.0[${PYTHON_USEDEP}] + >=dev-python/tornado-6.2.0[${PYTHON_USEDEP}] + dev-python/traitlets[${PYTHON_USEDEP}] + net-libs/nodejs[npm] +" + +BDEPEND=" + dev-python/hatch-jupyter-builder[${PYTHON_USEDEP}] + test? ( + dev-python/requests[${PYTHON_USEDEP}] + dev-python/requests-cache[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + ) +" + +EPYTEST_DESELECT=( + # These tests call npm and want internet + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_uninstall_core_extension + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_install_and_uninstall_pinned_folder + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_install_and_uninstall_pinned + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_custom_minimal_core_config + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_custom + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_check + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build + jupyterlab/tests/test_build_api.py::TestBuildAPI::test_clear + jupyterlab/tests/test_build_api.py::TestBuildAPI::test_build +) + +EPYTEST_IGNORE=( + jupyterlab/tests/test_announcements.py +) + +EPYTEST_PLUGINS=( pytest-{console-scripts,jupyter,tornasync,timeout} ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest +# TODO: package sphinx_copybutton +#distutils_enable_sphinx docs/source dev-python/sphinx-rtd-theme dev-python/myst-parser + +python_install_all() { + distutils-r1_python_install_all + mv "${ED}/usr/etc" "${ED}/etc" || die +} diff --git a/dev-python/lazy-loader/Manifest b/dev-python/lazy-loader/Manifest index 3f2e9cc49b7e7..30ea1edbd2334 100644 --- a/dev-python/lazy-loader/Manifest +++ b/dev-python/lazy-loader/Manifest @@ -1,2 +1,4 @@ DIST lazy_loader-0.5.tar.gz 15294 BLAKE2B c3267961095633c82c768c9c20cf81e3a66f6b03fb0b17ee73bd053e1c96fd8d9f5d1faf1ce983b931d9d30137ae8ae01ee027496ed0f19fbdba7c20ebe2d244 SHA512 aca2a7a8901dadc2c20a5e23ae016b466dad541153c0f43ed20b57b375c6dc8279a324ea086ed2468e20655dd567a30f9275da7fd8664f6384296bdb739289b7 DIST lazy_loader-0.5.tar.gz.provenance 9964 BLAKE2B f2d65ac401fc5dd79da42f599332edde7eeb4429d576e1be5a883f81aef1967aebddc44545abf4d530c0cbeefeb8f1576627d9d503474b5ce978739c5787bda0 SHA512 05270858cca0d98599d94d3d085277d4afd466443cd3ab502b958efa1e7cc899d5437b061dceb3d052167111d8a60eea7f65a2988bd15d057b958d175378d299 +DIST lazy_loader-0.6.tar.gz 18438 BLAKE2B b257850cee3728b90c60d491ce1e6086e0e9f8a73260b252efc2b8029c5073dc89dcfd6104e2838238ee9d97363f23a2482a60a603f63917d670fd45da5a0cd6 SHA512 3274ef7695f74cf9cc981ed7776dfd8266f11910247bc9a263537f3744d4fbf00cb64ba1694e92879c5ece2b0832bc6af81803d244fc7b1004d5e4c6d08f6402 +DIST lazy_loader-0.6.tar.gz.provenance 9728 BLAKE2B 02881991d8008360310b1bf3eb601d5b38bb12ac0d5918039eb689ff52af6224fb61b5bd0e6a2b7f4fb1ef014f97933274ffc08fb365b7dbcc5df0959837a09c SHA512 0bb994932ee9a920043fd13396c8f99b74fbf328b502ad349f35723a46f2d3c5ab25359ed2864932eee5a5a69c8fd6392cd5531b281c13de57534a234c2aa79e diff --git a/dev-python/lazy-loader/lazy-loader-0.6.ebuild b/dev-python/lazy-loader/lazy-loader-0.6.ebuild new file mode 100644 index 0000000000000..724de2814abff --- /dev/null +++ b/dev-python/lazy-loader/lazy-loader-0.6.ebuild @@ -0,0 +1,27 @@ +# 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=https://github.com/scientific-python/lazy-loader +PYTHON_COMPAT=( python3_{12..15} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Populate library namespace without incurring immediate import costs" +HOMEPAGE=" + https://github.com/scientific-python/lazy-loader/ + https://pypi.org/project/lazy-loader/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/packaging[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest diff --git a/dev-python/multidict/Manifest b/dev-python/multidict/Manifest index aadecdbcf49a3..384477c57235f 100644 --- a/dev-python/multidict/Manifest +++ b/dev-python/multidict/Manifest @@ -1,3 +1,4 @@ DIST multidict-6.7.1.gh.tar.gz 120010 BLAKE2B db03d9be850b3d2b042ecaa5484fd692fdb47a626862b57e2b218beeba90ae7b12a5e204bd3fdf20a4a125abf1dffb88c52cfc449c0daa31cfed585a74782a3f SHA512 4009a310dac4732c48cc9654fbd55468dda5a6d18a05ef013ff90b030d3124459620d6d6ae4f85e88ef6cefa0b9bccea1b745f3acbfa0b351eb2c92cc8812b89 DIST multidict-6.8.0.gh.tar.gz 149210 BLAKE2B b8ef7da3fb565110418796c01258a71ba1ae2d8309868193ae6d73cf2c768f759578583c2d4436ca2127618e6a0f45815be259720f5a9f5d732c1968aff3df0b SHA512 1a978331fd0d7deabae84db7710258f5d7956197a2f1b97933fba523631077d732ab42f65e4f43477cc07e60ddd180807b73326ad660e2ba6fd8e9ba5b7f196b DIST multidict-6.9.0.gh.tar.gz 204284 BLAKE2B 797706fffd07a9486d354bf5c51e5e62df511517cf8b979148af2f3f55fc5fc400f800013f0c77a5ea1fc35ce6b24c69b95531d2ffecadecbe3376311a90e81f SHA512 b6d4a7ba2308c1726cde04213fdbd4b7528de2dcbcffe377660a72bed409d6c9321db99983f8ad717eeaa4ba2b1fcd16f5b0bbe038ed8e6b28c42fb971c2a7ff +DIST multidict-6.9.1.gh.tar.gz 214750 BLAKE2B 8962c996894570489321e312ea765d9fb2da84817b465adfbf27195b6e383c9bd1b0cfcd9b93f0a2e2824db7a9de070dd47e0ac2c99164fc4818ec52b24ee1e2 SHA512 b3c14370c98a34c03c8aceec54c3f1784c1e294209db8bc5363c3db7ed2836fa8384e1ffceb959597e646ca275f47eaecc82352608863ba60e4fe69dc2a17e36 diff --git a/dev-python/multidict/multidict-6.9.1.ebuild b/dev-python/multidict/multidict-6.9.1.ebuild new file mode 100644 index 0000000000000..faa815761f0c6 --- /dev/null +++ b/dev-python/multidict/multidict-6.9.1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2026 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_{12..15} python3_{14..15}t ) + +inherit distutils-r1 + +DESCRIPTION="multidict implementation" +HOMEPAGE=" + https://github.com/aio-libs/multidict/ + https://pypi.org/project/multidict/ +" +SRC_URI=" + https://github.com/aio-libs/${PN}/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="+native-extensions" + +BDEPEND=" + test? ( + dev-python/objgraph[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( hypothesis ) +distutils_enable_tests pytest + +python_prepare_all() { + # don't enable coverage or other pytest settings + sed -i -e '/cov/d' pytest.ini || die + # don't mangle CFLAGS + sed -i -e 's/^CFLAGS = .*/CFLAGS = []/' setup.py || die + distutils-r1_python_prepare_all +} + +python_compile() { + if ! use native-extensions || [[ ${EPYTHON} == pypy3* ]]; then + local -x MULTIDICT_NO_EXTENSIONS=1 + fi + + distutils-r1_python_compile +} + +python_test() { + local EPYTEST_IGNORE=( + tests/isolated + tests/test_multidict_benchmarks.py + tests/test_views_benchmarks.py + ) + + rm -rf multidict || die + + local cext=--c-extensions + if ! use native-extensions || [[ ${EPYTHON} == pypy3* ]]; then + cext=--no-c-extensions + fi + epytest "${cext}" +} diff --git a/dev-python/networkx/Manifest b/dev-python/networkx/Manifest index 20d7905c2b2e4..b1160aeaed034 100644 --- a/dev-python/networkx/Manifest +++ b/dev-python/networkx/Manifest @@ -1,2 +1,4 @@ DIST networkx-3.6.1.tar.gz 2517025 BLAKE2B 4419ae5377fa6d4c4e058e96f481207c6091edc4b2e15c5f1c96d15e1a298b54c99a3f2fc5788469269db703db75b7bcff72fdddc08835a875170fa151b7a574 SHA512 d3ccbdf15b93facf71c8f0f508b85204f77273af1180e885a2bde79631237f7f08a4521a88a52b599b179df94e2b58916cc2ee21be20d893a8d6a0f86d9a3a30 DIST networkx-3.6.1.tar.gz.provenance 9627 BLAKE2B 0a983dd076324896c372504a666dc491cdc0f84280d1d0cd7e26f46d0cd9526310caf1397e40ce547643d1e3df39a3a5144d8de45c44f4e350ad6146119fbfeb SHA512 b0be00d2310d8df60bdaa9554026a8aeb8930f90095bae8c3f5536fe7badee0002370c8ac03aea4f1e53381ab20d9faece5e74744373966cd472a5d6e64d5da8 +DIST networkx-3.7.tar.gz 1866482 BLAKE2B 88f2b875839aabc952483ee009c54b81255f59bfc31b19a698c45c8c410d315a20f742a0d4e73eb9d18ac0adc74e91ad7727bc2a0eea254682ec3182939c75e8 SHA512 a5f3d6b7bc5a41a2996443fcb0b86ca5da9a7c80b29866aa308c2145a574caa95522073db28029e6ba11c8eb1b20e59ddefec460f472d548bdd4ec9ecea36090 +DIST networkx-3.7.tar.gz.provenance 9821 BLAKE2B 123c88effd53ff7074c6899ae0f329fa9a8c1c81afbbe9560e3fd2804d820ff2bee70a3f991934f4ac67e47a2ca82def7512f4621bc8b322f4037f8d3e8c1caa SHA512 69f42356525a109abb037fa634b61c85af6dcc0c8753a7dedb6be53e759def141fda11ced2926dbea1857c386f67e7604802b3e2e9cd966c90da4f283745e5b9 diff --git a/dev-python/networkx/networkx-3.7.ebuild b/dev-python/networkx/networkx-3.7.ebuild new file mode 100644 index 0000000000000..c095fc2d43969 --- /dev/null +++ b/dev-python/networkx/networkx-3.7.ebuild @@ -0,0 +1,60 @@ +# 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=https://github.com/networkx/networkx +PYTHON_FULLY_TESTED=( python3_{12..14} ) +PYTHON_COMPAT=( "${PYTHON_FULLY_TESTED[@]}" python3_15 ) + +inherit distutils-r1 optfeature pypi virtualx + +DESCRIPTION="Python tools to manipulate graphs and complex networks" +HOMEPAGE=" + https://networkx.org/ + https://github.com/networkx/networkx/ + https://pypi.org/project/networkx/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" + +BDEPEND=" + test? ( + >=dev-python/lxml-4.6[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/matplotlib-3.10[${PYTHON_USEDEP}] + >=dev-python/numpy-2.2[${PYTHON_USEDEP}] + >=dev-python/scipy-1.15[${PYTHON_USEDEP}] + ' "${PYTHON_FULLY_TESTED[@]}") + ) +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + # virtx implies nonfatal + nonfatal epytest || die +} + +src_install() { + distutils-r1_src_install + # those examples use various assets and pre-compressed files + docompress -x /usr/share/doc/${PF}/examples +} + +pkg_postinst() { + optfeature "recommended dependencies" "dev-python/matplotlib dev-python/numpy dev-python/pandas dev-python/scipy" + optfeature "graph drawing and graph layout algorithms" "dev-python/pygraphviz dev-python/pydot" + optfeature "YAML format reading and writing" "dev-python/pyyaml" + optfeature "shapefile format reading and writing" "sci-libs/gdal[python]" + optfeature "GraphML XML format" "dev-python/lxml" +} diff --git a/dev-python/notebook/Manifest b/dev-python/notebook/Manifest index e2002413febca..294e2822e0c4a 100644 --- a/dev-python/notebook/Manifest +++ b/dev-python/notebook/Manifest @@ -1,2 +1,3 @@ DIST notebook-7.5.7.tar.gz 14171612 BLAKE2B 13fc91f63ddd5992e13d2f7b8805e90f940bbcf935ed89270e14e405f6f09dce39d7f5c5e2ba0150d05f5350235af749fe657935addb86281371465bb050aa8f SHA512 e92bfd6fe253e4b3468978c110acb43e98336595ebbfe39a0ed8b421926cb20d3c8f284f76cabd5108f3642d19fe446e79620bc99761b3214fa93301853370b2 DIST notebook-7.6.2.tar.gz 5500147 BLAKE2B ca17943a11b0a82162b736428ea79f7ae6582109c7398b204cad02ce0ae1812d72aa1ab2eba9ed19a5f29b6fb914c6b60b053ad5fa9b9021850df38eb8273911 SHA512 3dddba68f5f46577f19320f58ebc8daa0ad19dd6456af77e06b3c5f139586537f55706a5da0849210f52fc19e21ae3b27e4b0ba594a1e5820febc9d5241a9fe2 +DIST notebook-7.6.3.tar.gz 5501618 BLAKE2B 68401b9b37b48774af3240cb14427ae7d2d01ab1f36e6eeb1b90bb2e2ce650cbc95a917dccafcbde55ce54a486d0e5bc601f85eefd382787acc5a3bf8f1717d6 SHA512 7b8395c5fcee0ce9faf0adb84a52078c4f556380702391880acc0436b1e1dddcb8d531a1dbb81a5950e458d415aaec8c664ef1d1df373665f0ff73576c41021d diff --git a/dev-python/notebook/notebook-7.6.3.ebuild b/dev-python/notebook/notebook-7.6.3.ebuild new file mode 100644 index 0000000000000..763acfa86715b --- /dev/null +++ b/dev-python/notebook/notebook-7.6.3.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=hatchling +PYTHON_COMPAT=( python3_{12..14} ) +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" + +COMMON_DEPEND=" + >=dev-python/jupyter-builder-1.0.2[${PYTHON_USEDEP}] + pyproject.toml <<-EOF || die + [build-system] + requires = ["flit_core >=3.2,<4"] + build-backend = "flit_core.buildapi" + + [project] + name = "${PN}" + version = "${PV}" + description = 'A small Python package for determining appropriate platform-specific dirs, e.g. a "user data dir".' + EOF + # sigh + cat > src/platformdirs/version.py <<-EOF || die + __version__ = version = '${PV}' + __version_tuple__ = version_tuple = (${PV//./, }) + EOF +} diff --git a/dev-python/tifffile/Manifest b/dev-python/tifffile/Manifest index 84d006476c4bd..f2ca74260e738 100644 --- a/dev-python/tifffile/Manifest +++ b/dev-python/tifffile/Manifest @@ -1,2 +1,2 @@ DIST tifffile-2026.9.15.gh.tar.gz 428109 BLAKE2B 510e16937f4286fef6da3b19c2f7edfa06e26e19eeb938357885d2731bd1404315eb44624352491535d71b5d5328ce8e30b5b865616819b66d43c87c7b5502ea SHA512 76f1ed5a122f46d4d9e05e6024ad362dbca8c3f1af8fb328f0f19945d53a3da21df2ec2b467fa56a214486607b479abdc0ab0b67f1d4885233262c7487b34179 -DIST tifffile-2026.9.9.gh.tar.gz 427709 BLAKE2B 8e935e91b9bc43ec74ed26f0d7b1038b3c2ea9e03cd90b6712d3fc2999fe584954b1baa5111baa1ec00e4ca4e556adde3ee9092ae7031ffd00c690aec06bbc5d SHA512 75256c187bf979d55217b945e1443e2d3d895821c200b96f72a9ba98e4f3c84e879f776e8c7b30e0cefceb6d0ab8770c67d8abc31da8db633f8726b2be53f4d9 +DIST tifffile-2026.9.20.gh.tar.gz 431940 BLAKE2B 690706dfd15c45c947353d84c5ef932f4e8a659c33b65f7d9534ab51dfe96f31b92ba20999775e2ba0053aac131a3944aefad73597324695eece319f0b5b9733 SHA512 5b515b8b4a96ab33a626f0cc3be90307d7f4dfb4dbb92d4e929603ea0218a942b46d2f8e6b22b24daf42f473540d0c3f052b53c7c4c0d8c262cff23ff445e7e1 diff --git a/dev-python/tifffile/tifffile-2026.9.9.ebuild b/dev-python/tifffile/tifffile-2026.9.20.ebuild similarity index 100% rename from dev-python/tifffile/tifffile-2026.9.9.ebuild rename to dev-python/tifffile/tifffile-2026.9.20.ebuild diff --git a/dev-python/trove-classifiers/Manifest b/dev-python/trove-classifiers/Manifest index 94965125af50a..0f2ef5cad67ec 100644 --- a/dev-python/trove-classifiers/Manifest +++ b/dev-python/trove-classifiers/Manifest @@ -1,2 +1,4 @@ DIST trove_classifiers-2026.6.1.19.tar.gz 17059 BLAKE2B ccc2ce8c27b36ebc5fd3c951698ddef25186b0ccced9fd61b6eeeaf04d9f3e4201b8e6dcf4903b2f0ff1b4e46dcfb9a839eadebe6a9740fb2bdd9fb157b67d05 SHA512 3e0d4dabdefe939cf865286ef168e28a0fe7f791fa9321f9822b81bff7c06357ea3eeba9666710867de643ee267ae69f1eb4c20163a9c209b7ba408051cebf08 DIST trove_classifiers-2026.6.1.19.tar.gz.provenance 9832 BLAKE2B f0224488c91fee2b2a3b8a753ca1f7d4ed6de55cc88b2bc8676153f9afb242ceb1084b88bc95176bc7fde62727584f1c2114c20265df0d38ce14dfdd60a6af99 SHA512 57114ca1afbeec73693e6ac362c9c9e43513a187829e93c17afc94bd4aab6bc2ff1d9abb7298cc114eb0903ac1e86a116369daaf25607b7130bfe89d83af8db3 +DIST trove_classifiers-2026.9.21.13.tar.gz 17085 BLAKE2B c059b12cb5d150a284d50db3b04f158ada1c477722a826a2f953f944f7a270ec126271ac284aff7abc9d104cae34f31d746b3703d18c6bc9ae768c9ee87fd2d9 SHA512 38cc0c21213a765d32ccf833d16d3056a47a1c9802b3f36ebcff392997106d1707d3dbee84b55b04b65d608c8beb7400ec3e586970b01778871be795207325d6 +DIST trove_classifiers-2026.9.21.13.tar.gz.provenance 9881 BLAKE2B b4f9a41148c9e2e2ba1e52da5f54b0ebf89d98db11318bc1764435e8905decc6a4a9d2a69bef50212868528730f67fa7803aaa11180f1de0e6e6f8c55ad8edfe SHA512 7b45de78e3f5eb5e504bae5ea587e61ce26ab5d048c57ec3ae4fd80cb64d2a52d811b9c8688b98a6d14185162afd3b24d0f3b61a73447123f9e6c380729d4080 diff --git a/dev-python/trove-classifiers/trove-classifiers-2026.9.21.13.ebuild b/dev-python/trove-classifiers/trove-classifiers-2026.9.21.13.ebuild new file mode 100644 index 0000000000000..5e07bceb13491 --- /dev/null +++ b/dev-python/trove-classifiers/trove-classifiers-2026.9.21.13.ebuild @@ -0,0 +1,47 @@ +# Copyright 2022-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit-core +PYPI_VERIFY_REPO=https://github.com/pypa/trove-classifiers +PYTHON_COMPAT=( python3_{12..15} python3_{14..15}t ) + +inherit distutils-r1 pypi + +DESCRIPTION="Canonical source for classifiers on PyPI (pypi.org)" +HOMEPAGE=" + https://github.com/pypa/trove-classifiers/ + https://pypi.org/project/trove-classifiers/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +src_configure() { + grep -q 'build-backend = "setuptools' pyproject.toml || + die "Upstream changed build-backend, recheck" + # write a custom pyproject.toml to ease hatchling bootstrap + cat > pyproject.toml <<-EOF || die + [build-system] + requires = ["flit_core >=3.2,<4"] + build-backend = "flit_core.buildapi" + + [project] + name = "trove-classifiers" + version = "${PV}" + description = "Canonical source for classifiers on PyPI (pypi.org)." + + [project.scripts] + trove-classifiers = "trove_classifiers.__main__:cli" + EOF +} + +python_test() { + epytest + "${EPYTHON}" -m tests.lib || die +} diff --git a/dev-python/virtualenv/Manifest b/dev-python/virtualenv/Manifest index 8b3f407039e60..b5f963133971c 100644 --- a/dev-python/virtualenv/Manifest +++ b/dev-python/virtualenv/Manifest @@ -20,3 +20,5 @@ DIST virtualenv-21.7.9.tar.gz 5348882 BLAKE2B cadcd4423bbe28d58363e653a62a0408fb DIST virtualenv-21.7.9.tar.gz.provenance 9655 BLAKE2B e7b7b08f61878dedc3cdfb09de2bb3925e7ac661b7a5995bfd5d1ddefc84df0cb118d5221ab33250b5d50c5835b96847edf28bb6b737f6217976cdf6940575b2 SHA512 5ded379491dd1e652326b839451b8ac20ff56bd170eaa25b1c28a7f2bdb0a6666c2d5579f5ce83ba75eeb86afb0d3eb518889956eb18815370cda278ca31d8dd DIST virtualenv-21.9.0.tar.gz 5372770 BLAKE2B 9b66b0014cd4ff703afa51e4d29e445bfbd6852a0e1a17e57fa5aeda9d8ed0d2a77b69d8d6b68ffe6869f4be9f79bc3d66e46a754b743d4f73629684c16293f4 SHA512 06987247ae5443b3a71ff791c4ab45279fe8272915b13a079f47fdc0989dd836d417c9114866ca74e0fef5048914a88357e2d1a1f16ba79cb37f9b1fe1b2d605 DIST virtualenv-21.9.0.tar.gz.provenance 9655 BLAKE2B 8e028acc247f2dc64533a5f2c41e95159fdd23c3196ed6052bd1d790a864fed0be60b55965721550ce698d6747387cf4676b2eed05de621bc6081a8e8e8ffb22 SHA512 829b817597f570b8c2056c041ea75658ec9426cfb4f9cee506c08ea77e03284f0227b58671f02b08536d4d2a3cb0c0098d9772f80bfab5bd3de008ae88764b67 +DIST virtualenv-21.9.1.tar.gz 5377036 BLAKE2B 0a999811ddae201ad8771b80b5e623251374c9f4b07920ca945416b94bb08ea9e871cd18d6b55a0d9e20e9f33c082f8c7b4a1becd1013f44f6cf0ab5810be832 SHA512 c5dafb7924148520dbce3566933567b77c226c84d844b9c12eba686b68df3535e8e19fb1dd5c6f41226990be59170a1b13bbec7e68798a3e348f4a25e6973d7e +DIST virtualenv-21.9.1.tar.gz.provenance 9463 BLAKE2B 967c0bb73084ec4886ab717694e83d22f102c4766a8380636f0b7d4ec89293538334637b821974ce1ac6812da2c0c1b28589bc12203898be22f3458387404cd4 SHA512 7500be94d999e6dc14815d4ef0267218c95340ab956d9318f2a8604d019450cd062c554359acba5d069c084d2d477395e2142d7949b179be7d05a66e5d2a2c70 diff --git a/dev-python/virtualenv/virtualenv-21.9.1.ebuild b/dev-python/virtualenv/virtualenv-21.9.1.ebuild new file mode 100644 index 0000000000000..d21aead50f923 --- /dev/null +++ b/dev-python/virtualenv/virtualenv-21.9.1.ebuild @@ -0,0 +1,118 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/pypa/virtualenv +PYTHON_TESTED=( python3_{12..15} ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_{14..15}t ) + +inherit distutils-r1 pypi + +DESCRIPTION="Virtual Python Environment builder" +HOMEPAGE=" + https://virtualenv.pypa.io/en/stable/ + https://pypi.org/project/virtualenv/ + https://github.com/pypa/virtualenv/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/distlib-0.3.7[${PYTHON_USEDEP}] + >=dev-python/filelock-3.24.2[${PYTHON_USEDEP}] + >=dev-python/platformdirs-3.9.1[${PYTHON_USEDEP}] + >=dev-python/python-discovery-1.6[${PYTHON_USEDEP}] + + dev-python/ensurepip-pip + >=dev-python/ensurepip-setuptools-70.1 + dev-python/ensurepip-wheel +" +# coverage is used somehow magically in virtualenv, maybe it actually +# tests something useful +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + $(python_gen_cond_dep ' + dev-python/coverage[${PYTHON_USEDEP}] + >=dev-python/hatchling-1.27[${PYTHON_USEDEP}] + >=dev-python/pip-22.2.1[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + >=dev-python/setuptools-67.8[${PYTHON_USEDEP}] + dev-python/time-machine[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + >=dev-python/packaging-20.0[${PYTHON_USEDEP}] + ' "${PYTHON_TESTED[@]}") + ) +" + +src_prepare() { + local PATCHES=( + # use wheels from ensurepip bundle + "${FILESDIR}/${PN}-21.5.1-ensurepip.patch" + ) + + distutils-r1_src_prepare + + # workaround test failures due to warnings from setuptools-scm, sigh + echo '[tool.setuptools_scm]' >> pyproject.toml || die + + # remove useless pins + sed -i -e 's:,<[=0-9.]*::' pyproject.toml || die + + # remove bundled wheels + rm src/virtualenv/seed/wheels/embed/*.whl || die +} + +python_test() { + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + einfo "Skipping testing on ${EPYTHON}" + return + fi + + local EPYTEST_DESELECT=( + tests/unit/seed/embed/test_bootstrap_link_via_app_data.py::test_seed_link_via_app_data + # tests for old wheels with py3.7 support + tests/unit/seed/embed/test_pip_invoke.py::test_base_bootstrap_via_pip_invoke + tests/unit/seed/wheels/test_wheels_util.py::test_wheel_not_support + # broken by different wheel versions in ensurepip + tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_latest_string + tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_exact + tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_latest_none + tests/unit/seed/wheels/test_acquire.py::test_download_wheel_bad_output + tests/unit/seed/wheels/test_wheels_util.py::test_embed_wheel_below_oldest_supported_is_missing + # hangs on a busy system, sigh + tests/unit/test_util.py::test_reentrant_file_lock_is_thread_safe + # TODO + tests/unit/create/via_global_ref/test_build_c_ext.py::test_can_build_c_extensions + # random resource leaks or xdist + tests/unit/test_file_limit.py::test_too_many_open_files + # Internet + tests/unit/create/test_creator.py::test_create_distutils_cfg + # we do not use bundled wheels + tests/unit/seed/wheels/test_bundle.py::test_every_wheel_on_disk_has_sha256 + ) + + local -x TZ=UTC + local EPYTEST_PLUGINS=( pytest-{mock,rerunfailures} time-machine ) + local EPYTEST_RERUNS=5 + local EPYTEST_TIMEOUT=180 + local EPYTEST_XDIST=1 + epytest -o addopts= +} + +src_install() { + distutils-r1_src_install + + # remove bundled wheels, we're using ensurepip bundle instead + find "${ED}" -name '*.whl' -delete || die +} diff --git a/dev-python/watchfiles/Manifest b/dev-python/watchfiles/Manifest index f93a44eaa74d1..39249ea2bde66 100644 --- a/dev-python/watchfiles/Manifest +++ b/dev-python/watchfiles/Manifest @@ -21,10 +21,15 @@ DIST once_cell-1.21.3.crate 34534 BLAKE2B 3578aaef305cad2fdffdc40c392775a3540bfa DIST portable-atomic-1.6.0.crate 140689 BLAKE2B c91d06e04a87c9a207233d8a850859aa1f5cc43dda8aed34511c3fe9641c27412796539ed045a58e649d2a0c7d71100b6b2d78a0c662fc061fd961a652ae8722 SHA512 b27cf57655a2f1e2d6ea7b45d80b4f9920a836e462f132c50dc1e4d314e162444309de1baecf45dad2defc7a5b99759165e54da9fe759b24092f8cb8755c515c DIST proc-macro2-1.0.81.crate 48233 BLAKE2B 94319064772c757b6bf57eb9e759e827454f719d82210271ebab9c6ee4ecfddc9099522cdc8595123efe2efb64fd50eadd7e31419c5842ff1cb8fdd32e8daa0c SHA512 7edec4b786d9fe076ced4fa5c0d369c163fd1c27c895431245a8268ab2e16665b7c0a585552d46ceee6b8103979a4201f92abb381f0e678128abed359f514de7 DIST pyo3-0.28.3.crate 1204476 BLAKE2B 8540a1c51bac4fbe04ea34d5ce38471c13d5a3f0759e60cf21d67e846b00feb8316e70f32cb8dc6b74d09f0901ffc83d5f41b1a06da6d34790ef13e4cefcad45 SHA512 f955957eec4b95cc9337d331bba3bba52b4754b301cf86cd974601e64eb20c2424023b19be89a224661fe2e185de646cd3d0d00705b6b5cbd139856c9443a247 +DIST pyo3-0.29.0.crate 1241253 BLAKE2B 29deb7fa70010bf3d7e9e93bbcd87c0b56c4ee7ef0c2e5956181d2fb5f06f4c9b3f28bd1ad280126c26c048808b91b847e1fb69ddd617ef9e9e5e004cf4e48ae SHA512 e6822400de53ebcef4a14c899dc065abae621a126483873139f5eb850877c94f4bccee3a183d4e2a69eadcd3c3b82b0a6f3e1053d926b103be572329607f2f67 DIST pyo3-build-config-0.28.3.crate 35961 BLAKE2B 61a0101913c6d563721049ca99256c2aefd89b017a7e18c82f4a6aceca0aefeaa71fd559cd43adfb5034ce076c904e5188f8f73961ea217287fbfd12caab9401 SHA512 78f85696901b16540d42187d10e888bd929b9f23415faeb73f9798abda1af3506a308145dd4113b070521271c72624d7930fb4b19bad25aa1afd3082030c9126 +DIST pyo3-build-config-0.29.0.crate 39616 BLAKE2B 7b62a5976b890db84e5256f3136185c2a9c3b7110782b5b0cdc314a5231fde30a853ddcd17af63b53488b3e8d5e310b01002b6f3c32cfeb1e5c3e168cd6460d7 SHA512 df77e8d7d5fe173749437ff6b90fa1703083377d515ab8a85dc77d9cac9c3fc331ede4b040f7e3694311ddb5adff577cf90c181a27c196ab93a4569e918fdea8 DIST pyo3-ffi-0.28.3.crate 80881 BLAKE2B 4ac7066c911e2aec18aa9245efed00585d063f81d69910e6a146f8efbf2939ab5de519bbf2a3dde78b40c264e97c62490db80e9b2e84aaf080d63659a6676459 SHA512 ec49b5cc67d19f46c9daea76b37b4988af0f63b9ed67c71190f015a0aa9691d4a8ffd4128413de430928428e1e8e26d44c3103f561e6b71b7e8c4597ab602d9f +DIST pyo3-ffi-0.29.0.crate 88184 BLAKE2B 5891af92a3bcba764c4701dcc0a99edbced010a5ac46df3217d004f5c3a368f18331733c6723bd49e522c6f7105455df13e2be0f07695ed5ce6ae71c15dec438 SHA512 baaf01d13ddc09316ba16b22e9ca15a67e5bda5b861ed7961c3393fd4692fc1c96952f81465d1dcb6531b9083f96c5630981b3d7802cb1ac2af67aafaffbec76 DIST pyo3-macros-0.28.3.crate 8963 BLAKE2B ca9967cfba565b873ed77565ff6eb8408473c227d191797e9db8c6b5cbc89abc17ffd57ae71e28877088fe19373da2f503cdefeae6b0a47796f6abcf62044f08 SHA512 57d178bd9b53dd98916e60c89bc26c34f9949829dc17bf7d6cc15b704bba7c874d85d6bd3c827d401268660a79230a6e32711048da939ec4e22342f3e08046d1 +DIST pyo3-macros-0.29.0.crate 8915 BLAKE2B c12d23753d5aba7333183d4b41f16c8da1d4297a3ff86b3b150e9185c1978fc184ac198e566a41833292a8a78ab59446eafd5ef7169e5cb41493e7cbeaa68280 SHA512 fb6633ac76229d2e0ad88d51136a9318f03823b27c700a62cfbc957b4c834985e2f4c0cdaf5ea5e9993ec9e8ce3d63cd6b3fb823f2a042e65186adbed78da7c2 DIST pyo3-macros-backend-0.28.3.crate 88063 BLAKE2B a484b12bbab3031838f61149ab9f08b9e460a2bd02089e08e58dac2cb747afbc0cdfe64018ed4c8cb0bbbd1d22e3eb05a6a72b020da6b71a584ec51ca8d24292 SHA512 45ce31ed64ee4fd0249736d480c9840a756bc45934d6803ae11e0680057ecf4cc74c71b47ccf9241fc3ab5c1e0b9c758426f08bd523d1ace92fc308302ea3c84 +DIST pyo3-macros-backend-0.29.0.crate 91943 BLAKE2B 7c2977dd9c80f3dd1f5375b0c65492b46048ca02e6355ad746bc8430cf92eaf25c701f416469eb69724fde5220651b1095c09eb9e3ff860176f862d7c7287407 SHA512 13a7af3958c09969637827d97ab9bbc664c407dda9e4283afaf495757798cf6f84932468bc092160fa75211ce0aafe6efc657f3a390234d77a67362cfb31fe0f DIST python3-dll-a-0.2.14.crate 103489 BLAKE2B a2868aa62d9b5f33ba0ab3be85f486e7b0594b8e535749e251ae9c829eabf9f0211f928c729b0f5b847a89be978c4b5648d333ac657a82acaa3c39520dfe0b8c SHA512 fde53bac2b7009d409d5dfab991b431aea7c16c5e0227a7bb143e73a043cd0490cec2647f73cfc34f73a192e9b365a70fd5b42d969beb2e3251dff44230a2040 DIST quote-1.0.45.crate 31564 BLAKE2B 1b2c2c3e6ebabfe10affa4c43ca0bfd1f52d8fd49e1df463e13e63a82de41272089c8e09e4c02e8a33cfee768ace26d4d42a50752de8fb5a776c59806139ad5d SHA512 df96ede01ebd0ed642b758bf1d0862d0e116fc2b3343e14edb657ce5438ccabe743dec4a0a40de4dee98c134d169af9aba459faadf9c7a832b26377e755d49b0 DIST redox_syscall-0.5.3.crate 23830 BLAKE2B 0a38235ec277144f0c3e7bcb1d273c7f357d85aef33dbd06328ef16bab7df0a07b523431590899ea58d55e8e1d84c32392478530200cca3a9483e8a47b29e233 SHA512 777d1208004b7756887d6c5745ea408972670e59430e1d299d01a463ae41b98e0920ee77aefef8755fc949d4799dca679afaaae9c1a7d060f76f69af5b90427e @@ -35,6 +40,7 @@ DIST unicode-ident-1.0.12.crate 42168 BLAKE2B 4cede03c08758ccd6bf53a0d0057d7542d DIST walkdir-2.5.0.crate 23951 BLAKE2B a2d3a973f206e94699adec0263dd5e211347722cf3ab82536295019268b3125084da5dbcad818070bfdcb6a5de08da4eb483475bc225a829f58a1e3e040b5fba SHA512 da36a121dc6656942dc9cd9887fcf4f6eea7750354ef3f59c7c25d836e7afe06f33260b4d55d0d99421104ed4ce56ef2a1f0f4c3b713766fff90548c21793fad DIST wasi-0.11.0+wasi-snapshot-preview1.crate 28131 BLAKE2B fe501889f25d65e2d032f885cc50c4f8bf7dd70fd5cbc438de349838370d8699e9627b0a4fc76030ea9fe6d508f41d0c9928a875fdbc47e73bfb17241cf7b155 SHA512 043500ab28cd9cb779475255da5d109ebab7fccca72b64873dc28d77bc5a157ba8d96b9e8f05223b5b36c7089bb7b4ba87657fc69bac16b78972f897294a865f DIST watchfiles-1.2.0.gh.tar.gz 121369 BLAKE2B 5e1de15036e911588293024dcc6c95e752517e23f0023537841074e4eeb9a937c037d5187788c0c9de30350c6a70b324f452b81d11b9a0bab5d875e527aac8b7 SHA512 e558ea345f898a9611af1d4c7eef0a62c5250cc899d6debaef3940c9b81ef5076b866018abb7838892cddfb9b3ffe615e57ac8107ae164f4e7430dfebebede70 +DIST watchfiles-1.3.0.gh.tar.gz 121180 BLAKE2B da045a16e9eaae01ec4a87d584e8a4546caa307c89a5255fd47c5a08c3bac348a7ad9b8362a15e8ebacd2f6bb0b88dfba77aac71e08b8bc26736d55a94e495b3 SHA512 caeee01a638c7665490726cdca4c016d37a8d0406678285161ae9b572864deda46bbd4e8ce175a7e92ea8dae10cbf8c02db0a2d69fb5d70fb91a27b66e37f95b DIST winapi-util-0.1.9.crate 12464 BLAKE2B 7fb9dd803fc2608c4e5bc75674472992d82da364f24c22072d5624d6ae6abc44abd3e3ea3c45a7558e045331f3d87572b306b4ab5de52c07ff3706e7f13c2a38 SHA512 c46b893f67ec6e36499b00736bb6b9421e0e2611e76784afa6da01d7ebd033df82f1be7cf8d871d541125d290983f98f26f759488ba9aface49efce8edd682e9 DIST windows-sys-0.52.0.crate 2576877 BLAKE2B 69d6b560ccfc8f679e2678663ba606060d71fa28efa82c8aef8cceaa2c63b06f2052764d60163964f939649a26bbec6361ee4b094555e941fae92070db566980 SHA512 24ee0df246c2b456a4987a9124786a28acd358768cc7d1305bccd81bc5bb8822b81a03fb18d35174a520b911c6d9b685f81a34ab319fee13da3b985273584f03 DIST windows-sys-0.59.0.crate 2387323 BLAKE2B 3110c8cd2bc005f8c95cd038a8d574af648dc19788fe4485f977376f92e36b911b1a542d669a07ae9cd4ea72a884ab01ec78b8a2b5587456eb202452d1d8fa0d SHA512 d35e009e979633a1f3c8468cd038bd5c8c0381405165ce03497decd7d9edaaac485d704487e4a61d9aaf4e4d011b4248408912df6a0044d50e8457259867e061 diff --git a/dev-python/watchfiles/watchfiles-1.3.0.ebuild b/dev-python/watchfiles/watchfiles-1.3.0.ebuild new file mode 100644 index 0000000000000..fdf2f79a86807 --- /dev/null +++ b/dev-python/watchfiles/watchfiles-1.3.0.ebuild @@ -0,0 +1,106 @@ +# Copyright 2022-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +PYTHON_COMPAT=( python3_{12..15} ) + +RUST_MIN_VER="1.83.0" +CRATES=" + bitflags@1.3.2 + bitflags@2.7.0 + cfg-if@1.0.0 + crossbeam-channel@0.5.15 + crossbeam-utils@0.8.19 + filetime@0.2.24 + fsevent-sys@4.1.0 + heck@0.5.0 + inotify-sys@0.1.5 + inotify@0.11.0 + kqueue-sys@1.0.4 + kqueue@1.0.8 + libc@0.2.169 + libredox@0.1.3 + log@0.4.22 + mio@1.0.3 + notify-types@2.0.0 + notify@8.0.0 + once_cell@1.21.3 + portable-atomic@1.6.0 + proc-macro2@1.0.81 + pyo3-build-config@0.29.0 + pyo3-ffi@0.29.0 + pyo3-macros-backend@0.29.0 + pyo3-macros@0.29.0 + pyo3@0.29.0 + quote@1.0.45 + redox_syscall@0.5.3 + same-file@1.0.6 + syn@2.0.60 + target-lexicon@0.13.5 + unicode-ident@1.0.12 + walkdir@2.5.0 + wasi@0.11.0+wasi-snapshot-preview1 + winapi-util@0.1.9 + windows-sys@0.52.0 + windows-sys@0.59.0 + windows-targets@0.52.6 + windows_aarch64_gnullvm@0.52.6 + windows_aarch64_msvc@0.52.6 + windows_i686_gnu@0.52.6 + windows_i686_gnullvm@0.52.6 + windows_i686_msvc@0.52.6 + windows_x86_64_gnu@0.52.6 + windows_x86_64_gnullvm@0.52.6 + windows_x86_64_msvc@0.52.6 +" + +inherit cargo distutils-r1 + +DESCRIPTION="Simple, modern file watching and code reload in Python" +HOMEPAGE=" + https://pypi.org/project/watchfiles/ + https://github.com/samuelcolvin/watchfiles/ +" +SRC_URI=" + https://github.com/samuelcolvin/watchfiles/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" + Apache-2.0-with-LLVM-exceptions CC0-1.0 ISC MIT Unicode-DFS-2016 +" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/anyio-4.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-rust[${PYTHON_USEDEP}] + test? ( + dev-python/dirty-equals[${PYTHON_USEDEP}] + ) +" + +# enjoy Rust +QA_FLAGS_IGNORED=".*/_rust_notify.*" + +EPYTEST_PLUGINS=( anyio pytest-{mock,timeout} ) +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # test broken with new anyio + # https://github.com/samuelcolvin/watchfiles/issues/254 + tests/test_watch.py::test_awatch_interrupt_raise + ) + + rm -rf watchfiles || die + epytest +}