diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-07-23 07:22:13 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-07-23 07:22:13 +0000 |
| commit | 84b798e8961732a4c716ab5cfe37e2b3f825c496 (patch) | |
| tree | 02c52c12d10805b2b73cab7fa866c7a2accd4187 /dev-python | |
| parent | 07438ce3c60ecee6a93d35a2eb6c16f32d44f8bb (diff) | |
| download | baldeagleos-repo-84b798e8961732a4c716ab5cfe37e2b3f825c496.tar.gz baldeagleos-repo-84b798e8961732a4c716ab5cfe37e2b3f825c496.tar.xz baldeagleos-repo-84b798e8961732a4c716ab5cfe37e2b3f825c496.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
20 files changed, 625 insertions, 2 deletions
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 29f9a7c78c62..dcf6ca7e111f 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -1,4 +1,5 @@ DIST boto3-1.39.10.gh.tar.gz 972290 BLAKE2B 36840a23a6682253267ae075c0475da51e899f5c00454738c01657e35bd5763983aa7ecc253f9899a2e70f252f8986908d6253928e091f613b187f5505d07fd5 SHA512 a8211c790a599a5da48822238d958a1449433312a6119fc954158e02f5a91989faa38326963f04a67f283f3163af1be59221aac5683fc4560baa3eebc0d182ad +DIST boto3-1.39.11.gh.tar.gz 972912 BLAKE2B edeecb886432b4e9e640b8a082900b06c0b921a15a14dd5414c01659b8d371f8441e8e1787ec5f54b11a29e1d2b84bf71ff0bf9ec08dcdb645966e1ba9e23fdf SHA512 5d40050057c260a36196bb32982e209fdb2f99e7adc70eb4d5f3e28e8d7f2cd2f08d6e1e02e6e35e324eedb827b2b934ad94b52039e21a2d677279865e7a3073 DIST boto3-1.39.3.gh.tar.gz 967377 BLAKE2B 239fcd2d4492d3848dc473c71cf3bf8cae80b844303c32cf0e405e810b18c892bf100705c39d81c196cd83288db2500331b9d706d481ebcfee8237d245af4bb1 SHA512 89a8e3bb96255c097ffa8a8d2dad6c18835d5404d502ba41fd500aac8dfb0d1229478b6d17e82e5668d00d6df604ade5a209a6c99f3d11fc956dee4c77c2452c DIST boto3-1.39.4.gh.tar.gz 967954 BLAKE2B 5e63cfb5c2381605475c928c4aec6cf303b99ca13eb67377e5a283e07d0de35eb6846352976a854632e72c34477f964b32ffc8f0fc178d10d7e95df8d4a145cc SHA512 dbe389b4eb1e8ac1f425f34bb96c5baecc42acdc608bef7ddc31e1fbaa3baa6850504cb9513494a6ca782755ce9264fd0d794960eeb495678ef1cb3d2c85fe90 DIST boto3-1.39.9.gh.tar.gz 971951 BLAKE2B d77a87e3035a2797ff67d49c3df329836c51b305c72f8ce01445b668802aa1a529424e744ddd18e142cd35a0680be51383b56512dca115506a1a0f4860657b47 SHA512 c6df821d3558ca1d234a4a1dea231467c0935dff7c34e6eb01b067d4d2396024308f70218a621064b111359bc5197b191bc8f4a099bcfcc5f4d5bf174ba859b0 diff --git a/dev-python/boto3/boto3-1.39.11.ebuild b/dev-python/boto3/boto3-1.39.11.ebuild new file mode 100644 index 000000000000..bd6e26787db4 --- /dev/null +++ b/dev-python/boto3/boto3-1.39.11.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.13.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 d3fb6613aceb..32b2b27f9863 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -1,4 +1,5 @@ DIST botocore-1.39.10.gh.tar.gz 14988031 BLAKE2B f2c3ccd639dfb1f7e2dfe7aa628b27446c91c2a4eb82cb73b4a43773e07c6dc3491eefc8c44fcc0bb292bf354c319a1aa0fcb0284f97ec283eb78bd681525921 SHA512 b6368e01422f324793eedc4580c4ec472a7511807d75b3e4443db1dad9993ebaec5e64692993ae69a3f4b1ba9e6652c5bbe7f41f797fccb895e78e31fa5fb590 +DIST botocore-1.39.11.gh.tar.gz 14988753 BLAKE2B 86907506a2d80223fccdc2b053cbd9dfa3aa02c7f90f2c3732386ef426bedce9c9e138ea72edf1f9af98a42ffea0d89c2d985a4b08630b35212526b3c0167167 SHA512 8710e6dc8e7e8ed6afa87a777a26470b52a8565d6aee2f291e5e67e8563cba4d7ea52131c12d901944d1e4fc5e41814bbbd02c601891d694e8ecd3dcc5c28b94 DIST botocore-1.39.3.gh.tar.gz 14896843 BLAKE2B a2ddac0665f108b8db6c0b365080d5c7ae762fffce9e9a27af43658e9a595a924651f15c4daee8e4dc996b94972a8ea829cba81b0057df25c3c304449bbb1e3b SHA512 56bb2b79964d41f11d15d628801eb0b4feba700449da2e0a4a79b293a59b81b37b66e2863320eba7847271533c5ab76eb3ff624e19ec32dd632884baf662cf62 DIST botocore-1.39.4.gh.tar.gz 14901512 BLAKE2B 08fc52957828be9ccee26f61c4c006679c4f47754d4ecdf15eecfbb991808035215d1aac24f5ddf76a64673b23132b555fcb24adf57aacda8679abd7b0a16040 SHA512 3a68c96000a4e393abb68a9ca843ad62b74decd12ba551fa642efd21095fb3de50f0eeb8ee71f8934e9efa47486a138ee7bad6f3f4408fd5eff0a0fbf5053e6e DIST botocore-1.39.9.gh.tar.gz 14983953 BLAKE2B 929c2456d8efc4256326c255888ebca82edd837df2dc0beeb37119af5f397b74c8e1d1349c66adc79361fe0cbdcb74d268b04ca563fa0047b27cd8f70f755290 SHA512 421421a9ac2845e18ccc6904b443d2d53883c5f85df1b34245541546ef5369cd29fc7af8751507e7513d06c818ff195bc59d6ea4e773b8975d4de874ba79116d diff --git a/dev-python/botocore/botocore-1.39.11.ebuild b/dev-python/botocore/botocore-1.39.11.ebuild new file mode 100644 index 000000000000..a931fcaefec4 --- /dev/null +++ b/dev-python/botocore/botocore-1.39.11.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + <dev-python/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +# unbundled packages +RDEPEND+=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + ) + + epytest tests/{functional,unit} +} diff --git a/dev-python/cysignals/Manifest b/dev-python/cysignals/Manifest index 57cca8a552fe..24b7061181a5 100644 --- a/dev-python/cysignals/Manifest +++ b/dev-python/cysignals/Manifest @@ -1 +1,2 @@ DIST cysignals-1.12.3.tar.gz 65536 BLAKE2B c01a39d9803f8ff260b892187766d11423c72d2941bfc97671c0315ad57024a4fabe995a947a0b21b242e3ea5d27f353d04ae4489838017f27cc74708900b558 SHA512 fb17848d26b274d4d94461cb0542e91361ee196640bdc6888984940a4485a1118ece36db8efeb49e9df5477114038bcbc8b92f465aa81fd7c706455419532e5d +DIST cysignals-1.12.4.tar.gz 65545 BLAKE2B f9d007a49ad86b504fb63dd236ca6943f544e4ce9f44491c302313809ba1cb3e734966b3e26a47f61a664753a75b97d5de56564a956d6b9c2e6891edade10981 SHA512 0e42221dee8f9986945148b70586647dd85ad9fedc9164770448e20e2345645278cd7e60ee0a7914e1a23418872011af54d9ad15e06f80a9f22cc11d68c3f654 diff --git a/dev-python/cysignals/cysignals-1.12.4.ebuild b/dev-python/cysignals/cysignals-1.12.4.ebuild new file mode 100644 index 000000000000..6e71288f3fa1 --- /dev/null +++ b/dev-python/cysignals/cysignals-1.12.4.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=meson-python +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Interrupt and signal handling for Cython" +HOMEPAGE=" + https://github.com/sagemath/cysignals/ + https://pypi.org/project/cysignals/ +" + +# setup.py has "or later" +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~riscv" + +BDEPEND=" + >=dev-python/cython-3.0.0[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest diff --git a/dev-python/griffe/Manifest b/dev-python/griffe/Manifest index 6d7e0c96ac7e..ce5626114a9a 100644 --- a/dev-python/griffe/Manifest +++ b/dev-python/griffe/Manifest @@ -1 +1,2 @@ DIST griffe-1.7.3.gh.tar.gz 398342 BLAKE2B 628f48b594ec30135cf1e8b0aee32452d75c33f41f16f5e549be4789b8c91cdea65816addc4fc8eee4c6c56cf70ff4c5682c739b0c2483758764e3b8b3dc95af SHA512 b39c4e279bd0f0ba3be144b6d8c3f762f2246f070a0af040aeb0315baecc5a2e519b7fb0bca263ed37b9002791d8efd3b340d43a3cd4e9e1c9253af8d758b52b +DIST griffe-1.8.0.gh.tar.gz 404336 BLAKE2B f3b83974b979823e74bf705eed180ace7aede4085258059389e6ff94bc243984e25f93d621fcdfd34f9af6720e0d99e1a0f4ad0f2dce1e467a00871d9dfc2da9 SHA512 cdb2176aeceab63d1ed704c9ee7cbdcd028ed768755a69879942c99ecb22081fed03ec3ad8ba9b51e104f9017e5150e7749e0ab23bd2b148c87fe5ee26a98ca9 diff --git a/dev-python/griffe/griffe-1.8.0.ebuild b/dev-python/griffe/griffe-1.8.0.ebuild new file mode 100644 index 000000000000..b669f7c8535d --- /dev/null +++ b/dev-python/griffe/griffe-1.8.0.ebuild @@ -0,0 +1,49 @@ +# 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}] + ) +" + +EPYTEST_PLUGINS=( pytest-xdist ) +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # fragile to installed packages + # (failed on PySide2 for me) + tests/test_stdlib.py::test_fuzzing_on_stdlib +) + +export PDM_BUILD_SCM_VERSION=${PV} diff --git a/dev-python/license-expression/Manifest b/dev-python/license-expression/Manifest index d84a5d4e81ce..5cb1fb460432 100644 --- a/dev-python/license-expression/Manifest +++ b/dev-python/license-expression/Manifest @@ -1 +1,2 @@ DIST license-expression-30.4.3.gh.tar.gz 179396 BLAKE2B a1d3b8d0e87a5a4b250cdc68408fdc7087c7d2cd37560bb14ccc7ae34ff27d875c74a3dcea6598f371c4f07a08b19ccd1eba42c00d821d39d34d0e63e75c4e56 SHA512 a6a1762ac90c7f7b487726baa819516553863f5f20ccb7774e9ba22bdc301f1c6ddaea4b2acf3a2a7a782ef183960572c90faead405c80be8eb72bebef67d7f3 +DIST license-expression-30.4.4.gh.tar.gz 182873 BLAKE2B 8992757da28977c9c1a4bbe466f7d1c101f1f30b37d6691a77d876cd0989136150b9f626109b07bbf9e5fddcd77e1547de251dc9eb75107a896973410bf6c497 SHA512 98b6cbfb3dc32d606e21a65df2023d339f27f9cce089429cca67acaa3dd661c5394797eadae2ac5248f3ea0e827e7ff1659610226fae8961f103398cd0807f75 diff --git a/dev-python/license-expression/license-expression-30.4.4.ebuild b/dev-python/license-expression/license-expression-30.4.4.ebuild new file mode 100644 index 000000000000..202a83ced6f8 --- /dev/null +++ b/dev-python/license-expression/license-expression-30.4.4.ebuild @@ -0,0 +1,35 @@ +# 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} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Parse, compare, simplify and normalize license expressions" +HOMEPAGE=" + https://pypi.org/project/license-expression/ + https://github.com/aboutcode-org/license-expression/ +" +SRC_URI=" + https://github.com/aboutcode-org/license-expression/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" + +RDEPEND=" + >=dev-python/boolean-py-4.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools-scm-4[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} diff --git a/dev-python/mkdocstrings/Manifest b/dev-python/mkdocstrings/Manifest index 57dcd8722ce6..dac1c50acaa1 100644 --- a/dev-python/mkdocstrings/Manifest +++ b/dev-python/mkdocstrings/Manifest @@ -1 +1,2 @@ DIST mkdocstrings-0.29.1.tar.gz 1212686 BLAKE2B edf89721a7786dce762b76db8fef2c8210cbb74714243cb6e4996dfca8d4550a783d395108260c24c16bda9c96bd0089cb5f01098e4772a6f5090c33b024ee0c SHA512 11fdcdb960a4538e166da2bb2da30d1f5d43c9e1913603db6f22a02375b9d09836dc3d0da2610656474b4e5cc3f451d31a20ca8c9070557192d0ab06621af752 +DIST mkdocstrings-0.30.0.tar.gz 106597 BLAKE2B d05d5066f0f10578a84bd82c38826f1d497b2486af200d4c837157bf93e34bca5590017d30b0351a0f25a572ac0e36a2914ad86237dd2a09784ee66fbd80a1de SHA512 1b018bd3755624b3fceca3a8bebf18a51807a51713646f6e6089aeb4d02e57728488c6389972124579f361cd7356aa91ad221dec4155f8b03ec4639dfad32cac diff --git a/dev-python/mkdocstrings/mkdocstrings-0.30.0.ebuild b/dev-python/mkdocstrings/mkdocstrings-0.30.0.ebuild new file mode 100644 index 000000000000..1f82737316a1 --- /dev/null +++ b/dev-python/mkdocstrings/mkdocstrings-0.30.0.ebuild @@ -0,0 +1,55 @@ +# 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="Automatic documentation from sources, for MkDocs" +HOMEPAGE=" + https://mkdocstrings.github.io/ + https://github.com/mkdocstrings/mkdocstrings/ + https://pypi.org/project/mkdocstrings/ +" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" + +RDEPEND=" + >=dev-python/jinja2-2.11.1[${PYTHON_USEDEP}] + >=dev-python/markdown-3.6[${PYTHON_USEDEP}] + >=dev-python/markupsafe-1.1[${PYTHON_USEDEP}] + >=dev-python/mkdocs-1.6[${PYTHON_USEDEP}] + >=dev-python/mkdocs-autorefs-1.4[${PYTHON_USEDEP}] + >=dev-python/pymdown-extensions-6.3[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/markdown-exec[${PYTHON_USEDEP}] + dev-python/mkdocs-material[${PYTHON_USEDEP}] + >=dev-python/mkdocstrings-python-1.16.2[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +# mkdocstrings documentation generation requires several currently +# unpackaged mkdocs extensions and plug-ins, and this test +# makes use of mkdocs configuration +EPYTEST_DESELECT=( + tests/test_plugin.py::test_disabling_plugin + # WTF, it tries to unlink installed files from installed package?! + tests/test_handlers.py::test_extended_templates + # Needs unpackaged mkdocs-callouts, mkdocs-literate-nav, and possibly more + tests/test_inventory.py::test_sphinx_load_mkdocstrings_inventory_file + # Internet + tests/test_inventory.py::test_load_inventory +) + +export PDM_BUILD_SCM_VERSION=${PV} diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest index 960173d21b12..7162cdd44577 100644 --- a/dev-python/sqlglot/Manifest +++ b/dev-python/sqlglot/Manifest @@ -1,6 +1,6 @@ DIST sqlglot-26.33.0-crates.tar.xz 8859792 BLAKE2B abb2051b392c53dc3caa705ddd8df7076819a26dcdaa89fa3760559a79578db01e86943c2d0ffb8006263c2dca3aa50d20023eae9d772f8ebd12a8a2d3266cdd SHA512 7cca439a06433a62bcd4a2af33d240f46e9b5240cc158edbc654efb37a464aa0f1ebbe9749b2fc6352127b4809b63af2341fac6240050c414e578ae99444ba5d DIST sqlglot-26.33.0.tar.gz 5353340 BLAKE2B 18ace866ec89ced24911803497e8cb5c55fc6c157bf62b893e90df914b8be3360403ffff67f196080cdef9b9b9078b86d471494ae9768e7947a8b4d5d39e49af SHA512 df38e899d59bdd07aca0e5370833133308f9c5be4d0c990bf8112a48776fae034b622938aba968769aa5dc5e2957d56da48c89045b91b2d33783e6e25acc4a7b -DIST sqlglot-27.0.0-crates.tar.xz 8859792 BLAKE2B abb2051b392c53dc3caa705ddd8df7076819a26dcdaa89fa3760559a79578db01e86943c2d0ffb8006263c2dca3aa50d20023eae9d772f8ebd12a8a2d3266cdd SHA512 7cca439a06433a62bcd4a2af33d240f46e9b5240cc158edbc654efb37a464aa0f1ebbe9749b2fc6352127b4809b63af2341fac6240050c414e578ae99444ba5d -DIST sqlglot-27.0.0.tar.gz 5356535 BLAKE2B 7f203f9c1fd1d26c88325f8228ea670a1b907ac997963099b77317dae7ef7a15d827dd69dd80d14be7e82cb2504d93efe80be6821c69fdd0ffdf12a9e8dd0be8 SHA512 6248ff08f140b7b761ebfa0ab77a31168904fc78411f3cda0fe2e7247f52de204774ccdf86de1c42f9197ce2eb099a716674ccf6464a162bc64bc1a4d3eb0ada DIST sqlglot-27.1.0-crates.tar.xz 8859792 BLAKE2B abb2051b392c53dc3caa705ddd8df7076819a26dcdaa89fa3760559a79578db01e86943c2d0ffb8006263c2dca3aa50d20023eae9d772f8ebd12a8a2d3266cdd SHA512 7cca439a06433a62bcd4a2af33d240f46e9b5240cc158edbc654efb37a464aa0f1ebbe9749b2fc6352127b4809b63af2341fac6240050c414e578ae99444ba5d DIST sqlglot-27.1.0.tar.gz 5379716 BLAKE2B 12696cf65a0b7ead76ead388c38dfd49e2a886fa8d623df8ffbb569be2eafe6d1a5c302035137f2dac0c7f93093bf562577e53e7a4878702934e8f7ddbfcd294 SHA512 d84ad6868fa01bd0e10333396978c1e2c103c46dcd319e0fdefbba4159f2c601e14d53a41701ec91eaa7aaca767ba791485b31cea0af10a93bcbcb36c1c4aa3f +DIST sqlglot-27.2.0-crates.tar.xz 8859792 BLAKE2B abb2051b392c53dc3caa705ddd8df7076819a26dcdaa89fa3760559a79578db01e86943c2d0ffb8006263c2dca3aa50d20023eae9d772f8ebd12a8a2d3266cdd SHA512 7cca439a06433a62bcd4a2af33d240f46e9b5240cc158edbc654efb37a464aa0f1ebbe9749b2fc6352127b4809b63af2341fac6240050c414e578ae99444ba5d +DIST sqlglot-27.2.0.tar.gz 5389495 BLAKE2B 4d64d745b291e87bfaad61fe5331169dc953b7da04f9ccc89521cb01a44172ce823b64c48ab60ea3cb823a24338513009cc17bfe6baf4a0de942bee14d8ba3de SHA512 a04b947ddf1b5841615afe5c13db4aca1210398e1500dd507ee4c6e6da85dbf721c760e934d97e8d9021eade001580f80ccaea9a9ed2f15d9d413d21302971b1 diff --git a/dev-python/sqlglot/sqlglot-27.0.0.ebuild b/dev-python/sqlglot/sqlglot-27.2.0.ebuild index aa0c5230423e..aa0c5230423e 100644 --- a/dev-python/sqlglot/sqlglot-27.0.0.ebuild +++ b/dev-python/sqlglot/sqlglot-27.2.0.ebuild diff --git a/dev-python/uv-build/Manifest b/dev-python/uv-build/Manifest index 9ebff1a05ce3..1bb562080751 100644 --- a/dev-python/uv-build/Manifest +++ b/dev-python/uv-build/Manifest @@ -1,2 +1,3 @@ DIST uv_build-0.7.19.tar.gz 311467 BLAKE2B a7e85c3bbaee786ed9729b1331e5506eeb95d4ee875502814555956611449501f6b1c62284945640a2ce95f225a1b1c151b47d17c0d303599fe69bffc4ab8e5c SHA512 c3bc554dd9d86bfdb1e9ebf042d8c00987a790da9d386eb371dcc1bc7cd1c0000ae69a4d1e5f1759ed723d78eed73a461bae26d5047bdb0c0bb75f450fdc009a DIST uv_build-0.7.22.tar.gz 314318 BLAKE2B e8118eda79bd6bea375a2b19d87a0d9c2da8e1fe1fb24668ccfe79364b92a01aedcb1e73bc625c9e1d010e7ed4742c3a4add827dc497ee18312664c4343b67be SHA512 185d6b5a9e0440a1354cd9ce638522e9b2a27cc075a5022d95c63fd96b861bf50615156d7f64144b7fb657e2ddb3fe1b0fd8fd38fd6c0adabffacbdc43d6f292 +DIST uv_build-0.8.2.tar.gz 317577 BLAKE2B 0bf4d94fcb8052fa5fc71970cdda92438491bc4f3a0723b1f4565eb7f416058d253b14542adb4ea1883e56cb3c1fcf899840bb8406e133749ad894a181d5c8d7 SHA512 14272a8bf350542d5aaeaaf32542bf70b45724bda3a57eb4d701c8f3c0648244c683f3ea6d011920c5c02d1880e92787ce0758055b78eab2b3e61b20e03eea9c diff --git a/dev-python/uv-build/uv-build-0.8.2.ebuild b/dev-python/uv-build/uv-build-0.8.2.ebuild new file mode 100644 index 000000000000..6156796bc3d2 --- /dev/null +++ b/dev-python/uv-build/uv-build-0.8.2.ebuild @@ -0,0 +1,99 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maturin compiles uv-build executable for every impl, we do not want +# that, so we use another backend. And since we use another backend, +# why not dogfood it in the first place? +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="PEP517 uv build backend" +HOMEPAGE=" + https://github.com/astral-sh/uv/ + https://pypi.org/project/uv-build/ +" + +LICENSE="|| ( Apache-2.0 MIT )" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/uv-${PV} +" +BDEPEND=" + test? ( + app-arch/unzip + dev-python/build[${PYTHON_USEDEP}] + ) +" + +src_prepare() { + distutils-r1_src_prepare + + # use the executable from dev-python/uv instead of building + # a largely overlapping uv-build executable (at least for now) + sed -i -e '/USE_UV_EXECUTABLE/s:False:True:' python/uv_build/__init__.py || die + + # replace the build-system section + sed -i -e '/\[build-system\]/,$d' pyproject.toml || die + cat >> pyproject.toml <<-EOF || die + [build-system] + requires = ["uv_build<9999"] + build-backend = "uv_build" + backend-path = ["src"] + EOF + + # rename to make uv-build find it + mv python src || die +} + +python_test() { + "${EPYTHON}" -m build -n || die "Self-build failed with ${EPYTHON}" + + local zip_result=$( + unzip -t "dist/uv_build-${PV}-py3-none-any.whl" || die + ) + local zip_expected="\ +Archive: dist/uv_build-${PV}-py3-none-any.whl + testing: uv_build/ OK + testing: uv_build/__init__.py OK + testing: uv_build/__main__.py OK + testing: uv_build/py.typed OK + testing: uv_build-${PV}.dist-info/ OK + testing: uv_build-${PV}.dist-info/WHEEL OK + testing: uv_build-${PV}.dist-info/METADATA OK + testing: uv_build-${PV}.dist-info/RECORD OK +No errors detected in compressed data of dist/uv_build-${PV}-py3-none-any.whl.\ +" + if [[ ${zip_result} != ${zip_expected} ]]; then + eerror ".zip result:\n${zip_result}" + eerror ".zip expected:\n${zip_expected}" + die ".whl result mismatch" + fi + + local tar_result=$( + tar -tf "dist/uv_build-${PV}.tar.gz" || die + ) + local tar_expected="\ +uv_build-${PV}/PKG-INFO +uv_build-${PV}/ +uv_build-${PV}/README.md +uv_build-${PV}/pyproject.toml +uv_build-${PV}/src +uv_build-${PV}/src/uv_build +uv_build-${PV}/src/uv_build/__init__.py +uv_build-${PV}/src/uv_build/__main__.py +uv_build-${PV}/src/uv_build/py.typed\ +" + if [[ ${tar_result} != ${tar_expected} ]]; then + eerror ".tar.gz result:\n${tar_result}" + eerror ".tar.gz expected:\n${tar_expected}" + die ".tar.gz result mismatch" + fi +} diff --git a/dev-python/uv/Manifest b/dev-python/uv/Manifest index 6bc2a7d2d618..79c05d0242ce 100644 --- a/dev-python/uv/Manifest +++ b/dev-python/uv/Manifest @@ -6,3 +6,5 @@ DIST uv-0.7.19-crates.tar.xz 58207040 BLAKE2B 0e8761c020d5931f3ed134482fac5130b2 DIST uv-0.7.19.gh.tar.gz 4120134 BLAKE2B 39fc4a5e9ac753f3bd328f715ca8e3e06177ffefda73eff41e565bd58e4d0c48e2f89d5e887f8efab4de73d1d51cd37c3de106d7b29e5bd2d496e993a05d078d SHA512 c86cd70422a4ac2eb549258c1ab763e12b8cc32afb30a4ca7ec926f7b40b352468c3bf9fddb14fcf4e3c043be088211c37ee43d384d5651ca39922de927a1372 DIST uv-0.7.21-crates.tar.xz 58688248 BLAKE2B 83bbe7dd3ffe4b7ad439ba3ce56b1ce84bad15433a03e509412da67ac3f41725b0d9d5e8fc9d15860eafb60b0d0fa9061a92fa69f06080583e7e3b31bbbf17e7 SHA512 cf2925f6083439aac2a41dff4e863681c1cb88250693f870904e7b0ed7f11399539c444da1a9a257d5092b38800f63fbeda546dd9c9fa78f43d25fb1f5c905da DIST uv-0.7.22.gh.tar.gz 4157975 BLAKE2B 8268476d92fb7241273e31ff4b7c996c22dea3c6bb3e688c4d9e69bf3cc1562dd8dcad3bd4167c97fb2df51e6291d9ba29b9ea99b73d11ec73f994fceab2b629 SHA512 e1c4f7ba7a2c679c87840cc4a1b56bb7c4d0ecdbe14347052f96af90a4ce869627a0659ab9266b433a39f4b600711d2c64f88bd38a7d477017fc9c596194354f +DIST uv-0.8.2-crates.tar.xz 58707128 BLAKE2B 9579ad6877a960596fc49908e4f9451c8748c7f0ab41be15f310f43a19dcd61632fc7dd4fe4a2ad21cdc1478354c6b39e07272b8160296dc9dba9f70628a6f76 SHA512 442e7f2d550c00808f07297eda196ceec75aea3c9fbc1d86f288dc4c9d974f8197dac36f550ff903bb78f9c193eeab7447934f4f7bbb7799d246db28d9cf052a +DIST uv-0.8.2.gh.tar.gz 4195351 BLAKE2B b50da561a66f4aac40c5fe6b55a1c10482155dc968bd6532927819ad0bb6f6b97de1b7707a32887b272ede682158b86d5f75bc10410a9fe7af8a7d2de204984a SHA512 9d10f182ab0fefb6028a0424a8cc1467f34e65de24a358a9038b8104f62808f479d004d3a45df7264b6aea81933353b78f1b3963c37ff66ec9da4a53cdca0e2c diff --git a/dev-python/uv/uv-0.8.2.ebuild b/dev-python/uv/uv-0.8.2.ebuild new file mode 100644 index 000000000000..7bf50e6c7f2a --- /dev/null +++ b/dev-python/uv/uv-0.8.2.ebuild @@ -0,0 +1,184 @@ +# 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/astral-sh/rs-async-zip;c909fda63fcafe4af496a07bfda28a5aae97e58d;rs-async-zip-%commit%' + [pubgrub]='https://github.com/astral-sh/pubgrub;06ec5a5f59ffaeb6cf5079c6cb184467da06c9db;pubgrub-%commit%' + [reqwest-middleware]='https://github.com/astral-sh/reqwest-middleware;ad8b9d332d1773fde8b4cd008486de5973e0a3f8;reqwest-middleware-%commit%/reqwest-middleware' + [reqwest-retry]='https://github.com/astral-sh/reqwest-middleware;ad8b9d332d1773fde8b4cd008486de5973e0a3f8;reqwest-middleware-%commit%/reqwest-retry' + [tl]='https://github.com/astral-sh/tl;6e25b2ee2513d75385101a8ff9f591ef51f314ec;tl-%commit%' + [version-ranges]='https://github.com/astral-sh/pubgrub;06ec5a5f59ffaeb6cf5079c6cb184467da06c9db;pubgrub-%commit%/version-ranges' +) + +RUST_MIN_VER="1.85.0" + +inherit cargo check-reqs + +CRATE_PV=${PV} +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 + CDLA-Permissive-2.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.9 + dev-lang/python:3.10 + dev-lang/python:3.11 + dev-lang/python:3.12 + dev-lang/python:3.13 + !!~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 + + # replace upstream crate substitution with our crate substitution, sigh + local pkg + for pkg in reqwest-middleware reqwest-retry; do + local dep=$(grep "^${pkg}" "${ECARGO_HOME}"/config.toml || die) + sed -i -e "/\[patch\.crates-io\]/,\$s;^${pkg}.*$;${dep};" Cargo.toml || die + done + + # force thin lto, makes build much faster and less memory hungry + # (i.e. makes it possible to actually build uv on 32-bit PPC) + sed -i -e '/lto/s:fat:thin:' Cargo.toml || die + + # 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/zope-event/Manifest b/dev-python/zope-event/Manifest index a17968de8bef..497606856dec 100644 --- a/dev-python/zope-event/Manifest +++ b/dev-python/zope-event/Manifest @@ -1 +1,2 @@ +DIST zope_event-5.1.1.tar.gz 18811 BLAKE2B 26674b5b04fc4cac345f9d4bc772e0b560aad1a250c78a51c5d94d8ab2f17adf85f460ced9f1c003b7eb7ff78588a4eb34ca1a038d04606513301045ebe86221 SHA512 169e741588ac9e7c36651009a64135f5de501fe273721ee014353f4fba099bdbdabc7b8c3d641ec5cfd505963455bde822b57055a97d59128a47bad4fe00c510 DIST zope_event-5.1.tar.gz 18632 BLAKE2B ba365cfa52e0ff5b10593903cee7cb775a55c6eb325e328fdbdf8b89c25ea08738378ac3dc0d1e5667fd0f5e2417a079e26f3604cd0626d2a76f8afb8205ba8d SHA512 50fc9cc36233d6496a056cc74ddcb92330ecebda881ab5d374068d3b68c25e9bb24c881101b290d995000d9b5d661fd9ad675c7183ca594471ac4c270333f478 diff --git a/dev-python/zope-event/zope-event-5.1.1.ebuild b/dev-python/zope-event/zope-event-5.1.1.ebuild new file mode 100644 index 000000000000..9a73692b38e9 --- /dev/null +++ b/dev-python/zope-event/zope-event-5.1.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_PN=${PN/-/.} +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Event publishing / dispatch, used by Zope Component Architecture" +HOMEPAGE=" + https://pypi.org/project/zope.event/ + https://github.com/zopefoundation/zope.event/ +" + +LICENSE="ZPL" +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" + +RDEPEND=" + !dev-python/namespace-zope +" + +distutils_enable_tests unittest + +src_prepare() { + # strip rdep specific to namespaces + sed -i -e "/'setuptools'/d" setup.py || die + distutils-r1_src_prepare +} + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die +} + +python_test() { + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + distutils_write_namespace zope + eunittest +} |
