diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-03-21 06:26:17 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-03-21 06:26:17 +0000 |
| commit | 9ef350107ade9549fa98ab8608888ff1867c7c2d (patch) | |
| tree | 5232de037d71146b32d7ef16a95e77aea76b9583 /dev-python | |
| parent | 2e64b7772513a632bf820de4e789621358876770 (diff) | |
| download | baldeagleos-repo-9ef350107ade9549fa98ab8608888ff1867c7c2d.tar.gz baldeagleos-repo-9ef350107ade9549fa98ab8608888ff1867c7c2d.tar.xz baldeagleos-repo-9ef350107ade9549fa98ab8608888ff1867c7c2d.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
50 files changed, 1084 insertions, 445 deletions
diff --git a/dev-python/absl-py/Manifest b/dev-python/absl-py/Manifest index c1a3d2e808cb..ebe3c62b7ff1 100644 --- a/dev-python/absl-py/Manifest +++ b/dev-python/absl-py/Manifest @@ -1 +1,2 @@ DIST abseil-py-2.1.0.gh.tar.gz 235261 BLAKE2B 85232156e722cb874e29e1f92513b24836553476d5ff379e8df32d307ca21709b5869edd80a3bb7fe757ae585bb45df21c89ae6f2218147a5812f171d946e094 SHA512 298a876ed850085836cb1ff6fddf98aca6a3283780bece8c0a7d118fd4e16cc258e51f721e4a5fcbe62b23d2da05638475d426bb650b0694ff7c1d0119e3be97 +DIST abseil-py-2.2.0.gh.tar.gz 238608 BLAKE2B f8bc8e436064c687791d68d37137d10d18b2cfda055f8c814959e52883c10cf461c7220315a5f42b1e53a2a6c893e92498a57d92a3236abee7c18ea085f98c2f SHA512 91ead7f112ae8397f78a088c1784312e9784f5a46f52304607802a1bd485becc5144d6e437b9e2cf4112ac2194d7c0f91b811f329a38c2811971161b4bffbd30 diff --git a/dev-python/absl-py/absl-py-2.2.0.ebuild b/dev-python/absl-py/absl-py-2.2.0.ebuild new file mode 100644 index 000000000000..99475037af1a --- /dev/null +++ b/dev-python/absl-py/absl-py-2.2.0.ebuild @@ -0,0 +1,81 @@ +# 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 + +MY_P=abseil-py-${PV} +DESCRIPTION="Abseil Python Common Libraries" +HOMEPAGE=" + https://github.com/abseil/abseil-py/ + https://pypi.org/project/absl-py/ +" +SRC_URI=" + https://github.com/abseil/abseil-py/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] +" + +src_prepare() { + distutils-r1_src_prepare + + # what a nightmare... well, we could have called bazel but that would + # even worse + local helpers=( + absl/flags/tests/argparse_flags_test_helper.py:absl/flags/tests/argparse_flags_test_helper + absl/logging/tests/logging_functional_test_helper.py:absl/logging/tests/logging_functional_test_helper + absl/testing/tests/absltest_fail_fast_test_helper.py:absl/testing/tests/absltest_fail_fast_test_helper + absl/testing/tests/absltest_filtering_test_helper.py:absl/testing/tests/absltest_filtering_test_helper + absl/testing/tests/absltest_randomization_testcase.py:absl/testing/tests/absltest_randomization_testcase + absl/testing/tests/absltest_sharding_test_helper.py:absl/testing/tests/absltest_sharding_test_helper + absl/testing/tests/absltest_sharding_test_helper_no_tests.py:absl/testing/tests/absltest_sharding_test_helper_no_tests + absl/testing/tests/absltest_test_helper.py:absl/testing/tests/absltest_test_helper + absl/testing/tests/absltest_test_helper_skipped.py:absl/testing/tests/absltest_test_helper_skipped + absl/testing/tests/xml_reporter_helper_test.py:absl/testing/tests/xml_reporter_helper_test + absl/tests/app_test_helper.py:absl/tests/app_test_helper_pure_python + ) + + local x + for x in "${helpers[@]}"; do + local script=${x%:*} + local sym=${x#*:} + sed -i -e "1i#!/usr/bin/env python" "${script}" || die + chmod +x "${script}" || die + ln -s "${script##*/}" "${sym}" || die + done + + # i don't wanna know how these pass for upstream with wrong helper names + sed -e 's:\(app_test_helper\)\.py:\1_pure_python:' \ + -i absl/tests/app_test.py || die + sed -e 's:\(logging_functional_test_helper\)\.py:\1:' \ + -i absl/logging/tests/logging_functional_test.py || die +} + +python_test() { + local -x PYTHONPATH=. + local fails=0 + while read -r -d '' x; do + ebegin "${x}" + "${EPYTHON}" "${x}" + eend ${?} || : "$(( fails += 1 ))" + done < <(find -name '*_test.py' -print0) + + [[ ${fails} -ne 0 ]] && die "${fails} tests failed on ${EPYTHON}" + + # we actually need to clean this up manually before running the test + # suite again... + chmod -R u+rwX "${T}"/absl_testing || die + rm -rf "${T}"/absl_testing || die +} diff --git a/dev-python/aiohttp/aiohttp-3.11.13.ebuild b/dev-python/aiohttp/aiohttp-3.11.13.ebuild index d6a173a61329..4a78f29a07ab 100644 --- a/dev-python/aiohttp/aiohttp-3.11.13.ebuild +++ b/dev-python/aiohttp/aiohttp-3.11.13.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="+native-extensions test-rust" RDEPEND=" diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 8e6cf5dd9a8d..b92d0fc0bcea 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -2,5 +2,6 @@ DIST boto3-1.37.13.gh.tar.gz 913692 BLAKE2B cc8b3dbe1f30d5969b8d0abb64b0ff6b7b6c DIST boto3-1.37.14.gh.tar.gz 914511 BLAKE2B 0c175c4213ccb02e338fa42733032c6578983a313d3f1a6b0efdc90d1cd99b736af0a241959afe48ed16a4e16ca6202e2e4de4efe0a8b38b42a830f76001d794 SHA512 a238502382f19c697f6d6a1b8ea3293ead6232654a20a193fde6866a7a1915b3355bd0dec810eecad2b9023640623ae5ce1fdfa473743eeda89936eebd959ded DIST boto3-1.37.15.gh.tar.gz 914892 BLAKE2B 139f7b6b6f7d092113a0be77338c53ae955bccd29900ad630867788f935cdbb2a7212b03b322fb5c9366d6f68cab5ce0a7386685eb537e1655aecd4778fbbc7b SHA512 c5da973796066b56893f88a93867441e0186add4b86ec30791010c7e09deaeabb495bf40781cff847b818e31e801848233a422b3d2d0ad49dd6e51d2ebcdb05c DIST boto3-1.37.16.gh.tar.gz 915317 BLAKE2B 2404b868dea6b75a5036ab7852789c78fad85f929bc0aaafea74714c3f38eb934e0bfa5ac0928d206fc0975adc807b12ddb625883834532954b50721d683d4a9 SHA512 d571fa3264b2cdc3243da1fac271e1ff1c7d9b77aa2679f532b43277189db5be5cba322a8ceb003c587f05e786e59fd1ec0a05f0a717e3d705426012227eeebe +DIST boto3-1.37.17.gh.tar.gz 915751 BLAKE2B 5dff8697f4f96a329e17594e558ce5752070fba88d1b6093aac63a42854555e27280354b45562df766e0cac4ddd36435b6dbd575c982437bc4aa84a1314afc5d SHA512 2819c80154e525aedef9c1ae43c89e4c051861a6126c76e3bffe700564cf037f50cd535d1f28532744835fe9630ece80a280c20b29ea509d5059b425c596ec09 DIST boto3-1.37.4.gh.tar.gz 908620 BLAKE2B ed63365ccd6da9b97715e4110be2b562285a123139a90ddb10c1411d5bd5ba0de9c110177a31f03ecb7e257fd79a0de89a8be97493a83f3207050676f7022e04 SHA512 dbf40cb809ee1d3ef352b97f62c111d113293211226a63298979d8ea14833c83ac2e321714dac349bfe095f75120c2752d08a01c19e51d9b0fc947e27a910005 DIST boto3-1.37.9.gh.tar.gz 911836 BLAKE2B d190525b9c5e39b445042aba6d8e57da5e49165775901ceebe44b76fd2780ec85a2f5a8a08d3a9a5e451d42bbae19b679e565a7a9acc663258ea0b7909a9a798 SHA512 12cba48d5f2c158b372eaf4e44903e22ca963e5712c3c463fbfd20626a771efe30530852b6c9ab70132a26472ff1b4656095675a5de37524f6b489c25175f8fe diff --git a/dev-python/boto3/boto3-1.37.17.ebuild b/dev-python/boto3/boto3-1.37.17.ebuild new file mode 100644 index 000000000000..dfe05b3d9a81 --- /dev/null +++ b/dev-python/boto3/boto3-1.37.17.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_{9,10,11,12,13} ) + +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.11.0[${PYTHON_USEDEP}] +" + +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() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index e511f5441bce..f32b2744998a 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -2,5 +2,6 @@ DIST botocore-1.37.13.gh.tar.gz 14365580 BLAKE2B 5dac1351dde66b7a2591faedd6ff9f0 DIST botocore-1.37.14.gh.tar.gz 14368684 BLAKE2B 43d5adc8f5fa3647246a2bd581f3ac1f14f90f96e8ece75e678d2a468baaaa3e1045698a09b8c41a5134028a4b6cb59b5a6cbc394b928d9309269784a3f3b1f9 SHA512 1df5055f3bedcc7f7120f041b707eff5622071b3ba6aa6954c239ec1a6b8295014961e99d6ceb817b051d15144ef0064262d1c2dc1768e48273875993a5a2e8d DIST botocore-1.37.15.gh.tar.gz 14375061 BLAKE2B ed93870aece21913f88ff87cd29d3e51bc868eb5fb75d183ac54953f0a7d5af0e379fd3e0b014d860ca7655d5b489e244dd18203f6a80dbf87f034a50d4de141 SHA512 0f29b962b125796dda97721155914bc4f78da102587dac3e0a38990929a38b58502c39ae4559d8c6dfb59aa4a277441856442dfee909eb68b35265c20a6e9cbd DIST botocore-1.37.16.gh.tar.gz 14377645 BLAKE2B 40a38516282eacbc398527d7d76d4c13478263b1bf6336f4fe9a6e119c75f5615f2b40566686a84da326a85139d190b8628ef7b30f31e42b8b5a16d237315dbe SHA512 491e87293f9e98bf802982a268ec191d6ea74b861a96d38991605c3c48e93fabe2edffe84dfe75e681c307dec58fa36dbc7d1876c4091f8b3b8c8fa5499f63af +DIST botocore-1.37.17.gh.tar.gz 14383475 BLAKE2B a39ff8090f3f05ce7b10c31c4ebc9b34a4386ba2747fd77c60c7e6f32decbb02ad9165072ffe36300021db89fa82528a0b6c925de50f35c014a93f2030dc1e51 SHA512 5f562f67c4a3a69bb0c4a0bd61ca48e38f2f9fbc45e411f3925375c4a2928c19abe6bedfc04624d74948f4b07d084a974effe88eb7f88ac5a75972cdf04cdef5 DIST botocore-1.37.4.gh.tar.gz 14291786 BLAKE2B ab55a62f2291e623e61a0ec6712241815279ae6d8f25e678adbf6cf167265d216f44b0eae78f2b66a454253dc4ef977b90c38f1aa329c855b38fa844eaa478b7 SHA512 07921ca8d51ff2afd8a4dafa77b40b5c24afa0351d71dbf68cef716573ba1f695a331634734fb6d9822eee55c91829128dbf215920e3da92ea2b40b727d0a0f6 DIST botocore-1.37.9.gh.tar.gz 14346488 BLAKE2B 29ac550ad462ab7c83bad7989588ec62fb57959586a8ec91be9756d90712ad86e3dfd813a347e619b7cac3fd7afb56affcd81926e15d91b8d0ceae2cd4436a8d SHA512 e191c9485e95188049c02020fcb32c4429de6cfd78f237a2026200b7240890d5759f5cdd96166cd2aec035dac82d32db155fe00d9ec6be482c655cfdb44265f9 diff --git a/dev-python/botocore/botocore-1.37.17.ebuild b/dev-python/botocore/botocore-1.37.17.ebuild new file mode 100644 index 000000000000..df85ee0d220c --- /dev/null +++ b/dev-python/botocore/botocore-1.37.17.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_{9,10,11,12,13} ) + +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_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 + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index 3e8ef108edae..3b6c7e4777d3 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -4,3 +4,4 @@ DIST cfn_lint-1.29.1.tar.gz 2829516 BLAKE2B a624ed18ffe214dafccf807cd71de3ca5285 DIST cfn_lint-1.30.0.tar.gz 2832092 BLAKE2B 0d69bc3702447828c5a03662d00f62e1ee421a554354dc3e754ed509108d0f5ef031e4e256de51476bb4904bba34089ac263203bd688d3c27fff050655b5a35a SHA512 0a8819b5ca691a308622a1a394d19c633c06253f3b8a480a95c12dfcebb94220f0464f11e51ee9719f2d00d097520226d9c2ab6b8944ff0b00e117de21d458d9 DIST cfn_lint-1.31.1.tar.gz 2855924 BLAKE2B 753c23cb4f45e17e9a2f5215f819d63a0cf330d4677bf89adce9da3cf3eea0ecbc7c192520747b1ffdbd830891fb5a6ffbc181d1bc924fe4f105c597a96969e8 SHA512 cf75ef2b8b9e24be00aa334604e2dbbe312e6cd45a527ecd8a150c7bf93f477258c606f86f87c815901182b2b2921fa23d47e5bade368e8bc3099024dc0e1d0f DIST cfn_lint-1.31.3.tar.gz 2856311 BLAKE2B 46c7dee3b3a70f59675dd3879604a0860b99b193ce37e11b05f60bb08d1f3e97da7887b8d13be48d5721826ca46f5bdca61945b8d2fc6558d9290eec5257fa64 SHA512 4d63d3d529b292125be9b139ebc73ae75024e61afa0928afd6f73f573aaadd9cb1e359cf4bc61aa245c05de86406b9894bca1519b682248946eff0664bbefeba +DIST cfn_lint-1.32.0.tar.gz 2893829 BLAKE2B 0a52741f0148965ba421865790608d19db03b54512a780758f823a448cd8b7f096b3188232a47227446764fc3c42df4f907c7b3addae07f86c879d5878a76674 SHA512 c687b76cb5a0bfa03b42630e736e3e92748582a56983c5d8e5163656d8ee84474cb5b29482c0a7d76e95a75546ac4ca4520e98f52a5a5528c1b0b2b6ee62ae5b diff --git a/dev-python/cfn-lint/cfn-lint-1.32.0.ebuild b/dev-python/cfn-lint/cfn-lint-1.32.0.ebuild new file mode 100644 index 000000000000..55473d6d5896 --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-1.32.0.ebuild @@ -0,0 +1,70 @@ +# 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.95.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=" + test? ( + dev-python/defusedxml[${PYTHON_USEDEP}] + ) +" + +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=( + # TODO + test/unit/module/test_template.py::TestTemplate::test_build_graph + # requires git repo + test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs + # Internet + test/unit/module/formatters/test_formatters.py::TestFormatters::test_sarif_formatter + test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_3 + # TODO: it looks as if AWS_DEFAULT_REGION didn't work + test/unit/module/core/test_run_cli.py::TestCli::test_bad_config + test/unit/module/core/test_run_cli.py::TestCli::test_override_parameters + test/unit/module/core/test_run_cli.py::TestCli::test_positional_template_parameters + test/unit/module/core/test_run_cli.py::TestCli::test_template_config + # different graphviz version? + test/unit/module/template/test_template.py::TestTemplate::test_build_graph + ) + + # from tox.ini + local -x AWS_DEFAULT_REGION=us-east-1 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/django-debug-toolbar/Manifest b/dev-python/django-debug-toolbar/Manifest index 71b9fb9a481f..4692525249f2 100644 --- a/dev-python/django-debug-toolbar/Manifest +++ b/dev-python/django-debug-toolbar/Manifest @@ -1,2 +1 @@ -DIST django_debug_toolbar-4.4.6.tar.gz 272610 BLAKE2B bcba8f2dd1c44392a595c8c4a60f1ba40928747760ab49255ef1fefb0847ffc232a409b39d7819f59996b3c7f7a6557fb2b47365b9adcddfe743fcd6a943304e SHA512 ae009219b6eee2427ef6875438900e5d8878986264b6c0c91ddd1939385c7481914ad490050747f13385278d0ce3af225a8fb0282c71b3b8a685467dcc753d88 -DIST django_debug_toolbar-5.0.1.tar.gz 295982 BLAKE2B 27461e537ec6408e63b2c9f4d94dc5966014b37f707d2eeb604205f473ad5976e3a9635a76846e2dd5a84fff68231af5d27eca551d8f87cde7300f85428f5bd9 SHA512 6ab82bc504a18858d3deab96a78dfdfd0820bb653fa10c91c9dec503159b7659e4b775a7c4d5c54d3db299813269bbd874e3790f4a3f67232a56ed5187474ec8 +DIST django_debug_toolbar-5.1.0.tar.gz 294567 BLAKE2B e6c7d43fcca951c25f03f12328402a5b84fa1333fe74804cf27b6bd3e6ecfe3fc192186dcefc018830afc3fe58cdb2e3761ef750be7424823d82691869a6f487 SHA512 c421d070e2bbf2e30a34a88b23e21bc9c4d2c5304422aa9ce2243321f64972dbbfb5471603c74396c217de51a9b634668e2a3be02fb319f6bf866dbe69f34807 diff --git a/dev-python/django-debug-toolbar/django-debug-toolbar-4.4.6-r1.ebuild b/dev-python/django-debug-toolbar/django-debug-toolbar-4.4.6-r1.ebuild deleted file mode 100644 index d9a77e155264..000000000000 --- a/dev-python/django-debug-toolbar/django-debug-toolbar-4.4.6-r1.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 2023-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A configurable set of panels that display various debug information" -HOMEPAGE=" - https://github.com/jazzband/django-debug-toolbar/ - https://pypi.org/project/django-debug-toolbar/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/django-4.2.9[${PYTHON_USEDEP}] - elibc_musl? ( dev-python/tzdata ) -" - -BDEPEND=" - test? ( - dev-python/html5lib[${PYTHON_USEDEP}] - ) -" - -python_test() { - "${EPYTHON}" -m django test -v 2 --settings tests.settings tests \ - || die "Tests failed with ${EPYTHON}" -} diff --git a/dev-python/django-debug-toolbar/django-debug-toolbar-5.0.1.ebuild b/dev-python/django-debug-toolbar/django-debug-toolbar-5.1.0.ebuild index e6a59a9c9ca7..e6a59a9c9ca7 100644 --- a/dev-python/django-debug-toolbar/django-debug-toolbar-5.0.1.ebuild +++ b/dev-python/django-debug-toolbar/django-debug-toolbar-5.1.0.ebuild diff --git a/dev-python/ensurepip-setuptools/Manifest b/dev-python/ensurepip-setuptools/Manifest index 606ce237ee80..39bad7286eb7 100644 --- a/dev-python/ensurepip-setuptools/Manifest +++ b/dev-python/ensurepip-setuptools/Manifest @@ -2,3 +2,4 @@ DIST setuptools-75.8.2-py3-none-any.whl 1229385 BLAKE2B e2890604e9acbf23aefc94ee DIST setuptools-76.0.0-py3-none-any.whl 1236106 BLAKE2B 783411ca7c3ee2f2aaaba2d40abb010f7014eb640e6ebee125e0d80afd863634eb01a10343c086b46a7b928db14d5edc6270c92129d2b20bbf0ce36229de932a SHA512 6b2af35acbd3c73f19a5eac91cc13329ef6b0c9b9dbad18fdcfabb0625215a661d320d164a08018a08a3578c5bc3aedfd9ed9ecdaaf62ef08e30fcae34a3eefb DIST setuptools-76.1.0-py3-none-any.whl 1236933 BLAKE2B c8e1d368f50aea8ed819d6c828505bbbecfd1d2f320c108df3910f8f49133aa12cbafbed5e626572232812671650cb4398a6771a21ed37d7d1ea882e87a08dbc SHA512 44330c0b2bf22a6cdc9b3cf087fbd7695a5e15a4e0e013c88252258fabb69ed89d9550b35b407f01711c66b45a964f687ce7c8f373ed0860e93842e70aa9e55b DIST setuptools-77.0.1-py3-none-any.whl 1254282 BLAKE2B 8034051467ae46c6c81c7dbdb071c0e3e87e21114e3c20e57db9d5e42838e94e07cd13c3829b586a8d3eb1836365757d00f6e95af822eabb805a38b7b9109d1d SHA512 a880771b05095c6bf0d4e522d4403de0dde7027241d0fe58e6c2487f3a779ef85a3c3aa1ac2f4c4f3c4979028335daf8bf16d0ad995b0da744097cd415b285ec +DIST setuptools-77.0.3-py3-none-any.whl 1255678 BLAKE2B 99712b0ac22d493f32132879129b2c06439c6967cfb02f63bcb05b09e2dd73c2243a2b8d51bcc67ab34b8ce2c4921fae40479ef3db68406635ccf328aa4745c6 SHA512 95c1081eda9e1110bd9c0262ec892f984734ae3bbd5830aabb0062938be34f3a44a57f731fc5c3878307bde7926cb089d5174e22c0670bb7bed66f34635b5d79 diff --git a/dev-python/ensurepip-setuptools/ensurepip-setuptools-77.0.3.ebuild b/dev-python/ensurepip-setuptools/ensurepip-setuptools-77.0.3.ebuild new file mode 100644 index 000000000000..b76c3f6972d8 --- /dev/null +++ b/dev-python/ensurepip-setuptools/ensurepip-setuptools-77.0.3.ebuild @@ -0,0 +1,20 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit pypi + +DESCRIPTION="Shared setuptools wheel for ensurepip Python module" +HOMEPAGE="https://pypi.org/project/setuptools/" +SRC_URI="$(pypi_wheel_url "${PN#ensurepip-}")" +S=${DISTDIR} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +src_install() { + insinto /usr/lib/python/ensurepip + doins "${A}" +} diff --git a/dev-python/griffe/Manifest b/dev-python/griffe/Manifest index ec77cedf25c9..0aa73c43cc0e 100644 --- a/dev-python/griffe/Manifest +++ b/dev-python/griffe/Manifest @@ -1,2 +1 @@ -DIST griffe-1.6.0.gh.tar.gz 393773 BLAKE2B 62f1ed8109353013e2ef10bf32359dc66c467641b62ff0ecceb49718cafc773c5aab2cc151797e023dbff96f476e8b67d3bd7f5b664e3f5d6ea96f20e1744b60 SHA512 8ce0565ba8c43afb262d7e65b2eab369b10a57d4855a226a83ffea60bd83d7f624d5f15876c51dd20861ba5d652c012245bd55dd87dd0beeda75305f26f330bf -DIST griffe-1.6.1.gh.tar.gz 394343 BLAKE2B 0ec76016c2701e08e4f0f8061e31aad830fb209f37c2a175d17bd28ecb533f60e59196ebd5c3c60869ac7fdf6579ee10cc66a7adeddd51da10a95e5aceded856 SHA512 eb62f6e77937dc8dd740cd0d77b7f0157a5be310d5813c9f3e26787bb8d1776a5318e0e8d917693b9bb3a42c0ea8715367752328b1c9306e594b1f6ba535d8d0 +DIST griffe-1.6.2.gh.tar.gz 394448 BLAKE2B 4a3b6d8bb2443fd9a03589167eb6fd1db7ecb0a52b8e3fa3003aebaddfbf402a65cc3111a1b975606da1984044029a46df7c9eb0105eea998534c5bb7fce3efb SHA512 a8afd98d309a2cdbb12e6e83e00fc0a151ab287a15b69a16c86ed16020f66c60e249a5860960365f6605c3a284b69b9b8aba56b53376d1a097ab61006ed1402e diff --git a/dev-python/griffe/griffe-1.6.1.ebuild b/dev-python/griffe/griffe-1.6.1.ebuild deleted file mode 100644 index 6f7090dd3f3d..000000000000 --- a/dev-python/griffe/griffe-1.6.1.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=pdm-backend -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Signature generator for Python programs" -HOMEPAGE=" - https://mkdocstrings.github.io/griffe/ - https://github.com/mkdocstrings/griffe/ - https://pypi.org/project/griffe/ -" -# Tests need files absent from the PyPI tarballs -SRC_URI=" - https://github.com/mkdocstrings/griffe/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="ISC" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv" - -RDEPEND=" - >=dev-python/colorama-0.4[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/backports-strenum-1.3[${PYTHON_USEDEP}] - ' 3.10) -" -BDEPEND=" - test? ( - >=dev-python/jsonschema-4.17[${PYTHON_USEDEP}] - >=dev-python/mkdocstrings-0.28.0[${PYTHON_USEDEP}] - >=dev-python/pytest-xdist-2.4[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -export PDM_BUILD_SCM_VERSION=${PV} - -python_test() { - local EPYTEST_DESELECT=( - # fragile to installed packages - # (failed on PySide2 for me) - tests/test_stdlib.py::test_fuzzing_on_stdlib - ) - - case ${EPYTHON} in - pypy3.11) - EPYTEST_DESELECT+=( - # https://github.com/pypy/pypy/issues/5226 - tests/test_inspector.py::test_inspecting_objects_from_private_builtin_stdlib_moduless - ) - ;& - pypy3*) - EPYTEST_DESELECT+=( - # tries importing CPython-specific modules - # https://github.com/mkdocstrings/griffe/issues/362 - tests/test_loader.py::test_load_builtin_modules - ) - ;; - esac - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/griffe/griffe-1.6.0.ebuild b/dev-python/griffe/griffe-1.6.2.ebuild index 6f7090dd3f3d..6f7090dd3f3d 100644 --- a/dev-python/griffe/griffe-1.6.0.ebuild +++ b/dev-python/griffe/griffe-1.6.2.ebuild diff --git a/dev-python/inline-snapshot/Manifest b/dev-python/inline-snapshot/Manifest index 95a95b1ebc84..f02deb071e33 100644 --- a/dev-python/inline-snapshot/Manifest +++ b/dev-python/inline-snapshot/Manifest @@ -1,3 +1,4 @@ DIST inline_snapshot-0.20.3.tar.gz 92067 BLAKE2B 594a6a5cda233f960492b5d076189111095a08b4653271713115b6a44cb84aa4a8f0d160ba1de60a0e6fa6f7b1dadcbef34d93d4c4b7e0ad6139552985637b9f SHA512 62484c27b0c08b10f2ce3648e975bab1b0563aa0bb1c471b7052cf94db266877ad21320f963003db9abdfc26a3987f0578052e129ef7448bdecbb3745247247e DIST inline_snapshot-0.20.5.tar.gz 92215 BLAKE2B a366a61f84d07481e1d9bf7033c691873d000f7e4dad100571481360134522db478453928fa9bce681f34d1951c75f9300bb61ce25bf950204fe168d6ed7a2fa SHA512 145dad40507ba7d457a74e63d920d2edcb24f4e7d263956912f5ec964210cae126f7e94771f1e64f5e47eca2e6124c6b87b36af5fb06d3e37242328be4daba8e DIST inline_snapshot-0.20.7.tar.gz 92643 BLAKE2B 1e41a6e5bee94c2d99a9f6ae4c8d3d7f89ac06b132c10e9419d566a8b502a72f4c3164e40aeafa3951cbf5418d256857ed60add6ca0f715e037b35d36ef6464e SHA512 fd21574a65ff0339315b2b64eda92b8233353c8d12f81c3df9802219435fe055e62cc33b88f590cf2cc73dcf4797b4b7294c8cd4d274d50b3229cd3c5b93d52f +DIST inline_snapshot-0.20.8.tar.gz 92748 BLAKE2B 6e06f799197f4a9801f248d407a1e02c10aab34a04ceac9523b3d702d28af28aa680ce20d0e2158a24c7cc6887ff5b8ee71772fe02f921ef3da15785390c009c SHA512 d54ee73679f72426c544f2980ce9ba59e8964e07600d00e87e1b003cfeec7f52256b6239ba0e586f6a5cadc4ad08c1e09a722cb099d3282c7466c467e97e8b59 diff --git a/dev-python/inline-snapshot/inline-snapshot-0.20.8.ebuild b/dev-python/inline-snapshot/inline-snapshot-0.20.8.ebuild new file mode 100644 index 000000000000..fb85b4885ecd --- /dev/null +++ b/dev-python/inline-snapshot/inline-snapshot-0.20.8.ebuild @@ -0,0 +1,62 @@ +# Copyright 2024-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="Create and update inline snapshots in your Python tests" +HOMEPAGE=" + https://15r10nk.github.io/inline-snapshot/ + https://github.com/15r10nk/inline-snapshot/ + https://pypi.org/project/inline-snapshot/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/asttokens-2.0.5[${PYTHON_USEDEP}] + >=dev-python/executing-2.2.0[${PYTHON_USEDEP}] + >=dev-python/rich-13.7.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-2.0.0[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + dev-python/attrs[${PYTHON_USEDEP}] + >=dev-python/black-23.3.0[${PYTHON_USEDEP}] + >=dev-python/dirty-equals-0.7.0[${PYTHON_USEDEP}] + >=dev-python/hypothesis-6.75.5[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/mypy[${PYTHON_USEDEP}] + ' 'python*') + >=dev-python/pydantic-2[${PYTHON_USEDEP}] + >=dev-python/pytest-freezer-0.4.8[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-3.14.0[${PYTHON_USEDEP}] + >=dev-python/pytest-subtests-0.11.0[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # requires pyright + 'tests/test_typing.py::test_typing[pyright]' + # TODO + tests/test_formating.py::test_format_command_fail + ) + + local -x COLUMNS=80 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=inline_snapshot.pytest_plugin,pytest_freezer,pytest_subtests.plugin,xdist.plugin + local -x PYTHONPATH=${S}/src + epytest -p pytest_mock +} diff --git a/dev-python/libtmux/libtmux-0.40.1.ebuild b/dev-python/libtmux/libtmux-0.40.1.ebuild index d07e51bfdffb..a0433529d015 100644 --- a/dev-python/libtmux/libtmux-0.40.1.ebuild +++ b/dev-python/libtmux/libtmux-0.40.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86" RDEPEND=" >=app-misc/tmux-3.0a diff --git a/dev-python/libtmux/libtmux-0.44.2.ebuild b/dev-python/libtmux/libtmux-0.44.2.ebuild index 857888d8e1e0..a0433529d015 100644 --- a/dev-python/libtmux/libtmux-0.44.2.ebuild +++ b/dev-python/libtmux/libtmux-0.44.2.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86" RDEPEND=" >=app-misc/tmux-3.0a diff --git a/dev-python/mkdocstrings-python/Manifest b/dev-python/mkdocstrings-python/Manifest index 62f7f3c222fb..6b8e5980cee7 100644 --- a/dev-python/mkdocstrings-python/Manifest +++ b/dev-python/mkdocstrings-python/Manifest @@ -1,2 +1 @@ -DIST mkdocstrings_python-1.16.5.tar.gz 426979 BLAKE2B b6c7185c4f5abae35d7feade0d3dd36cdc1eecc5ac631f2af354e57037507f3d291bc1ff0326b665058acc73f68834e853a2d07d831fb0c08bf262111659267e SHA512 07a4a0698769a4daa0cae4607cb98e7124013a8f7190390a16818c0e21de18d78e5dcac39206d2062160cad61310b77212fe279a5cffbfb2183d49d24c792d79 -DIST mkdocstrings_python-1.16.6.tar.gz 201565 BLAKE2B 0e555d5e85959cceab121e557c39bebb2b05f2ed5ff098f1fa3d8c1714b80d271be7e559c2b1124ac4fca1877cf0627f075da31af2406cf97340f5320ad4eb0d SHA512 8091d9ed36eba2b420092efff874d4904f3d655d6b5b86090b8a7a403f6287581e345a001e4f26d57d789740674299af7b4a5f19ebeaf7976620b3688404ecbd +DIST mkdocstrings_python-1.16.7.tar.gz 1475398 BLAKE2B cf51f5f97c2b132869d44bb74e22fbf2b4942156a8ed9469eaeeb4beb747af60cfa39dce5a5054737b16f2d65679f17771a29a65eb8b9d23530cea6a03275876 SHA512 d0a4332487c68ed14402397baf03499995dac4d8b74109105409a76034eb88467d94670e615a5846841b074c9ad7acfb1b9240159fc05ca04b9118b00313c506 diff --git a/dev-python/mkdocstrings-python/mkdocstrings-python-1.16.6.ebuild b/dev-python/mkdocstrings-python/mkdocstrings-python-1.16.6.ebuild deleted file mode 100644 index f1b21b66ce1a..000000000000 --- a/dev-python/mkdocstrings-python/mkdocstrings-python-1.16.6.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=pdm-backend -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python handler for dev-python/mkdocstrings" -HOMEPAGE=" - https://mkdocstrings.github.io/python/ - https://github.com/mkdocstrings/python/ - https://pypi.org/project/mkdocstrings-python/ -" - -LICENSE="ISC" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv" - -RDEPEND=" - >=dev-python/griffe-0.49[${PYTHON_USEDEP}] - >=dev-python/mkdocstrings-0.28.3[${PYTHON_USEDEP}] - >=dev-python/mkdocs-autorefs-1.4[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/typing-extensions-4.0[${PYTHON_USEDEP}] - ' 3.10) -" -BDEPEND=" - test? ( - >=dev-python/beautifulsoup4-4.12.3[${PYTHON_USEDEP}] - >=dev-python/inline-snapshot-0.18[${PYTHON_USEDEP}] - dev-python/mkdocs-material[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -export PDM_BUILD_SCM_VERSION=${PV} - -python_test() { - local EPYTEST_DESELECT=( - # "None" meaning particular formatter not installed - "tests/test_rendering.py::test_format_code[None-print('Hello')]" - "tests/test_rendering.py::test_format_code[None-aaaaa(bbbbb, ccccc=1) + ddddd.eeeee[ffff] or {ggggg: hhhhh, iiiii: jjjjj}]" - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p inline_snapshot -} diff --git a/dev-python/mkdocstrings-python/mkdocstrings-python-1.16.5.ebuild b/dev-python/mkdocstrings-python/mkdocstrings-python-1.16.7.ebuild index f1b21b66ce1a..f1b21b66ce1a 100644 --- a/dev-python/mkdocstrings-python/mkdocstrings-python-1.16.5.ebuild +++ b/dev-python/mkdocstrings-python/mkdocstrings-python-1.16.7.ebuild diff --git a/dev-python/openapi-core/Manifest b/dev-python/openapi-core/Manifest index 8ac6b9e372a1..9969042829d8 100644 --- a/dev-python/openapi-core/Manifest +++ b/dev-python/openapi-core/Manifest @@ -1 +1,2 @@ DIST openapi_core-0.19.4.tar.gz 109095 BLAKE2B 85cb1733beeb5d18251a071c6123e5f395242a5d124a0fc40caec9090f98485ed1dfca4ccc76c2457b9a9d39bb07920770d7d0bc978f815af95f235d7a17de7d SHA512 b21223e6fcea7deb95863335abc7b5079dace585d6418514df9d9e947ac7e7e9d88fc618aeeca3008551838c6fc018f03469722a3b325ad8b0766c422954b4a5 +DIST openapi_core-0.19.5.tar.gz 103264 BLAKE2B 46d2c47819056f82d4ed74c43455e107d14d181627d5bb11d34c10a3921dd287297ba27632122dc656884039a0c61381ececb6d085bf990ea73cc898326c0318 SHA512 6b41e686682f5265d8268e1c6789393f8539754b827b69fab2c78e83c07637f4f243ce6d06ec5ab3f1870ae7944dfc72b5e678fb959fefd06770107abe66cad9 diff --git a/dev-python/openapi-core/openapi-core-0.19.5.ebuild b/dev-python/openapi-core/openapi-core-0.19.5.ebuild new file mode 100644 index 000000000000..8458461a121c --- /dev/null +++ b/dev-python/openapi-core/openapi-core-0.19.5.ebuild @@ -0,0 +1,71 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Client-side and server-side support for the OpenAPI Specification v3" +HOMEPAGE=" + https://github.com/python-openapi/openapi-core/ + https://pypi.org/project/openapi-core/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" + +RDEPEND=" + <dev-python/asgiref-4[${PYTHON_USEDEP}] + >=dev-python/asgiref-3.6.0[${PYTHON_USEDEP}] + dev-python/isodate[${PYTHON_USEDEP}] + <dev-python/jsonschema-5[${PYTHON_USEDEP}] + >=dev-python/jsonschema-4.17.3[${PYTHON_USEDEP}] + <dev-python/jsonschema-path-0.4[${PYTHON_USEDEP}] + >=dev-python/jsonschema-path-0.3.1[${PYTHON_USEDEP}] + dev-python/more-itertools[${PYTHON_USEDEP}] + dev-python/parse[${PYTHON_USEDEP}] + <dev-python/openapi-schema-validator-0.7[${PYTHON_USEDEP}] + >=dev-python/openapi-schema-validator-0.6.0[${PYTHON_USEDEP}] + <dev-python/openapi-spec-validator-0.8[${PYTHON_USEDEP}] + >=dev-python/openapi-spec-validator-0.7.1[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + >=dev-python/aiohttp-3.8.4[${PYTHON_USEDEP}] + >=dev-python/aioitertools-0.11.0[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + >=dev-python/httpx-0.24.0[${PYTHON_USEDEP}] + >=dev-python/pytest-aiohttp-1.0.4[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + >=dev-python/starlette-0.26.1[${PYTHON_USEDEP}] + dev-python/strict-rfc3339[${PYTHON_USEDEP}] + dev-python/webob[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # missing dependendencies + tests/integration/contrib/falcon + tests/integration/contrib/fastapi + + # TODO: these tests fail to collect + tests/integration/validation/test_security_override.py + tests/integration/validation/test_read_only_write_only.py + + # unhappy about modern django + tests/integration/contrib/django/test_django_project.py + tests/unit/contrib/django/test_django.py +) + +src_prepare() { + sed -i -e '/--cov/d' pyproject.toml || die + distutils-r1_src_prepare +} diff --git a/dev-python/opentelemetry-api/Manifest b/dev-python/opentelemetry-api/Manifest index e9d988b09d7e..3a5aa50f3f1f 100644 --- a/dev-python/opentelemetry-api/Manifest +++ b/dev-python/opentelemetry-api/Manifest @@ -1,2 +1,3 @@ DIST opentelemetry-python-1.30.0.gh.tar.gz 1189401 BLAKE2B 10a52a24625ee80f0b68e7fad05f770098be75c21ccf0230a786a1ffc4b3fb23daf251dc129bab840d22ff2ac9a6bab1c84e55c644abcd1b475dc7a5872447a5 SHA512 cd74100aa60639b3722f2747bd19dae42bffbfca4007837a6cf8db61a408c59601064c9718782b9f6ebeee7a30a454e03a09950b2b00845d642f6452a894674b DIST opentelemetry-python-1.31.0.gh.tar.gz 1224355 BLAKE2B 050149fa7c0c445556d184f921209b59b6e4e5aea225bbb315b781b0f4a95892385aeaae6f385f1fee8ef412981ce92b17e65d4dcd863622c22d027705a23890 SHA512 d69d9c8f6fee0e39c37e92fbf1df14e903b8165e07933fd6d2a70d510b373f8ca70f9b69a12ac6d8863013e87ac2753d07aebb336bec49d1c7a555dc62c15129 +DIST opentelemetry-python-1.31.1.gh.tar.gz 1224970 BLAKE2B de3c81075fdfa3c005db7ab5ba2ba150983b205b6324ff99129389b65f8bdf8e90fe4cd3c11ff73f0782845aeef70a80cc9627c485cb9b5ba84133d2fc5110dd SHA512 de26d96cf08b306b0f2cee860393a3baa333d2266b3a386d2c9947f6b1dc90d8fd1b36f229c0c92b240819fd71ebdac126a5c371f7d6c249fa2e791ecf5174aa diff --git a/dev-python/opentelemetry-api/opentelemetry-api-1.31.1.ebuild b/dev-python/opentelemetry-api/opentelemetry-api-1.31.1.ebuild new file mode 100644 index 000000000000..0d91042ac109 --- /dev/null +++ b/dev-python/opentelemetry-api/opentelemetry-api-1.31.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 2024-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} ) + +inherit distutils-r1 + +MY_P="opentelemetry-python-${PV}" +DESCRIPTION="OpenTelemetry Python API" +HOMEPAGE=" + https://opentelemetry.io/ + https://pypi.org/project/opentelemetry-api/ + https://github.com/open-telemetry/opentelemetry-python/ +" +SRC_URI=" + https://github.com/open-telemetry/opentelemetry-python/archive/refs/tags/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}/${PN}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/deprecated-1.2.6[${PYTHON_USEDEP}] + dev-python/importlib-metadata[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/typing-extensions[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + default + + # Unnecessary restriction + sed -i -e '/importlib-metadata/s:, <= [0-9.]*::' pyproject.toml || die +} + +python_test() { + cp -a "${BUILD_DIR}"/{install,test} || die + local -x PATH=${BUILD_DIR}/test/usr/bin:${PATH} + + for dep in opentelemetry-semantic-conventions opentelemetry-sdk \ + tests/opentelemetry-test-utils + do + pushd "${WORKDIR}/${MY_P}/${dep}" >/dev/null || die + distutils_pep517_install "${BUILD_DIR}"/test + popd >/dev/null || die + done + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/opentelemetry-sdk/Manifest b/dev-python/opentelemetry-sdk/Manifest index e9d988b09d7e..3a5aa50f3f1f 100644 --- a/dev-python/opentelemetry-sdk/Manifest +++ b/dev-python/opentelemetry-sdk/Manifest @@ -1,2 +1,3 @@ DIST opentelemetry-python-1.30.0.gh.tar.gz 1189401 BLAKE2B 10a52a24625ee80f0b68e7fad05f770098be75c21ccf0230a786a1ffc4b3fb23daf251dc129bab840d22ff2ac9a6bab1c84e55c644abcd1b475dc7a5872447a5 SHA512 cd74100aa60639b3722f2747bd19dae42bffbfca4007837a6cf8db61a408c59601064c9718782b9f6ebeee7a30a454e03a09950b2b00845d642f6452a894674b DIST opentelemetry-python-1.31.0.gh.tar.gz 1224355 BLAKE2B 050149fa7c0c445556d184f921209b59b6e4e5aea225bbb315b781b0f4a95892385aeaae6f385f1fee8ef412981ce92b17e65d4dcd863622c22d027705a23890 SHA512 d69d9c8f6fee0e39c37e92fbf1df14e903b8165e07933fd6d2a70d510b373f8ca70f9b69a12ac6d8863013e87ac2753d07aebb336bec49d1c7a555dc62c15129 +DIST opentelemetry-python-1.31.1.gh.tar.gz 1224970 BLAKE2B de3c81075fdfa3c005db7ab5ba2ba150983b205b6324ff99129389b65f8bdf8e90fe4cd3c11ff73f0782845aeef70a80cc9627c485cb9b5ba84133d2fc5110dd SHA512 de26d96cf08b306b0f2cee860393a3baa333d2266b3a386d2c9947f6b1dc90d8fd1b36f229c0c92b240819fd71ebdac126a5c371f7d6c249fa2e791ecf5174aa diff --git a/dev-python/opentelemetry-sdk/opentelemetry-sdk-1.31.1.ebuild b/dev-python/opentelemetry-sdk/opentelemetry-sdk-1.31.1.ebuild new file mode 100644 index 000000000000..0a63f8565793 --- /dev/null +++ b/dev-python/opentelemetry-sdk/opentelemetry-sdk-1.31.1.ebuild @@ -0,0 +1,62 @@ +# Copyright 2024-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} ) + +inherit distutils-r1 + +MY_P="opentelemetry-python-${PV}" +DESCRIPTION="OpenTelemetry Python SDK" +HOMEPAGE=" + https://opentelemetry.io/ + https://pypi.org/project/opentelemetry-sdk/ + https://github.com/open-telemetry/opentelemetry-python/ +" +SRC_URI=" + https://github.com/open-telemetry/opentelemetry-python/archive/refs/tags/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" + +S="${WORKDIR}/${MY_P}/${PN}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + ~dev-python/opentelemetry-api-${PV}[${PYTHON_USEDEP}] + ~dev-python/opentelemetry-semantic-conventions-${PV}[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-3.7.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/flaky[${PYTHON_USEDEP}] + ) +" + +# Tests cannot handle xdist with high makeopts +# https://bugs.gentoo.org/928132 +distutils_enable_tests pytest + +python_test() { + cp -a "${BUILD_DIR}"/{install,test} || die + local -x PATH=${BUILD_DIR}/test/usr/bin:${PATH} + + for dep in tests/opentelemetry-test-utils; do + pushd "${WORKDIR}/${MY_P}/${dep}" >/dev/null || die + distutils_pep517_install "${BUILD_DIR}"/test + popd >/dev/null || die + done + + local EPYTEST_DESELECT=( + # TODO + "${PN}"/tests/resources/test_resources.py::TestOTELResourceDetector::test_process_detector + "${PN}"/tests/metrics/integration_test/test_console_exporter.py::TestConsoleExporter::test_console_exporter_with_exemplars + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests +} diff --git a/dev-python/opentelemetry-semantic-conventions/Manifest b/dev-python/opentelemetry-semantic-conventions/Manifest index e9d988b09d7e..3a5aa50f3f1f 100644 --- a/dev-python/opentelemetry-semantic-conventions/Manifest +++ b/dev-python/opentelemetry-semantic-conventions/Manifest @@ -1,2 +1,3 @@ DIST opentelemetry-python-1.30.0.gh.tar.gz 1189401 BLAKE2B 10a52a24625ee80f0b68e7fad05f770098be75c21ccf0230a786a1ffc4b3fb23daf251dc129bab840d22ff2ac9a6bab1c84e55c644abcd1b475dc7a5872447a5 SHA512 cd74100aa60639b3722f2747bd19dae42bffbfca4007837a6cf8db61a408c59601064c9718782b9f6ebeee7a30a454e03a09950b2b00845d642f6452a894674b DIST opentelemetry-python-1.31.0.gh.tar.gz 1224355 BLAKE2B 050149fa7c0c445556d184f921209b59b6e4e5aea225bbb315b781b0f4a95892385aeaae6f385f1fee8ef412981ce92b17e65d4dcd863622c22d027705a23890 SHA512 d69d9c8f6fee0e39c37e92fbf1df14e903b8165e07933fd6d2a70d510b373f8ca70f9b69a12ac6d8863013e87ac2753d07aebb336bec49d1c7a555dc62c15129 +DIST opentelemetry-python-1.31.1.gh.tar.gz 1224970 BLAKE2B de3c81075fdfa3c005db7ab5ba2ba150983b205b6324ff99129389b65f8bdf8e90fe4cd3c11ff73f0782845aeef70a80cc9627c485cb9b5ba84133d2fc5110dd SHA512 de26d96cf08b306b0f2cee860393a3baa333d2266b3a386d2c9947f6b1dc90d8fd1b36f229c0c92b240819fd71ebdac126a5c371f7d6c249fa2e791ecf5174aa diff --git a/dev-python/opentelemetry-semantic-conventions/opentelemetry-semantic-conventions-1.31.1.ebuild b/dev-python/opentelemetry-semantic-conventions/opentelemetry-semantic-conventions-1.31.1.ebuild new file mode 100644 index 000000000000..4fcd38d97ec6 --- /dev/null +++ b/dev-python/opentelemetry-semantic-conventions/opentelemetry-semantic-conventions-1.31.1.ebuild @@ -0,0 +1,52 @@ +# Copyright 2024-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} ) + +inherit distutils-r1 pypi + +MY_P="opentelemetry-python-${PV}" +DESCRIPTION="OpenTelemetry Semantic Conventions" +HOMEPAGE=" + https://opentelemetry.io/ + https://pypi.org/project/opentelemetry-sdk/ + https://github.com/open-telemetry/opentelemetry-python/ +" +SRC_URI=" + https://github.com/open-telemetry/opentelemetry-python/archive/refs/tags/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}/${PN}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/deprecated-1.2.6[${PYTHON_USEDEP}] + ~dev-python/opentelemetry-api-${PV}[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/typing-extensions[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + cp -a "${BUILD_DIR}"/{install,test} || die + local -x PATH=${BUILD_DIR}/test/usr/bin:${PATH} + + for dep in opentelemetry-sdk tests/opentelemetry-test-utils; do + pushd "${WORKDIR}/${MY_P}/${dep}" >/dev/null || die + distutils_pep517_install "${BUILD_DIR}"/test + popd >/dev/null || die + done + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/psycopg/Manifest b/dev-python/psycopg/Manifest index 058e645d3657..c8c6326073b9 100644 --- a/dev-python/psycopg/Manifest +++ b/dev-python/psycopg/Manifest @@ -1,5 +1,3 @@ -DIST psycopg-3.2.3.gh.tar.gz 550802 BLAKE2B 1f748fc2dc915fd82b2bc557ae4263ecf1070d5ba08681cb6ae21570acf601b03a2bde7e4324cd506e0146c86db976b003c57e99cd1948a930c074f0674d6ba8 SHA512 cf543652cfd27cf1cad3b1e3b8b50802562cc49f8fbd9ae5bd85ffdf26e30dc470f1f3380261c8cad418945ade8dc4f199ebcba08968cb87fd0b6c241fd8040d -DIST psycopg-3.2.4.gh.tar.gz 555758 BLAKE2B 1b74f8a6ee91266fb6c6a13ee51fd7d18514b4ce662f911f83baba652bb9198cae21636f6f1dad6eae916cc2c22f2322629dea346e61ce94a1d94a80c8e8b5be SHA512 026f4a74011c37e594903931da629fa0150834db0916bc02a45aa31eb79fbbcd9a0b6b59809d4db389e298101646409097d99c4950981ddb43413a7488e4f1ff DIST psycopg-3.2.5.gh.tar.gz 558069 BLAKE2B 1913db4e399d9e44e392019471d3b7a5fbbff1da67a87961b084ca2fa34ddf2af3c862093077bfe04503d16187abff4ab62e33b1a3505b7a8cafa836bcf33ba3 SHA512 f4c62e462f6fba04f7b07bf500cbf5ee3e0ffa570c682f507aae0fc5ee88a1eec3f98da05c9a2c957d018f12f53a9567565f8b81914eb36ca92992fa2ccd8156 DIST psycopg-3.2.6.gh.tar.gz 558574 BLAKE2B a994f6fb3ee85c42371b848d0947858897a9a1f7256486aa964c8c7634b198b9229a53626c526cb85218a8468308dd9e7e605c1fc1058a08c7fb7183aed83b8d SHA512 99472813c9b6542611b15f0dd52d418a7e3f01cf0447a9a58c1d4135249fb526ca25f7569cc5d7d8a2a99184dccca52f485ee9cc9514e6ada1ebd526f8d62305 DIST psycopg2-2.9.10.tar.gz 385672 BLAKE2B 4a3ad64f406c427b785ffeb85f6520aa67ed04de2d1749eb22d8275146b71ba451f7c04c9ead401d6f7a273781492cd6a5a36beba68b36b1e5203ee75f7df503 SHA512 d0916f6a645b5e87f89f2463dc22fad78340a85fbff320d099bf429a42557f40d3a4eebdc670768469aef1e9fcee60123767bfe49e1186e8574f95bfd6f46900 diff --git a/dev-python/psycopg/psycopg-3.2.3.ebuild b/dev-python/psycopg/psycopg-3.2.3.ebuild deleted file mode 100644 index 9df400be1f30..000000000000 --- a/dev-python/psycopg/psycopg-3.2.3.ebuild +++ /dev/null @@ -1,119 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 flag-o-matic - -DESCRIPTION="PostgreSQL database adapter for Python" -HOMEPAGE=" - https://www.psycopg.org/psycopg3/ - https://github.com/psycopg/psycopg/ - https://pypi.org/project/psycopg/ -" -SRC_URI=" - https://github.com/psycopg/psycopg/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="LGPL-3+" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -IUSE="+native-extensions" - -DEPEND=" - native-extensions? ( - >=dev-db/postgresql-8.1:= - ) - !native-extensions? ( - >=dev-db/postgresql-8.1:* - ) -" -RDEPEND=" - ${DEPEND} - >=dev-python/typing-extensions-4.4[${PYTHON_USEDEP}] -" -BDEPEND=" - native-extensions? ( - dev-python/cython[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/tomli[${PYTHON_USEDEP}] - ' 3.10) - ) - test? ( - >=dev-db/postgresql-8.1[server] - >=dev-python/anyio-4.0[${PYTHON_USEDEP}] - >=dev-python/dnspython-2.1[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_compile() { - # -Werror=strict-aliasing - # https://bugs.gentoo.org/935401 - # https://github.com/psycopg/psycopg/issues/867 - # - # Do not trust with LTO either. - append-flags -fno-strict-aliasing - filter-lto - - # Python code + ctypes backend - cd psycopg || die - distutils-r1_python_compile - - # optional C backend - if use native-extensions && [[ ${EPYTHON} != pypy3 ]]; then - local DISTUTILS_USE_PEP517=standalone - cd ../psycopg_c || die - distutils-r1_python_compile - fi - cd .. || die -} - -src_test() { - rm -r psycopg{,_c} || die - - initdb -D "${T}"/pgsql || die - # TODO: random port - pg_ctl -w -D "${T}"/pgsql start \ - -o "-h '' -k '${T}'" || die - createdb -h "${T}" test || die - - local -x PSYCOPG_TEST_DSN="host=${T} dbname=test" - distutils-r1_src_test - - pg_ctl -w -D "${T}"/pgsql stop || die -} - -python_test() { - local EPYTEST_DESELECT=( - # tests for the psycopg_pool package - tests/pool - # some broken mypy magic - tests/test_module.py::test_version - tests/test_module.py::test_version_c - tests/test_typing.py - tests/crdb/test_typing.py - # TODO, relying on undefined ordering in Python? - tests/test_dns_srv.py::test_srv - ) - - local impls=( python ) - if use native-extensions && [[ ${EPYTHON} != pypy3 ]]; then - impls+=( c ) - fi - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PSYCOPG_IMPL - for PSYCOPG_IMPL in "${impls[@]}"; do - einfo "Testing with ${PSYCOPG_IMPL} implementation ..." - # leak and timing tests are fragile whereas slow tests are slow - epytest -p anyio -k "not leak" \ - -m "not timing and not slow and not flakey" - done -} diff --git a/dev-python/psycopg/psycopg-3.2.4.ebuild b/dev-python/psycopg/psycopg-3.2.4.ebuild deleted file mode 100644 index 24cf3e2969b7..000000000000 --- a/dev-python/psycopg/psycopg-3.2.4.ebuild +++ /dev/null @@ -1,111 +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 ) - -inherit distutils-r1 - -DESCRIPTION="PostgreSQL database adapter for Python" -HOMEPAGE=" - https://www.psycopg.org/psycopg3/ - https://github.com/psycopg/psycopg/ - https://pypi.org/project/psycopg/ -" -SRC_URI=" - https://github.com/psycopg/psycopg/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="LGPL-3+" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -IUSE="+native-extensions" - -DEPEND=" - native-extensions? ( - >=dev-db/postgresql-8.1:= - ) - !native-extensions? ( - >=dev-db/postgresql-8.1:* - ) -" -RDEPEND=" - ${DEPEND} - >=dev-python/typing-extensions-4.4[${PYTHON_USEDEP}] -" -BDEPEND=" - native-extensions? ( - dev-python/cython[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/tomli[${PYTHON_USEDEP}] - ' 3.10) - ) - test? ( - >=dev-db/postgresql-8.1[server] - >=dev-python/anyio-4.0[${PYTHON_USEDEP}] - >=dev-python/dnspython-2.1[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_compile() { - # Python code + ctypes backend - cd psycopg || die - distutils-r1_python_compile - - # optional C backend - if use native-extensions && [[ ${EPYTHON} != pypy3 ]]; then - local DISTUTILS_USE_PEP517=standalone - cd ../psycopg_c || die - distutils-r1_python_compile - fi - cd .. || die -} - -src_test() { - rm -r psycopg{,_c} || die - - initdb -D "${T}"/pgsql || die - # TODO: random port - pg_ctl -w -D "${T}"/pgsql start \ - -o "-h '' -k '${T}'" || die - createdb -h "${T}" test || die - - local -x PSYCOPG_TEST_DSN="host=${T} dbname=test" - distutils-r1_src_test - - pg_ctl -w -D "${T}"/pgsql stop || die -} - -python_test() { - local EPYTEST_DESELECT=( - # tests for the psycopg_pool package - tests/pool - # some broken mypy magic - tests/test_module.py::test_version - tests/test_module.py::test_version_c - tests/test_typing.py - tests/crdb/test_typing.py - # TODO, relying on undefined ordering in Python? - tests/test_dns_srv.py::test_srv - ) - - local impls=( python ) - if use native-extensions && [[ ${EPYTHON} != pypy3 ]]; then - impls+=( c ) - fi - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PSYCOPG_IMPL - for PSYCOPG_IMPL in "${impls[@]}"; do - einfo "Testing with ${PSYCOPG_IMPL} implementation ..." - # leak and timing tests are fragile whereas slow tests are slow - epytest -p anyio -k "not leak" \ - -m "not timing and not slow and not flakey" - done -} diff --git a/dev-python/psycopg/psycopg-3.2.5.ebuild b/dev-python/psycopg/psycopg-3.2.5.ebuild index f76f9e159ad6..fab26bb17659 100644 --- a/dev-python/psycopg/psycopg-3.2.5.ebuild +++ b/dev-python/psycopg/psycopg-3.2.5.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="LGPL-3+" SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" IUSE="+native-extensions" DEPEND=" diff --git a/dev-python/pylint/Manifest b/dev-python/pylint/Manifest index 5cbde6cbce7d..d4071cc8e3fb 100644 --- a/dev-python/pylint/Manifest +++ b/dev-python/pylint/Manifest @@ -1,2 +1,3 @@ DIST pylint-3.3.4.gh.tar.gz 1455691 BLAKE2B 294cedc1d0ff5cf907ed847958d3067d526d7709df0ca9db2885fbd292b73d08d6b36708b1309a995790045d1eb5c55fe6d73f2bedaa6698d7fbd131dd010479 SHA512 cd99d69e3689986177320369a0b738054f92b194ff4a3f469d006de92181db1c88a068a9955dafc4df297256740f212f608b6c4bb050d25d0dbeb4c6d5466d44 DIST pylint-3.3.5.gh.tar.gz 1456364 BLAKE2B 79b25a97f388b280d8656338ce4108add79cc2ba28f81354439049526191e9660a8557c3c1a7edd4b04cc4aa0aca943ec37d9fe567a8a620359246fd9bd0f76d SHA512 c4e65ae4301c5cce575f8f9d1e71515cd71d0329de9ed80501d1635783dcc79d99b488cc8e396c3f25b5e54cd0e84b5ed7c689142662c29ef3d64b2942146f83 +DIST pylint-3.3.6.gh.tar.gz 1456483 BLAKE2B 2ae9a4d90897085628e699cc7033e9aee9fe0d8158b30c84ad0fe0997af3341837b292329028cabfcb3da189f311729a97302e95556849eed59abc40b8193412 SHA512 f8059ce5c37bfa49e291a26018a6cbe3ec1256f582e77596f251bffdbcdd2b82b989939f3796c29df75e86872fc7aa0d592dede0fb3ce8360e192bf201265f20 diff --git a/dev-python/pylint/pylint-3.3.6.ebuild b/dev-python/pylint/pylint-3.3.6.ebuild new file mode 100644 index 000000000000..d5f9bf84abe2 --- /dev/null +++ b/dev-python/pylint/pylint-3.3.6.ebuild @@ -0,0 +1,92 @@ +# 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 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +MY_P=${P/_beta/b} +DESCRIPTION="Python code static checker" +HOMEPAGE=" + https://pypi.org/project/pylint/ + https://github.com/pylint-dev/pylint/ +" +SRC_URI=" + https://github.com/pylint-dev/pylint/archive/v${PV/_beta/b}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="examples" + +RDEPEND=" + <dev-python/astroid-3.4[${PYTHON_USEDEP}] + >=dev-python/astroid-3.3.8[${PYTHON_USEDEP}] + >=dev-python/dill-0.3.7[${PYTHON_USEDEP}] + >=dev-python/isort-4.2.5[${PYTHON_USEDEP}] + <dev-python/isort-7[${PYTHON_USEDEP}] + >=dev-python/mccabe-0.6[${PYTHON_USEDEP}] + <dev-python/mccabe-0.8[${PYTHON_USEDEP}] + >=dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}] + >=dev-python/tomlkit-0.10.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-1.1.0[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + $(python_gen_cond_dep ' + >=dev-python/gitpython-3[${PYTHON_USEDEP}] + ' 'python*' ) + >=dev-python/pytest-8.3[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.12[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # TODO + 'tests/test_functional.py::test_functional[dataclass_with_field]' + 'tests/test_functional.py::test_functional[no_name_in_module]' + 'tests/test_functional.py::test_functional[shadowed_import]' + 'tests/test_functional.py::test_functional[use_yield_from]' + 'tests/test_functional.py::test_functional[wrong_import_order]' + ) + local EPYTEST_IGNORE=( + # No need to run the benchmarks + tests/benchmark/test_baseline_benchmarks.py + ) + + if ! has_version "dev-python/gitpython[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + tests/profile/test_profile_against_externals.py + tests/testutils/_primer/test_package_to_lint.py + tests/testutils/_primer/test_primer.py + ) + fi + + rm -rf pylint || die + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p timeout +} + +python_install_all() { + if use examples ; then + docompress -x "/usr/share/doc/${PF}/examples" + docinto examples + dodoc -r examples/. + fi + + distutils-r1_python_install_all +} diff --git a/dev-python/pyzotero/Manifest b/dev-python/pyzotero/Manifest index 13ed9ee54a85..e5b2bf45b1f3 100644 --- a/dev-python/pyzotero/Manifest +++ b/dev-python/pyzotero/Manifest @@ -1,3 +1,2 @@ DIST pyzotero-1.6.10.tar.gz 552327 BLAKE2B a716c476f5e2f6f5505e32c2b7837b2e5cb70dac480a3f012999eaa9302e608e3745b7ad9fcb88dfd0f39863949062fd05baf0ca01919e6f85c20fdfa2267258 SHA512 e0f550eff328b8d99a10c5caf6f2d79e1842313f9deaa87ab0b9caeafd10e82d4c48537213a55a4178191783131a202a12f00198a76e222cd4ca5ed1830e92a1 -DIST pyzotero-1.6.8.tar.gz 543598 BLAKE2B 86a4d770c16eabb07959cd9653980e12628d3dbf78ceebd724f83b1f54489b6c800a1fd65f2711c2d1e344ebd1bb2ac61e8d7dbe1091eca30ec3672df82409fd SHA512 34dd7a9f6bf8ed5ec2ee7ca4a9c533efbc20454439da4a9e59b3ab793f26074cb683fd0bebf66f819aa5c03e2dbdfabb3043ab3772beb35264ce9640a6e8752d -DIST pyzotero-1.6.9.tar.gz 552275 BLAKE2B 6f27ac6be25147e88d0fd3e8f3825185c348ebf17e8402ffcce7195ff336dd068d1d5f165c00c96968eaee0e0e05c77f4bcf2e567e18db162e67b634501c1726 SHA512 3d333442716b47771526fc1916ec8aa78cdbd6ddbfb4728712ff68c11b22028a2ff901fd74dace97d951972d6d4d8a7142e9756c0c6df2ac50e5558b5c5f8c95 +DIST pyzotero-1.6.11.tar.gz 552337 BLAKE2B 64487fb2316e3e20ec962218972ea77de922df4421c85dd9f910e10aba77154c5dbba1cdb47acf9b8707b21b4bd682a3133e9f13fb052f5c9b0f33ec4c73f480 SHA512 b90b67467ea80a6825857fd5ce159e6de495b554b4fe83800c2c5814e91b85803e107647da36fcd70660e0b6b409c348e3958a45890d127b53d90146826b5755 diff --git a/dev-python/pyzotero/pyzotero-1.6.9.ebuild b/dev-python/pyzotero/pyzotero-1.6.11.ebuild index 2cf81fc7bd4f..2cf81fc7bd4f 100644 --- a/dev-python/pyzotero/pyzotero-1.6.9.ebuild +++ b/dev-python/pyzotero/pyzotero-1.6.11.ebuild diff --git a/dev-python/pyzotero/pyzotero-1.6.8.ebuild b/dev-python/pyzotero/pyzotero-1.6.8.ebuild deleted file mode 100644 index e9e124d52906..000000000000 --- a/dev-python/pyzotero/pyzotero-1.6.8.ebuild +++ /dev/null @@ -1,41 +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 diff --git a/dev-python/setuptools/Manifest b/dev-python/setuptools/Manifest index 0a166809e166..e7fea19e75f7 100644 --- a/dev-python/setuptools/Manifest +++ b/dev-python/setuptools/Manifest @@ -2,3 +2,4 @@ DIST setuptools-75.8.2.tar.gz 1344083 BLAKE2B 7d4dff2c0948bb411ef5f70e5f5f91bc0e DIST setuptools-76.0.0.tar.gz 1349387 BLAKE2B 4293d1b0719c70c17bde8b6091f394420a300175b787f0a1aa5a42cc81b4dfad186f1d0927b32124f37f78a730a049e16cfd87dbc71fa1ed5c1bb632634ece84 SHA512 8272f0f2823d8f093d24eeb12270f978dab52d1a609c08275248024decf2b47bc5b1ce352f22ea198bd93eb3375c829757e573921721e05f5269651669df9b2e DIST setuptools-76.1.0.tar.gz 1350273 BLAKE2B ba4a2b83b793394fdddaa1ce817b8ea65db395d9f5ef5b2293f54b56d88570bc5db307d609c1f1531d720ece5333808a38fc1788832b2d5783ffd2b498a2b7ee SHA512 3e937bbf68c313ac8fe7dedbd3f644598dca623d564a943edc53fddf6726c3d8dd1f6efcd5bc9350ee1c98e0d8005c9854eefc162baefb1aaabd7d8cff9893d9 DIST setuptools-77.0.1.tar.gz 1366225 BLAKE2B 7c49143cabfd4d8fc0ca668e10e4b23e8c44de529f6f9a00166cd3f8a95a1a2c566bd7024c3327cabbac736e64c80b5fe701e3bc28a0b2463baa1c6051c64704 SHA512 3481e4e76f539a53f93ff5b1650bfc24f164b0331edd27680399b473c5b4c8409e5ea5dc3aaa1db1924dff64c4e8dba2a4ef385a5e207ef9f624c881139445e3 +DIST setuptools-77.0.3.tar.gz 1367236 BLAKE2B aa3ee044d2ed312520fe560efd74a593d7ff81390c7656e049227b497638bec8f7fdf5de6d25c2f98999503de42b593dc4e853a13943797112848467e3b82e27 SHA512 3b8ff731b4c42c3a4d0a8b785822f6f112ebce950874e7adb3a86aedc27bf53a88d931146313f5f05c131be383a8b2c06fb0c1bf542ca7eb209e68d110b4f958 diff --git a/dev-python/setuptools/setuptools-77.0.3.ebuild b/dev-python/setuptools/setuptools-77.0.3.ebuild new file mode 100644 index 000000000000..822ccb8b69c8 --- /dev/null +++ b/dev-python/setuptools/setuptools-77.0.3.ebuild @@ -0,0 +1,135 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +# please bump dev-python/ensurepip-setuptools along with this package! + +DISTUTILS_USE_PEP517=standalone +PYTHON_TESTED=( python3_{9,10,11,12,13} pypy3 ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="Collection of extensions to Distutils" +HOMEPAGE=" + https://github.com/pypa/setuptools/ + https://pypi.org/project/setuptools/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + !<dev-python/setuptools-rust-1.8.0 + dev-python/jaraco-collections[${PYTHON_USEDEP}] + >=dev-python/jaraco-functools-4[${PYTHON_USEDEP}] + >=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}] + >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}] + >=dev-python/packaging-24.2[${PYTHON_USEDEP}] + >=dev-python/platformdirs-4.2.2[${PYTHON_USEDEP}] + >=dev-python/wheel-0.44.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] + ' 3.10) + !<=dev-libs/gobject-introspection-1.76.1-r0 + !=dev-libs/gobject-introspection-1.78.1-r0 + !=dev-libs/gobject-introspection-1.80.1-r1 +" +BDEPEND=" + ${RDEPEND} + test? ( + $(python_gen_cond_dep ' + >=dev-python/build-1.0.3[${PYTHON_USEDEP}] + >=dev-python/ini2toml-0.14[${PYTHON_USEDEP}] + >=dev-python/filelock-3.4.0[${PYTHON_USEDEP}] + >=dev-python/jaraco-envs-2.2[${PYTHON_USEDEP}] + >=dev-python/jaraco-path-3.7.2[${PYTHON_USEDEP}] + >=dev-python/jaraco-test-5.5[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + dev-python/pip-run[${PYTHON_USEDEP}] + dev-python/pyproject-hooks[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + >=dev-python/pytest-home-0.5[${PYTHON_USEDEP}] + dev-python/pytest-subprocess[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}] + >=dev-python/virtualenv-20[${PYTHON_USEDEP}] + ' "${PYTHON_TESTED[@]}") + ) +" +# setuptools-scm is here because installing plugins apparently breaks stuff at +# runtime, so let's pull it early. See bug #663324. +# +# trove-classifiers are optionally used in validation, if they are +# installed. Since we really oughtn't block them, let's always enforce +# the newest version for the time being to avoid errors. +# https://github.com/pypa/setuptools/issues/4459 +PDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + >=dev-python/trove-classifiers-2024.10.16[${PYTHON_USEDEP}] +" + +src_prepare() { + local PATCHES=( + # TODO: remove this when we're 100% PEP517 mode + "${FILESDIR}/setuptools-62.4.0-py-compile.patch" + # https://github.com/abravalheri/validate-pyproject/pull/221 + "${FILESDIR}/setuptools-75.6.0-disable-trove-classifiers.patch" + ) + + distutils-r1_src_prepare + + # breaks tests + sed -i -e '/--import-mode/d' pytest.ini || die + + # remove bundled dependencies + rm -r */_vendor || die +} + +python_test() { + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + return + fi + + local EPYTEST_DESELECT=( + # network + setuptools/tests/test_build_meta.py::test_legacy_editable_install + setuptools/tests/test_distutils_adoption.py + setuptools/tests/test_editable_install.py + setuptools/tests/test_virtualenv.py::test_no_missing_dependencies + setuptools/tests/test_virtualenv.py::test_test_command_install_requirements + # TODO + setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_basic + setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_ignore_errors + # expects bundled deps in virtualenv + setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_in_sdist + setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_not_in_wheel + # fails if python-xlib is installed + setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts + # TODO, probably some random package + setuptools/tests/config/test_setupcfg.py::TestOptions::test_cmdclass + # broken by unbundling + setuptools/tests/test_setuptools.py::test_wheel_includes_vendored_metadata + # fails on normalized metadata, perhaps different dep version? + setuptools/tests/test_build_meta.py::TestBuildMetaBackend::test_build_with_pyproject_config + # TODO + setuptools/tests/test_sdist.py::test_sanity_check_setuptools_own_sdist + # relies on -Werror + setuptools/_static.py::setuptools._static.Dict + setuptools/_static.py::setuptools._static.List + # TODO + setuptools/dist.py::setuptools.dist.Distribution._find_pattern + ) + + local EPYTEST_XDIST=1 + local -x PRE_BUILT_SETUPTOOLS_WHEEL=${DISTUTILS_WHEEL_PATH} + epytest -o tmp_path_retention_policy=all \ + -m "not uses_network" setuptools +} diff --git a/dev-python/types-gdb/Manifest b/dev-python/types-gdb/Manifest index b11d69c72c36..2f75e5a6914a 100644 --- a/dev-python/types-gdb/Manifest +++ b/dev-python/types-gdb/Manifest @@ -1,3 +1,4 @@ DIST types_gdb-15.0.0.20241204.tar.gz 19947 BLAKE2B e4b9e90f49dd2100f95be6d8cf323869581e46054b3130c1b4465b66cb7e58380de37af40751d06a581a5690aa96c11a0e4b7187c7bda5b9acb823c5572f2525 SHA512 f7acc0bad022244d95a45a6bbf428e893f7cd8e5e88ea34459bb209a7e36c6a34bac78a5824d9df39a0f6f8e0360285e478ed3d3c894bffa76d52c9bbc3b2b56 DIST types_gdb-15.0.0.20250306.tar.gz 20140 BLAKE2B e2cd08a1696c8bff596aec8d1aa12a4edbeb14b7ba26790fc9b4d913804c882ecf5a364ff2b66e4e31f5a4146493e6b9cf452436c0de495f90b9ffec096729b9 SHA512 f68a4249ac63a1e5658c8d4c88ed74af13465cf3772163b96609520f0424b8b4603df14f299d7241601e1b266b80b3012ebb78c7e05e1daedbe1abba0fcfec1f DIST types_gdb-15.0.0.20250308.tar.gz 20122 BLAKE2B d13a87811b924514c63497e1b39888040af7daebed05dc38adf8b13da814b230bc00f709a52bc489e3b197451db6dd5382981d2ad04532165a946b940cbeddbe SHA512 6b85dd612dc63786bddb60f6c6850d520a41227994691f600f54010b64b4bbab883526463578812a655fb7ad578d4ea707b361da634ae3caa0d6ccdd889eb068 +DIST types_gdb-15.0.0.20250321.tar.gz 20185 BLAKE2B 293b8cd01c5fbafd37555543fc633987d1af492247133740713a2a167c2c4e30c25d85890cbbc1baaf1777c527c08ee55bc807320fca5c3eb419877d983e5928 SHA512 3a29834510756d936728175d2f831ea86be11247e570af0fe372649e4921ddca635d707b48b881e24b728f29b9bced7c4dc7558d3e1e9f7fa8695581436cf524 diff --git a/dev-python/types-gdb/types-gdb-15.0.0.20250321.ebuild b/dev-python/types-gdb/types-gdb-15.0.0.20250321.ebuild new file mode 100644 index 000000000000..e4968cc85273 --- /dev/null +++ b/dev-python/types-gdb/types-gdb-15.0.0.20250321.ebuild @@ -0,0 +1,16 @@ +# Copyright 2022-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="Typing stubs for gdb" +HOMEPAGE="https://pypi.org/project/types-gdb/" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" diff --git a/dev-python/uv/Manifest b/dev-python/uv/Manifest index 6bef93c0dcfd..18d1142c7f18 100644 --- a/dev-python/uv/Manifest +++ b/dev-python/uv/Manifest @@ -11,3 +11,4 @@ DIST uv-0.6.7-crates.tar.xz 60339544 BLAKE2B 5bde165c809ee9a66c23a1811d461502021 DIST uv-0.6.7.gh.tar.gz 3791242 BLAKE2B ca24f6945d6a442c32a574b901cf47dac3ede08603255b62feded82d36179a578aada04fca402d7738d2b3b78adfe22e4d1dbded502cafb2c5d4eb0407a5b5d4 SHA512 992f8a64f3d0c8f57be6959f91242ce7420c6ee94839f067dc142f895fb2c0b9ab4161b6a51112241e30c8836eefb7e5bc747f867c28bf09b95e0aaa52de8350 DIST uv-0.6.8-crates.tar.xz 58007724 BLAKE2B bcf38b328d17e61cb74e9c1e51e0459fe91fd3b9124510e3f26606a3216189d2eb223cffd70dafce18cafe2340efc86f84379abf97444f79a57635dff0429590 SHA512 289cc35931ea54eb466e65cb279f842f06695ca09fae574dc5a3ba519db39c7441de9bf13c8c490cfa975f103b04988a943ea6de088090bbea0a944178064dbf DIST uv-0.6.8.gh.tar.gz 3793571 BLAKE2B 7bdcbaee54edb8114328410590406b2bb7240c597e9b5450a56a59de477467246fa6746ba21602cbd27b828c2c9606406d1701b6149b4b7160ac7ff21fe775bb SHA512 edf3e45e773bc4db3e1ee7a76419ef62beadc882f2dbe6342ec334520e170f941b55d376469677a2b8107a6ab8e38d9c704bfae6700e4f2f4932db9fda57478c +DIST uv-0.6.9.gh.tar.gz 3805843 BLAKE2B 6ea1ba8ea68542896e6c076cc05548bbb2ce8c2adcb0f6ac4e59ce2bdaeffca248a333f9e549bd9532cd72ab2ed99a479d9b106b91120371ad59819ecf7ab6aa SHA512 0b6791b25aaa354a1c662132af97b9b5d45785867be4ee112660b823c69d532460651a333db61c96c997448761c77fde1fd4ecb47ccd5ebc73239d81a60b984d diff --git a/dev-python/uv/uv-0.6.9.ebuild b/dev-python/uv/uv-0.6.9.ebuild new file mode 100644 index 000000000000..e1e90e591d0e --- /dev/null +++ b/dev-python/uv/uv-0.6.9.ebuild @@ -0,0 +1,170 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" +" + +declare -A GIT_CRATES=( + [async_zip]='https://github.com/charliermarsh/rs-async-zip;c909fda63fcafe4af496a07bfda28a5aae97e58d;rs-async-zip-%commit%' + [pubgrub]='https://github.com/astral-sh/pubgrub;b70cf707aa43f21b32f3a61b8a0889b15032d5c4;pubgrub-%commit%' + [tl]='https://github.com/astral-sh/tl;6e25b2ee2513d75385101a8ff9f591ef51f314ec;tl-%commit%' + [version-ranges]='https://github.com/astral-sh/pubgrub;b70cf707aa43f21b32f3a61b8a0889b15032d5c4;pubgrub-%commit%/version-ranges' +) + +RUST_MIN_VER="1.83.0" + +inherit cargo check-reqs + +CRATE_PV=0.6.8 +DESCRIPTION="A Python package installer and resolver, written in Rust" +HOMEPAGE=" + https://github.com/astral-sh/uv/ + https://pypi.org/project/uv/ +" +# pypi sdist misses scripts/, needed for tests +SRC_URI=" + https://github.com/astral-sh/uv/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" +if [[ ${PKGBUMPING} != ${PVR} ]]; then + SRC_URI+=" + https://github.com/gentoo-crate-dist/uv/releases/download/${CRATE_PV}/uv-${CRATE_PV}-crates.tar.xz + " +fi + +# most of the code +LICENSE="|| ( Apache-2.0 MIT )" +# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below +# Dependent crate licenses +LICENSE+=" + 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD Boost-1.0 + ISC MIT MPL-2.0 Unicode-3.0 Unicode-DFS-2016 ZLIB +" +# ring crate +LICENSE+=" openssl" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="test" +RESTRICT="test" +PROPERTIES="test_network" + +DEPEND=" + app-arch/bzip2:= + app-arch/xz-utils:= + app-arch/zstd:= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + test? ( + dev-lang/python:3.8 + dev-lang/python:3.9 + dev-lang/python:3.10 + dev-lang/python:3.11 + dev-lang/python:3.12 + !!~dev-python/uv-0.5.0 + ) +" + +QA_FLAGS_IGNORED="usr/bin/.*" + +check_space() { + local CHECKREQS_DISK_BUILD=3G + use debug && CHECKREQS_DISK_BUILD=9G + check-reqs_pkg_setup +} + +pkg_pretend() { + check_space +} + +pkg_setup() { + check_space + rust_pkg_setup +} + +src_prepare() { + default + + # enable system libraries where supported + export ZSTD_SYS_USE_PKG_CONFIG=1 + # TODO: unbundle libz-ng-sys, tikv-jemalloc-sys? + + # remove unbundled sources, just in case + find "${ECARGO_VENDOR}"/{bzip2,lzma,zstd}-sys-*/ -name '*.c' -delete || die + + # bzip2-sys requires a pkg-config file + # https://github.com/alexcrichton/bzip2-rs/issues/104 + mkdir "${T}/pkg-config" || die + export PKG_CONFIG_PATH=${T}/pkg-config${PKG_CONFIG_PATH+:${PKG_CONFIG_PATH}} + cat >> "${T}/pkg-config/bzip2.pc" <<-EOF || die + Name: bzip2 + Version: 9999 + Description: + Libs: -lbz2 + EOF +} + +src_configure() { + local myfeatures=( + git + pypi + python + ) + + cargo_src_configure --no-default-features +} + +src_compile() { + cd crates/uv || die + cargo_src_compile +} + +src_test() { + # work around https://github.com/astral-sh/uv/issues/4376 + local -x PATH=${BROOT}/usr/lib/python-exec/python3.12:${PATH} + local -x COLUMNS=100 + local -x PYTHONDONTWRITEBYTECODE= + # fix tests failing because of our config + local -x XDG_CONFIG_DIRS=${T} + + cd crates/uv || die + cargo_src_test --no-fail-fast +} + +src_install() { + cd crates/uv || die + cargo_src_install + + insinto /etc/xdg/uv + newins - uv.toml <<-EOF || die + # These defaults match Fedora, see: + # https://src.fedoraproject.org/rpms/uv/pull-request/18 + + # By default ("automatic"), uv downloads missing Python versions + # automatically and keeps them in the user's home directory. + # Disable that to make downloading opt-in, and especially + # to avoid unnecessarily fetching custom Python when the distro + # package would be preferable. Python builds can still be + # downloaded manually via "uv python install". + # + # https://docs.astral.sh/uv/reference/settings/#python-downloads + python-downloads = "manual" + + # By default ("managed"), uv always prefers self-installed + # Python versions over the system Python, independently + # of versions. Since we generally expect users to use that + # to install old Python versions not in ::gentoo anymore, + # this effectively means that uv would end up preferring very + # old Python versions over the newer ones that are provided + # by the system. Default to using the system versions to avoid + # this counter-intuitive behavior. + # + # https://docs.astral.sh/uv/reference/settings/#python-preference + python-preference = "system" + EOF +} diff --git a/dev-python/weasyprint/Manifest b/dev-python/weasyprint/Manifest index 594ca9da4de1..bc105332be8c 100644 --- a/dev-python/weasyprint/Manifest +++ b/dev-python/weasyprint/Manifest @@ -1 +1,2 @@ DIST weasyprint-64.1.tar.gz 498647 BLAKE2B cc8f6f3a25ea92839dc8dabd10a680d1c14aaf72db48ac264c8d3ea80acabd6ead6c220e6fef06177ca46546361648a964d62a75f38af45ce9c6de961ad409d3 SHA512 35f66b56f2f0c6f5f9d48c7fd1ff5c8dd87481c9172856e17c53455b973484711134b9ab3fe9239831d334ff62c69e5e8b810cd982b771a4b3579ba0175fd6d2 +DIST weasyprint-65.0.tar.gz 498355 BLAKE2B 891f249114fb50eedc053873ea826e956a9b9e13d39d0c551992468dff7ec7dd79c103b37aa76c843dd2ab04a77d578b2f326fcd51a389d264d974e38b343727 SHA512 8713d886fc2630d8efd0c3a2df6b1a9bf0b7d56c8b2a8117f5164b583e54f54897c6d2f1dd733e47406547c2f385f99c89fa8f651834404f27b6d87319509efd diff --git a/dev-python/weasyprint/weasyprint-65.0.ebuild b/dev-python/weasyprint/weasyprint-65.0.ebuild new file mode 100644 index 000000000000..833c783f22a4 --- /dev/null +++ b/dev-python/weasyprint/weasyprint-65.0.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=flit +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Visual rendering engine for HTML and CSS that can export to PDF" +HOMEPAGE=" + https://weasyprint.org/ + https://github.com/Kozea/WeasyPrint/ + https://pypi.org/project/weasyprint/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/cffi-0.6:=[${PYTHON_USEDEP}] + >=dev-python/cssselect2-0.8.0[${PYTHON_USEDEP}] + >=dev-python/fonttools-4.0.0[${PYTHON_USEDEP}] + >=dev-python/pillow-9.1.0[jpeg,jpeg2k,${PYTHON_USEDEP}] + >=dev-python/pydyf-0.11.0[${PYTHON_USEDEP}] + >=dev-python/pyphen-0.9.1[${PYTHON_USEDEP}] + >=dev-python/tinycss2-1.4.0[${PYTHON_USEDEP}] + >=dev-python/tinyhtml5-2.0.0[${PYTHON_USEDEP}] + media-fonts/dejavu + x11-libs/pango +" + +BDEPEND=" + test? ( + >=app-text/ghostscript-gpl-9.56.1-r3 + media-fonts/ahem + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/zstandard/zstandard-0.23.0-r2.ebuild b/dev-python/zstandard/zstandard-0.23.0-r2.ebuild index 49b67411b6c3..e29efc5b1d14 100644 --- a/dev-python/zstandard/zstandard-0.23.0-r2.ebuild +++ b/dev-python/zstandard/zstandard-0.23.0-r2.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" DEPEND=" >=app-arch/zstd-1.5.7:= |
