diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-11-20 03:02:59 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-11-20 03:02:59 +0000 |
commit | 8a5f3383bbc5f817d89554020a3600d06985bc4a (patch) | |
tree | c1f7e85e7de87c74b4c730fab5369051cef5cb32 /dev-python | |
parent | f2e359c456b051f95efc92e21299d55a302e58ed (diff) |
gentoo auto-resync : 20:11:2024 - 03:02:59
Diffstat (limited to 'dev-python')
38 files changed, 1197 insertions, 1 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex 777ef2389c99..202b1cb1b8c2 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/Nuitka/Manifest b/dev-python/Nuitka/Manifest index 6951c6c933bb..4075d903756a 100644 --- a/dev-python/Nuitka/Manifest +++ b/dev-python/Nuitka/Manifest @@ -1,5 +1,7 @@ DIST Nuitka-2.4.11.tar.gz 3730066 BLAKE2B f75729f1aeb2c16ee87ae428af96e5dda27ca4bf926fa7625e6c521d2a740cac827a952d45daa569400c73a1121f571dc3450b43516b8357fe965ea5e4cf5378 SHA512 db516d6ce5b557401e9549b2cf816f15af147773eae255c89b382a60423ddfdf8ac20d4efcb7c2682d17b9cea26351a4decd9f7af6f5cdc451de237ea2df8a49 +DIST Nuitka-2.5.1.tar.gz 3776847 BLAKE2B a6c36e736cf8aaa830cb5a47a2ae9ea9394c2afb5163e7955c196fb9ee9c37c61edc085c65f258bac0e27468bd97e5fb93bdeb8776fee85b99fd8c45076166b6 SHA512 ddf86589e2e576ae79b4e88fecac0668ef8e8c720d79d83799a15647c664c0d026f1241bcbc29036fab821611079ae808c22cb81ef14781bc7d0f96c3dba0428 DIST Nuitka-2.5.tar.gz 3775959 BLAKE2B 25c91811fd7f1750c4be68031503c72694b512818aff9da57ea941257b376aee1db5921f7e9acec4b836a030a5ddcf329ada8d2e4305c735d6abefb3f97306e4 SHA512 265bd1d076acb2470598a78d6d66d9d246b27345b93bd28da0ff75621d2cf6f221760517e74c25d660b3c90eba2738eef1fb10978af97f9dc6c7720495ccdeed EBUILD Nuitka-2.4.11.ebuild 1207 BLAKE2B 7ee2a45162555ba9564abd987b30e62cd295ce587a74b09907df2fa01f3546e432bbfbab4aec6b481844dec15a9e18808845db7e68e266ff3cc8db27fb7b52bf SHA512 2042b723261e7a2804dafe5b116d4e5b4e63f7a84f16786e600335f422d616bf23a46152a40ded3d63034a13241749694c654d260bd9789bf2b86bf9808e44ce +EBUILD Nuitka-2.5.1.ebuild 1207 BLAKE2B 52f26c907214e90eb1b78c0bbc95595593daf72400a1eda08ac9ed7916b92db15fd1ed9da3bea764398b65b22cdea9423c456bfb22c7ebaf9f86dab764c07231 SHA512 2f913f38bd88fd850542b698ed20a941f74818f14a2d3eab26d9e3ff293c697bcb33221502751928b63eb919567fd90421b1daf5105d3f292542132f0035b06a EBUILD Nuitka-2.5.ebuild 1207 BLAKE2B 52f26c907214e90eb1b78c0bbc95595593daf72400a1eda08ac9ed7916b92db15fd1ed9da3bea764398b65b22cdea9423c456bfb22c7ebaf9f86dab764c07231 SHA512 2f913f38bd88fd850542b698ed20a941f74818f14a2d3eab26d9e3ff293c697bcb33221502751928b63eb919567fd90421b1daf5105d3f292542132f0035b06a MISC metadata.xml 943 BLAKE2B d7ab883773e7480dcfb4b79932a3874e2274669169a24a54aa622a2a0ac079e0296da4bd196d166cb11fcff785985da0b10d0fae351032914ccf312c9bb9833c SHA512 625d8760b8e849c6e014856f584cb42f50bb5ebb1fa648cb704a5a1baf175e7d2ce9f43f6f724d11c81a68e364b6ac1c38459540b58f2ccd6a675902af5b1cc9 diff --git a/dev-python/Nuitka/Nuitka-2.5.1.ebuild b/dev-python/Nuitka/Nuitka-2.5.1.ebuild new file mode 100644 index 000000000000..1a65e72f7c93 --- /dev/null +++ b/dev-python/Nuitka/Nuitka-2.5.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 flag-o-matic optfeature pypi + +DESCRIPTION="Python to native compiler" +HOMEPAGE=" + https://nuitka.net/ + https://github.com/Nuitka/Nuitka/ + https://pypi.org/project/Nuitka/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~loong ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-build/scons[${PYTHON_USEDEP}] + >=dev-python/ordered-set-4.1.0[${PYTHON_USEDEP}] + >=dev-python/zstandard-0.15[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( dev-util/ccache ) +" + +distutils-r1_src_prepare() { + # remove vendored version of SCons that is Python2 only + # this should be removed when upstream removes support for Python2 + rm -vR "nuitka/build/inline_copy/lib/scons-2.3.2/SCons" || die + eapply_user +} + +python_install() { + distutils-r1_python_install + doman doc/nuitka.1 doc/nuitka-run.1 +} + +python_test() { + append-ldflags -Wl,--no-warn-search-mismatch + ./tests/basics/run_all.py search || die +} + +pkg_postinst() { + optfeature "support for stand-alone executables" dev-util/patchelf +} diff --git a/dev-python/aiohttp/Manifest b/dev-python/aiohttp/Manifest index 04fb7df0c6f9..dd7a055febce 100644 --- a/dev-python/aiohttp/Manifest +++ b/dev-python/aiohttp/Manifest @@ -4,10 +4,12 @@ DIST aiohttp-3.11.0rc0.tar.gz 7621610 BLAKE2B a7ef4a7d373bd87155519bd71c396e2422 DIST aiohttp-3.11.0rc1.tar.gz 7653785 BLAKE2B 070dba6f84b7924f5129b9a022de98ef9586d35cc188a38229d77d5598cf322931687c5295f322f8aca28a8fcf7da1d30e021d4dd2b8aa9327c1c60084423480 SHA512 3ed987c6f0fe53373b5f3cb0b3858fdc216d029f8b6f205ed3fc234e2474b77fd245ad39a86f607616878499d88b607b72f68cae02f95b2073f3dc1ac3fe8d5b DIST aiohttp-3.11.0rc2.tar.gz 7655719 BLAKE2B 3fc553c3ff927861bd280401cc6741c6bd720c4ac0827db40230270cf3bf2f30a0bfdb3d933227ffb2b22800ddc6e2d6b045277c1c8bf9fb8467b1582a3dcedb SHA512 d6f5c6ef50ce333106071dbd33d57e49be638e9d6855a9c5dc6f9b7e87063319d314f70186d7df0e09f3e7ecf4bee40da44af0dccf9124d6c6c16c5f98e9fee8 DIST aiohttp-3.11.2.tar.gz 7658216 BLAKE2B f371bfcac2fc300119d33024b4d026fa204976259becc4fdf98bf785f7658589fe3de2cae49ef71a3b299eb12a79d24048b82364c03fa09138a5a42c6daed73c SHA512 7e4dac852e47999a1e6ae47a3a124ad97ad0cb7b4a9e0b4746c0cca4156267ed0cceed86722de78550cb4ff0f54580db44318c1bd4b486e8e94ff84d98dfa56e +DIST aiohttp-3.11.3.tar.gz 7665862 BLAKE2B a81b0b6fbc819e51d0a3bd0c7c96c403af8fe35530924ec47202ad350358ca037eebb8479bb4b6b29927c3cbea088021e4de971a392aea78dcafd2db49d24554 SHA512 4f65a4fd2191656c6e123a263557842bf91251cdb57be68e967bcee7e6678027bc1717c344e30f7c3dfe5f6fc1a75a8fccdf07056cab244fc98460ce5238d93a EBUILD aiohttp-3.10.10.ebuild 3228 BLAKE2B 9460d28a9b9d85addbb378a77575cbeadec2c40f4a172aa16955fe2676bc2cea291e7019dd9480a30afc3c8957f69d05a83f6d6151a187ea8f6e9a59e9de6acc SHA512 0fdc8696e8aae4f3e3a0d7636f135bc6268b18299886df364c7dcff536b6817cd82ed93898065770c7791428e984a657f1ab87472eeac10f639350eea34ee0ab EBUILD aiohttp-3.11.0.ebuild 3549 BLAKE2B 2169ec81c8dae03fa993e9ec327bc2ef2b9878d545c11dd49f130ca541bdacbbb2c3aba8623f2f5e820a5e281ecd4bacd490dccd6ae0fd43ec1769c994ae59d0 SHA512 d134edb55e4a8f932f4f883395da2f7217274d0a6070e8b96533da0b20cf7ea6e468ba99dbe93c084d4739fc0861bef79200e50cb9e3619aad03d52ebf8eeff1 EBUILD aiohttp-3.11.0_rc0.ebuild 3549 BLAKE2B 2169ec81c8dae03fa993e9ec327bc2ef2b9878d545c11dd49f130ca541bdacbbb2c3aba8623f2f5e820a5e281ecd4bacd490dccd6ae0fd43ec1769c994ae59d0 SHA512 d134edb55e4a8f932f4f883395da2f7217274d0a6070e8b96533da0b20cf7ea6e468ba99dbe93c084d4739fc0861bef79200e50cb9e3619aad03d52ebf8eeff1 EBUILD aiohttp-3.11.0_rc1.ebuild 3549 BLAKE2B 2169ec81c8dae03fa993e9ec327bc2ef2b9878d545c11dd49f130ca541bdacbbb2c3aba8623f2f5e820a5e281ecd4bacd490dccd6ae0fd43ec1769c994ae59d0 SHA512 d134edb55e4a8f932f4f883395da2f7217274d0a6070e8b96533da0b20cf7ea6e468ba99dbe93c084d4739fc0861bef79200e50cb9e3619aad03d52ebf8eeff1 EBUILD aiohttp-3.11.0_rc2.ebuild 3549 BLAKE2B 2169ec81c8dae03fa993e9ec327bc2ef2b9878d545c11dd49f130ca541bdacbbb2c3aba8623f2f5e820a5e281ecd4bacd490dccd6ae0fd43ec1769c994ae59d0 SHA512 d134edb55e4a8f932f4f883395da2f7217274d0a6070e8b96533da0b20cf7ea6e468ba99dbe93c084d4739fc0861bef79200e50cb9e3619aad03d52ebf8eeff1 EBUILD aiohttp-3.11.2.ebuild 3591 BLAKE2B fc401bbaa93603bb82b5ab6a7a65e7ec03ced149782508c7fbcf323b04a81b0d73ac671101de4757f71e8460d51abb1e7c3e7a150699dc732898473037863b1e SHA512 1401094644f036f7f50346dcbe6f476a512b7ff62b37d6bed9030ee59e996d234070d5ee7083b147977f610a8eb2e8189fa8ec206c745d344bbf9cb535d8bc6d +EBUILD aiohttp-3.11.3.ebuild 3676 BLAKE2B e85d83ca4ed77c217e41ae2270a4098a620a2f3b229fcfdd541ae4900110e77ae830c1a47c1f1cf347acce0ed0f835909b4a4c4e502baf3c2bcf95b2777d42d6 SHA512 0915a55c6eddcb93ae4b8c4ec56f9c1fb8acdac87872f550776e30251325cf06670bec608f0c007a97ac98dd631d5cebc68d945e7cc04bff6d9500f9ee617d9a MISC metadata.xml 490 BLAKE2B 5233af0b5e2668b1eb62278b05b62f24f1ab90f6d05b20dd9f1c5b54b846919c3fa28b843df28f5bfa320996d46de0e74c7a28bd0bef02aaaca14b1cec52baba SHA512 9b701c5c5a22b6aa94977a67bc40f3dc9df8337556952658a2a17ecaaa471cd7f7b5b8bf3a0088208087677555f0cbb8760c091b03b96ee70affe3e2b84cf6d5 diff --git a/dev-python/aiohttp/aiohttp-3.11.3.ebuild b/dev-python/aiohttp/aiohttp-3.11.3.ebuild new file mode 100644 index 000000000000..aab347bd3181 --- /dev/null +++ b/dev-python/aiohttp/aiohttp-3.11.3.ebuild @@ -0,0 +1,134 @@ +# 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_{10..13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="HTTP client/server for asyncio" +HOMEPAGE=" + https://github.com/aio-libs/aiohttp/ + https://pypi.org/project/aiohttp/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="+native-extensions test-rust" + +RDEPEND=" + >=dev-python/aiodns-3.2.0[${PYTHON_USEDEP}] + >=dev-python/aiohappyeyeballs-2.3.0[${PYTHON_USEDEP}] + >=dev-python/aiosignal-1.1.2[${PYTHON_USEDEP}] + >=dev-python/attrs-17.3.0[${PYTHON_USEDEP}] + dev-python/brotlicffi[${PYTHON_USEDEP}] + >=dev-python/frozenlist-1.1.1[${PYTHON_USEDEP}] + >=dev-python/multidict-4.5.0[${PYTHON_USEDEP}] + >=dev-python/propcache-0.2.0[${PYTHON_USEDEP}] + >=dev-python/yarl-1.17.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + <dev-python/async-timeout-6[${PYTHON_USEDEP}] + >=dev-python/async-timeout-4.0[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + native-extensions? ( + dev-python/cython[${PYTHON_USEDEP}] + ) + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + www-servers/gunicorn[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/re-assert[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/time-machine[${PYTHON_USEDEP}] + ' 'python3*') + test-rust? ( + dev-python/trustme[${PYTHON_USEDEP}] + ) + ) +" + +DOCS=( CHANGES.rst CONTRIBUTORS.txt README.rst ) + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # increase the timeout a little + sed -e '/abs=/s/0.001/0.01/' -i tests/test_helpers.py || die + # xfail_strict fails on py3.10 + sed -i -e '/--cov/d' -e '/pytest_cov/d' -e '/xfail_strict/d' setup.cfg || die + sed -i -e 's:-Werror::' Makefile || die + + distutils-r1_src_prepare +} + +python_configure() { + if [[ ! -d tools && ${EPYTHON} != pypy3 ]] && use native-extensions + then + # workaround missing files + mkdir tools || die + > requirements/cython.txt || die + > tools/gen.py || die + chmod +x tools/gen.py || die + # force rehashing first + emake requirements/.hash/cython.txt.hash + > .update-pip || die + > .install-cython || die + emake cythonize + fi +} + +python_compile() { + # implicitly disabled for pypy3 + if ! use native-extensions; then + local -x AIOHTTP_NO_EXTENSIONS=1 + fi + + distutils-r1_python_compile +} + +python_test() { + local EPYTEST_IGNORE=( + # proxy is not packaged + tests/test_proxy_functional.py + # python_on_whales is not packaged + tests/autobahn/test_autobahn.py + # benchmarks + tests/test_benchmarks_client.py + tests/test_benchmarks_client_request.py + tests/test_benchmarks_client_ws.py + tests/test_benchmarks_cookiejar.py + tests/test_benchmarks_http_websocket.py + tests/test_benchmarks_http_writer.py + tests/test_benchmarks_web_middleware.py + tests/test_benchmarks_web_response.py + tests/test_benchmarks_web_urldispatcher.py + ) + + local EPYTEST_DESELECT=( + # Internet + tests/test_client_session.py::test_client_session_timeout_zero + # broken by irrelevant deprecation warnings + tests/test_circular_imports.py::test_no_warnings + ) + + # upstream unconditionally blocks building C extensions + # on PyPy3 but the test suite needs an explicit switch + if [[ ${EPYTHON} == pypy3 ]] || ! use native-extensions; then + local -x AIOHTTP_NO_EXTENSIONS=1 + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=pytest_mock,xdist.plugin + rm -rf aiohttp || die + epytest -m "not internal and not dev_mode" \ + -p rerunfailures --reruns=5 +} diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index af955dad8d9b..0b86e1fe2468 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -1,7 +1,9 @@ DIST boto3-1.35.54.gh.tar.gz 882727 BLAKE2B 398e7743d30700856b15440c217d40e88aec4e58669009f68392e108373f2e57ff3c384be9bdc3873b102686df7f0e05f53d4518b149e982e0893473919db3cb SHA512 bfddb7c4b3816edc2b572bd6f412c0d085296df17b552930dfc9bb108c7100190da1f58f5f701d3ec3c36e6deb88c93e5af5bfc68963b76fc7c950d456815ec5 DIST boto3-1.35.57.gh.tar.gz 885077 BLAKE2B 4f3a29db5e76c706fbfd0afb3ec05d5518e69f3fd26d15e79024fb898d874818fa21031187d66078a4ebd107cce9461000e37506886f337049bd821e20933563 SHA512 19f951c04452203c070243bd8c944183221b51d9853efc19d33002af57c7d59c1967e8a7b606e56f772f35576ec6e1b52e2037138ba01a28f13685a49458c7d4 DIST boto3-1.35.63.gh.tar.gz 891481 BLAKE2B 092f4380aa31e57b3c8f6ef41ea8f0a4272e55f7a71762a532f338482f08782a11d57bdbc9af3630348706c4009bd0d3cd56ef4b2f1394d2d003638717cef860 SHA512 4deab7682b0f4d80a4aa12a8660b7263908411bd8f38692f9fa8820c6a18a4ecc3443e7524794282a0c0f38a4b94a1d09b6737e84ff3e01b9c8ac93abca2a9ce +DIST boto3-1.35.64.gh.tar.gz 892807 BLAKE2B bf2b899bfa3163efe20851079e764d99ccaf9c4a3555cc653363b42e018b9c5ce3bf3977d4fa0662de80c4163c4a97ff61842220d1cf21f6ff77c196fa6f6915 SHA512 3cb1f8ce15b2c7a977341c2f4338da6afa00ce359156bc48408d8f3c984a3ce8fc0da04c6897feb6e73bd4a5435d2b71a8f0e4d249880055ceda7b3e223a2889 EBUILD boto3-1.35.54.ebuild 1198 BLAKE2B 99a7fa08055cee13f14557124398df39119bae2e4b684265d4647ad0ec83a502bb422365e3797ff5c0440c4b1c9866ede4c62b1876510178dc2e6a0b05ed8781 SHA512 c020cc5535d63c948dd456d9f4af4e97339cb36dc0bb2b2c53d3da0c8c62737e0846ff71d9f85ca9b2936a8a7bfc43b67c3114f91440e75c9870beaa8997107a EBUILD boto3-1.35.57.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af EBUILD boto3-1.35.63.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af +EBUILD boto3-1.35.64.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af MISC metadata.xml 493 BLAKE2B 7d6324fc877ffe1d20c5369c2af0b09a7028f94d28f1841188913d0d8be7ea699c9d3f92c624992c4c96bd69615d3a1211a2483c76c56b7d3082492e43512523 SHA512 44420d8c03d5986f990b76369edfa8dfd7659b4952db3ad946fd05392ec594628a28745ad888d055d4f074d5214f61fcffafe6c04c4ab54109d45ac0371582bd diff --git a/dev-python/boto3/boto3-1.35.64.ebuild b/dev-python/boto3/boto3-1.35.64.ebuild new file mode 100644 index 000000000000..8cba6d95740e --- /dev/null +++ b/dev-python/boto3/boto3-1.35.64.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..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 ~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.10.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 f3a87e37647b..1ee0a9fe0f6f 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -1,7 +1,9 @@ DIST botocore-1.35.54.gh.tar.gz 13569174 BLAKE2B 1f4cb326d27ef028e16b20838fe1f7bc32cc5c782694d4d47dc2d0cd1384a7fdfe584f6225f41004c8e4c9028c1ac2b2b157daa073adab515d99a2cf1d42b19f SHA512 cab2956d9b7597295d761f232b9981085bb4daec182514fb514b6aed7bdb82ddca41b7b85900987f624828ae389f4ac282b0950692d965ccb9b67d6ce3d40362 DIST botocore-1.35.57.gh.tar.gz 13603794 BLAKE2B 23a4dc82e1d9667e75494c2fb651b883c7fbaf689679a1b40c3f277c33760fbaacd6843e6630876fe75597c6e6dc892726c609a97efcff0d46533460c379c43f SHA512 f20eccdcd0c027e3c1d6c631988c8913f3150b1b6da679fc18ea75824d0ef61b999ee9cad4f0d74edbb639cf52daf188fd7e256664e57fc89be09f33ed78d65e DIST botocore-1.35.63.gh.tar.gz 13692343 BLAKE2B 41ded808c412e9af8f938cf64db1632478f77d082417afac1f34905e946c0459545afa46854a41458090eab26a32b2733fb164f374455d8bdefea35718182632 SHA512 7185f5a288f848e1f3810ab9fa4eb46467321af6bdd345a8de623722ee513ab89f43303955487b014a3c349ed69a62c7bdf54e5095c3f4ebfd254fab51443ca8 +DIST botocore-1.35.64.gh.tar.gz 13718535 BLAKE2B 6fb1e8f858b9b5ea0796df76bed1df5b66dcce9eedd7e82c736def7b8f515354e157f1892f2a8b0c7d26cc4cc0501c122c0c8002c4dec0e175adf5c37e26a861 SHA512 d822ed760c0abf04afd2929a634fed9bb52ab9829a16cf31777fc832c7ec58594fbdd17e66f113332d1c63f9beb3310565aabece069941750fa1a172fdbf9163 EBUILD botocore-1.35.54.ebuild 1477 BLAKE2B 8ba848e2c436928ab5bab36e735b148504d8b82228fad1eebe027605a34abed713b9dd7a671541d3fd51699bdef252fe3aa414c809afc461601dd1e42b22296c SHA512 221d3251da242b9eb5c5138fde3e3e5972f2a44d53ea78665302679928a3ba4a21c304973724fcdf7fd0f373f2ec61fb4e1994a4927bbe8ee8ecdffdea32a209 EBUILD botocore-1.35.57.ebuild 1484 BLAKE2B c9537c34e5c2ccdfc4a43355acfffe603de4f12e19934355c62d7366e45fb4974d33a9b0ec7b4a5a6054b3627e6fd453c1d806797ca59a8cadc8230a5760541d SHA512 1897b078e3a849aba08170048369cbeef8b15729d4137446f8347b4249eca416df0e4d51e83a7c800eccbe15bf3362242e45e7c42082921e44fbfa37a9955ca8 EBUILD botocore-1.35.63.ebuild 1484 BLAKE2B c9537c34e5c2ccdfc4a43355acfffe603de4f12e19934355c62d7366e45fb4974d33a9b0ec7b4a5a6054b3627e6fd453c1d806797ca59a8cadc8230a5760541d SHA512 1897b078e3a849aba08170048369cbeef8b15729d4137446f8347b4249eca416df0e4d51e83a7c800eccbe15bf3362242e45e7c42082921e44fbfa37a9955ca8 +EBUILD botocore-1.35.64.ebuild 1484 BLAKE2B c9537c34e5c2ccdfc4a43355acfffe603de4f12e19934355c62d7366e45fb4974d33a9b0ec7b4a5a6054b3627e6fd453c1d806797ca59a8cadc8230a5760541d SHA512 1897b078e3a849aba08170048369cbeef8b15729d4137446f8347b4249eca416df0e4d51e83a7c800eccbe15bf3362242e45e7c42082921e44fbfa37a9955ca8 MISC metadata.xml 499 BLAKE2B e5aaa7da26f200c09adfdf38b68f656bbccbec627cb5d966b280ac2165334e7eec659c89075bcace748f58e2ec3e7d2998e54a688d56ecea2d30653c67dfd35a SHA512 103c554d5dbd967bf9b6e418b3913d9235e7e910d012160909ce0715134ed2e37b06e6a345395f9d16ce08d1cf51f3ce458bce93c6a978fd3dca6610f2acdbd0 diff --git a/dev-python/botocore/botocore-1.35.64.ebuild b/dev-python/botocore/botocore-1.35.64.ebuild new file mode 100644 index 000000000000..0f88c5cbe9f3 --- /dev/null +++ b/dev-python/botocore/botocore-1.35.64.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..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 ~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 080323cf8107..42ac05c1b797 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -2,8 +2,10 @@ DIST cfn_lint-1.17.2.tar.gz 2526962 BLAKE2B 76feefa1bcce6a0957ce028d6041ac49b475 DIST cfn_lint-1.18.3.tar.gz 2768521 BLAKE2B 277d52b6005e175bf87094dc6a0c71e660217db2665a03f1408ed03d67c2b72aefd0d2ed377869932aabeb351449eb6f7e05db3d8abebe94eed18b60d4c9c283 SHA512 27803f683f8f0440b71925a511fd9cd81c8a81c35a04b267a6f67833d40e2d1dca94f9c81bad507ede02c049ef5143372d5e9aa148ea5242b946d1cd3ac55a77 DIST cfn_lint-1.18.4.tar.gz 2788919 BLAKE2B c9815d61450d6afa6f054a305b90ceb14a2dd72206834fb64c8e51017cbcf02843dc83e909d1db0dfb183d7f059909a9b794e886745bbe48cac42dcf2c109150 SHA512 fc8ed928fa83d262000c141805734c788559f2ed7ad7b1b989771069cd8972c04dba67a8c4823cceb35ad70db19e28c5f36093cf42f86b232f35eeba8585c89b DIST cfn_lint-1.19.0.tar.gz 3074770 BLAKE2B 955ad65135242dc0cc64de3495db59da204ab102817e1da2d2d654c0df0a5d5834b8e2aab91fe15dd08daecef00d46297dc76129ac4ed670fc291e7e69fd6908 SHA512 84115aa5131219e01d038b4a7dd12c1ea2ffce8fbc7e4af22bd8e031f980d342db20ceb4c9f27e96602df19cca10eba84dfd066742606e156357bdac97eefb19 +DIST cfn_lint-1.20.0.tar.gz 2879582 BLAKE2B da387ad8c8f7425c37106976a9dafe205206559971d847b897e245e283b3cd13179e7033b3e32e0b764b75b1b3d10d23764f84700d4e857fe727a3681b1ff1b2 SHA512 724d1f6ac67d9c1f975f8716d1df1a5ee9f8674a1f3851dad3ad0f5bead8226212012aa3d258ce1cb477904fea6c91c59f6b28291fd846de80fa1c7b3ea1d90f EBUILD cfn-lint-1.17.2.ebuild 2173 BLAKE2B 5e4c47efdb2519007e70bb5a736e25ef396631a967b23f6057e450a31358b2bf16fc3d85a30259dd2414e85a185784504b6d330a6568edccb8880d230fb81327 SHA512 da3c99f559c87c3b50c75a2055b1ca0fecc2eaf12f9601460efb853a31569aa081668ae2f300b4f0f1bb551dccba1c1b65bed2aa1cb60bbfbc09295d75cec3fb EBUILD cfn-lint-1.18.3.ebuild 2176 BLAKE2B 0204895222e1591f9f275af74dcdac3435fa5a6cdf34c46242e63829e40b9f2fcd493db355f11454df539555da529321ebbfff2a7326c9f0a0f40beb8cbf6c43 SHA512 b82cada00e1b5238ed40b0ea35fc3a1f84f3deced456412abcd668b46aa99e29c3a88091cd0252188afdb6cf0fed38846124bf073ba3c794d934dce3a14ce46a EBUILD cfn-lint-1.18.4.ebuild 2176 BLAKE2B 0204895222e1591f9f275af74dcdac3435fa5a6cdf34c46242e63829e40b9f2fcd493db355f11454df539555da529321ebbfff2a7326c9f0a0f40beb8cbf6c43 SHA512 b82cada00e1b5238ed40b0ea35fc3a1f84f3deced456412abcd668b46aa99e29c3a88091cd0252188afdb6cf0fed38846124bf073ba3c794d934dce3a14ce46a EBUILD cfn-lint-1.19.0.ebuild 2176 BLAKE2B 0204895222e1591f9f275af74dcdac3435fa5a6cdf34c46242e63829e40b9f2fcd493db355f11454df539555da529321ebbfff2a7326c9f0a0f40beb8cbf6c43 SHA512 b82cada00e1b5238ed40b0ea35fc3a1f84f3deced456412abcd668b46aa99e29c3a88091cd0252188afdb6cf0fed38846124bf073ba3c794d934dce3a14ce46a +EBUILD cfn-lint-1.20.0.ebuild 2176 BLAKE2B d191ba7a19be828f631d910755b559e67f6e38a291ec96980d7f0c003067e36127441058e6e83879bee41de6bea41607f86261cfe73f52a4fa65249a48bfc8e6 SHA512 1c7c87566a88231b012ad28cc8a17a7ec461a9c116a96e98f78a3eca20cc3665550b0ca972e1cdf30a282b12d9824654840f75a98c6838c3ef3d885cd8b9de9f MISC metadata.xml 583 BLAKE2B 9f73e2b92e5cfa2ad59f5c8e5d91bdd3aa9eba3fa722b93b388cffea42020db7e7441bab5749432812934a4514d3e9104e6d897e1d115afa5ed237757bd48c03 SHA512 1866a349855ae4e248498b7aabd6ce4c4e10ea58731df4bfa13500f61dc041da6dbd7420e7d6a78fad46d5cf00bd7ef2d0c4c7d6819a21b3a5031b0d49588a19 diff --git a/dev-python/cfn-lint/cfn-lint-1.20.0.ebuild b/dev-python/cfn-lint/cfn-lint-1.20.0.ebuild new file mode 100644 index 000000000000..7b09c2f1dc91 --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-1.20.0.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..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.92.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/clang-python/Manifest b/dev-python/clang-python/Manifest index db92fb2f744e..f16e8c85f01f 100644 --- a/dev-python/clang-python/Manifest +++ b/dev-python/clang-python/Manifest @@ -9,6 +9,8 @@ DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B a950492f1dbfb874dff63b1ffe DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 6ab0efc5b38d4483f4e32e8b85774b2edd5d88fdf29f23b88eb0b5130a7a7f0e80549612b025f927e92de4a08ff7c292cff224dbda91a5d598244e98f7ad0fbd SHA512 ddfd1e8a06756759af6cbe488c82a6d6a62ba91f3e8a0eb4cece561321824f5d165b08ed91010588790b76e19790931d2651b24dba8567e3b151d3cb43bec25b DIST llvm-project-19.1.3.src.tar.xz 141247864 BLAKE2B 4ccb30accd632a7d54eb065b724ff81ec8a50380fa527111d58acd728eecb798d42f680119b6d1cbc980523e2f39220921ca1f530daa7afea05ab27436dedb7e SHA512 0abaf158b373892d5afc184158600df17a0797547ad7238ca9018d6fcdd7310b0db803d158daa82a2e04bd42d9daebaa2c3e4b9024c0fa2df72a88596575df5c DIST llvm-project-19.1.3.src.tar.xz.sig 438 BLAKE2B 44717741ae13bb0c52382647352e52273d8401728dc5cc1cf0c11a8f08cd74b6e3d789e788793aad767030b36fdec62e3a05bdc0b7ff60556cec7ceac17fc239 SHA512 84ef22ee78dbaad4710becbcb02119d06063099f9102bb86f3cd44fbb7e2d87bafe239d8e0cbf22ab5a479f99a11a77125f22394d5006ed86262076ccbf1634d +DIST llvm-project-19.1.4.src.tar.xz 141255156 BLAKE2B b99cd8a96e38dbcfb582ee5d2250268df36fb94fa0fd5b3611484094fbd7962051978334d2c623d2ff5a0209dbb2c6c6492be0146507ae982a7d3e9705a689c5 SHA512 a586f8a41dde5e0d9ca6d8c58e9ef2a2e59b70a86d2e2c46106dc31b5c096bb80af0cdbdb486179e9cc676a540099f49a1c2db9e5e84c50362db1f72e9af6906 +DIST llvm-project-19.1.4.src.tar.xz.sig 438 BLAKE2B b0925bdb761046d69779e0b035e29430bc09ef2b81be763aa5c853793631d7b7fdd65eb4dae7a1e3b4daa15d189c24cd1e14f065f79fdbf75429fa34be9b330e SHA512 3fb4a6c7594cb43680860698dac47062dde30de60f515dcecdad63812ea1edfb2cb209d0a7ac2254589c245a95b7c0f571b582e0d4b97a6ae8242563483ea764 DIST llvm-project-3f4468faaa9525ad615118675c3c68938f4a8d5f.tar.gz 221860252 BLAKE2B 6c531df34163dc0879c79b029a13215d1bef2cd95bbaf4a6d5e10b81a8352236283d40f14b62e23a57cc1cf8edce138fb6e2720ced2397d6469c5863564c626d SHA512 4aa485f4547e210cf8f6f8147c4adab3e75afe77f1e4e1bc4718fe681b64bdcf8937f843964542f8ead90ceef52cc0fd4bd8275824d1a4c6961eddafc7d35115 DIST llvm-project-a6385a3fc8a88f092d07672210a1e773481c2919.tar.gz 222866102 BLAKE2B 9346275b18dcd7eedb699ed3494c027f597f68ceb8ff902fbff9f805a2c423d4fb86619974b3bb6fea30c5fe948e3793fb5c499f9e206b61794e13908d830327 SHA512 ac507feeaba787c6df1ece65e03d065c4f8fbabef686b583f671745e09c9a585be8c9359aeb3aa77815711a2ff9621c1b36a4d24cfe9f8d04e3288b53d7c9c69 DIST llvm-project-c7df10643bda4acdc9a02406a2eee8aa4ced747f.tar.gz 222622409 BLAKE2B 8b6b53e0d51a681ec2e3ea1c873df95357e1333a598d26921c72f4ce05872aa5fe00a046bfe8811e2c8c1a2ffced7a325a0399bd931e54cf2aeb23abe887bde7 SHA512 e78219c87f001c813844ff652bf065f7c1d1bbf09af801ed1e99e9f40b981896bcee699d2ab15c71478388987c4030750a7958265d374b9f568fdf7af3dd3a21 @@ -17,6 +19,7 @@ EBUILD clang-python-16.0.6.ebuild 1203 BLAKE2B 7baa638bb302b5b97aea34e62d28035f6 EBUILD clang-python-17.0.6.ebuild 1203 BLAKE2B 13f87c2782967c4fded88a60220b87e9f9f50d9c37543f30ab2b9ae94cdc5f53d2b1fb422e13450df50ecbb0e36f2a531705fd75f021f265e67f67dd08c85eed SHA512 8abd5bdb175a8c24c542dbcbc73617f075e50a555d9da698ae3139414c2fc11b9ee96d42af0829432c0d2f9d3c820683a2ef5946fdc4332f3d06e40466bbb38f EBUILD clang-python-18.1.8.ebuild 1203 BLAKE2B afd17079dd42d349bc5b0a93415be0f26c5cf4c4e1ad26d9b651a3c179eef5455e68167d4d713cc922b109da3ede6b43221bac5f21b388d6394ce590b8c8920b SHA512 76d9addc51c8dac6d90cbb5e75f9b9e296c6bc6a968edec77c3f78f0e1dfe1acbff8ea5529175cbc621156afeef728355529f505f7ffe113dbe1d2bb83cff8db EBUILD clang-python-19.1.3.ebuild 1205 BLAKE2B 609f06035ee58685b352f56b62925947fc3cb15f4ca04749256d4d49735443ddc6338c7121157bb722c9a45a60311c262a90a4bbe0ec280c8c6833df210c3b27 SHA512 4b07e79adeafb345896316114ec20ad2443e9b63d28181fe36d44285ed067e2ee73e04425aee255032699bef5e65cced1356967b7dd6f7fd221cbbf03d922057 +EBUILD clang-python-19.1.4.ebuild 1205 BLAKE2B 609f06035ee58685b352f56b62925947fc3cb15f4ca04749256d4d49735443ddc6338c7121157bb722c9a45a60311c262a90a4bbe0ec280c8c6833df210c3b27 SHA512 4b07e79adeafb345896316114ec20ad2443e9b63d28181fe36d44285ed067e2ee73e04425aee255032699bef5e65cced1356967b7dd6f7fd221cbbf03d922057 EBUILD clang-python-20.0.0.9999.ebuild 1170 BLAKE2B c6bb0527431ced05965e35f2f3d0d0c05db4f27c4286d28cc36c0bc0e2e1c704018650840ab6cb7fbb62cb0acc22bc0472f5dd61a4c4c49a8dabdcb14dc35043 SHA512 bda343468b925bea4580582a163413f6ab45354698c2d3ed818d638989f3cd11248fedef0b7da469d1bfe5fa388304718cd091ca0120ee56da0173e582bc58be EBUILD clang-python-20.0.0_pre20241029.ebuild 1170 BLAKE2B c6bb0527431ced05965e35f2f3d0d0c05db4f27c4286d28cc36c0bc0e2e1c704018650840ab6cb7fbb62cb0acc22bc0472f5dd61a4c4c49a8dabdcb14dc35043 SHA512 bda343468b925bea4580582a163413f6ab45354698c2d3ed818d638989f3cd11248fedef0b7da469d1bfe5fa388304718cd091ca0120ee56da0173e582bc58be EBUILD clang-python-20.0.0_pre20241106.ebuild 1170 BLAKE2B c6bb0527431ced05965e35f2f3d0d0c05db4f27c4286d28cc36c0bc0e2e1c704018650840ab6cb7fbb62cb0acc22bc0472f5dd61a4c4c49a8dabdcb14dc35043 SHA512 bda343468b925bea4580582a163413f6ab45354698c2d3ed818d638989f3cd11248fedef0b7da469d1bfe5fa388304718cd091ca0120ee56da0173e582bc58be diff --git a/dev-python/clang-python/clang-python-19.1.4.ebuild b/dev-python/clang-python/clang-python-19.1.4.ebuild new file mode 100644 index 000000000000..9b3ee513e023 --- /dev/null +++ b/dev-python/clang-python/clang-python-19.1.4.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +inherit llvm.org python-r1 + +DESCRIPTION="Python bindings for sys-devel/clang" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# The module is opening libclang.so directly, and doing some blasphemy +# on top of it. +DEPEND=" + >=sys-devel/clang-${PV}:* + !sys-devel/llvm:0[clang(-),python(-)] + !sys-devel/clang:0[python(-)] +" +RDEPEND=" + ${DEPEND} + ${PYTHON_DEPS} +" +BDEPEND=" + ${PYTHON_DEPS} + test? ( + sys-devel/clang:${LLVM_MAJOR} + ) +" + +LLVM_COMPONENTS=( clang/bindings/python ) +llvm.org_set_globals + +python_test() { + # tests rely on results from a specific clang version, so override + # the search path + local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir) + local -x CLANG_NO_DEFAULT_CONFIG=1 + "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" +} + +src_test() { + python_foreach_impl python_test +} + +src_install() { + python_foreach_impl python_domodule clang +} diff --git a/dev-python/cleo/Manifest b/dev-python/cleo/Manifest index 17861920bf48..5268964b9a50 100644 --- a/dev-python/cleo/Manifest +++ b/dev-python/cleo/Manifest @@ -1,3 +1,5 @@ DIST cleo-2.1.0.gh.tar.gz 165795 BLAKE2B 7c9d0cc869d1e185c2c5a092a8aa1d1b3cce5fc25246939c0ff94920ac7070000b110be9f6cd9d1f827ed951ff22b9ad62e3c17a941022967b7599e456cda837 SHA512 e73a4c02470052f0f602fae8b5bf7073f3342d0816074398b19f0fb25caddda51b6d2fcb9ef57026638d0dc8861a2b5142d87551b105cefa5e54426e4aa1225c +DIST cleo-2.2.1.gh.tar.gz 162526 BLAKE2B 2f5da066672ecf7067801cd6287cd81055be893001a00067ada150c76363dde1ad3dc715d030963a15cee56080a15d1843d34499a92a55a4d4a3dfe340239ce5 SHA512 905411ca3f4769b12857df807e19f42f88f2aade3dd9b7f38dc3e61efce926479a6afcfc4cfff622ec98122d35871eef47e9146a61a159d4cf083e9eceb3b4ed EBUILD cleo-2.1.0.ebuild 1169 BLAKE2B 0fdb4e7545f76589748ad0281909cd1726a2cb13042611101f9713e6d7f01d24e55ff7dfbe13a2a648b76899965e2ea30475bd2f3321c0e2d87741fa055230b2 SHA512 72615fd98ba2333ff077d3078585be37ae21238107546d3f321b0582a9d47112ccb06a7acc5c39350391b30eafbfb35a02292c9f073bf395f5be7be89f1000b3 +EBUILD cleo-2.2.1.ebuild 1082 BLAKE2B 854df08c9b92a3d5742d72480c68279f9d1b84691b1fe49e5c7aa0ebf676e045ee2921a40a7c2ef7d2a6ec1e9ade3ed98360b481c86ffdd05ce557e2125483b2 SHA512 c88a44c4e5b72d2ac4d62aae8d674254ba2c372fca6267a6373cee4e96d8a70ca03307201356477b48d79636b81d55c9f46c677e68d20c4699c34f97013df6ae MISC metadata.xml 403 BLAKE2B 0c5320880b1df824eac22cfc315a1dd2e910e581edc90eeecc25ad410b7e6bd458c1bf03af118d3eb7c82d1e10db7c6cea70080c1ced0d48f3f58cb69d47f8a7 SHA512 6bedf64675cdf2ff12f0f7369c90ab0d702b621dc6b370461e059b41337712f438d70faeb5cd86c5368bdedc73bf19af823f145e04b3983a44e952579300e3b5 diff --git a/dev-python/cleo/cleo-2.2.1.ebuild b/dev-python/cleo/cleo-2.2.1.ebuild new file mode 100644 index 000000000000..4bc240fc5885 --- /dev/null +++ b/dev-python/cleo/cleo-2.2.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="Python tool for building testable command-line interfaces" +HOMEPAGE=" + https://github.com/python-poetry/cleo/ + https://pypi.org/project/cleo/ +" +SRC_URI=" + https://github.com/python-poetry/cleo/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # unpin rapidfuzz + sed -i -e '/rapidfuzz/s:\^:>=:' pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=() + + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + tests/ui/test_exception_trace.py::test_render_debug_better_error_message_recursion_error + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=pytest_mock + epytest +} diff --git a/dev-python/libcst/Manifest b/dev-python/libcst/Manifest index c7c24a8b7333..fc72466ecafe 100644 --- a/dev-python/libcst/Manifest +++ b/dev-python/libcst/Manifest @@ -42,6 +42,7 @@ DIST js-sys-0.3.58.crate 78794 BLAKE2B d664fda1e19a7ebb621596cd4773e7ebe86b3749e DIST lazy_static-1.4.0.crate 10443 BLAKE2B 25b2e61bbac48f0dcbc79c81d7bf01f2403d8269ecb6be3ea6147bd00f7a588df15a91f44dfc18ada19b21faa71de4637c7d493a8628cbecd0e547d74e616a23 SHA512 e124c0521ec7c950f3c4a066821918da7a9c6e711115d98009ae7c351928fdddead852e7596fea5937a9c30e4e4ce8eee7099b20248b5d6e3b2494b6a6d88cb8 DIST libc-0.2.149.crate 715592 BLAKE2B 21dd5d4f9351f3c75790077c7b025046db665f2d48d7a72cda7667bc60febf79d82708cf7d39a323a594397cd590bd3d2a2f85349b4473b90ea4da918382ed0a SHA512 0def64d400d473d6eed30e985522d36801ee6472b15f90e74dc4592e0a8ffbaf30b731be280de52b30255cf60aeca8efe817b67049227dc7000c807e007d7289 DIST libcst-1.5.0.tar.gz 772970 BLAKE2B 7204930f06fdeefdf79a4497355ed573afba15b8555c36f4ea7be6a82eafa4db023f7c9f9777bdafff3d481c79159aef4a2ff761b82a20ecdedc39c4b395ab1d SHA512 9c35023d35a6168d247d872b5f50fd7cef8076a06d39491e2b15120a6e8b301708b03cf2c2c4666d042c86f5951dc5f1ba58dbdd111efeec52b12b2561bd3ffc +DIST libcst-1.5.1.tar.gz 773387 BLAKE2B c866d3483fb5037ae0bafc7463c377a1ba2bc55afe8182695de10c4344ed38b8c56d16241e8b19159a8cb93dcabf6cf8b6776d45e11367241f976cd9a9da74cf SHA512 587bc312de2e3dd76539f4e3963f5308815dcb3b4ed9e224ba808ec8510f5a10a6fa199b0560864fb73d0aeef837b39293e7a61b3d815568b2fe2a1157ee4aeb DIST linux-raw-sys-0.4.10.crate 1407767 BLAKE2B 8bc633d99bc1ee1a6fdfa19501fd034a4475fa9ebe18a206e4254309d91aee7a91fc70faf9775efa5157a1b2fb7e5f827bde40a770b066643356113f2cf38b5d SHA512 107f61add087bff55869798d5c71bc6ac9ecb27a603d8f9071b856189de8b7b0a7f9243fa1433700f52a0c3020eff5604dbf6e0653109d0dd277b98ab45fae21 DIST lock_api-0.4.7.crate 25371 BLAKE2B 9ed08433ffa70af60193dcf307287991a3154f0ef16b485f32a6c83e64962661a6e08ef83a6b217d6cbf5bd964c0638d8ed86b290087677c1fb3218321c4bbf8 SHA512 b1a5227fd131edaa70e017f7ddb43af8b4efa58488007b898ca1dfc818a3a441b732b7adbf1270e72a68ee5d2a99a5d48f33b2bca8e2cf78694953d20d27636d DIST log-0.4.17.crate 38028 BLAKE2B b46be3719fc0a53e50b1f342762e188587e9f1ceb692c72473ce2663edfb8253742d30024e68c1444780ab7fc0e2d5b0601b8ea7228dc3405a9342a57548e605 SHA512 2477d88db42b1d92c30708d88823212e236f613b3465e85eb425f83f8d16fadfaf0352f06c2999a1852102edd2f6ffb10ecb539d8a3b6c48f552a25622ccffa2 @@ -117,4 +118,5 @@ DIST windows_x86_64_gnullvm-0.48.5.crate 418486 BLAKE2B 12a2199d434617c1df1a839e DIST windows_x86_64_msvc-0.48.5.crate 798412 BLAKE2B 8abc0721e2fb337fe17c91d278947d36122d9045b839ba0cf3e690202d242265b676f23cc301da5f9d98c56ca4ecb76f7d6f072ee71bf986a1deca87020b90e5 SHA512 fa1c5cd14ca2ff0082e2504cf59d317dc4dc6f7138d35c12f95d4476a9c13d8b7f5537d0ee251eee7c99411ad31b22263171b7fbd391daa5d3ea3488ceaa61a0 DIST winnow-0.6.18.crate 163357 BLAKE2B 7a43eba294c43b187211c6eabc449775081f44405045ec4786c5f10290639e18d002e872f9db14caa94e26fd99079c7ce2f99e70dcb20d842c0886ac203d8ca8 SHA512 3a146d9dc8fe3fcc855f7766852cd69c49a28f9048d553d3952d7722d49216cb44652d98b15ae1ddee99b2bbc3caefb107a9b85c309242dac943deeca65a81dc EBUILD libcst-1.5.0-r1.ebuild 3958 BLAKE2B 2f5c5801bf8ccdd300745f1eaa4f36a0c91f2d72672b22ec91428c315784c61732462c2c155107d0a8da3a05f50e42eb763cd6e8c345137eb07939d7f4a834ad SHA512 40eeca896263ac96bd20799a99378bfa61b8489a4ece232a00a40d114f336b89a9521ec88ab6b2e2eae4dd3363dc4f38adfef019654aff9146e46399db64af52 +EBUILD libcst-1.5.1.ebuild 3959 BLAKE2B 9decaab3e3bf59411e57ba256439523ad6131c967c538061d153d973598e4cb9a13748f5ccc5af0096868f38f9cfd34fc9047e098b780d795736ac8719242048 SHA512 a38c31d97bf72d7ca6e31ef464ae5eaf92591877446b4a7e483a9c83e13296a2b1e53ac0b841cc3a0cf4d3f566129795e984272ba722f034bcb830a8545086cd MISC metadata.xml 344 BLAKE2B 1dee439ab8e2c5e4e69c38cbdf2d6730844f73882e27dcf6dbbeaac5fb1e256eab39c854d3d0de8d91728b84b707aeec5b9bd9fe2d399baa1b4b61d9a5c33686 SHA512 9ec25b8e81d2c30502b71d33767331a5704aa708ffc5e1c36b5b91f82ad0acc0bd0f0e431d62d4e42eea9ecb30d021e5ee514f630aa6ccd7667bfecf4b4837ec diff --git a/dev-python/libcst/libcst-1.5.1.ebuild b/dev-python/libcst/libcst-1.5.1.ebuild new file mode 100644 index 000000000000..c61b6fd82764 --- /dev/null +++ b/dev-python/libcst/libcst-1.5.1.ebuild @@ -0,0 +1,195 @@ +# Copyright 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=( pypy3 python3_{10..13} ) + +CRATES=" + aho-corasick@1.0.4 + anes@0.1.6 + annotate-snippets@0.6.1 + anstyle@1.0.2 + autocfg@1.1.0 + bitflags@1.3.2 + bitflags@2.4.0 + bumpalo@3.12.0 + cast@0.3.0 + cc@1.0.83 + cfg-if@1.0.0 + chic@1.2.2 + ciborium-io@0.2.0 + ciborium-ll@0.2.0 + ciborium@0.2.0 + clap@4.4.0 + clap_builder@4.4.0 + clap_lex@0.5.1 + criterion-plot@0.5.0 + criterion@0.5.1 + crossbeam-deque@0.8.1 + crossbeam-epoch@0.9.9 + crossbeam-utils@0.8.10 + difference@2.0.0 + either@1.6.1 + equivalent@1.0.1 + errno-dragonfly@0.1.2 + errno@0.3.2 + glob@0.3.0 + half@1.8.2 + hashbrown@0.14.5 + heck@0.4.1 + hermit-abi@0.3.2 + indexmap@2.4.0 + indoc@2.0.4 + instant@0.1.12 + is-terminal@0.4.9 + itertools@0.10.5 + itertools@0.13.0 + itoa@1.0.2 + js-sys@0.3.58 + lazy_static@1.4.0 + libc@0.2.149 + linux-raw-sys@0.4.10 + lock_api@0.4.7 + log@0.4.17 + memchr@2.7.4 + memoffset@0.6.5 + memoffset@0.9.0 + num-traits@0.2.15 + once_cell@1.16.0 + oorandom@11.1.3 + parking_lot@0.11.2 + parking_lot_core@0.8.5 + paste@1.0.15 + peg-macros@0.8.4 + peg-runtime@0.8.3 + peg@0.8.4 + plotters-backend@0.3.2 + plotters-svg@0.3.1 + plotters@0.3.1 + proc-macro2@1.0.86 + pyo3-build-config@0.20.2 + pyo3-ffi@0.20.2 + pyo3-macros-backend@0.20.2 + pyo3-macros@0.20.2 + pyo3@0.20.2 + quote@1.0.37 + rayon-core@1.12.1 + rayon@1.10.0 + redox_syscall@0.2.13 + regex-automata@0.4.7 + regex-syntax@0.8.4 + regex@1.10.6 + rustix@0.38.19 + ryu@1.0.10 + same-file@1.0.6 + scopeguard@1.1.0 + serde@1.0.208 + serde_derive@1.0.208 + serde_json@1.0.125 + serde_spanned@0.6.7 + smallvec@1.8.1 + syn@1.0.109 + syn@2.0.75 + target-lexicon@0.12.4 + termcolor@1.1.3 + thiserror-impl@1.0.63 + thiserror@1.0.63 + tinytemplate@1.2.1 + toml@0.8.19 + toml_datetime@0.6.8 + toml_edit@0.22.20 + trybuild@1.0.99 + unicode-ident@1.0.1 + unindent@0.2.3 + walkdir@2.3.2 + wasm-bindgen-backend@0.2.81 + wasm-bindgen-macro-support@0.2.81 + wasm-bindgen-macro@0.2.81 + wasm-bindgen-shared@0.2.81 + wasm-bindgen@0.2.81 + web-sys@0.3.58 + winapi-i686-pc-windows-gnu@0.4.0 + winapi-util@0.1.5 + winapi-x86_64-pc-windows-gnu@0.4.0 + winapi@0.3.9 + windows-sys@0.48.0 + windows-targets@0.48.5 + windows_aarch64_gnullvm@0.48.5 + windows_aarch64_msvc@0.48.5 + windows_i686_gnu@0.48.5 + windows_i686_msvc@0.48.5 + windows_x86_64_gnu@0.48.5 + windows_x86_64_gnullvm@0.48.5 + windows_x86_64_msvc@0.48.5 + winnow@0.6.18 +" + +inherit cargo distutils-r1 pypi + +DESCRIPTION="A concrete syntax tree with AST-like properties for Python" +HOMEPAGE=" + https://github.com/Instagram/LibCST/ + https://pypi.org/project/libcst/ +" +SRC_URI+=" + ${CARGO_CRATE_URIS} +" + +LICENSE="MIT Apache-2.0 PSF-2" +# Dependent crate licenses +LICENSE+=" Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT" +SLOT="0" +KEYWORDS="~amd64 ~riscv" + +RDEPEND=" + >=dev-python/pyyaml-5.2[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-rust[${PYTHON_USEDEP}] + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/black[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +QA_FLAGS_IGNORED="usr/lib/py.*/site-packages/libcst/native.*" + +python_test() { + local EPYTEST_DESELECT=( + # TODO + libcst/codemod/tests/test_codemod_cli.py::TestCodemodCLI::test_codemod_formatter_error_input + ) + local EPYTEST_IGNORE=( + # fuzzing, require hypothesmith + libcst/tests/test_fuzz.py + # require pyre-check + libcst/metadata/tests/test_type_inference_provider.py + # requires `python -m libcst.codegen.generate` which has extra + # deps and needs patching to work in our venv + # TODO: figure out if we don't need that for revdeps anyway + libcst/codegen/tests/test_codegen_clean.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + # fixtures + ln -s "${S}/native" . || die + + nonfatal epytest + local ret=${?} + + rm native || die + + [[ ${ret} -ne 0 ]] && die "Tests failed on ${EPYTHON}" +} + +python_test_all() { + cd native || die + cargo_src_test +} diff --git a/dev-python/lit/Manifest b/dev-python/lit/Manifest index 3f0b5aaec2d7..b6fc31e572fb 100644 --- a/dev-python/lit/Manifest +++ b/dev-python/lit/Manifest @@ -9,6 +9,8 @@ DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B a950492f1dbfb874dff63b1ffe DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 6ab0efc5b38d4483f4e32e8b85774b2edd5d88fdf29f23b88eb0b5130a7a7f0e80549612b025f927e92de4a08ff7c292cff224dbda91a5d598244e98f7ad0fbd SHA512 ddfd1e8a06756759af6cbe488c82a6d6a62ba91f3e8a0eb4cece561321824f5d165b08ed91010588790b76e19790931d2651b24dba8567e3b151d3cb43bec25b DIST llvm-project-19.1.3.src.tar.xz 141247864 BLAKE2B 4ccb30accd632a7d54eb065b724ff81ec8a50380fa527111d58acd728eecb798d42f680119b6d1cbc980523e2f39220921ca1f530daa7afea05ab27436dedb7e SHA512 0abaf158b373892d5afc184158600df17a0797547ad7238ca9018d6fcdd7310b0db803d158daa82a2e04bd42d9daebaa2c3e4b9024c0fa2df72a88596575df5c DIST llvm-project-19.1.3.src.tar.xz.sig 438 BLAKE2B 44717741ae13bb0c52382647352e52273d8401728dc5cc1cf0c11a8f08cd74b6e3d789e788793aad767030b36fdec62e3a05bdc0b7ff60556cec7ceac17fc239 SHA512 84ef22ee78dbaad4710becbcb02119d06063099f9102bb86f3cd44fbb7e2d87bafe239d8e0cbf22ab5a479f99a11a77125f22394d5006ed86262076ccbf1634d +DIST llvm-project-19.1.4.src.tar.xz 141255156 BLAKE2B b99cd8a96e38dbcfb582ee5d2250268df36fb94fa0fd5b3611484094fbd7962051978334d2c623d2ff5a0209dbb2c6c6492be0146507ae982a7d3e9705a689c5 SHA512 a586f8a41dde5e0d9ca6d8c58e9ef2a2e59b70a86d2e2c46106dc31b5c096bb80af0cdbdb486179e9cc676a540099f49a1c2db9e5e84c50362db1f72e9af6906 +DIST llvm-project-19.1.4.src.tar.xz.sig 438 BLAKE2B b0925bdb761046d69779e0b035e29430bc09ef2b81be763aa5c853793631d7b7fdd65eb4dae7a1e3b4daa15d189c24cd1e14f065f79fdbf75429fa34be9b330e SHA512 3fb4a6c7594cb43680860698dac47062dde30de60f515dcecdad63812ea1edfb2cb209d0a7ac2254589c245a95b7c0f571b582e0d4b97a6ae8242563483ea764 DIST llvm-project-3f4468faaa9525ad615118675c3c68938f4a8d5f.tar.gz 221860252 BLAKE2B 6c531df34163dc0879c79b029a13215d1bef2cd95bbaf4a6d5e10b81a8352236283d40f14b62e23a57cc1cf8edce138fb6e2720ced2397d6469c5863564c626d SHA512 4aa485f4547e210cf8f6f8147c4adab3e75afe77f1e4e1bc4718fe681b64bdcf8937f843964542f8ead90ceef52cc0fd4bd8275824d1a4c6961eddafc7d35115 DIST llvm-project-a6385a3fc8a88f092d07672210a1e773481c2919.tar.gz 222866102 BLAKE2B 9346275b18dcd7eedb699ed3494c027f597f68ceb8ff902fbff9f805a2c423d4fb86619974b3bb6fea30c5fe948e3793fb5c499f9e206b61794e13908d830327 SHA512 ac507feeaba787c6df1ece65e03d065c4f8fbabef686b583f671745e09c9a585be8c9359aeb3aa77815711a2ff9621c1b36a4d24cfe9f8d04e3288b53d7c9c69 DIST llvm-project-c7df10643bda4acdc9a02406a2eee8aa4ced747f.tar.gz 222622409 BLAKE2B 8b6b53e0d51a681ec2e3ea1c873df95357e1333a598d26921c72f4ce05872aa5fe00a046bfe8811e2c8c1a2ffced7a325a0399bd931e54cf2aeb23abe887bde7 SHA512 e78219c87f001c813844ff652bf065f7c1d1bbf09af801ed1e99e9f40b981896bcee699d2ab15c71478388987c4030750a7958265d374b9f568fdf7af3dd3a21 @@ -17,6 +19,7 @@ EBUILD lit-16.0.6.ebuild 921 BLAKE2B dcfe57279dff5c6d80fdf5fc115c76c8ae5af3c8c7f EBUILD lit-17.0.6.ebuild 1022 BLAKE2B c0c1efc62ae127c2abaeb2a7ef4f436d0aca737aeb2dcdb1475eabd8eb08801b916ba7e9687b111e5bcc42ae826981a4c1bda87d935b48876f26ac265186de34 SHA512 4d287525c33b812f748a6f6ff71a26c0607f9e8707299648d7eecc090fe26d4b6c8af6fb338450455c0b2bfac2c6ba06a4008a17c3f5007ee8e473e233941a8b EBUILD lit-18.1.8.ebuild 1028 BLAKE2B 2849faa88f24be30c89260734e7b4c5ff8091bfff4486f1bb8f0b98f4e4a7c072fd822aaf56ac5ced397ac34cc3391535aecb72bc7a124078ee45431d3741ea0 SHA512 3f2e6f93003e20650d68efc8467b3b1c1634b487d6fca723412fd9b9229909fef56d7fb6425696715c3399d44e27963dc3a6de9a20e76321bf20e9d3839ff64d EBUILD lit-19.1.3.ebuild 1035 BLAKE2B 72c71b240c838db20d73d99d7cc77c342df723b8bcf91e04a656e6801a12747d31bffb8727693cad71be83a5ad4e1b6c9fd1c848d26078b9bcf5b031add660f3 SHA512 139b11fb31709cd7bb98862176624ff1abae6fcc2d6e6712249a3da97203cdfe6b588121ab5b1d8b589c7c70b93d0bc17e1bc7358c3b92c67a5bcd586ad293c7 +EBUILD lit-19.1.4.ebuild 1035 BLAKE2B 72c71b240c838db20d73d99d7cc77c342df723b8bcf91e04a656e6801a12747d31bffb8727693cad71be83a5ad4e1b6c9fd1c848d26078b9bcf5b031add660f3 SHA512 139b11fb31709cd7bb98862176624ff1abae6fcc2d6e6712249a3da97203cdfe6b588121ab5b1d8b589c7c70b93d0bc17e1bc7358c3b92c67a5bcd586ad293c7 EBUILD lit-20.0.0.9999.ebuild 961 BLAKE2B 80f2289924953263c1c30b9f4e019f707ca6deed804a8c5b980a14701478d700dc1b24944f5a964bfe94174ffb34cd9c864cee70c02cfa3b1b4c025fc8317188 SHA512 ef6e43057ac2e4a2ab482fe48cfb432ab155a23e0d64bbc0d9e451fd00da3c9f17dda4f18ccd2554ab4ac2d5eff2b0df7ce57c2b61cb5145454d9e86eb089e92 EBUILD lit-20.0.0_pre20241029.ebuild 961 BLAKE2B 80f2289924953263c1c30b9f4e019f707ca6deed804a8c5b980a14701478d700dc1b24944f5a964bfe94174ffb34cd9c864cee70c02cfa3b1b4c025fc8317188 SHA512 ef6e43057ac2e4a2ab482fe48cfb432ab155a23e0d64bbc0d9e451fd00da3c9f17dda4f18ccd2554ab4ac2d5eff2b0df7ce57c2b61cb5145454d9e86eb089e92 EBUILD lit-20.0.0_pre20241106.ebuild 961 BLAKE2B 80f2289924953263c1c30b9f4e019f707ca6deed804a8c5b980a14701478d700dc1b24944f5a964bfe94174ffb34cd9c864cee70c02cfa3b1b4c025fc8317188 SHA512 ef6e43057ac2e4a2ab482fe48cfb432ab155a23e0d64bbc0d9e451fd00da3c9f17dda4f18ccd2554ab4ac2d5eff2b0df7ce57c2b61cb5145454d9e86eb089e92 diff --git a/dev-python/lit/lit-19.1.4.ebuild b/dev-python/lit/lit-19.1.4.ebuild new file mode 100644 index 000000000000..75b7c01e4ef3 --- /dev/null +++ b/dev-python/lit/lit-19.1.4.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 llvm.org + +DESCRIPTION="A stand-alone install of the LLVM suite testing tool" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +# Tests require 'FileCheck' and 'not' utilities (from llvm) +BDEPEND=" + test? ( + dev-python/psutil[${PYTHON_USEDEP}] + sys-devel/llvm + ) +" + +LLVM_COMPONENTS=( llvm/utils/lit ) +llvm.org_set_globals + +# TODO: move the manpage generation here (from sys-devel/llvm) + +src_prepare() { + # flaky test + # https://github.com/llvm/llvm-project/issues/72022 + rm tests/progress-bar.py || die + + cd "${WORKDIR}" || die + distutils-r1_src_prepare +} + +python_test() { + local -x LIT_PRESERVES_TMP=1 + local litflags=$(get_lit_flags) + ./lit.py ${litflags//;/ } tests || die +} diff --git a/dev-python/opentelemetry-api/Manifest b/dev-python/opentelemetry-api/Manifest index 057d6500a5a1..fd5726490d6d 100644 --- a/dev-python/opentelemetry-api/Manifest +++ b/dev-python/opentelemetry-api/Manifest @@ -1,7 +1,9 @@ DIST opentelemetry-python-1.27.0.gh.tar.gz 619819 BLAKE2B d861624821cef77cb4cc81a0d04fd9f238f7363122d0fab34433856458bb06f47b7a04022b29dfdbba2d190159e9b2ffe813f0d56ac9473b44c084b764c982e4 SHA512 d8b5a617c7e804b4e6e1b508395e87481a3dcc3b375573110750830a1cf6037cfeb5c09dba3e7cfa472e385dbf619afedd79b1c31c5bfe4e87d44ea65f4d2f0b DIST opentelemetry-python-1.28.0.gh.tar.gz 637413 BLAKE2B e5897c671d95260b38e489a78b879d050355bc319748c3ac712f5e20b41cc1914963c9d835ecd2198f3965e72a429c772287a8d0f45186ec41b3a8bab2764bfa SHA512 1fff73bcd6d9a4bd33e29687674a87d9a1d293964c8d9fdac3122447bd5397161a27186c8cf123d6edef21a9227071a9fe13687593d6923db10dbb96f1e92312 DIST opentelemetry-python-1.28.1.gh.tar.gz 639245 BLAKE2B f1d0b6518e0410bfcdbc7c404cd46a09427d07dc82ad8914cd527048dc68042010523a7d08a76286a4086d3f8bcb97fac8e9e2b70ca0df1071be760bc639c244 SHA512 898ae42c1a04e186fb09c51ea7ff39f729c3ccfb2a9e08f3822cd15049a4fb499bfcb3bf7ff153ab76ab52089441c6c86d5a31d12af9dc1e372487431ca5234b +DIST opentelemetry-python-1.28.2.gh.tar.gz 639603 BLAKE2B 6c185c91cd3f31c58f8f1f73edfbe1b5b242bf8ac855e573a40b6f3ea73dc558b40d89785a9e24d61c2b4950a008c5bc51f319013f955877d14028f9b88101b7 SHA512 49f97ffb1bec390eaa9181bfc16eb0c5b1f7b50602a5edbcf4851fb7077685eff3f261738143be59184e6a01c283fac4f766602eebd9b6daea74005cf3e0c4d9 EBUILD opentelemetry-api-1.27.0.ebuild 1368 BLAKE2B b85ff998336f84a01315affb49b81c209c7ab61f39c7217a78e4549fbef4234d8ad737bf91e13352303b50a06336db3dc7651afd91d607199d1cb87167e8cef5 SHA512 8e9a495cf9feaf489c308f821409a40e15c2a22d3ab183b9914e2a8a05b6316ffcfe4e578360f7b87faeaaa11b5f289f63a6472e6389fe4b39a8dc5b5cc746d7 EBUILD opentelemetry-api-1.28.0.ebuild 1370 BLAKE2B 41d672b026dd77854706febc78eeb9a4b0a2a6fdbc891c28b39043029e3c8260c22e7e6bf1ec4e9f2c31992ed14f97e181bd763f818d3e7f89666bf62ab7bd61 SHA512 f9f1d2a3e16a5178e3f8819e00af50add6eb6654c09767f80f07908428065897c732f78e48bdfed3a455643be2ba645a478e48496c3110f208c6c17d5a65ac22 EBUILD opentelemetry-api-1.28.1.ebuild 1370 BLAKE2B 41d672b026dd77854706febc78eeb9a4b0a2a6fdbc891c28b39043029e3c8260c22e7e6bf1ec4e9f2c31992ed14f97e181bd763f818d3e7f89666bf62ab7bd61 SHA512 f9f1d2a3e16a5178e3f8819e00af50add6eb6654c09767f80f07908428065897c732f78e48bdfed3a455643be2ba645a478e48496c3110f208c6c17d5a65ac22 +EBUILD opentelemetry-api-1.28.2.ebuild 1370 BLAKE2B 41d672b026dd77854706febc78eeb9a4b0a2a6fdbc891c28b39043029e3c8260c22e7e6bf1ec4e9f2c31992ed14f97e181bd763f818d3e7f89666bf62ab7bd61 SHA512 f9f1d2a3e16a5178e3f8819e00af50add6eb6654c09767f80f07908428065897c732f78e48bdfed3a455643be2ba645a478e48496c3110f208c6c17d5a65ac22 MISC metadata.xml 643 BLAKE2B 47c86acb0093f5c596de91afcfaa9f2297f541327d008d33bbe6c542b98e8ae3cf7208c00b0d66d1050a14b5d68439ddcba5ed4449bbe05da3afb8433b95da59 SHA512 20439a62491c5e7a538bc6ec5c9f90cd9473b08d71813d19899fa538f033b164a9bf2fed01d7a90788ad4ce0768fb71bb9e00f6536ffe82da322a73a88459713 diff --git a/dev-python/opentelemetry-api/opentelemetry-api-1.28.2.ebuild b/dev-python/opentelemetry-api/opentelemetry-api-1.28.2.ebuild new file mode 100644 index 000000000000..84b0e1b64f45 --- /dev/null +++ b/dev-python/opentelemetry-api/opentelemetry-api-1.28.2.ebuild @@ -0,0 +1,61 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{11..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 c2d46a8904b0..a90c3ae2aa47 100644 --- a/dev-python/opentelemetry-sdk/Manifest +++ b/dev-python/opentelemetry-sdk/Manifest @@ -1,7 +1,9 @@ DIST opentelemetry-python-1.27.0.gh.tar.gz 619819 BLAKE2B d861624821cef77cb4cc81a0d04fd9f238f7363122d0fab34433856458bb06f47b7a04022b29dfdbba2d190159e9b2ffe813f0d56ac9473b44c084b764c982e4 SHA512 d8b5a617c7e804b4e6e1b508395e87481a3dcc3b375573110750830a1cf6037cfeb5c09dba3e7cfa472e385dbf619afedd79b1c31c5bfe4e87d44ea65f4d2f0b DIST opentelemetry-python-1.28.0.gh.tar.gz 637413 BLAKE2B e5897c671d95260b38e489a78b879d050355bc319748c3ac712f5e20b41cc1914963c9d835ecd2198f3965e72a429c772287a8d0f45186ec41b3a8bab2764bfa SHA512 1fff73bcd6d9a4bd33e29687674a87d9a1d293964c8d9fdac3122447bd5397161a27186c8cf123d6edef21a9227071a9fe13687593d6923db10dbb96f1e92312 DIST opentelemetry-python-1.28.1.gh.tar.gz 639245 BLAKE2B f1d0b6518e0410bfcdbc7c404cd46a09427d07dc82ad8914cd527048dc68042010523a7d08a76286a4086d3f8bcb97fac8e9e2b70ca0df1071be760bc639c244 SHA512 898ae42c1a04e186fb09c51ea7ff39f729c3ccfb2a9e08f3822cd15049a4fb499bfcb3bf7ff153ab76ab52089441c6c86d5a31d12af9dc1e372487431ca5234b +DIST opentelemetry-python-1.28.2.gh.tar.gz 639603 BLAKE2B 6c185c91cd3f31c58f8f1f73edfbe1b5b242bf8ac855e573a40b6f3ea73dc558b40d89785a9e24d61c2b4950a008c5bc51f319013f955877d14028f9b88101b7 SHA512 49f97ffb1bec390eaa9181bfc16eb0c5b1f7b50602a5edbcf4851fb7077685eff3f261738143be59184e6a01c283fac4f766602eebd9b6daea74005cf3e0c4d9 EBUILD opentelemetry-sdk-1.27.0.ebuild 1475 BLAKE2B dbab51279da8046cb0cd3c31169e940a72d1931f78ba32cee33cc0f4ce22b8aa4b166f97bf6b675545047dbf69ad7626c051b574d27dc268b0d750f4500caf07 SHA512 91e702826b0b733a751d4081d28c176683f7756e5cc9120360f8771cce2ec02f0bc4a2ec6eb70ca5bdf224f0b96762d3822546972ef212b16c22981aa12ed21f EBUILD opentelemetry-sdk-1.28.0.ebuild 1602 BLAKE2B fd8d51bb496d33534539aec1234f63667e259e8c0ef245099d62629fc945d24969c944aa631292b4b0505f893eb35e0955e5be822346336cb7c552de0c6288c9 SHA512 90683a0eb7d653160fc0c0b24986200aba7dd389b025d5afb83f2254925c17c1dfde6c41ec9710fb98b92f74cd1c0460c07ddcae74d72d60495ff14ef5910bb6 EBUILD opentelemetry-sdk-1.28.1.ebuild 1602 BLAKE2B fd8d51bb496d33534539aec1234f63667e259e8c0ef245099d62629fc945d24969c944aa631292b4b0505f893eb35e0955e5be822346336cb7c552de0c6288c9 SHA512 90683a0eb7d653160fc0c0b24986200aba7dd389b025d5afb83f2254925c17c1dfde6c41ec9710fb98b92f74cd1c0460c07ddcae74d72d60495ff14ef5910bb6 +EBUILD opentelemetry-sdk-1.28.2.ebuild 1602 BLAKE2B fd8d51bb496d33534539aec1234f63667e259e8c0ef245099d62629fc945d24969c944aa631292b4b0505f893eb35e0955e5be822346336cb7c552de0c6288c9 SHA512 90683a0eb7d653160fc0c0b24986200aba7dd389b025d5afb83f2254925c17c1dfde6c41ec9710fb98b92f74cd1c0460c07ddcae74d72d60495ff14ef5910bb6 MISC metadata.xml 643 BLAKE2B 76dfef2a0bbc6ca40385189ccbb4dc8284b807dc873c3d7a02e171dd35fde051289bdb673b5f445c0b080e3b310b8e0d99311db283a6645c4f8ff8bff856d474 SHA512 8899744243bcbed9b286104609532c281d04febbb7a9da4f7c71aad177f6dcf728f008355fa6c0c1d201701360b3430084fe223d5cffa9af09adbbbde7292595 diff --git a/dev-python/opentelemetry-sdk/opentelemetry-sdk-1.28.2.ebuild b/dev-python/opentelemetry-sdk/opentelemetry-sdk-1.28.2.ebuild new file mode 100644 index 000000000000..11e9ed4f6c7c --- /dev/null +++ b/dev-python/opentelemetry-sdk/opentelemetry-sdk-1.28.2.ebuild @@ -0,0 +1,62 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{11..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 e9526cef6148..711f6c8701b8 100644 --- a/dev-python/opentelemetry-semantic-conventions/Manifest +++ b/dev-python/opentelemetry-semantic-conventions/Manifest @@ -1,7 +1,9 @@ DIST opentelemetry-python-1.27.0.gh.tar.gz 619819 BLAKE2B d861624821cef77cb4cc81a0d04fd9f238f7363122d0fab34433856458bb06f47b7a04022b29dfdbba2d190159e9b2ffe813f0d56ac9473b44c084b764c982e4 SHA512 d8b5a617c7e804b4e6e1b508395e87481a3dcc3b375573110750830a1cf6037cfeb5c09dba3e7cfa472e385dbf619afedd79b1c31c5bfe4e87d44ea65f4d2f0b DIST opentelemetry-python-1.28.0.gh.tar.gz 637413 BLAKE2B e5897c671d95260b38e489a78b879d050355bc319748c3ac712f5e20b41cc1914963c9d835ecd2198f3965e72a429c772287a8d0f45186ec41b3a8bab2764bfa SHA512 1fff73bcd6d9a4bd33e29687674a87d9a1d293964c8d9fdac3122447bd5397161a27186c8cf123d6edef21a9227071a9fe13687593d6923db10dbb96f1e92312 DIST opentelemetry-python-1.28.1.gh.tar.gz 639245 BLAKE2B f1d0b6518e0410bfcdbc7c404cd46a09427d07dc82ad8914cd527048dc68042010523a7d08a76286a4086d3f8bcb97fac8e9e2b70ca0df1071be760bc639c244 SHA512 898ae42c1a04e186fb09c51ea7ff39f729c3ccfb2a9e08f3822cd15049a4fb499bfcb3bf7ff153ab76ab52089441c6c86d5a31d12af9dc1e372487431ca5234b +DIST opentelemetry-python-1.28.2.gh.tar.gz 639603 BLAKE2B 6c185c91cd3f31c58f8f1f73edfbe1b5b242bf8ac855e573a40b6f3ea73dc558b40d89785a9e24d61c2b4950a008c5bc51f319013f955877d14028f9b88101b7 SHA512 49f97ffb1bec390eaa9181bfc16eb0c5b1f7b50602a5edbcf4851fb7077685eff3f261738143be59184e6a01c283fac4f766602eebd9b6daea74005cf3e0c4d9 EBUILD opentelemetry-semantic-conventions-1.27.0.ebuild 1222 BLAKE2B a19061892a6ee595c0646e7145f66b1ec64211bf90633c1c9d2995a250a71f9e831eae33452d5bd85f119adb39a9225918b378ba4828e6c3c115c7115d06894d SHA512 476110e98c820e040b0e1e17bcdfe3ee380f9d40e20afe91cee3060e2cea0711d4ebe2d76ad62da308d497f37a8c68100ea75bc4b7393a1baaff26250bf0d21f EBUILD opentelemetry-semantic-conventions-1.28.0.ebuild 1224 BLAKE2B eb2f081d33592c7951a417b77cb362cebf224920b8b5a0f9be58d1ec1a34aca4e40cbce0cc2fb094d45942b4c1b1ef56242224919d8495efe430784f6d9e1144 SHA512 b30787b7e8c2bdd647775196d2cf081566341f596c16b672698a1fc1f23e3c0db99d5e5bbe7ed54b252b1c498912885e3483570dd1be8cd17966b9ea5fcc5b23 EBUILD opentelemetry-semantic-conventions-1.28.1.ebuild 1224 BLAKE2B eb2f081d33592c7951a417b77cb362cebf224920b8b5a0f9be58d1ec1a34aca4e40cbce0cc2fb094d45942b4c1b1ef56242224919d8495efe430784f6d9e1144 SHA512 b30787b7e8c2bdd647775196d2cf081566341f596c16b672698a1fc1f23e3c0db99d5e5bbe7ed54b252b1c498912885e3483570dd1be8cd17966b9ea5fcc5b23 +EBUILD opentelemetry-semantic-conventions-1.28.2.ebuild 1224 BLAKE2B eb2f081d33592c7951a417b77cb362cebf224920b8b5a0f9be58d1ec1a34aca4e40cbce0cc2fb094d45942b4c1b1ef56242224919d8495efe430784f6d9e1144 SHA512 b30787b7e8c2bdd647775196d2cf081566341f596c16b672698a1fc1f23e3c0db99d5e5bbe7ed54b252b1c498912885e3483570dd1be8cd17966b9ea5fcc5b23 MISC metadata.xml 660 BLAKE2B b231081049a3c5830c7d3d5494261d24ade30de731cf7b4186273af4521db9d1e56c6811ef90b6b763354e67d198c3edefb055bb76f23fb14097df57709546da SHA512 1b6869a2b3918e48f376261d70bcaa9789511ba06cb988e9484a64dcfb57b1494300b29fd6316e39dc23e0d295d6c087e5a07dedf268ca62cd9d555b356379b7 diff --git a/dev-python/opentelemetry-semantic-conventions/opentelemetry-semantic-conventions-1.28.2.ebuild b/dev-python/opentelemetry-semantic-conventions/opentelemetry-semantic-conventions-1.28.2.ebuild new file mode 100644 index 000000000000..d6be87846142 --- /dev/null +++ b/dev-python/opentelemetry-semantic-conventions/opentelemetry-semantic-conventions-1.28.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{11..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/portalocker/Manifest b/dev-python/portalocker/Manifest index 00cc4b052318..d9367c578193 100644 --- a/dev-python/portalocker/Manifest +++ b/dev-python/portalocker/Manifest @@ -1,3 +1,5 @@ DIST portalocker-2.10.1.gh.tar.gz 34084 BLAKE2B c4b8b0f42e25c28dd73f73459f2425a355c1be7fb6d9e601c8f829b76a421b66981c96d948513a92b0d9746f0d4b4c9423eb671e160629d421b6720bb3c81883 SHA512 cdb5db6eab2974a8fef5628656b9e66bd1907d3010e28071c5a308d52a7ad28f838f3cb90e8bc258b2f258b8b999438e90972751e4d29b1769056db4f9ab9f8b +DIST portalocker-3.0.0.gh.tar.gz 35104 BLAKE2B b96591c56f8f894eaf012bfa89dd4e5cf7ee300176f4ea861e29dbf6f2a3cade061605b2d0a5796010369caebc3b032d77b77bddff165959bd464e9d9e8b4ebc SHA512 b3417bc0b4f726129b6625a778d7d828ab8401422ee1847b20ee79019fc029acb0cebbe539495e071cdf8dcd628d5764f39036059b19718b5ba2d0702388ac9c EBUILD portalocker-2.10.1.ebuild 882 BLAKE2B b6b969ac4b3ca717754896deed5d20b62a735274323773a67d4aedee37d695700f34b5d61f2ddbfef44af48bca13c62897ca8ddad78d7289ccd31f3649021961 SHA512 8e10f4abf1ae8862ad5838bb22c168178a456a1c0cfe5a8b2da400ab18ddd04b91ebdd10eeb294ada6abeec888c13efbe82dcd41738ab78c85f966c8b074cdce +EBUILD portalocker-3.0.0.ebuild 883 BLAKE2B 985d2f209b15d56fac87f50c170b43f52a42757d89672e2f7f460fa71945bf51012ae56914fc7e88be5832ac379c0d6becc346f500079e76eb94a71947a1d9b6 SHA512 45745682294963cf3ee8525f545b3c8653e0723c3906e3063b2ef727f6da2a4aa51548ed2fbee51999ddfe9e770e19947bc5c4eacdd6bdfc3797f1753ba5c672 MISC metadata.xml 402 BLAKE2B 0cb220da6712e8442608c56a9dabeed1937b2b37c594df4eda3764411aff7e6d1d6a112f184130fc475c3617723e7d1225ee4649a626076c32f6579c4c419dfb SHA512 70b81ebcf9478b9447dcc183516db525614419f63fbc96ce694092a2f71b74060b0c4b98028a5bf57f0b0987b005e2fa26cd7b6fd7d9133f4ed04157b4a4531b diff --git a/dev-python/portalocker/portalocker-3.0.0.ebuild b/dev-python/portalocker/portalocker-3.0.0.ebuild new file mode 100644 index 000000000000..1981e8b48083 --- /dev/null +++ b/dev-python/portalocker/portalocker-3.0.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..13} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="A library for Python file locking" +HOMEPAGE=" + https://github.com/WoLpH/portalocker/ + https://portalocker.readthedocs.io/ + https://pypi.org/project/portalocker/ +" +SRC_URI=" + https://github.com/WoLpH/${PN}/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND=" + test? ( + dev-python/redis[${PYTHON_USEDEP}] + >=dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}] + >=dev-python/sphinx-6.0.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + default + + # Disable code coverage in tests. + sed -i '/^ *--cov.*$/d' pytest.ini || die +} + +pkg_postinst() { + optfeature "redis support" dev-python/redis +} diff --git a/dev-python/pygit2/Manifest b/dev-python/pygit2/Manifest index 6e39372bf000..23101abe1f14 100644 --- a/dev-python/pygit2/Manifest +++ b/dev-python/pygit2/Manifest @@ -1,3 +1,4 @@ +AUX pygit2-1.16.0-gcc-14.patch 1551 BLAKE2B 01f3102394b3b0e24e3bb5ccbae669a6419ebee37745722ce924c135c3a47150b44a298e979af5574cf15ba567874c0dc7bfca638b9a09b30a7f6030b754da02 SHA512 ef1a05610bbb12e2fc249fbfe4957ea99b2b203154cfd3a18505d58145d4bb79e011499c3d6ce609782a7cf483ac8f1a7d0583cf8f619d9e5eeb65f00633882f DIST pygit2-1.16.0.tar.gz 768597 BLAKE2B 30e8df4c3f992e075117bdcda3d84e2ed0618dd8556ae8574f6238992cacff69ec3c7c22a6ab85f7857156fbb4b3e6e75bc899e71ea59efcb1f8dee61687355f SHA512 297fc46f2e48e77937718e54b3ef2bb41a252348173fc5858ab4225fc3403a4d29efd2d6377508220d8bdf901f6cd9595c31601d8c0f77e9dc9a44f159a1d278 -EBUILD pygit2-1.16.0.ebuild 831 BLAKE2B 40594d2f970b9cf768f5df6f05acb75339b8f253e74b88dd036ef75f62e676d035aa816de6364a8578c9fdb862ec7c584c0afc414fd605627a7a8c0cde368ed3 SHA512 cdd595ccc924dd81625344c8c67e8be32e03a4bbdf07095d8b3d231239a1f8a26cc1df9f73084729afbec7bca527cfe114fae997136ffb1b7eae370b88ff9dca +EBUILD pygit2-1.16.0.ebuild 1007 BLAKE2B 17623bb4d245861ffa7f76d8264f4d2ae988ea60c58bc87ec7f894737fdded66491af64504bb18971186a09cb748dd3ff598e3b0eda1ef548905174284767511 SHA512 2cf26dbef104d58e0f4b4e4af5e3de3983a062b31fe5621404472aa07c57eaef28a3354a97dafc56b6aa0d5c6e66e4ac116f65877b54c64efa386c5348d05a18 MISC metadata.xml 490 BLAKE2B a53da88b5fe40a56d831bb5589d03d247ca1d1d843bde9a1fe6999563a42c076a9f6462b6947ae217086e5edde35a4788f4552636871891f9820534a6f0bade6 SHA512 57cb7356bbb0a22fce2d7ecd8ab346ef5c8155d0941d6a15bf2e98364e755d6e5e5d6aacf24017b4b827b983032e4d46f2363483ac66d6e3882c8be12e60fb39 diff --git a/dev-python/pygit2/files/pygit2-1.16.0-gcc-14.patch b/dev-python/pygit2/files/pygit2-1.16.0-gcc-14.patch new file mode 100644 index 000000000000..5bcd93320585 --- /dev/null +++ b/dev-python/pygit2/files/pygit2-1.16.0-gcc-14.patch @@ -0,0 +1,37 @@ +From eba710e45bb40e18641c6531394bb46631e7f295 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Mat=C4=9Bj=20Cepl?= <mcepl@cepl.eu> +Date: Tue, 5 Nov 2024 12:26:44 +0100 +Subject: [PATCH] fix: use correct type of the ninth parameter of + git_commit_create() + +It should be `const git_commit **`, not `git_commit **`. + +Breaks the build with GCC-14. +--- + src/repository.c | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +diff --git a/src/repository.c b/src/repository.c +index d1d42ecf..3b5d57a1 100644 +--- a/src/repository.c ++++ b/src/repository.c +@@ -1065,7 +1065,8 @@ Repository_create_commit(Repository *self, PyObject *args) + + err = git_commit_create(&oid, self->repo, update_ref, + py_author->signature, py_committer->signature, +- encoding, message, tree, parent_count, parents); ++ encoding, message, tree, parent_count, ++ (const git_commit **)parents); + if (err < 0) { + Error_set(err); + goto out; +@@ -1147,7 +1148,8 @@ Repository_create_commit_string(Repository *self, PyObject *args) + + err = git_commit_create_buffer(&buf, self->repo, + py_author->signature, py_committer->signature, +- encoding, message, tree, parent_count, parents); ++ encoding, message, tree, parent_count, ++ (const git_commit **)parents); + if (err < 0) { + Error_set(err); + goto out; diff --git a/dev-python/pygit2/pygit2-1.16.0.ebuild b/dev-python/pygit2/pygit2-1.16.0.ebuild index d6fdc0982742..87c95816f425 100644 --- a/dev-python/pygit2/pygit2-1.16.0.ebuild +++ b/dev-python/pygit2/pygit2-1.16.0.ebuild @@ -34,6 +34,12 @@ RDEPEND=" distutils_enable_tests pytest src_prepare() { + local PATCHES=( + # https://bugs.gentoo.org/942207 + # https://github.com/libgit2/pygit2/commit/eba710e45bb40e18641c6531394bb46631e7f295 + "${FILESDIR}/${P}-gcc-14.patch" + ) + distutils-r1_src_prepare # unconditionally prevent it from using network diff --git a/dev-python/pytest-httpx/Manifest b/dev-python/pytest-httpx/Manifest index 89bb6e53b366..f4b0a4ce5c0e 100644 --- a/dev-python/pytest-httpx/Manifest +++ b/dev-python/pytest-httpx/Manifest @@ -1,3 +1,5 @@ DIST pytest_httpx-0.33.0.tar.gz 51708 BLAKE2B c4b4a5bc41c44b982dcfe81f09ec4b3ee1eeed9cdc52cea6889988692bfb312eb7c4105cdcd60fadbbf0602236e2e5baf3c1a448248189214c0ec77cde8a3ea4 SHA512 96e3b5e0264f61644ed22fc809f35d0b2b255aa2ba75a5bf33d165c35276f2b731689b70cfbab5b5c901b1be4ff59c4b21704f8b15453582a6095611380830c8 +DIST pytest_httpx-0.34.0.tar.gz 54108 BLAKE2B b2c761a993d5c15aa28ee4d2b29ed44764c9825a3b9a9a471eef534a4f040324d6c822bfd413090d86428591be60d9092541a77188d8ef84bd3e333a976647da SHA512 49ca01ddd16fb68213ec2178111c65fb3f47be6416b67ebe356a47f658140ee42e275e07e377c6740956d895a4b1a719c2cf12ad9cbabc339b20cca94b892ef0 EBUILD pytest-httpx-0.33.0.ebuild 732 BLAKE2B a3ad5fc22688cb84f7baa7bb374b2554232cd8cbd0bf771470d668b0eea9e7adfeb23842dfb33d97d92521ee747d43b03e859c88d63f9c83cddb942dd737e31f SHA512 0e5131898dc35a0beb5a146b34cdd0aca86731f720a73a0d913e529cdee635f924d0ba5c0ab27a6f3003ba142b1adc1f115ee0e1cb5f66196fa0a921019e6454 +EBUILD pytest-httpx-0.34.0.ebuild 735 BLAKE2B 4c9a72d110909e5659e45ec2d33019285936cfa8b2323a862af757e9eb9c50b0e6a170deb10a7a7187ea73b4fdfc48e87c522f7ecb136db09a0602a383d1c7ca SHA512 2138642a7f7a9e6888973790d07307a008f3985c108a0bf292b6c37b216a4d51dfd50a23d5ddeecd82bcf99bdf34130032299855bdc5d38b52e41d0dc24b5ef9 MISC metadata.xml 468 BLAKE2B e0f824f05936a831a958b027366ba18cad85307ac6c81b74b299f58270bcff53e06f32b2471d6433bd7014ffde83ddb24f787c07632453d14f4ee6e4679ffd10 SHA512 16bf024801db3c0d7b789cd1f16520a1ff2520e8b3e2abbeeff5b1192c19b8ac64f55fa678c922f8a817debcfe05242ce11e0164a00422445d7301858718b359 diff --git a/dev-python/pytest-httpx/pytest-httpx-0.34.0.ebuild b/dev-python/pytest-httpx/pytest-httpx-0.34.0.ebuild new file mode 100644 index 000000000000..609a6666899b --- /dev/null +++ b/dev-python/pytest-httpx/pytest-httpx-0.34.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Send responses to HTTPX using pytest" +HOMEPAGE=" + https://colin-b.github.io/pytest_httpx/ + https://github.com/Colin-b/pytest_httpx/ + https://pypi.org/project/pytest-httpx/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + =dev-python/httpx-0.27*[${PYTHON_USEDEP}] + =dev-python/pytest-8*[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/simsimd/Manifest b/dev-python/simsimd/Manifest index 448c63e7a645..a56649b0eea1 100644 --- a/dev-python/simsimd/Manifest +++ b/dev-python/simsimd/Manifest @@ -1,7 +1,9 @@ DIST SimSIMD-5.9.11.gh.tar.gz 204255 BLAKE2B 6c67f47bf2beb41b8f6e091874c808a9be0da307d6bc7af5d6cca62435d1a4199cff7444b8b9f0ce04dbdd779641d635b8e7545512cfeb782ca81ef0f6e74e2e SHA512 eae6b0a509198de09a6d47c207554cc330ad1242b3a1d98d74d0fcb0c960052de1765e05d2bbe4bbb295224266dc393890a159b7fa933c6d7725685a5e50d1ec DIST SimSIMD-6.0.3.gh.tar.gz 207321 BLAKE2B 4675a3af60e460f4af79b33cdff1d780f657ec7b2cda443ef906606034472c7f76e5c75e6abc0fa125b3ed5039f7686332148bb15a9864ca7f440d5f1bf29dc2 SHA512 cc12d00527792cf3e1c3d3cce955f6549eff72db1b7861275448292887c33a09c64963f5befb3de829ccbcb38f072afe105ca39599fd69dbfef0e9bb92b5411a DIST SimSIMD-6.0.5.gh.tar.gz 207462 BLAKE2B 743ede471c88ccc62349eb3c460761ff1d73940f9d455bffa0823529cf1d40d1d2d1f872e880eb3513949a893e80d01e4d402ff5a4749df2e48620ed599263d5 SHA512 c2f9fc10c8d8a7bb1c052eaad4645e85ce8d8d885b279d455e63b7b10b99feaf9c02b6d90e678166a7dde8d2fbc97e9a0afba61d781b301c1f8ab691a3996674 +DIST SimSIMD-6.0.6.gh.tar.gz 208136 BLAKE2B e9c3027d278a73ebc5b9f89454bf3ccad68b8ebe82ccda0da743769c5932e28f3bcb2e91e6a08badc03ac65c9e1949480b30f17f2a686972ffc22e2905952eb0 SHA512 8d8bc13e1342a42245827f36b1b544e4d8dc9e496b34b7443fdc98747880b477d4f2a6e4a425054717538057d7f4da75573b621c717b59f63f3a6459f90b1480 EBUILD simsimd-5.9.11.ebuild 1264 BLAKE2B d5f4f15ef16d9d7aad868bbc93a0c91869cd28276f5fdd13a177a73bd9c326631967bb463d1472935862187941f0b9533f418c51f1976b9bb55e08a1e99394ab SHA512 7f9a7b4254b3917146f8f47cc61d49102a2dfba19c1f82594d39d09d55fe85dfc482646910b5c9d05c862c77a044720cd37b0f6aca090af3d41bc7eeae7033cc EBUILD simsimd-6.0.3.ebuild 1264 BLAKE2B d5f4f15ef16d9d7aad868bbc93a0c91869cd28276f5fdd13a177a73bd9c326631967bb463d1472935862187941f0b9533f418c51f1976b9bb55e08a1e99394ab SHA512 7f9a7b4254b3917146f8f47cc61d49102a2dfba19c1f82594d39d09d55fe85dfc482646910b5c9d05c862c77a044720cd37b0f6aca090af3d41bc7eeae7033cc EBUILD simsimd-6.0.5.ebuild 1264 BLAKE2B d5f4f15ef16d9d7aad868bbc93a0c91869cd28276f5fdd13a177a73bd9c326631967bb463d1472935862187941f0b9533f418c51f1976b9bb55e08a1e99394ab SHA512 7f9a7b4254b3917146f8f47cc61d49102a2dfba19c1f82594d39d09d55fe85dfc482646910b5c9d05c862c77a044720cd37b0f6aca090af3d41bc7eeae7033cc +EBUILD simsimd-6.0.6.ebuild 1264 BLAKE2B d5f4f15ef16d9d7aad868bbc93a0c91869cd28276f5fdd13a177a73bd9c326631967bb463d1472935862187941f0b9533f418c51f1976b9bb55e08a1e99394ab SHA512 7f9a7b4254b3917146f8f47cc61d49102a2dfba19c1f82594d39d09d55fe85dfc482646910b5c9d05c862c77a044720cd37b0f6aca090af3d41bc7eeae7033cc MISC metadata.xml 349 BLAKE2B 363881beeefbf65de7e0ab30fe5da642deefc0bbe2aeef0b4c3395a3c570f1043cb3d5e08927536a48597a44d447ff4853a5b15fffa65bbea5533377b0d6e413 SHA512 75756bd2cfb9adbdc59a2f4e3ed29c7d5daf53f427da661a9dbe6b3746ccb8ca031f650a7e505ef817b13c231cb725ca1e6eeb490be39b29e2883ca7d52f0368 diff --git a/dev-python/simsimd/simsimd-6.0.6.ebuild b/dev-python/simsimd/simsimd-6.0.6.ebuild new file mode 100644 index 000000000000..3b7152ad7a71 --- /dev/null +++ b/dev-python/simsimd/simsimd-6.0.6.ebuild @@ -0,0 +1,64 @@ +# Copyright 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=( pypy3 python3_{10..13} ) + +inherit distutils-r1 toolchain-funcs + +MY_P=SimSIMD-${PV} +DESCRIPTION="Fastest SIMD-Accelerated Vector Similarity Functions for x86 and Arm" +HOMEPAGE=" + https://github.com/ashvardanian/SimSIMD/ + https://pypi.org/project/simsimd/ +" +# no sdist, as of 4.3.1 +# https://github.com/ashvardanian/SimSIMD/issues/113 +SRC_URI=" + https://github.com/ashvardanian/SimSIMD/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="openmp" + +BDEPEND=" + test? ( + dev-python/pytest-repeat[${PYTHON_USEDEP}] + dev-python/tabulate[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +pkg_pretend() { + if [[ ${MERGE_TYPE} != binary ]] && use openmp; then + tc-check-openmp + fi +} + +pkg_setup() { + if [[ ${MERGE_TYPE} != binary ]] && use openmp; then + tc-check-openmp + fi +} + +src_prepare() { + sed -i -e '/-O3/d' setup.py || die + if ! use openmp; then + sed -i -e '/-fopenmp/d' setup.py || die + fi + + distutils-r1_src_prepare +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p repeat scripts/test.py +} diff --git a/dev-python/starlette/Manifest b/dev-python/starlette/Manifest index 8799b60b7d89..ebf0a5519b46 100644 --- a/dev-python/starlette/Manifest +++ b/dev-python/starlette/Manifest @@ -1,5 +1,7 @@ DIST starlette-0.39.2.gh.tar.gz 2573134 BLAKE2B e6cd3bd3e2c2fac96d8b145ffae3a680d775a7668d9baf4db09ab81036985c8c0f5cdc6505f6db56f51126013118568c75d6f0dd6c28ea330baf575a5ff7c004 SHA512 2e81e61451136802449baafd152bf6db9cdad9a111713efb16ccef419aeb9a99b004167cd890509bad613df12d300cb5531197867c594c2b755220a1dae7bf14 DIST starlette-0.41.2.gh.tar.gz 2573909 BLAKE2B 387665e21586ec43a3683f30c111fe77ad71a7f1c8dfea13f50fae9a9315e6a00ede22f5a1c55cd05210e4996a834b2d3d60c001899905a002e11cb09b5e60c8 SHA512 7ef590fdd7bebcae54f203acf57cf086a85653b0286aa7dc5eac92c67f846e04961680234234cfd2a6d57c12678b2ce76763c39e96caed984a1220558090303c +DIST starlette-0.41.3.gh.tar.gz 2574193 BLAKE2B 4363317669b44df1e3f882aa88a32c2f6c53d9b349c8e65455a4f5bbd58a39a6e5342cfdd24cec2b652616fd57cbd4e46b9a81702251d336747d984c946bed3f SHA512 f6f0dc60dc557567fb342bbfff4b19b2c634f202d355589c4b66021f5018fdbf84e101b820926284519e0b8272f325045845f126239516034ce2d3c25558b7b3 EBUILD starlette-0.39.2-r1.ebuild 1303 BLAKE2B d16dddd6d95f67e2a2810fbad700bd2c4760683b42ccd5670d68172b655303efb8e230009f76572e495ac7eb3e9c9b9933b35fbe83dd2e4adb6e9340485a400b SHA512 78a77f05c1c87dd610b2866324a4d269cc2534b669ad6c02d29a83922f7cf5382210913e0ae1e39ddc9fa344f17558bd8a008870663b8f0a85288e47956b223d EBUILD starlette-0.41.2.ebuild 1320 BLAKE2B 851f6ba7695fd336fdffa71d29b7a8daae4b9486b90ba59559d06e56ebd90d96811974ea22c649bfe21539d86e11bff625114aae18eab9afdfe39b13a0da650e SHA512 da5a556c75e5311ead839ec11cbc023e0d53e0421f74c859fe14255383923faa872464c727e145f4a0e7c0e228e1b6513383e1676a796c509f9d42e0cb84f5f2 +EBUILD starlette-0.41.3.ebuild 1320 BLAKE2B 851f6ba7695fd336fdffa71d29b7a8daae4b9486b90ba59559d06e56ebd90d96811974ea22c649bfe21539d86e11bff625114aae18eab9afdfe39b13a0da650e SHA512 da5a556c75e5311ead839ec11cbc023e0d53e0421f74c859fe14255383923faa872464c727e145f4a0e7c0e228e1b6513383e1676a796c509f9d42e0cb84f5f2 MISC metadata.xml 371 BLAKE2B 0ccaa4659e63162b565359a1cae05764bea66d708a5f4af1a4716ba9ba23faa39ab4f5a806c0a9783f3f42282ee9b98e22a92f2b308b8dfe97bbf9c770a8add1 SHA512 0fc326941861260becd4129c8a351e89ba0f98f9a3ce9b5d50812f0eaf667743ab0d403889aa1b0a2d9fcedbe0212ba879d165ec8edd115686d4768e6b1326ca diff --git a/dev-python/starlette/starlette-0.41.3.ebuild b/dev-python/starlette/starlette-0.41.3.ebuild new file mode 100644 index 000000000000..f037f2049020 --- /dev/null +++ b/dev-python/starlette/starlette-0.41.3.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit distutils-r1 + +MY_P=${P/_p/.post} +DESCRIPTION="The little ASGI framework that shines" +HOMEPAGE=" + https://www.starlette.io/ + https://github.com/encode/starlette/ + https://pypi.org/project/starlette/ +" +# no docs or tests in sdist, as of 0.27.0 +SRC_URI=" + https://github.com/encode/starlette/archive/${PV/_p/.post}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + <dev-python/anyio-5[${PYTHON_USEDEP}] + >=dev-python/anyio-3.4.0[${PYTHON_USEDEP}] + >=dev-python/httpx-0.22.0[${PYTHON_USEDEP}] + dev-python/itsdangerous[${PYTHON_USEDEP}] + dev-python/jinja2[${PYTHON_USEDEP}] + >=dev-python/python-multipart-0.0.13[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/pytest-8[${PYTHON_USEDEP}] + dev-python/trio[${PYTHON_USEDEP}] + ) +" + +: ${EPYTEST_TIMEOUT:-180} +distutils_enable_tests pytest + +python_test() { + local EPYTEST_IGNORE=( + # Unpackaged 'databases' dependency + tests/test_database.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p anyio +} diff --git a/dev-python/types-setuptools/Manifest b/dev-python/types-setuptools/Manifest index 8401b44cd840..bada3625cb8a 100644 --- a/dev-python/types-setuptools/Manifest +++ b/dev-python/types-setuptools/Manifest @@ -4,10 +4,12 @@ DIST types-setuptools-75.3.0.20241107.tar.gz 43666 BLAKE2B c076284dd0868618a4c2c DIST types-setuptools-75.3.0.20241112.tar.gz 43723 BLAKE2B 0315211e7bc53988c39a599df3e0b8e1026bb4446239ae93096cc1b7c0d2d8df7527c22f525a8b24d148129c2b7cc9a1aa385fa0d6d8f1b65d0d4a33690fba41 SHA512 71a1e6e265bf9ef254543d34b28c6e55d1cc1332166942ea4839f1ab2bc64f72ab81cf4e08b66f2a7e4965f7ea9196518b761bdf79a795d5e2d16113c7a6db73 DIST types-setuptools-75.4.0.20241115.tar.gz 43599 BLAKE2B aa19e16d875780fa8e153d2399a6e1b8ccddb185fb2db4007beaab931471d789f45d9795fb046cd17c8a4d3fa15729f3c0fa95d96c8564a1c8aa1e9648c4b798 SHA512 21edf684c0f5aaa95b289c5bff813bfc5a800b598ccd30e9dfee6735bb055d93acb65916e27cf7a09a13065ca02f57ce494b736ada17871a635ac1b4921c0080 DIST types-setuptools-75.5.0.20241116.tar.gz 43675 BLAKE2B d416084f82e968ffe1d45e436dc9e346dc8b13f61a34dcb35a9cb5d54a8bd2f3546c14247bac483a72555496366eb324254a74f7dc6c10498da8d2f06e822626 SHA512 57c1bac20ae6b47dda99d99ab360864bc9595ccdc0e0b89cd82f5786b36125193a39968a115b04b867e57642a3381d5dbb473f01304c323bb32b6518207b12c1 +DIST types-setuptools-75.5.0.20241119.tar.gz 43782 BLAKE2B 8148966d0ea9437d30b34644cede66fc37f7a7cd3f741edf4dcabb4987c764a2d22eb495137e2648bf91049b4a73182ff35193d7bf9a3d78dc1189d96de0163a SHA512 29775a81032efa3207a5161cad2b799b36a0100ba9e2cb291f8851b9d35ff06704fecb5da008784dd7b517677196e9b52ca50c39c32f21b3269688d3d9f754d5 EBUILD types-setuptools-75.2.0.20241025.ebuild 440 BLAKE2B c734df29e57433a7e8e2325687fb52987edd825cc42e801f8fb8fd77f870f1de03e3d776df8ca52530423e298af5bf4fd1b3b5edec322c5e8556c4ef7fa9c90d SHA512 292081f2e1d3e3c8fa152a361d7c1ecfac6222dafced339663b7a5a40a5bb40e4fca30a18a3028cd9189c2c63797e2c6cafc3110d06478cb33382ae853d7f72a EBUILD types-setuptools-75.3.0.20241105.ebuild 448 BLAKE2B 7520d7034175ed93bdf4f9b7e6e7921857b5e1f11ee63b9dfdd2673e9935d0c6272577eca5c60b05f809ceab29b8ae2bbc693e0a1191a777a6d6f2bbf0349023 SHA512 3379dde51da588db88b633950b0020a3df35ffbc3dfe5b795cca89c6cdbc63c41d651fde917b38dcb5dc338d6a7831438d65ef0cc1c4133814faa271e9bb72f0 EBUILD types-setuptools-75.3.0.20241107.ebuild 448 BLAKE2B 7520d7034175ed93bdf4f9b7e6e7921857b5e1f11ee63b9dfdd2673e9935d0c6272577eca5c60b05f809ceab29b8ae2bbc693e0a1191a777a6d6f2bbf0349023 SHA512 3379dde51da588db88b633950b0020a3df35ffbc3dfe5b795cca89c6cdbc63c41d651fde917b38dcb5dc338d6a7831438d65ef0cc1c4133814faa271e9bb72f0 EBUILD types-setuptools-75.3.0.20241112.ebuild 448 BLAKE2B 7520d7034175ed93bdf4f9b7e6e7921857b5e1f11ee63b9dfdd2673e9935d0c6272577eca5c60b05f809ceab29b8ae2bbc693e0a1191a777a6d6f2bbf0349023 SHA512 3379dde51da588db88b633950b0020a3df35ffbc3dfe5b795cca89c6cdbc63c41d651fde917b38dcb5dc338d6a7831438d65ef0cc1c4133814faa271e9bb72f0 EBUILD types-setuptools-75.4.0.20241115.ebuild 448 BLAKE2B 7520d7034175ed93bdf4f9b7e6e7921857b5e1f11ee63b9dfdd2673e9935d0c6272577eca5c60b05f809ceab29b8ae2bbc693e0a1191a777a6d6f2bbf0349023 SHA512 3379dde51da588db88b633950b0020a3df35ffbc3dfe5b795cca89c6cdbc63c41d651fde917b38dcb5dc338d6a7831438d65ef0cc1c4133814faa271e9bb72f0 EBUILD types-setuptools-75.5.0.20241116.ebuild 448 BLAKE2B 7520d7034175ed93bdf4f9b7e6e7921857b5e1f11ee63b9dfdd2673e9935d0c6272577eca5c60b05f809ceab29b8ae2bbc693e0a1191a777a6d6f2bbf0349023 SHA512 3379dde51da588db88b633950b0020a3df35ffbc3dfe5b795cca89c6cdbc63c41d651fde917b38dcb5dc338d6a7831438d65ef0cc1c4133814faa271e9bb72f0 +EBUILD types-setuptools-75.5.0.20241119.ebuild 448 BLAKE2B 7520d7034175ed93bdf4f9b7e6e7921857b5e1f11ee63b9dfdd2673e9935d0c6272577eca5c60b05f809ceab29b8ae2bbc693e0a1191a777a6d6f2bbf0349023 SHA512 3379dde51da588db88b633950b0020a3df35ffbc3dfe5b795cca89c6cdbc63c41d651fde917b38dcb5dc338d6a7831438d65ef0cc1c4133814faa271e9bb72f0 MISC metadata.xml 399 BLAKE2B 6e130dc38e0e0e0e6e02567d750d37c6f28ea40c4742a9247f347f29e1700fc420015e7ff951f4a11c156c2df88d7e3b7f03be7759d05872a7783a2d25e35b1e SHA512 bbc9cb552e652e7644d4d635cfd74fdfffcf6426160025411843d53d37b02fdd65f7e1fb435fee7b628033cef517e3f5a902466b5786b842592ccfad068edc15 diff --git a/dev-python/types-setuptools/types-setuptools-75.5.0.20241119.ebuild b/dev-python/types-setuptools/types-setuptools-75.5.0.20241119.ebuild new file mode 100644 index 000000000000..50edc0c91a3c --- /dev/null +++ b/dev-python/types-setuptools/types-setuptools-75.5.0.20241119.ebuild @@ -0,0 +1,17 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Typing stubs for setuptools" +HOMEPAGE="https://pypi.org/project/types-setuptools/" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |