diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-07-19 12:29:09 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-07-19 12:29:09 +0100 |
commit | c59df12b8749ab7bbd5a0692072652d4fbb0d2cf (patch) | |
tree | b0c755a8dc7206de06d287c623e493927679f700 /dev-python | |
parent | f85858c81a721c7fc89c1ab8df19e3a213dc27cd (diff) |
gentoo auto-resync : 19:07:2024 - 12:29:09
Diffstat (limited to 'dev-python')
41 files changed, 1177 insertions, 43 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex 865e561149e9..62d995f0a87e 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/backports-tarfile/Manifest b/dev-python/backports-tarfile/Manifest index 0d33af850fd1..c776a5e09a9f 100644 --- a/dev-python/backports-tarfile/Manifest +++ b/dev-python/backports-tarfile/Manifest @@ -1,3 +1,3 @@ DIST backports_tarfile-1.2.0.tar.gz 86406 BLAKE2B 20ba5dd91c609b6d7a32b8d489bae5f0d29af83d86c187a8b73e95e3fee034a07469fdfd90fc6c6e96b532b2acbf37ba9e01bdae019ca148d3a668762599fa6d SHA512 8f57526e9aabf7f778e876dab06dd7a476316bb02e9eadd703da3ba74f3b8b0c12338a32fbcb033d477a1a1ff115653a2292b730bfded208c9efb21506bc23d4 -EBUILD backports-tarfile-1.2.0.ebuild 1148 BLAKE2B c5c459ffd8669cfc95aa7b8e754ce7d301f4f3266fae4cf94c6ca00f2a2c53c702534da05555921aacefa26fd224a5d55a851486b7ddcd4a8530263793b8a158 SHA512 1f8f264f3217485699750bbe5d89c51cc7964f438343ea8b22a5e567941e12e28aaf788a7ff44b465a50796a8f3bbc82b3588d1759cb7e7d7fd858b890e1a488 +EBUILD backports-tarfile-1.2.0.ebuild 1185 BLAKE2B fa1942bc429930f76ad9d763fcda95a69eb278ce0177b1bc19e96b7acadb98d7203185928248339aec77d3d0e04e050ec99ba24c68e7316c8e3269c701796c95 SHA512 e5e86f1a2f85bfcd77b54a36724e5d6d668ccbf4a951f4b0095ce512fe3867c2c12ed870866cffbb9d3fdd27c89b295f572944dda548232e7872642f1286b2e1 MISC metadata.xml 387 BLAKE2B f9f0136e2308996c5c4dc5daac7bfd5b700e2249e11dbfc3417dc6bca363dfd2bf654d89392bf818a3963b14d1369052b06788e0367d61fdad36f5b3b2607b51 SHA512 27d9d5892c219d5346046aab5f157a66d8df942f5bbf1f40d06124b4263086ac96d7bac6745e0a0adc8a0e01df12b22b95dcecc4418e90fce6db981934332077 diff --git a/dev-python/backports-tarfile/backports-tarfile-1.2.0.ebuild b/dev-python/backports-tarfile/backports-tarfile-1.2.0.ebuild index 1f0459fd0cd6..f5f19e44398a 100644 --- a/dev-python/backports-tarfile/backports-tarfile-1.2.0.ebuild +++ b/dev-python/backports-tarfile/backports-tarfile-1.2.0.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" BDEPEND=" test? ( diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 3c85a42bf078..8dcee2bf21a8 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -1,7 +1,9 @@ DIST boto3-1.34.136.gh.tar.gz 826543 BLAKE2B 307705ba777d155772a2dafad775e55d94e17a9e4c2986e48bd8a691c3bc4e433f212e1a59053222927bda42584b2d1d266bc2489f94fd3e4463416c56531d54 SHA512 f2307db517b393164028c17a8073c5baf7f7e3be36c988a90d455cad98a55b7a7e1a6e44584038141047237e81cb495bffaf70747de421ce316bb457e2d168e8 DIST boto3-1.34.140.gh.tar.gz 828290 BLAKE2B 129c0f791ddc07f90d2b9ae2972839a0bcaa393e3a8f843a9bca9ebf699f36290b95d17c3f906f49ae5c9ee8cd15c5de7f9de96572573f12d40c7ada778c7679 SHA512 b052ac336e68577140017b5a45f1787eec985e42d86e25cdafc15c6eadf8652b75bb006cf86ce0a3e0d9f3b657ae2afee41a75f624fb5e277a49f1653a83f64f DIST boto3-1.34.144.gh.tar.gz 840506 BLAKE2B 7fccc6ae45dec6411995795dc7dd180cec51b79f93362a221d7709f35ece2652390219d51507130fcfcedf82f0d2fa89461c112027b7d8040f84f2f907518b30 SHA512 4da24e40cb8beafd975cf21de0e548b167de59e1b47b4b005f4320d2c4cd60e0c5b72378ecdb1b21ec789b4b943df4856128890d865e0fb974a34563871a2078 +DIST boto3-1.34.145.gh.tar.gz 841776 BLAKE2B e93a6c4d634c2df22ed27e58c2abe0a6cc835364b4a93c73c8c221ba39b63b89c5f3ddbf210eb90a451c9b6650061f08a173395f1fb3cd4abe8fde90347b4c63 SHA512 ebd85e3068d1ad332b2ed4c2ad45c022fadb090f8aacdcd72c0d515f91b218201afd69750281b68c909dbf2ab35bef3a39412a616f5b134780f15c0cc9854123 EBUILD boto3-1.34.136.ebuild 1198 BLAKE2B c863be0c9348383129a919e79acbc6962b7c3973f77f68c85df6944a7658a2b39a44a91d904b7fee34ffb849e904e7bf6a503ca35a56085f2b04f40cbb70d4d4 SHA512 10a7f8345e1dc13766f1a15a127a885a42f7750f15c53b25fcba2ef033083192b7381cb53cd7be6c8c876bc1422f615578f730efca83c71ece042593282043a6 EBUILD boto3-1.34.140.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af EBUILD boto3-1.34.144.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af +EBUILD boto3-1.34.145.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af MISC metadata.xml 493 BLAKE2B 7d6324fc877ffe1d20c5369c2af0b09a7028f94d28f1841188913d0d8be7ea699c9d3f92c624992c4c96bd69615d3a1211a2483c76c56b7d3082492e43512523 SHA512 44420d8c03d5986f990b76369edfa8dfd7659b4952db3ad946fd05392ec594628a28745ad888d055d4f074d5214f61fcffafe6c04c4ab54109d45ac0371582bd diff --git a/dev-python/boto3/boto3-1.34.145.ebuild b/dev-python/boto3/boto3-1.34.145.ebuild new file mode 100644 index 000000000000..8cba6d95740e --- /dev/null +++ b/dev-python/boto3/boto3-1.34.145.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 00b31ab4bf1e..e7c8e676a563 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -1,7 +1,9 @@ DIST botocore-1.34.136.gh.tar.gz 13151618 BLAKE2B 800b800ff2481335f0defb79c10a4216c8bb107a3369e6a45a9c0a6d8f703209a9e44560ebf859f7fc616498c68e9b0de331478a8b5e2d3b36788bdedb597a0b SHA512 e9a31f6e8e241964fa34df65c8a9f8acaa1e33865eeb8257bf6da16982a3704b8ab66b6f424952ff100944471bb8f40cbdbcc26f72120da2d6033319948de81e DIST botocore-1.34.140.gh.tar.gz 13156596 BLAKE2B 4a264fe767c35dcc65ddbe1eb29529d2576553e4d6f9a3d6c28f249aaa0eab5a0fd150fdbdc1dbd1b83cc1fb6fce8f58c68de43f5dc338cb3feb5b9f76c8f973 SHA512 36c90da9670639ccc10e65ced501a2b16e50b664f11be2686f6fcfc56fa81271f160b27b7ffac513446afe09ef6ed4768818ad8b8ca540571737c47fdf980443 DIST botocore-1.34.144.gh.tar.gz 13221134 BLAKE2B 9b688a781ad80f294c147ce4aacc31b59ad90369722a256b934610790682fbe54fcc18bded66d3151c24335dafdcc2eecaa293a30f6715aa69ded57efacd6540 SHA512 92d96253eb62b0425d3763cd9df7f5e944e780c5694b6bad03aa1671b65a5a786b54cad037479f2e227b86b2dd33da1a10db1da1ede857378a9f9783405bb288 +DIST botocore-1.34.145.gh.tar.gz 13230154 BLAKE2B ebcf6acdd7ab01bca4032eaa9bc94fd72807edb3b0ce7cdc7addc4bed9a3500627b95d95e69c3027ecb384e65d95c0955e71a0e3262d89e3e8d49eefc37e9aaf SHA512 96042253f2f5ec74b258327c3c4eb322a8ed534ac8ed78f38a5aafb3a97ce832bfe5184090a2dadd41e30b75bf35c463d8d80c3de72a46410656d62076469650 EBUILD botocore-1.34.136.ebuild 1477 BLAKE2B 784b43f060f0702808a3894fdab7a15dd4b4feeffc3c1ab2fe24cca762b2dc1310f40ae5b2941db5c4aa9c4ff8b69d858520826027a50ce975d25150132b4d56 SHA512 e86970ec900929641794d61e02f26bc7e7c8af803095dcc5c8fbedac9d79275c596176f2b492061289056c7d29ebbaa6e64344148f22b6349ac4420ab5038dca EBUILD botocore-1.34.140.ebuild 1833 BLAKE2B 5609eba12164e385a3a24c3dc8b4d723a2785c3580605580091de3b6e59005dea40fcb341cfe05ff4ba5b82f01428eeb687443cbdf59f13409938e71b6c31a4f SHA512 2ebd7e0d81ade32081d6ea0360434eadf6234ef16956de82659401bbdbab6977b5a082bac7cb6be8fb867527f1ae5c94049f011117a6881c7b57c2a7045622fb EBUILD botocore-1.34.144.ebuild 1672 BLAKE2B 8e30dae387821aea270f5db3ece49d58df6706d6e4ced17b2a595e1bc3f40dc49f79811cc9a82ad935b34ab5a053d802ac6afce166fb4cca168affe6b47a6c23 SHA512 23b6b04cba2a0afccc82805c78853bec7ea4568c0c01122edc83e3fea544ce14841a41fb469acb6f5a7b8fc462060bda2e4cba19cd82a799b7261f61df880a5d +EBUILD botocore-1.34.145.ebuild 1672 BLAKE2B 8e30dae387821aea270f5db3ece49d58df6706d6e4ced17b2a595e1bc3f40dc49f79811cc9a82ad935b34ab5a053d802ac6afce166fb4cca168affe6b47a6c23 SHA512 23b6b04cba2a0afccc82805c78853bec7ea4568c0c01122edc83e3fea544ce14841a41fb469acb6f5a7b8fc462060bda2e4cba19cd82a799b7261f61df880a5d MISC metadata.xml 499 BLAKE2B e5aaa7da26f200c09adfdf38b68f656bbccbec627cb5d966b280ac2165334e7eec659c89075bcace748f58e2ec3e7d2998e54a688d56ecea2d30653c67dfd35a SHA512 103c554d5dbd967bf9b6e418b3913d9235e7e910d012160909ce0715134ed2e37b06e6a345395f9d16ce08d1cf51f3ce458bce93c6a978fd3dca6610f2acdbd0 diff --git a/dev-python/botocore/botocore-1.34.145.ebuild b/dev-python/botocore/botocore-1.34.145.ebuild new file mode 100644 index 000000000000..4f1ad852bdc1 --- /dev/null +++ b/dev-python/botocore/botocore-1.34.145.ebuild @@ -0,0 +1,76 @@ +# 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 + ) + + case ${EPYTHON} in + python3.13) + EPYTEST_DESELECT+=( + # memory use tests, probably fragile + tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory + ) + ;; + esac + + 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 412cf64b18e5..c396b4b130e6 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -4,10 +4,12 @@ DIST cfn_lint-1.6.1.tar.gz 2366313 BLAKE2B af7b3e8d5145f3368d4c7b2e86b0ffe441c1f DIST cfn_lint-1.7.1.tar.gz 2412588 BLAKE2B 259b548e7fc7704c12ca0191d27dd82ce2a75e33c7462520becf218261ac693308f600719850a357d9948f5d2700846b6bc35781491cc4c0598cc494d1090e3f SHA512 ce4933a1c3cdf25b3911b0e057d60a6ff0753937dbb6a5cdf6a1e0afae3fc1532302ac2572191781337cb6a5f0ae1743409714317f79fb9da55295875bd56b27 DIST cfn_lint-1.7.2.tar.gz 2412586 BLAKE2B 5ec2034dce3c347411408723ebd1e00143c8b2428364cd33591c260fddb1911d595398121dba356d5179737400ac56fa4077ce8458d0b061c886284e152052b8 SHA512 7c9f785ecb08e937f21be47dea736719b1c7afac2b2989e65f84745e220657a0e3ac3427fa53ece4c5fe51b7880fb9da04c9eac7bd509f43978255ec5706f434 DIST cfn_lint-1.8.0.tar.gz 2376789 BLAKE2B 927a7e789167d5adf04f6a76b309b62b4a2b128db6b1db6a46a771289bc8e6826d021c44209b7dcd711feded2836d10db7727c61daa9f8ef2254a7080c3f30d7 SHA512 e55b24a6e60b4d96317f541787f7828205d04c51816dc5684c37a129b6ff0240e8a0616f15d7fd6917ea18f90d5892c0221fad53fa916cea7a3cd689c1a3c7c2 +DIST cfn_lint-1.8.1.tar.gz 2376797 BLAKE2B ac79f507edc99a9e5fb1d9e3e5bae43951625ef4b529d4c87cf9f748b13b2018607411dc0502fb6063b70282acd88bd350ebf9c9e5c918af079390a1c4bb7ced SHA512 dee0f4228753fc40fd430e58bf1a649023c8136ea11bec1e974800af68f4cce48b34f6b1ce06efa5d722e73ac096a24ba985ecff3e9149b8e66b9202e2c6b1d7 EBUILD cfn-lint-1.4.2.ebuild 2173 BLAKE2B ba593561e9e98b1bcb348db13747619379e3d79d80231c43d62b71216b6a5ada6cae1f83a080f2bd503c845bd8b3d04f2398dcdf6a34f3fe798187939929a8e1 SHA512 53e045faf285b309669a61c5d5654ae7a7e229588f5ef9ed2bb1d0afccfbb4005ab0464e8950b55009108fb7a56c5e1dfc5dfd74b7072f223221769bd913b60c EBUILD cfn-lint-1.5.3.ebuild 2176 BLAKE2B 07cacdbe24678c647596829bbfba09e70569c2b1f575c318581364c7e6cfe505cc12c0e4fe4174073e51aa123d2d5066189ff5058a008591b68b707cf36ca841 SHA512 97011ea77add065c2ff78d5cc6ced93c9e1251ee5da063afb7c957e2dde3639421e331ab31ef20571409f7f167bb4102bdbda8a4d463363c7ea34b1130ebfca6 EBUILD cfn-lint-1.6.1.ebuild 2176 BLAKE2B 07cacdbe24678c647596829bbfba09e70569c2b1f575c318581364c7e6cfe505cc12c0e4fe4174073e51aa123d2d5066189ff5058a008591b68b707cf36ca841 SHA512 97011ea77add065c2ff78d5cc6ced93c9e1251ee5da063afb7c957e2dde3639421e331ab31ef20571409f7f167bb4102bdbda8a4d463363c7ea34b1130ebfca6 EBUILD cfn-lint-1.7.1.ebuild 2176 BLAKE2B 07cacdbe24678c647596829bbfba09e70569c2b1f575c318581364c7e6cfe505cc12c0e4fe4174073e51aa123d2d5066189ff5058a008591b68b707cf36ca841 SHA512 97011ea77add065c2ff78d5cc6ced93c9e1251ee5da063afb7c957e2dde3639421e331ab31ef20571409f7f167bb4102bdbda8a4d463363c7ea34b1130ebfca6 EBUILD cfn-lint-1.7.2.ebuild 2176 BLAKE2B 07cacdbe24678c647596829bbfba09e70569c2b1f575c318581364c7e6cfe505cc12c0e4fe4174073e51aa123d2d5066189ff5058a008591b68b707cf36ca841 SHA512 97011ea77add065c2ff78d5cc6ced93c9e1251ee5da063afb7c957e2dde3639421e331ab31ef20571409f7f167bb4102bdbda8a4d463363c7ea34b1130ebfca6 EBUILD cfn-lint-1.8.0.ebuild 2176 BLAKE2B 07cacdbe24678c647596829bbfba09e70569c2b1f575c318581364c7e6cfe505cc12c0e4fe4174073e51aa123d2d5066189ff5058a008591b68b707cf36ca841 SHA512 97011ea77add065c2ff78d5cc6ced93c9e1251ee5da063afb7c957e2dde3639421e331ab31ef20571409f7f167bb4102bdbda8a4d463363c7ea34b1130ebfca6 +EBUILD cfn-lint-1.8.1.ebuild 2176 BLAKE2B 07cacdbe24678c647596829bbfba09e70569c2b1f575c318581364c7e6cfe505cc12c0e4fe4174073e51aa123d2d5066189ff5058a008591b68b707cf36ca841 SHA512 97011ea77add065c2ff78d5cc6ced93c9e1251ee5da063afb7c957e2dde3639421e331ab31ef20571409f7f167bb4102bdbda8a4d463363c7ea34b1130ebfca6 MISC metadata.xml 583 BLAKE2B 9f73e2b92e5cfa2ad59f5c8e5d91bdd3aa9eba3fa722b93b388cffea42020db7e7441bab5749432812934a4514d3e9104e6d897e1d115afa5ed237757bd48c03 SHA512 1866a349855ae4e248498b7aabd6ce4c4e10ea58731df4bfa13500f61dc041da6dbd7420e7d6a78fad46d5cf00bd7ef2d0c4c7d6819a21b3a5031b0d49588a19 diff --git a/dev-python/cfn-lint/cfn-lint-1.8.1.ebuild b/dev-python/cfn-lint/cfn-lint-1.8.1.ebuild new file mode 100644 index 000000000000..4ec420c8b216 --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-1.8.1.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.89.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/dep-logic/Manifest b/dev-python/dep-logic/Manifest index 5c1cbd3197d6..b9be634959db 100644 --- a/dev-python/dep-logic/Manifest +++ b/dev-python/dep-logic/Manifest @@ -1,7 +1,5 @@ -DIST dep_logic-0.3.5.tar.gz 33880 BLAKE2B 0aa7b2ef7408e0c3a0a81d2cd1fc11037e633a521aff5b673e2c9c4efc535ff59d0991daa9ee50b859302a25cfcdaf94406950358a150cd173d627e87b497a51 SHA512 7ceb90c4cf8d98a192dca94206c363e6bc5d68fa596f18c64374f1512afbfa33339b739343ed7663bba6a94d8c6a573e62bf46fecccb01d0d87827a810d0f4d9 -DIST dep_logic-0.4.1.tar.gz 34727 BLAKE2B 08475ec5f6836f853d2406be6fad2d00df54498555902e61987f1e7b61bfa99a769b5d7472e56fb8e27063f1129a8c989f49ae69f4c8dd8c5c1482995aae5c20 SHA512 da0445f126877281764c182550d14e8b549b6cd344ec61780d993c223c00829b003837d0cdbd78c905f1bb0eec90a24f24e55501d3a2e291c0d417f21486d854 DIST dep_logic-0.4.2.tar.gz 34743 BLAKE2B e3d520f935034c5dacf3dbe123eacb2adb45a3b6d6e13c23d3c21c9d36af56093f504660c621ba586335930963243298d5284b41a29247fb9904bff13da7c724 SHA512 7a522e74cf6537ff644e785489c9a17108910d42769abfbc31dcdffde1d36e79c0cc76c98cd289982877296aab451a6963ee039dd258be67e0e82d2c81fd219b -EBUILD dep-logic-0.3.5.ebuild 530 BLAKE2B b0f32d2ae7d4f7322864c3bdece3b4b9db3dbbf6d592e8ecc51dfb5417cd5d2188c59eabbafe076f6c885eb1b294446041b43ca6b501eafce6a7fa3fdedc7f7e SHA512 23ccf90eb3e77f7eab6b0fa5501bc53456a160bcd3e8631a7533c9e66e33d208b5bdd19a0d36242c4e963a8e2aa7c91baf54324034444e8267d217106e90e023 -EBUILD dep-logic-0.4.1.ebuild 530 BLAKE2B b0f32d2ae7d4f7322864c3bdece3b4b9db3dbbf6d592e8ecc51dfb5417cd5d2188c59eabbafe076f6c885eb1b294446041b43ca6b501eafce6a7fa3fdedc7f7e SHA512 23ccf90eb3e77f7eab6b0fa5501bc53456a160bcd3e8631a7533c9e66e33d208b5bdd19a0d36242c4e963a8e2aa7c91baf54324034444e8267d217106e90e023 +DIST dep_logic-0.4.3.tar.gz 34793 BLAKE2B abbaa23d39d258b10912844cb28ca279efe7475e419f8c7be7a1119ed636d60bed851ae7fe47cf04f2caa391d933f8a2c5d404db6e8a8c7cf55224224b6a228c SHA512 4800e9cbd9f2479ebb2a2052361f385b68b1ec5ea3f308378dbef199e61a0443c0e28e4f4f7df8a444a4bd50edd25c7168428812543edc0bb0209d2fc5e0dfac EBUILD dep-logic-0.4.2.ebuild 530 BLAKE2B b0f32d2ae7d4f7322864c3bdece3b4b9db3dbbf6d592e8ecc51dfb5417cd5d2188c59eabbafe076f6c885eb1b294446041b43ca6b501eafce6a7fa3fdedc7f7e SHA512 23ccf90eb3e77f7eab6b0fa5501bc53456a160bcd3e8631a7533c9e66e33d208b5bdd19a0d36242c4e963a8e2aa7c91baf54324034444e8267d217106e90e023 +EBUILD dep-logic-0.4.3.ebuild 530 BLAKE2B b0f32d2ae7d4f7322864c3bdece3b4b9db3dbbf6d592e8ecc51dfb5417cd5d2188c59eabbafe076f6c885eb1b294446041b43ca6b501eafce6a7fa3fdedc7f7e SHA512 23ccf90eb3e77f7eab6b0fa5501bc53456a160bcd3e8631a7533c9e66e33d208b5bdd19a0d36242c4e963a8e2aa7c91baf54324034444e8267d217106e90e023 MISC metadata.xml 376 BLAKE2B 9236c3ed79dc4016955d7316d573580fd61cdab5ccf2f0dd88004bb9c4fedbb4eb1a002b79e8bb2fb02792185484849d0e4f798d0a99ac3167de720e9bb6f8f6 SHA512 10b70dd0399365a6b19dc4f7a2d469bb9cd12ce03d3ce35e03b75457706d140edbb2cf6402a6793a58a64c8c91a6cd392e5113bdb86cbaf96df9df06a570132c diff --git a/dev-python/dep-logic/dep-logic-0.4.1.ebuild b/dev-python/dep-logic/dep-logic-0.4.1.ebuild deleted file mode 100644 index cf3afe5c232e..000000000000 --- a/dev-python/dep-logic/dep-logic-0.4.1.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 2023-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=pdm-backend -PYTHON_COMPAT=( pypy3 python3_{10..13} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python dependency specifications supporting logical operations" -HOMEPAGE=" - https://github.com/pdm-project/dep-logic/ - https://pypi.org/project/dep-logic/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm64" - -RDEPEND=" - >=dev-python/packaging-22[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest diff --git a/dev-python/dep-logic/dep-logic-0.3.5.ebuild b/dev-python/dep-logic/dep-logic-0.4.3.ebuild index cf3afe5c232e..cf3afe5c232e 100644 --- a/dev-python/dep-logic/dep-logic-0.3.5.ebuild +++ b/dev-python/dep-logic/dep-logic-0.4.3.ebuild diff --git a/dev-python/ensurepip-setuptools/Manifest b/dev-python/ensurepip-setuptools/Manifest index 74290ef59560..879738075221 100644 --- a/dev-python/ensurepip-setuptools/Manifest +++ b/dev-python/ensurepip-setuptools/Manifest @@ -1,7 +1,11 @@ DIST setuptools-70.1.1-py3-none-any.whl 883347 BLAKE2B f0e9c3b3ee278942b72ebf470279841f648e7852d355841dab27d28551ee09fa1ed6a77e02c5c808a820810a134dffdc28038938c0e2003011f966e6d5799428 SHA512 81ebaa3c39d599ae3975ec5848ca03491188de10c62d0a01923ded1cb4d08dbbbb3be9ecee501cfe16d88726ec0899ad8f36f7c7b289f1f90c5bec403b5049c1 DIST setuptools-70.2.0-py3-none-any.whl 930834 BLAKE2B 7ef99e6c7c47fd306c4a136504a1d3285faa046da6a4b0be15ec66a2a2eccbe34f203bed794f0a9114ae6970aea163207d22bd4bf5aedf44a92cc2abcac3d881 SHA512 ed6b5199a795c776d653f02e665e560da27e515cf334a2afbbf7f7cb7eb9cd738ca685a2b52d43d68ce6f63486d8da5baa216e58af95e5fad03c6dd95d3d901a DIST setuptools-70.3.0-py3-none-any.whl 931070 BLAKE2B 92c424f7efc52f42bb4e04f3ddcc57eb079e2db3cb2af1a142520f656c05895ed5bde816e37f05d96d4c431fb888bf09d576956313667a029b6f8de9afc867b4 SHA512 085d39ef4426aa5f097fbc484595becc16e61ca23fc7da4d2a8bba540a3b82e789e390b176c7151bdc67d01735cce22b1562cdb2e31273225a2d3e275851a4ad +DIST setuptools-71.0.0-py3-none-any.whl 908395 BLAKE2B 9195292e68f5bfa557ff952b9dfe50ef68c15517309ed960657600dbebeebba4227d3d8b339bd7298bb67246a174f1f7f8060837f84d26062b58597467252139 SHA512 21376e2207ef8695e8ef699a153d9effd7d9c062ca51639087f53e73d7cb57bf2f415fcf859677f118fa733695a9e9a2678f17616f08ad366675b9a63483d589 +DIST setuptools-71.0.3-py3-none-any.whl 2341516 BLAKE2B bf3e6d2c5da5b6a7a61ebb3293a1779f68b99ca3e75bec08839852158a0c085b6bd8a23f03e961edfe762ce7c7b59a06f3b1f29a306b80b443c07ebb50680c86 SHA512 e2145ba3558c881d61e83689a034a2f712d1012ed9017f72f08b40d0de55fb021703a98958079630a046c49a051d997d73a8c55161ce8b61097993f0da49aeaa EBUILD ensurepip-setuptools-70.1.1.ebuild 610 BLAKE2B 30d5981f264556c7910d7d2984d37173e3f2b30fc4c08a041e3e4bbf57ceeae35b02582112fc7b190320fccdf55f25e59d9966fa75bfe39fa23fea1986954a14 SHA512 6923031a97ac255e828fecc00f7c7ad99828a0aab5fe17ee3855462a0e8ec422d96cad81b6e938c2d0fc4eed197a22dd38b31c0e38c2e99c5854f171c8a706b9 EBUILD ensurepip-setuptools-70.2.0.ebuild 618 BLAKE2B 127ebf8ffb8c4bacd0032dcf268755c43c05c498e506b4e8904440460b06e6614456c40696b3e4aa5a74fda69340c07fa50700c0c8f704e3c2df1c831329b992 SHA512 ab22161ed8de46abcb525f9cc308bc4ba1d905125010734a1510f53bb9c440a24967f35730e7c30253f5d9f1d2320d9b6bb5804c907fefda0eee59a0338cc96a EBUILD ensurepip-setuptools-70.3.0.ebuild 618 BLAKE2B 127ebf8ffb8c4bacd0032dcf268755c43c05c498e506b4e8904440460b06e6614456c40696b3e4aa5a74fda69340c07fa50700c0c8f704e3c2df1c831329b992 SHA512 ab22161ed8de46abcb525f9cc308bc4ba1d905125010734a1510f53bb9c440a24967f35730e7c30253f5d9f1d2320d9b6bb5804c907fefda0eee59a0338cc96a +EBUILD ensurepip-setuptools-71.0.0.ebuild 618 BLAKE2B 127ebf8ffb8c4bacd0032dcf268755c43c05c498e506b4e8904440460b06e6614456c40696b3e4aa5a74fda69340c07fa50700c0c8f704e3c2df1c831329b992 SHA512 ab22161ed8de46abcb525f9cc308bc4ba1d905125010734a1510f53bb9c440a24967f35730e7c30253f5d9f1d2320d9b6bb5804c907fefda0eee59a0338cc96a +EBUILD ensurepip-setuptools-71.0.3.ebuild 618 BLAKE2B 127ebf8ffb8c4bacd0032dcf268755c43c05c498e506b4e8904440460b06e6614456c40696b3e4aa5a74fda69340c07fa50700c0c8f704e3c2df1c831329b992 SHA512 ab22161ed8de46abcb525f9cc308bc4ba1d905125010734a1510f53bb9c440a24967f35730e7c30253f5d9f1d2320d9b6bb5804c907fefda0eee59a0338cc96a MISC metadata.xml 316 BLAKE2B 17947c657b45cb01758e222aa6051a459bf0bd9a026a73c0df0ae0c3a0c901f6e2315d459ee37036ecd283481a8d97791d64688c108a0706e745a739e3f9e8f8 SHA512 af18f4ae51b253552752e14210789988c815d0dbf0e1d8ff7057e48a09303c4abc1fb240d6f7f15fc0993b33e4c8ee395c2755754b3a2cbfd4c3a3f0dad41cfe diff --git a/dev-python/ensurepip-setuptools/ensurepip-setuptools-71.0.0.ebuild b/dev-python/ensurepip-setuptools/ensurepip-setuptools-71.0.0.ebuild new file mode 100644 index 000000000000..97aca4a61872 --- /dev/null +++ b/dev-python/ensurepip-setuptools/ensurepip-setuptools-71.0.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit pypi + +DESCRIPTION="Shared setuptools wheel for ensurepip Python module" +HOMEPAGE="https://pypi.org/project/setuptools/" +SRC_URI="$(pypi_wheel_url "${PN#ensurepip-}")" +S=${DISTDIR} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +RDEPEND=" + !<dev-python/ensurepip-wheels-100 +" + +src_install() { + insinto /usr/lib/python/ensurepip + doins "${A}" +} diff --git a/dev-python/ensurepip-setuptools/ensurepip-setuptools-71.0.3.ebuild b/dev-python/ensurepip-setuptools/ensurepip-setuptools-71.0.3.ebuild new file mode 100644 index 000000000000..97aca4a61872 --- /dev/null +++ b/dev-python/ensurepip-setuptools/ensurepip-setuptools-71.0.3.ebuild @@ -0,0 +1,24 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit pypi + +DESCRIPTION="Shared setuptools wheel for ensurepip Python module" +HOMEPAGE="https://pypi.org/project/setuptools/" +SRC_URI="$(pypi_wheel_url "${PN#ensurepip-}")" +S=${DISTDIR} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +RDEPEND=" + !<dev-python/ensurepip-wheels-100 +" + +src_install() { + insinto /usr/lib/python/ensurepip + doins "${A}" +} diff --git a/dev-python/furo/Manifest b/dev-python/furo/Manifest index 07cdf6c15304..08f02421f3b4 100644 --- a/dev-python/furo/Manifest +++ b/dev-python/furo/Manifest @@ -1,3 +1,5 @@ DIST furo-2024.5.6-py3-none-any.whl 341199 BLAKE2B 6cecc3407bb91f096ba755d2d36f8e165dd8887f513495013533907017248c8a1f15d8019d5b4d5e7acd2793d95dc82cf95fc5ca1d9ad42bdcc57983d451db97 SHA512 932336ddff321b5dcdf98ee6aeda2cd33ce7981fb3f74fad5c2c732ff7d5be9c8666dd89808630a24b7d610965f8921ad477e9409ba5c2b9ad112d338dd06629 +DIST furo-2024.7.18-py3-none-any.whl 340824 BLAKE2B 619e7183541921ec31f5a7e7ebcbc86f0507e04bf7e5c9e308a3b6a6b580cf734fe46b641b3bcaaeeaba39516ca27b49ef8faadd0d9d5864343aafc15a05037d SHA512 62c047742a0a851e5faf56013751d05a411920ca7659ef42fc06bcce6766a6605734b370a636f4b1c2805def42881c273a2b5eb6704484571d76a44145b0a346 EBUILD furo-2024.5.6.ebuild 1018 BLAKE2B 171ea646e3284a3bc7419a1405ffbd8a4e87505f5a54452c4eed2c9ece8ee6d88cd70dea2c08575f7e42d446aa3d63643d1723996f5d41e935fc34f93c28a5a5 SHA512 8f924908e923b6520d158835549ee9e442489ed1f3ad2f311b83ba38659b2c2dc82da464b69da1f8afd45bf245b20bbe73f4af012f9746310377c6a35e05a29e +EBUILD furo-2024.7.18.ebuild 1026 BLAKE2B a289df0d54edac838d43db1b37bec8207277c969c663cb958501c7d56b6e4765b1eb1e2d42b76f41c3bf46b9a411ada9cb916e91d9d1c653104f2ced49361aa3 SHA512 a6e11821c8c1f2a8a92f5ec2a9039058421f73610dcbeb64c9d36f9118114610a415da76025f5ae7c0aa46fb81e210ccb51f103ce8858bb189431a44268dc203 MISC metadata.xml 436 BLAKE2B 81bb1424cf305f98c15a96afc454de34c0965277a5829c1c299ee6da4c86882aa1d47d45b71cfd3413b82c68b521a0f2b4bcd37c47988a6c171f55ef97f930ef SHA512 63d65b518096cba951f2bdac8b3ff0a602ac23fee7679ba808f27b01644cc612a7223942ba01f26d4c0931f16ccf9be1832be5da650835c6f43396e2076d1d30 diff --git a/dev-python/furo/furo-2024.7.18.ebuild b/dev-python/furo/furo-2024.7.18.ebuild new file mode 100644 index 000000000000..9afc06b408f3 --- /dev/null +++ b/dev-python/furo/furo-2024.7.18.ebuild @@ -0,0 +1,42 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# sphinx-theme-builder is completely unusable, as it requires pinning +# to a very-specific nodejs version number, and ofc loves fetching +# everything from the Internet + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Clean customisable Sphinx documentation theme" +HOMEPAGE=" + https://pypi.org/project/furo/ + https://github.com/pradyunsg/furo/ +" +SRC_URI="$(pypi_wheel_url)" +S=${WORKDIR} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx-basic-ng[${PYTHON_USEDEP}] +" + +src_unpack() { + if [[ ${PKGBUMPING} == ${PVR} ]]; then + unzip "${DISTDIR}/${A}" || die + fi +} + +python_compile() { + distutils_wheel_install "${BUILD_DIR}/install" \ + "${DISTDIR}/${P}-py3-none-any.whl" +} diff --git a/dev-python/jaraco-context/Manifest b/dev-python/jaraco-context/Manifest index d04be263119d..9bb19b617fe8 100644 --- a/dev-python/jaraco-context/Manifest +++ b/dev-python/jaraco-context/Manifest @@ -1,3 +1,3 @@ DIST jaraco.context-5.3.0.tar.gz 13345 BLAKE2B d2f429335ea80a6b50ea9574adc45c25c0fc78e8ebb5edde218bcbbe7a2b27ae6b5c17453e71904240d0d873ebef36f7c7aeda4424d3fea2dd9aaf01af6fb4c5 SHA512 f63bf272c45ff5c43499621651b78841259040ac98d67c9db75fadebb1c497c1156e05f23bf7c91df3e91f1e070acb9f7dc665e7b242ba7b1ac1cf99a619494d -EBUILD jaraco-context-5.3.0.ebuild 1392 BLAKE2B 18ec52dcaed3f1e8e52d29e13e93004566743afa4433d183332c1374a8e2db1c7c12d86139e7c6c0bfe95276aabbdcb11abe79611738ec30d336088a0188e054 SHA512 c25826eb33a00a96c9732ac5da0973c538a38cebbd8f7c1e4687b57c670548f7931aa26291c8bed4ed3c6ac9b870b8e66e4998deb6fac3f76da8c7a75ee2a6b4 +EBUILD jaraco-context-5.3.0.ebuild 1429 BLAKE2B 396b966d07a2b522424df1ca6ec231f6182da7488c5c537bc2ffc25942f55d1e016570e74a611c097ba319125630b46d4d510e59d4dc1fc1bf46af6e5ec5c243 SHA512 e5294b488f6d74c3766ae22e7401c2c49c21357f5b6ae358b30f45a76d7466cab1511343f602f80eab60feb1f88970651293130571b54f0a3f5a40e5a72a6379 MISC metadata.xml 403 BLAKE2B 32344da5308b2bd5eef6ac6efc6299869f4f82ab67b51a23666eef697a803bcc94993ed67f3047e82ba5500d1b0c49ec1f9b32112855c21aa4b3015c09fa0144 SHA512 13dec82eb1581116d8800e60c99c328aa1bb409fec83044fa5e02838008e4bf5d81bc1defeb59bc353ff4032600bdc9213559bdb745fd6571f53e9edd9dd6737 diff --git a/dev-python/jaraco-context/jaraco-context-5.3.0.ebuild b/dev-python/jaraco-context/jaraco-context-5.3.0.ebuild index 6a2d88cc996b..8cb625122fb3 100644 --- a/dev-python/jaraco-context/jaraco-context-5.3.0.ebuild +++ b/dev-python/jaraco-context/jaraco-context-5.3.0.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" RDEPEND=" $(python_gen_cond_dep ' diff --git a/dev-python/jupyterlab/Manifest b/dev-python/jupyterlab/Manifest index f29d17cc9607..c85ddfc12b80 100644 --- a/dev-python/jupyterlab/Manifest +++ b/dev-python/jupyterlab/Manifest @@ -1,3 +1,5 @@ DIST jupyterlab-4.2.3.tar.gz 21505072 BLAKE2B 8cc9aaed2fb848ecad6fb408968d66583ed69752cd8b5f62e19949b7aa5180d66950802649c137feddeab9e26f5ecb0394b7fdba751a4d784d00625d9b750fd3 SHA512 4ed3dd40ee43a05c8393531b87f568f3ffab43f20d1e8c8ad96c90bed4f67d6c83ab0a2664098cd5e39580427e03f4170eb4d91e9b8cc924b70f977db3cdc7de +DIST jupyterlab-4.2.4.tar.gz 21506914 BLAKE2B b130f91807c96d57d01127a37dcac1589422ef36023e9b02a32ade9c2ceedf128fce49d1a11dfbb5836dd5f40a0828e32f625cb3d99eb0098785b5be6b56eeba SHA512 2327c7d7b63185c9e1a90acfcac4b31224835601ed8e0bb545077e0c68f6cbb612af884fef288b7e28245b83a035542590cbd721b0f9e44af27bb4aa8a00acab EBUILD jupyterlab-4.2.3.ebuild 2760 BLAKE2B e5f0a51d2c22bd4feece54cefe493e5d2dee0de04f768e18c056f35009abdfa01b0f1d117f4d2a5620a8e64e7238342f8bbb59f56e42429cef8d12dd6e8dbfef SHA512 b91b9d7d4fc1e19a7a2b28f9cc34f1de3a533771ef51bf396fc9134d6e6002282f75a1e6d0343558becc8867a33c797e3f92d1317de34fa5008e623d17ba54b8 +EBUILD jupyterlab-4.2.4.ebuild 2765 BLAKE2B 18508727647b6c8a027dfcbe6f4930e17d466a5e300093a58a05e571feb4b2b5b35a0ee1e42bdd5793ff7e81a1dfc74436493dbe8417279092c4a7fadce009bb SHA512 1ad2ee34bab187e5f6ae22b0032456a490ad7f22def66af2a2c50f890688921917a0e712a5063112203d35fcd06ea38f71b8b339045f7d4a5131ed6d1b526520 MISC metadata.xml 412 BLAKE2B f0b40e19f8ba9dc116f0e4a882cabab6376f22d1eaeb3eac58ecff465ee2aff3564ddbf55e4ffb8971807a39945109a164037a954419671a274d3ac558b102ea SHA512 b6149a03585ca04bc3bf6f3ea6055e8e1fcb620a771359d150df7c22ee16bf09f57c8037df2161021fac0c194be0ac5ec79a31f0511d785e0c5b1ca96d817e42 diff --git a/dev-python/jupyterlab/jupyterlab-4.2.4.ebuild b/dev-python/jupyterlab/jupyterlab-4.2.4.ebuild new file mode 100644 index 000000000000..70f94aa414ed --- /dev/null +++ b/dev-python/jupyterlab/jupyterlab-4.2.4.ebuild @@ -0,0 +1,81 @@ +# 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..12} ) + +inherit distutils-r1 pypi xdg + +DESCRIPTION="JupyterLab computational environment" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyterlab/jupyterlab/ + https://pypi.org/project/jupyterlab/ +" + +LICENSE="BSD MIT GPL-3 Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" + +RDEPEND=" + dev-python/async-lru[${PYTHON_USEDEP}] + >=dev-python/httpx-0.25.0[${PYTHON_USEDEP}] + >=dev-python/ipykernel-6.5.0[${PYTHON_USEDEP}] + >=dev-python/jinja-3.0.3[${PYTHON_USEDEP}] + dev-python/jupyter-core[${PYTHON_USEDEP}] + >=dev-python/jupyter-lsp-2.0.0[${PYTHON_USEDEP}] + >=dev-python/jupyter-server-2.4.0[${PYTHON_USEDEP}] + <dev-python/jupyter-server-3[${PYTHON_USEDEP}] + >=dev-python/jupyterlab-server-2.27.1[${PYTHON_USEDEP}] + <dev-python/jupyterlab-server-3[${PYTHON_USEDEP}] + >=dev-python/notebook-shim-0.2[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/setuptools-40.0.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-1.2.2[${PYTHON_USEDEP}] + ' 3.10) + >=dev-python/tornado-6.2.0[${PYTHON_USEDEP}] + dev-python/traitlets[${PYTHON_USEDEP}] + net-libs/nodejs +" + +BDEPEND=" + dev-python/hatch-jupyter-builder[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-console-scripts[${PYTHON_USEDEP}] + >=dev-python/pytest-jupyter-0.5.3[${PYTHON_USEDEP}] + dev-python/pytest-tornasync[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/requests-cache[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + ) +" + +EPYTEST_DESELECT=( + # These tests call npm and want internet + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_uninstall_core_extension + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_install_and_uninstall_pinned_folder + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_install_and_uninstall_pinned + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_custom_minimal_core_config + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_custom + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_check + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build + jupyterlab/tests/test_build_api.py::TestBuildAPI::test_clear + jupyterlab/tests/test_build_api.py::TestBuildAPI::test_build +) + +EPYTEST_IGNORE=( + jupyterlab/tests/test_announcements.py +) + +distutils_enable_tests pytest +# TODO: package sphinx_copybutton +#distutils_enable_sphinx docs/source dev-python/sphinx-rtd-theme dev-python/myst-parser + +python_install_all() { + distutils-r1_python_install_all + mv "${ED}/usr/etc" "${ED}/etc" || die +} diff --git a/dev-python/mrcfile/Manifest b/dev-python/mrcfile/Manifest index c8071204662d..46fbbeabed3f 100644 --- a/dev-python/mrcfile/Manifest +++ b/dev-python/mrcfile/Manifest @@ -1,5 +1,5 @@ -DIST mrcfile-1.5.0.gh.tar.gz 148148453 BLAKE2B 45cb7483e0aa5d6a2ac4e077bd0e2a9a8a265c4fdb69fc467e1dd3bab79960478d69ed0ec5e4f97ff528a02255c1c0b3e839e808ff0380e7ea2926b569a5478f SHA512 90e85e74c413b74e9ea86996b9e1ed4ac8f8cc0e7537f1916482d5e89d1fa99814c23ad2e51d912485a02644eeb65925067190bb3a7b222310aca4946b037ecc DIST mrcfile-1.5.1.gh.tar.gz 148148989 BLAKE2B 335a30b5e69bb4bb0348da421c721d27dcf6d1b1d1ab37bd2038e57c5c7499348e9bd183aa5b21280a8009b68e64cec03b08bde4ff3509084873ebffa2fd3b1a SHA512 8553c435c640d814b26f14253ea8954ddd54fab737879e53714cee0be77b9a929e870d2c49a5244c49b9261e2946fbfb0ac1294af6cd3888c6884d476af3ad7a -EBUILD mrcfile-1.5.0-r1.ebuild 599 BLAKE2B e7a40645a5951344cfd366e4c44b90850dc257d88fc1995e4f5ea697216ae697761d04b1854a570c8ebfd70b15b09c1729284d57cb6a77d3c12bb83cc5e2ce5e SHA512 d7b54711bb0467c6248e3f25de907d9ebba5bd8ad0b15966cd220a12d9e2f5c0d6c59b7fdde0baf85a94f20843df5d74f3be43d56d7bcd820dcf8279165b36d8 +DIST mrcfile-1.5.2.gh.tar.gz 148149005 BLAKE2B 6ea599aad553f9a1e8b794a133502f440432e6cdb65aa8c906148dad5c10c63d4905f52665b4b1875be474e32d08a761c3faebec38f124b9a20862adf66ceb52 SHA512 0db3c0a0e641166e0fcea52202b9435212c1ddc0e0b3040f0830b61da86c1d51ac102fbd08039d0ae74724723122156f2db9f68fbab095eb365a7de68b8acd11 EBUILD mrcfile-1.5.1.ebuild 560 BLAKE2B da930b1572260a4c1962efd99a050b7231d36b0105690b8c4d3e93b54f52aacb32f99c53ae37c41a4247a70cc4e1a2cb24ae05028fc409ec226a8a65d4fc58e0 SHA512 7e76f2ec74ddaedca7e9654b20fa7e5e67d1b85663992dfa4735774dc22e6dfb4c8c6d93d2f3798d92bc9ef9d8efe84a17c6c1a1098033f85dfce56132495bad +EBUILD mrcfile-1.5.2.ebuild 560 BLAKE2B da930b1572260a4c1962efd99a050b7231d36b0105690b8c4d3e93b54f52aacb32f99c53ae37c41a4247a70cc4e1a2cb24ae05028fc409ec226a8a65d4fc58e0 SHA512 7e76f2ec74ddaedca7e9654b20fa7e5e67d1b85663992dfa4735774dc22e6dfb4c8c6d93d2f3798d92bc9ef9d8efe84a17c6c1a1098033f85dfce56132495bad MISC metadata.xml 388 BLAKE2B 7327577122145fab2e580fa79005b7be4a61c6e65c68433230b737f5bd3e988150999bab5b9f4ee7878a9757a40133796a7b15b80c023f585f0c6c1fb30af730 SHA512 55efedf64a9fdf287874eb9345b3bfad5a4281c98e46b4fd43a4ba2f1a3ca5af68c1047779bf811679ff953e54adb4b3bc32fd97f137287ed291e89fafb2ffd6 diff --git a/dev-python/mrcfile/mrcfile-1.5.0-r1.ebuild b/dev-python/mrcfile/mrcfile-1.5.2.ebuild index 5eb46c3a8235..e90cfd6c8d47 100644 --- a/dev-python/mrcfile/mrcfile-1.5.0-r1.ebuild +++ b/dev-python/mrcfile/mrcfile-1.5.2.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 @@ -23,7 +23,6 @@ SLOT="0" KEYWORDS="~amd64 ~arm64" RDEPEND=" - <dev-python/numpy-2[${PYTHON_USEDEP}] >=dev-python/numpy-1.16.0[${PYTHON_USEDEP}] " diff --git a/dev-python/pdm/Manifest b/dev-python/pdm/Manifest index 3a00262ed872..b85c71aca189 100644 --- a/dev-python/pdm/Manifest +++ b/dev-python/pdm/Manifest @@ -1,3 +1,5 @@ DIST pdm-2.16.1.tar.gz 2618476 BLAKE2B f32de9aafbaa1050e9373921bc50643c21b43775e7737f5717914f8bc65de7ad126d7dadf94ae55e7848596db1b6b0c1ffa9cb1d9ada914dc2be85cc71ac404f SHA512 8b244c67421ed5b3eb3b6958da38abf776cb8fe7eb5b9de646027fc14d15ecf74f90a128d4a4405cedd775294df3b13f76d606c2cfc86b222ede1c2134f63f84 +DIST pdm-2.17.0.tar.gz 2626110 BLAKE2B 600a319c419003d000445d2dfe0e694b78514c41ab29174465eef0126f629e588e7da996cf999901844686abfc9089db1f176509a7200ba405fd20be82fdcf0a SHA512 ef2924f4cafd690c5519e29b0ecab308dfc2a739bd50c76d6e0c1f294af31356b1102a0ea6c7324439105008fbd7270812fc2a855340e6417d55e9e8de273b59 EBUILD pdm-2.16.1.ebuild 5025 BLAKE2B 8267cfedcd79f8008eb73a66a1f0f28901825ad8eee74530fd35663348326f2984fec51deb15e694d36f69376f7f18f7e1a22bd1da16af737e9acf547fcf9d41 SHA512 fa880406afc1761b1d024f6ba33e5d9c87b375971e9bb52fdaa742822f5c1ec0c58da8a9723aa7031413f621e08a6fcf262cff2fd10a6d168ce0fd0acaef0090 +EBUILD pdm-2.17.0.ebuild 5131 BLAKE2B 8452a490eb96874cfd4538fd69aec19eba6d1d580574948f3d1c1f9b927a38629789e5bb77a5df6e9b233ff236ef7431744c859760544c0ea08b28213590c514 SHA512 80cad0a289b0ac57760922db54a215fa7393a0892dfbdcfcfc547ef865c5cc3c1eaa205f550b703bfa4ee4cd19fa54ac58cc0c2c754eebfa6a4327a498498a12 MISC metadata.xml 474 BLAKE2B c1471e124a955920e30f73dfa43a87999c30c2bb9615590f601befcc07f7d939ec68908e67c7345fca4cb0f0524d33507aeac9936fa30d449d1dde17094048d3 SHA512 a07256061dda5a8cf8b0e15205ac36651a4e5b594fdedbfe16d1d3264e1ac42847d1dc222d2857232ac5206d67feda432751695d85d0c4c7b03fd7228db8b1ab diff --git a/dev-python/pdm/pdm-2.17.0.ebuild b/dev-python/pdm/pdm-2.17.0.ebuild new file mode 100644 index 000000000000..0c40f005de0e --- /dev/null +++ b/dev-python/pdm/pdm-2.17.0.ebuild @@ -0,0 +1,119 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pdm-backend +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python package and dependency manager supporting the latest PEP standards" +HOMEPAGE=" + https://pdm-project.org/ + https://github.com/pdm-project/pdm/ + https://pypi.org/project/pdm/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + dev-python/blinker[${PYTHON_USEDEP}] + >=dev-python/dep-logic-0.4.0[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/platformdirs[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + dev-python/truststore[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + dev-python/msgpack[${PYTHON_USEDEP}] + dev-python/httpx[${PYTHON_USEDEP}] + dev-python/filelock[${PYTHON_USEDEP}] + dev-python/hishel[${PYTHON_USEDEP}] + >=dev-python/pbs-installer-2024.4.18[${PYTHON_USEDEP}] + dev-python/pyproject-hooks[${PYTHON_USEDEP}] + >=dev-python/unearth-0.16.0[${PYTHON_USEDEP}] + <dev-python/findpython-1[${PYTHON_USEDEP}] + >=dev-python/findpython-0.6.0[${PYTHON_USEDEP}] + dev-python/tomlkit[${PYTHON_USEDEP}] + dev-python/shellingham[${PYTHON_USEDEP}] + dev-python/python-dotenv[${PYTHON_USEDEP}] + >=dev-python/resolvelib-1.0.1[${PYTHON_USEDEP}] + dev-python/installer[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-httpserver[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # Internet + 'tests/cli/test_build.py::test_build_with_no_isolation[False]' + tests/test_project.py::test_access_index_with_auth + "tests/test_project.py::test_find_interpreters_with_PDM_IGNORE_ACTIVE_VENV[True]" + tests/cli/test_others.py::test_build_distributions + 'tests/models/test_candidates.py::test_expand_project_root_in_url[demo @ file:///${PROJECT_ROOT}/tests/fixtures/artifacts/demo-0.0.1.tar.gz]' + 'tests/models/test_candidates.py::test_expand_project_root_in_url[-e file:///${PROJECT_ROOT}/tests/fixtures/projects/demo-#-with-hash#egg=demo]' + tests/models/test_candidates.py::test_find_candidates_from_find_links + tests/cli/test_build.py::test_build_single_module + tests/cli/test_build.py::test_build_single_module_with_readme + tests/cli/test_build.py::test_build_package + tests/cli/test_build.py::test_build_src_package + tests/cli/test_build.py::test_build_package_include + tests/cli/test_build.py::test_build_src_package_by_include + tests/cli/test_build.py::test_build_with_config_settings + tests/cli/test_build.py::test_cli_build_with_config_settings + tests/cli/test_build.py::test_build_ignoring_pip_environment + tests/cli/test_others.py::test_show_self_package + tests/cli/test_publish.py::test_publish_and_build_in_one_run + "tests/cli/test_hooks.py::test_hooks[build]" + "tests/cli/test_hooks.py::test_hooks[publish]" + "tests/cli/test_hooks.py::test_skip_option_from_signal[build-pre_build]" + "tests/cli/test_hooks.py::test_skip_option_from_signal[build-post_build]" + "tests/cli/test_hooks.py::test_skip_option_from_signal[publish-pre_publish]" + "tests/cli/test_hooks.py::test_skip_option_from_signal[publish-pre_build]" + "tests/cli/test_hooks.py::test_skip_option_from_signal[publish-post_build]" + "tests/cli/test_hooks.py::test_skip_option_from_signal[publish-post_publish]" + "tests/cli/test_hooks.py::test_skip_all_option_from_signal[:all-build]" + "tests/cli/test_hooks.py::test_skip_all_option_from_signal[:all-publish]" + "tests/cli/test_hooks.py::test_skip_all_option_from_signal[:pre,:post-build]" + "tests/cli/test_hooks.py::test_skip_all_option_from_signal[:pre,:post-publish]" + "tests/cli/test_hooks.py::test_skip_pre_post_option_from_signal[pre-build]" + "tests/cli/test_hooks.py::test_skip_pre_post_option_from_signal[pre-publish]" + "tests/cli/test_hooks.py::test_skip_pre_post_option_from_signal[post-build]" + "tests/cli/test_hooks.py::test_skip_pre_post_option_from_signal[post-publish]" + "tests/cli/test_venv.py::test_conda_backend_create[True]" + "tests/cli/test_venv.py::test_conda_backend_create[False]" + tests/cli/test_lock.py::test_lock_all_with_excluded_groups + # hangs on interactive keyring prompts + tests/cli/test_config.py::test_repository_overwrite_default + tests/cli/test_config.py::test_hide_password_in_output_repository + tests/cli/test_config.py::test_hide_password_in_output_pypi + # junk output, sigh + tests/cli/test_others.py::test_info_command_json + # why does it try to use python 2.7?! + tests/cli/test_run.py::test_import_another_sitecustomize + # fails in tinderbox (bug #928964) + tests/test_project.py::test_project_packages_path + # i guess doesn't expect some dep to be present + tests/cli/test_build.py::test_build_with_no_isolation + ) + [[ ${EPYTHON} != python3.10 ]] && EPYTEST_DESELECT+=( + # test seems hardcoded to 3.10 + tests/test_project.py::test_project_packages_path + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -m "not network and not integration and not path" \ + -p pytest_mock +} diff --git a/dev-python/pyaml/Manifest b/dev-python/pyaml/Manifest index 2bf555ec667a..9f16cc378722 100644 --- a/dev-python/pyaml/Manifest +++ b/dev-python/pyaml/Manifest @@ -1,3 +1,5 @@ DIST pyaml-24.4.0.tar.gz 27204 BLAKE2B f0f7c43ffdfd648945bfb20c589ab3e48000ac98a602192ba75fd1a611e12877bbc848f79b070864ac10f59b9c1796d89f35521314e827c5a7951995de86a657 SHA512 d2c1ae1f29f61d210cb822c2c1b3fa3ace81a4b863c7dfec5d75c5418537256828ee54ca545edc9ce30995ba272dfd064f7ed6009dae00910a081ffc0270546e +DIST pyaml-24.7.0.tar.gz 27935 BLAKE2B 09ccdd3c0966d4f13480b174bcec800a49464ac0ccd7cc7ce6e4d2bcb8407283fd6ef94c2b661c7d6c912c203bc284efa15df072508869a2ec5f9978d5ede9ac SHA512 c5ce15f0264e8783ed6e03348ad74d25708129fbd377e2ec0fd0c6de72e763ff3cf79ba5d6cc4b641f0422ab87f8103538f2ba6abb16ea21e6820259f4a48b29 EBUILD pyaml-24.4.0.ebuild 600 BLAKE2B 879b3e8e1f17fe6b3c31a81ebec70caf022168de83d7ba87b4b1cb41389cd5cbfcd82195b09c1fcbeed5e395b86a807dd455ddec3962a85832f620c417e2970f SHA512 3b04e52e89741e27a3a9d9ae70db13fa48cc966bcc309234c13c4d33712d63023cfb468210e230cf05133affc6d3a63adb82c1209dd130316f979598fd3d26e1 +EBUILD pyaml-24.7.0.ebuild 604 BLAKE2B cebb6d06df24d6d5b624f295ff78b54ebeb9e66595e30082304d78f87ab999c61155513f4b92b39d541d3450a9026747c3cca80812d9370b6e692187f38bdb13 SHA512 6b059570580e2693f204ef8c5cf0fb5c92305a528685e5d0cd001f7914e87a8933ea8251e5f21d7931bdfc33152eb807611c600283d041cb40b72d11f8779d90 MISC metadata.xml 470 BLAKE2B 725657a34cdcbddf146ea3163af81fd22f78b895281e7dc2192b8c1f49fa9ec868e41a38bc371ce61160535ad0c5c1d8741109858cb8e3eafb40a77d623c3ecf SHA512 c64f440d674396b0a750780cbc5ab1a5003be1d3357b39a792cb9490870c768ab740266575cf6780f173252a893f6fa93fe9d4f414647274e520c4bd4b579c67 diff --git a/dev-python/pyaml/pyaml-24.7.0.ebuild b/dev-python/pyaml/pyaml-24.7.0.ebuild new file mode 100644 index 000000000000..f6434eb6f94d --- /dev/null +++ b/dev-python/pyaml/pyaml-24.7.0.ebuild @@ -0,0 +1,30 @@ +# 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="PyYAML-based module to produce pretty and readable YAML-serialized data" +HOMEPAGE=" + https://github.com/mk-fg/pretty-yaml/ + https://pypi.org/project/pyaml/ +" + +LICENSE="WTFPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + dev-python/pyyaml[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/unidecode[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest diff --git a/dev-python/setuptools/Manifest b/dev-python/setuptools/Manifest index ff4897f7d03d..b939c2a7209f 100644 --- a/dev-python/setuptools/Manifest +++ b/dev-python/setuptools/Manifest @@ -2,7 +2,11 @@ AUX setuptools-62.4.0-py-compile.patch 3704 BLAKE2B 9a5e70d2556b059be0ef060abd1d DIST setuptools-70.1.1.tar.gz 2292324 BLAKE2B 9d489117a80ef9cefab6b730680a614d990f338aa54579928bafbe3c87dbb5e4db8527b8a0b6c1090bcd3504be97cc69a9ce979e593d0634d9b66b66bccb25e5 SHA512 63452aa1e1d1dea6ad622a21fcc9334bc3603e45de9a1485f79776e02a0fb3b0a0a8b3e886af73845c3c373348c7021f2e06a5665676e9015ee9855441512136 DIST setuptools-70.2.0.tar.gz 2332711 BLAKE2B d552e3c7fb8bad3829b6c210827af2a3993afa7c534502d08cb7f87df846f9939b75ce181217c673be7a0c71e81ede437b5f44cf9a42ff13133a9f922e426c1d SHA512 a2b0aaf57d012326475ee7637e65ebbc3b1a09b338850e8b0c6a0f169c49651f934c813d6d347ba1ff04894a4d8341bb5fedbea35d45dbc19f317587bbb35094 DIST setuptools-70.3.0.tar.gz 2333112 BLAKE2B cffe583c1440e2c6ed049fc0c3da70d6b3f43710cec8eeba9b96906d7d3113c0156ac0398f12355e2c0eeeb73dc351e56eea117361c83a4819e255f2b44d01da SHA512 9f330bd9867631da69ee0886551033a6e8ef3cf52cfe38aad9fcd359cbfc2e0d7ee8c85382b29f8d52568c674893dc07f2b2a896afe5154e6140bb3209ee50a0 +DIST setuptools-71.0.0.tar.gz 2343301 BLAKE2B 9150d60b2fedb91a91dd9738d81791bf8e6546f71842e3463fba98347aa6b8ad25e121e0177d096fe092e8689ec3cae39de1c71a607812ea518b007791be8e25 SHA512 41a10469e1527dfaf1edaeca96c3c3c725ecf9ee3a59cac0cf48a2e66e178bd1c375e735a2e545b4d5c19b57ea9e19e78dfc4bdf95704a19780c82c40b9bc606 +DIST setuptools-71.0.3.tar.gz 2422226 BLAKE2B e85136be2673b64f4fbd28fcc7e8dba8503880e67f25c3bf9be4ee5adba562c47a2d8eda6268b6dfb9c9ecb088a4559c8646ddcec6b58ee56a509dba87115c23 SHA512 ade0ede91b8abf629ec09c2124169cbe64d2a65c590a82a7550ec820ce3dc3be8aeef87ac5b76bcf174257deec37456c55f08943ec5a168643c3280965e70a84 EBUILD setuptools-70.1.1-r1.ebuild 5111 BLAKE2B 1da6322cfc656044f1725a52ebe41e8f2ba18665de1a44fa9f89023adce1e13e388a58dad58345c9b2ed929182d5af05f1f734a3f13c64a32f49a7fee2f12145 SHA512 8bda1b64731705cef684e9a2c8a95b3724cf2666fb7bc04e337506311c0e89cd72583790cfb654696a63a92e84f382e403b4a74a1148f98308bd097a46e5c807 EBUILD setuptools-70.2.0-r1.ebuild 5242 BLAKE2B 9038685b99358357b74993ecbc31537a7743768480b4c060dd18cabe7486da61ebbfcd6bb10080dc08887052f4aa1395ebb0d215a1bf5378e8eb33d74ee87a2d SHA512 c04feb63409e3fb1bdd1a3128589cbd1083bf029c5c738701753eac439d30085752300f77ec50e6bd23a5a7fb1331f5242da8f884f20765740f52044519b7750 -EBUILD setuptools-70.3.0.ebuild 4938 BLAKE2B 3df5e7be152d1477bdd5b55de6d750424f5fb1efe81c90d6d10c7dae8d6c9cd770f17182580ff83d50438c07d8c71ebe05cc9d32d751fe737384b5e58e02889e SHA512 c19d23de85444b1997042c90e618e58ac5e60b2528e98ef994892dc8c21765022574c4106d84802a8aa03fc31d1b93b17d406d93c9ab38dd40ba8cec7a8c5b95 +EBUILD setuptools-70.3.0.ebuild 4975 BLAKE2B a8d45fb1fc9d629db9889856dec886e7b595284e8e0e33272c893a67b35594beb0023c08d2590078d5327ca0e852228d2f9b52882336d1ded5f2d17a67e34c6a SHA512 f18b1664bcd2ff9e1874952e6f265841bb47278ed6c678a5d474b96c1e9c0cc94268bce1f3299abc4c4ca8c497d95f45cfedd905cdeeada01fd59ed3c6f74757 +EBUILD setuptools-71.0.0.ebuild 4796 BLAKE2B 71f6f7fd24505cea1bff494b75ab945eda2584cd3d7e56af30521d08d6bc079f21c49f8367a0dd0aa065be78aef3d80dbbbf8d36578995f8624d6316cabfe58a SHA512 19c697d70fe704dee1188bfca33ad76d9f2f5d227b8ea3791fe584ec38c9ec8fe7891dcb6204ea2a0e26761f6405ddb211a24b697057aef2de7633f17fcbb34c +EBUILD setuptools-71.0.3.ebuild 4809 BLAKE2B 1ebaef220b9bbd556d7a3202abc3b472b147d4da5c815dfa00cee6d674262ce48d06b2fb90029a45eb91634d5c3b47118ffb7b29073296fe69e1c0220f40efa1 SHA512 b35bd78d80a1ed3c99a8f05ef1591eb00f95b32251cd468640682802c27d3a39f64fdeba9f8094b8268ad55d35d005b5ff6c145d2057bc80ec74f37898cc943f MISC metadata.xml 469 BLAKE2B 4a26769b09a3785586b22db850b7fc5c4818f31c3ace9cc94476d35df05e50edf6721f3c95ec615c3b2efe071ef284a54ea2d53566316ba653f7830bb48f80bf SHA512 dd682c4ad2e59a97094ebdabe4d1063e2319ed05e1fe9d8c2fafe069badb3b4cf8bb6d9f50e09d2128e2a081c1c69827407ac8aed644ebf70eb4ca1bc9a57319 diff --git a/dev-python/setuptools/setuptools-70.3.0.ebuild b/dev-python/setuptools/setuptools-70.3.0.ebuild index 9e5836dda134..4a159eeb5974 100644 --- a/dev-python/setuptools/setuptools-70.3.0.ebuild +++ b/dev-python/setuptools/setuptools-70.3.0.ebuild @@ -21,7 +21,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/setuptools/setuptools-71.0.0.ebuild b/dev-python/setuptools/setuptools-71.0.0.ebuild new file mode 100644 index 000000000000..a0c96d8a1ad6 --- /dev/null +++ b/dev-python/setuptools/setuptools-71.0.0.ebuild @@ -0,0 +1,131 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +# please bump dev-python/ensurepip-setuptools along with this package! + +DISTUTILS_USE_PEP517=standalone +PYTHON_TESTED=( python3_{10..13} pypy3 ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="Collection of extensions to Distutils" +HOMEPAGE=" + https://github.com/pypa/setuptools/ + https://pypi.org/project/setuptools/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + !!<dev-python/setuptools-rust-1.8.0 + >=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}] + >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}] + >=dev-python/ordered-set-4.0.2-r1[${PYTHON_USEDEP}] + >=dev-python/packaging-24[${PYTHON_USEDEP}] + >=dev-python/platformdirs-2.6.2-r1[${PYTHON_USEDEP}] + >=dev-python/wheel-0.37.1-r1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + ${RDEPEND} + test? ( + $(python_gen_cond_dep ' + >=dev-python/build-1.0.3[${PYTHON_USEDEP}] + >=dev-python/ini2toml-0.14[${PYTHON_USEDEP}] + >=dev-python/filelock-3.4.0[${PYTHON_USEDEP}] + >=dev-python/jaraco-envs-2.2[${PYTHON_USEDEP}] + >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}] + dev-python/jaraco-test[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + dev-python/pip-run[${PYTHON_USEDEP}] + dev-python/pyproject-hooks[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + >=dev-python/pytest-home-0.5[${PYTHON_USEDEP}] + dev-python/pytest-subprocess[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}] + >=dev-python/virtualenv-20[${PYTHON_USEDEP}] + ' "${PYTHON_TESTED[@]}") + ) +" +# setuptools-scm is here because installing plugins apparently breaks stuff at +# runtime, so let's pull it early. See bug #663324. +# +# trove-classifiers are optionally used in validation, if they are +# installed. Since we really oughtn't block them, let's always enforce +# the newest version for the time being to avoid errors. +# https://github.com/pypa/setuptools/issues/4459 +PDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + >=dev-python/trove-classifiers-2024.7.2[${PYTHON_USEDEP}] +" + +src_prepare() { + local PATCHES=( + # TODO: remove this when we're 100% PEP517 mode + "${FILESDIR}/setuptools-62.4.0-py-compile.patch" + ) + + distutils-r1_src_prepare + + # breaks tests + sed -i -e '/--import-mode/d' pytest.ini || die + + # remove bundled dependencies + rm -r */_vendor setuptools/_distutils/_vendor || die + + find -name '*.py' -exec sed \ + -e 's:from [.]_vendor[.]:from :' \ + -i {} + || die +} + +python_test() { + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + return + fi + + local EPYTEST_DESELECT=( + # network + # TODO: see if PRE_BUILT_SETUPTOOLS_* helps + setuptools/tests/config/test_apply_pyprojecttoml.py::test_apply_pyproject_equivalent_to_setupcfg + setuptools/tests/integration/test_pip_install_sdist.py::test_install_sdist + setuptools/tests/test_build_meta.py::test_legacy_editable_install + setuptools/tests/test_distutils_adoption.py + setuptools/tests/test_editable_install.py + setuptools/tests/test_setuptools.py::test_its_own_wheel_does_not_contain_tests + setuptools/tests/test_virtualenv.py::test_clean_env_install + setuptools/tests/test_virtualenv.py::test_no_missing_dependencies + setuptools/tests/test_virtualenv.py::test_test_command_install_requirements + # TODO + setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_basic + setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_ignore_errors + setuptools/tests/test_extern.py::test_distribution_picklable + # expects bundled deps in virtualenv + setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_in_sdist + setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_not_in_wheel + # fails if python-xlib is installed + setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts + # TODO, probably some random package + setuptools/tests/config/test_setupcfg.py::TestOptions::test_cmdclass + # Internet, sigh + setuptools/tests/test_integration.py + # flaky + setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_transitive_extra_dependency + setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_distutils_command_dep + ) + + local EPYTEST_XDIST=1 + epytest -o tmp_path_retention_policy=all setuptools +} diff --git a/dev-python/setuptools/setuptools-71.0.3.ebuild b/dev-python/setuptools/setuptools-71.0.3.ebuild new file mode 100644 index 000000000000..112fa3d0bcdc --- /dev/null +++ b/dev-python/setuptools/setuptools-71.0.3.ebuild @@ -0,0 +1,133 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +# please bump dev-python/ensurepip-setuptools along with this package! + +DISTUTILS_USE_PEP517=standalone +PYTHON_TESTED=( python3_{10..13} pypy3 ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="Collection of extensions to Distutils" +HOMEPAGE=" + https://github.com/pypa/setuptools/ + https://pypi.org/project/setuptools/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + !!<dev-python/setuptools-rust-1.8.0 + >=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}] + >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}] + >=dev-python/ordered-set-4.0.2-r1[${PYTHON_USEDEP}] + >=dev-python/packaging-24[${PYTHON_USEDEP}] + >=dev-python/platformdirs-2.6.2-r1[${PYTHON_USEDEP}] + >=dev-python/wheel-0.37.1-r1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + ${RDEPEND} + test? ( + $(python_gen_cond_dep ' + >=dev-python/build-1.0.3[${PYTHON_USEDEP}] + >=dev-python/ini2toml-0.14[${PYTHON_USEDEP}] + >=dev-python/filelock-3.4.0[${PYTHON_USEDEP}] + >=dev-python/jaraco-envs-2.2[${PYTHON_USEDEP}] + >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}] + dev-python/jaraco-test[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + dev-python/pip-run[${PYTHON_USEDEP}] + dev-python/pyproject-hooks[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + >=dev-python/pytest-home-0.5[${PYTHON_USEDEP}] + dev-python/pytest-subprocess[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}] + >=dev-python/virtualenv-20[${PYTHON_USEDEP}] + ' "${PYTHON_TESTED[@]}") + ) +" +# setuptools-scm is here because installing plugins apparently breaks stuff at +# runtime, so let's pull it early. See bug #663324. +# +# trove-classifiers are optionally used in validation, if they are +# installed. Since we really oughtn't block them, let's always enforce +# the newest version for the time being to avoid errors. +# https://github.com/pypa/setuptools/issues/4459 +PDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + >=dev-python/trove-classifiers-2024.7.2[${PYTHON_USEDEP}] +" + +src_prepare() { + local PATCHES=( + # TODO: remove this when we're 100% PEP517 mode + "${FILESDIR}/setuptools-62.4.0-py-compile.patch" + ) + + distutils-r1_src_prepare + + # breaks tests + sed -i -e '/--import-mode/d' pytest.ini || die + + # remove bundled dependencies + rm -r */_vendor setuptools/_distutils/_vendor || die + + find -name '*.py' -exec sed \ + -e 's:from [.]_vendor[.]:from :' \ + -i {} + || die +} + +python_test() { + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + return + fi + + local EPYTEST_DESELECT=( + # network + # TODO: see if PRE_BUILT_SETUPTOOLS_* helps + setuptools/tests/test_build_meta.py::test_legacy_editable_install + setuptools/tests/test_distutils_adoption.py + setuptools/tests/test_editable_install.py + setuptools/tests/test_setuptools.py::test_its_own_wheel_does_not_contain_tests + setuptools/tests/test_virtualenv.py::test_clean_env_install + setuptools/tests/test_virtualenv.py::test_no_missing_dependencies + setuptools/tests/test_virtualenv.py::test_test_command_install_requirements + # TODO + setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_basic + setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_ignore_errors + setuptools/tests/test_extern.py::test_distribution_picklable + # expects bundled deps in virtualenv + setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_in_sdist + setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_not_in_wheel + # fails if python-xlib is installed + setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts + # TODO, probably some random package + setuptools/tests/config/test_setupcfg.py::TestOptions::test_cmdclass + # Internet, sigh + setuptools/tests/test_integration.py + # flaky + setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_transitive_extra_dependency + setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_distutils_command_dep + # broken by unbundling + setuptools/tests/test_setuptools.py::test_wheel_includes_vendored_metadata + ) + + local EPYTEST_XDIST=1 + local -x PRE_BUILT_SETUPTOOLS_WHEEL=${DISTUTILS_WHEEL_PATH} + epytest -o tmp_path_retention_policy=all \ + -m "not uses_network" setuptools +} diff --git a/dev-python/sphinx/Manifest b/dev-python/sphinx/Manifest index f6c8f38ed035..9110bd5e4990 100644 --- a/dev-python/sphinx/Manifest +++ b/dev-python/sphinx/Manifest @@ -6,9 +6,11 @@ DIST sphinx-7.3.7.gh.tar.gz 7165383 BLAKE2B bcc68f26937e6aefe60cedea533a5c8e245c DIST sphinx-7.4.0.gh.tar.gz 8186356 BLAKE2B 968d2bc887c6326c44c741cfdfeb67bb303c718d4283d8149b1ab7bafa84ef7f3ef5ff3fd72b82a207846e91bda3fff72ed6c8953c1bcf8482bc79b992f636f3 SHA512 fea84f86e414bba741537f4db68a1f0e0922f8fe6eea5e0eefac4a76bfb30d5eb97eb5590404c7e427b03c57b589844ebba8ef5f3f6d786ca91bb2dbbc704d8f DIST sphinx-7.4.4.gh.tar.gz 8184232 BLAKE2B cf75b1dc39d194293845a621c12246fd78249541634dc5edee6ed6da15285ab763223729a63ef2c375215a394c12e189333d248b7f047195b66d8e7c6706ed18 SHA512 4f2ef5f0c4270517a12b9dc169903ece7ec809687c14961522c37a5ea829d1624ee45926a5fe48fefce77ac73b5dc4035e2452b2b6c4bbdf14c06e9201596f66 DIST sphinx-7.4.5.gh.tar.gz 8187162 BLAKE2B 95aa15db43abfb9671c3d7a3094525afb4f3a56eda6ef6c81a2e669b3d6512ff8a5e7c0c6f29614abe06316fbea1fef34f8b6884ed04c1e060e043f04950748c SHA512 649d8776561fe0fc3452302cafe01cca66680db19ab5283d34656023ab78f9803d3cd33156aeb00c8d5d205f78afbc75d0d676a44ace52a86e51200afd14fb3a +DIST sphinx-7.4.6.gh.tar.gz 8187130 BLAKE2B 69cf73dc3644ac0fbb4e2d26ee07652b4a16bb2d87fba1a6f5a3dba74533af470d2449658eb7029479618d47ea34d6dc896126cfe330d31b343c0a3300ba90b3 SHA512 7015aa5b926856e1e3ed35b559a78dbeb8a1746028f4a488a3237c65ea5eb786a9feff05649b8126395c6f8277802a093c704ca13e941d3aab561b2fca8b0de8 EBUILD sphinx-7.2.6.ebuild 4353 BLAKE2B 4e6f4767fd2b2f7de9174a745fc40c926af6acd89f62423bfa284721601a95c95694472e7b77be2a029860625821b33f11049c151cfd5c04e23a85c06a7def40 SHA512 73efc9db67471cc131fcaec408545dfdea8a04122efa57878062964d2b887fc2e8c6f5cca0d34ee321feaf9d1a77e72cd2ff4db8c0a5d7d2318fd7012d7865ab EBUILD sphinx-7.3.7-r2.ebuild 5310 BLAKE2B 128efb1a41ce24b53330a72259e3c77077e10da299fd8603b17dd9713706459bab6850f2ab33f6dbd334ee8391a72f85438cf2576be1d36964ddaaac3dfe2b06 SHA512 b8ba39628d84b873f503eeb35f8195e0e133ebcc8416cab007ec737b1c57967106504d01bc04ab412a66bebde0c68a0f5e7d92c4b9469147a4ad66ac130fa86e EBUILD sphinx-7.4.0.ebuild 5189 BLAKE2B f1e0bae36d2ecfd4d53cfc21252b01586cef38d61467c1e2df9c8e6439178ff6266d05ef06c5ffd40f2c6d9fb15f62143fa5a17bff9318883dc3175fb97c2635 SHA512 16a168d9340475a7ba36b5c961ea863e00153ae6df42626e17d71c74808c8db3cc7ee2813b4b1127d8308a6e61cc6d252706e131c62c1fb2c325d074a34644d5 EBUILD sphinx-7.4.4.ebuild 5189 BLAKE2B f1e0bae36d2ecfd4d53cfc21252b01586cef38d61467c1e2df9c8e6439178ff6266d05ef06c5ffd40f2c6d9fb15f62143fa5a17bff9318883dc3175fb97c2635 SHA512 16a168d9340475a7ba36b5c961ea863e00153ae6df42626e17d71c74808c8db3cc7ee2813b4b1127d8308a6e61cc6d252706e131c62c1fb2c325d074a34644d5 EBUILD sphinx-7.4.5.ebuild 5189 BLAKE2B f1e0bae36d2ecfd4d53cfc21252b01586cef38d61467c1e2df9c8e6439178ff6266d05ef06c5ffd40f2c6d9fb15f62143fa5a17bff9318883dc3175fb97c2635 SHA512 16a168d9340475a7ba36b5c961ea863e00153ae6df42626e17d71c74808c8db3cc7ee2813b4b1127d8308a6e61cc6d252706e131c62c1fb2c325d074a34644d5 +EBUILD sphinx-7.4.6.ebuild 5270 BLAKE2B b1c8db8344fa29b37ec9a8f4a48ace4e24f292e33c12d07c1c9f2fea96450b81033512478f79063363035bf777548958e11273efb6a231ac4f2e0d7af4a30709 SHA512 c91c06bced59fb811fc9a185e1ed30e36a79c432911d6813dfcb102544186478b05333cb19644309b10c18782156343298e9c7f38d2e333d54cf0b354802ee3e MISC metadata.xml 568 BLAKE2B ddb7175070df6da4088813cc6b66f25bb4364e2619b1e7da94370f7ce8e73b68b12f618412f81e6be57fcb0c60c10e3913f26a6a578b0f9defa7b9ee8091fcde SHA512 d32b37cbe88f5e3db0c6968bc7aa22c7edfb3794bf7c62facd17e7ae1f4f0fbfc7c9f5512230cce16ed32e2ebb70c23dfe9b36ce38785c5f5b76585410313214 diff --git a/dev-python/sphinx/sphinx-7.4.6.ebuild b/dev-python/sphinx/sphinx-7.4.6.ebuild new file mode 100644 index 000000000000..b2268853964a --- /dev/null +++ b/dev-python/sphinx/sphinx-7.4.6.ebuild @@ -0,0 +1,142 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..13} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="Python documentation generator" +HOMEPAGE=" + https://www.sphinx-doc.org/ + https://github.com/sphinx-doc/sphinx/ + https://pypi.org/project/Sphinx/ +" +SRC_URI=" + https://github.com/sphinx-doc/sphinx/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="doc latex" + +RDEPEND=" + >=dev-python/alabaster-0.7.14[${PYTHON_USEDEP}] + >=dev-python/Babel-2.13[${PYTHON_USEDEP}] + <dev-python/docutils-0.22[${PYTHON_USEDEP}] + >=dev-python/docutils-0.20[${PYTHON_USEDEP}] + >=dev-python/imagesize-1.3[${PYTHON_USEDEP}] + >=dev-python/jinja-3.1[${PYTHON_USEDEP}] + >=dev-python/packaging-23.0[${PYTHON_USEDEP}] + >=dev-python/pygments-2.14[${PYTHON_USEDEP}] + >=dev-python/requests-2.30.0[${PYTHON_USEDEP}] + >=dev-python/snowballstemmer-2.2[${PYTHON_USEDEP}] + dev-python/sphinxcontrib-applehelp[${PYTHON_USEDEP}] + dev-python/sphinxcontrib-devhelp[${PYTHON_USEDEP}] + dev-python/sphinxcontrib-jsmath[${PYTHON_USEDEP}] + >=dev-python/sphinxcontrib-htmlhelp-2.0.0[${PYTHON_USEDEP}] + >=dev-python/sphinxcontrib-serializinghtml-1.1.9[${PYTHON_USEDEP}] + dev-python/sphinxcontrib-qthelp[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-2[${PYTHON_USEDEP}] + ' 3.10) + latex? ( + dev-texlive/texlive-latexextra + dev-texlive/texlive-luatex + app-text/dvipng + ) +" +BDEPEND=" + doc? ( + dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}] + media-gfx/graphviz + ) + test? ( + app-text/dvipng + >=dev-python/cython-3.0.0[${PYTHON_USEDEP}] + >=dev-python/defusedxml-0.7.1[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + >=dev-python/setuptools-67.0[${PYTHON_USEDEP}] + dev-texlive/texlive-fontsextra + dev-texlive/texlive-latexextra + dev-texlive/texlive-luatex + virtual/imagemagick-tools[jpeg,png,svg] + ) +" + +PATCHES=( + "${FILESDIR}/sphinx-3.2.1-doc-link.patch" + #"${FILESDIR}/sphinx-4.3.2-doc-link.patch" +) + +distutils_enable_tests pytest + +python_prepare_all() { + # disable internet access + sed -i -e 's:^intersphinx_mapping:disabled_&:' \ + doc/conf.py || die + + distutils-r1_python_prepare_all +} + +python_compile_all() { + # we can't use distutils_enable_sphinx because it would + # introduce a dep on itself + use doc && build_sphinx doc +} + +python_test() { + mkdir -p "${BUILD_DIR}/sphinx_tempdir" || die + local -x SPHINX_TEST_TEMPDIR="${BUILD_DIR}/sphinx_tempdir" + + local EPYTEST_DESELECT=( + # less interesting failures + tests/test_builders/test_build_latex.py::test_build_latex_doc + tests/test_extensions/test_ext_math.py::test_imgmath_png + tests/test_extensions/test_ext_math.py::test_imgmath_numfig_html + ) + case ${EPYTHON} in + python3.13x) + EPYTEST_DESELECT+=( + tests/test_extensions/test_ext_autodoc.py::test_autodoc_special_members + tests/test_extensions/test_ext_autodoc_configs.py::test_autodoc_type_aliases + tests/test_extensions/test_ext_autodoc_configs.py::test_autodoc_typehints_format_fully_qualified + tests/test_extensions/test_ext_autodoc_configs.py::test_autodoc_typehints_none + tests/test_extensions/test_ext_autodoc_configs.py::test_autodoc_typehints_signature + ) + ;; + pypy3) + EPYTEST_DESELECT+=( + tests/test_extensions/test_ext_autodoc.py::test_autodoc_exception + tests/test_extensions/test_ext_autodoc.py::test_autodoc_ignore_module_all + tests/test_extensions/test_ext_autodoc.py::test_autodoc_inherited_members_None + tests/test_extensions/test_ext_autodoc.py::test_autodoc_subclass_of_builtin_class + tests/test_extensions/test_ext_autodoc.py::test_automethod_for_builtin + tests/test_extensions/test_ext_autodoc.py::test_cython + tests/test_extensions/test_ext_autodoc.py::test_format_signature + tests/test_extensions/test_ext_autodoc.py::test_partialfunction + tests/test_extensions/test_ext_autodoc_autoclass.py::test_autodoc_process_bases + tests/test_extensions/test_ext_autodoc_autoclass.py::test_show_inheritance_for_decendants_of_generic_type + tests/test_extensions/test_ext_autodoc_autoclass.py::test_show_inheritance_for_subclass_of_generic_type + tests/test_extensions/test_ext_autodoc_autofunction.py::test_builtin_function + tests/test_extensions/test_ext_autodoc_autofunction.py::test_methoddescriptor + tests/test_extensions/test_ext_autodoc_automodule.py::test_automodule_inherited_members + tests/test_extensions/test_ext_autodoc_preserve_defaults.py::test_preserve_defaults_special_constructs + tests/test_extensions/test_ext_autosummary.py::test_autosummary_generate_content_for_module + tests/test_extensions/test_ext_autosummary.py::test_autosummary_generate_content_for_module_skipped + tests/test_util/test_util_inspect.py::test_isattributedescriptor + tests/test_util/test_util_inspect.py::test_signature + tests/test_util/test_util_typing.py::test_is_invalid_builtin_class + ) + ;; + esac + + # note: pytest-xdist causes random test failures + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p rerunfailures --reruns=5 +} diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest index 0741c81af9d1..bed3c6c650a6 100644 --- a/dev-python/sqlglot/Manifest +++ b/dev-python/sqlglot/Manifest @@ -21,6 +21,7 @@ DIST scopeguard-1.2.0.crate 11619 BLAKE2B 8b7e9ed6cefef9ee55407fb9690d57a2a98bb9 DIST smallvec-1.11.2.crate 34801 BLAKE2B 58645e99db8f02db64d02c75860c7ea41836c427c03ee3b0b23365e73a406e4fd6ac312bf13fc5faef8bb6111c10fcfd5f839d5b3686e9b34d1626f8469fc327 SHA512 5cfb427c3b99b0dbd71f6154ed899abcde9d7d2992977ac7b2ef3a4c3ff51e4efafd133071a69609b4ed6cb269bdc26b79eb72e1988f10dfcaef8185d950cd1d DIST sqlglot-25.5.1.tar.gz 19034839 BLAKE2B 5af6d4d9893f70831729ff1107ac2159e42a099ab6896e7a004a9337d95ab4f63500fceacbbe3e329908787345420e1ed95fddeb672e2c65045526025dfca390 SHA512 e2f3ad495d77810211368bf172af8351d52102462bd7c568915e9eeddced60d46627a6f443b28fb58e1aa48d2d647a6425f5262c4eaec2433ec9e3fc81fbaa2e DIST sqlglot-25.6.0.tar.gz 19040214 BLAKE2B a471b18f4b815265682b22ab0f1640157e895650251ec3d5598047163f6efd73601a3c33c2ba8fbe53d5452e4c2bec293ec8e5c7fedf7b743f359d104b2e9526 SHA512 f7a565878d867eb7e46a7528d0ad69a26711e0a0eeabd88e11bd389b96d511de9cf56129dce4f336a0d278629be7806282e465b25df20d594f44d92b76b6dc9f +DIST sqlglot-25.6.1.tar.gz 19055366 BLAKE2B 3fec14d7a2a2da6c9a704ff4b42d7bcb099027da061ae600985842f021e3de96e57ea5a4edbd4bc508597f9ff2f39d74bdc618ddd5e0337188fcdfb910a48b45 SHA512 ac6e56c9b1207f5264a668e163d2c8f08548856c7ef36b6e6ff818b1f40ae6afe45785e2dc2c4bbeda50f7e303f5de39c343cc823fa8ecbe63fc2e61c067228a DIST syn-2.0.41.crate 246016 BLAKE2B 9d389f2e2a0acb4c84c309456e8ffcc88c5d4d541535ed136832d7a6054dde45a598bb68e8a6f3062ca2a96e1ceae947d54b3aec9bad65b0c51d6733aa6c80db SHA512 6bbaf69ca783025dfb81ac3612ac60bfbed31b2d87792909b35c12892dadebdaff2ddf9463105e536b671dce5870610ab90fe29471284bbd3014dca8d6993f1a DIST target-lexicon-0.12.12.crate 25156 BLAKE2B f3803596c75f6c89438592a1176c3748fc2c0524d7d50a20056de1cd26d40c572b05bafcdf6dd702752864bea37c8b4f28f96dadc12a5b3bb1d279b25e489f85 SHA512 6147295c43ba1b7b087a3c5ab51534b2985e4e77e5e15687978cfb9d07e21c4fd9bc7191576d6cabd268d08a44dc733c4a957e59dba8b948c2055d8bb433aeca DIST unicode-ident-1.0.12.crate 42168 BLAKE2B 4cede03c08758ccd6bf53a0d0057d7542dfdd0c93d342e89f3b90460be85518a9fd24958d8b1da2b5a09b5ddbee8a4263982194158e171c2bba3e394d88d6dac SHA512 bc1824e1e4452a40732fc69874d7e1a66f7803717a314790dcf48867eba34bc9441331ef031e386912e52c385645c25b6ed39d4f149973b5b97371b1b96b1920 @@ -35,4 +36,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 EBUILD sqlglot-25.5.1.ebuild 2602 BLAKE2B 2ebe12c252293a3ff60948e560fb6a49f93e202003fd3a94870eb874cf6be356807cdd62413bc26ae2f01757b913a396d988a856f938d5685162b639fa3ab8f9 SHA512 5386d1a924752114b0c24079e25bc6b4da42b65aacea2e7f8dccce8acb460940dbdc10238ed3e205d76c3ffc4fe5ec69bec0c1d4109f63bc220c89b02ae3e3b2 EBUILD sqlglot-25.6.0.ebuild 2602 BLAKE2B 2ebe12c252293a3ff60948e560fb6a49f93e202003fd3a94870eb874cf6be356807cdd62413bc26ae2f01757b913a396d988a856f938d5685162b639fa3ab8f9 SHA512 5386d1a924752114b0c24079e25bc6b4da42b65aacea2e7f8dccce8acb460940dbdc10238ed3e205d76c3ffc4fe5ec69bec0c1d4109f63bc220c89b02ae3e3b2 +EBUILD sqlglot-25.6.1.ebuild 2602 BLAKE2B 2ebe12c252293a3ff60948e560fb6a49f93e202003fd3a94870eb874cf6be356807cdd62413bc26ae2f01757b913a396d988a856f938d5685162b639fa3ab8f9 SHA512 5386d1a924752114b0c24079e25bc6b4da42b65aacea2e7f8dccce8acb460940dbdc10238ed3e205d76c3ffc4fe5ec69bec0c1d4109f63bc220c89b02ae3e3b2 MISC metadata.xml 611 BLAKE2B 10bf684677182565c9932d51ed9b3b9c80d376d6db945bd7b0dd0d9a19a85dc0d10cb169ff2048ae5f7f73d0f438d259b6231c13c525b5374ec99377f4ffdd10 SHA512 2b26d0f77962807052b94ad78addcfdce9859042af3be34df267dc6e70b6231dd779563935fd21955cd8646fd0cce3fee8c939387ac8056194a0b777743dd2ae diff --git a/dev-python/sqlglot/sqlglot-25.6.1.ebuild b/dev-python/sqlglot/sqlglot-25.6.1.ebuild new file mode 100644 index 000000000000..3ecfcc322a3e --- /dev/null +++ b/dev-python/sqlglot/sqlglot-25.6.1.ebuild @@ -0,0 +1,121 @@ +# Copyright 2023-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} ) + +CARGO_OPTIONAL=1 +CRATES=" + autocfg@1.1.0 + bitflags@1.3.2 + cfg-if@1.0.0 + heck@0.4.1 + indoc@2.0.4 + libc@0.2.150 + lock_api@0.4.11 + memoffset@0.9.0 + once_cell@1.19.0 + parking_lot@0.12.1 + parking_lot_core@0.9.9 + proc-macro2@1.0.70 + pyo3-build-config@0.20.0 + pyo3-ffi@0.20.0 + pyo3-macros-backend@0.20.0 + pyo3-macros@0.20.0 + pyo3@0.20.0 + quote@1.0.33 + redox_syscall@0.4.1 + scopeguard@1.2.0 + smallvec@1.11.2 + syn@2.0.41 + target-lexicon@0.12.12 + unicode-ident@1.0.12 + unindent@0.2.3 + 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 +" + +inherit cargo distutils-r1 pypi optfeature + +DESCRIPTION="An easily customizable SQL parser and transpiler" +HOMEPAGE=" + https://sqlglot.com/ + https://github.com/tobymao/sqlglot/ + https://pypi.org/project/sqlglot/ +" +SRC_URI+=" + native-extensions? ( + ${CARGO_CRATE_URIS} + ) +" + +LICENSE="MIT" +LICENSE+=" native-extensions? (" +# Dependent crate licenses +LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016" +LICENSE+=" )" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="+native-extensions" + +BDEPEND=" + native-extensions? ( + ${RUST_DEPEND} + dev-util/maturin[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/sqlglotrs/sqlglotrs.*.so" + +src_unpack() { + cargo_src_unpack +} + +src_prepare() { + # remove fragile timing check + sed -i -e '/assertLessEqual(time\.time/d' tests/test_parser.py || die + distutils-r1_src_prepare +} + +python_compile() { + distutils-r1_python_compile + + if use native-extensions; then + local DISTUTILS_USE_PEP517=maturin + cd sqlglotrs || die + distutils-r1_python_compile + cd - >/dev/null || die + fi +} + +python_test() { + local EPYTEST_IGNORE=( + # Tests require pyspark or duckdb which aren't in the tree. + # Pandas would be a requirement normally, but it gets ignored by proxy. + "tests/dataframe/integration/test_dataframe.py" + "tests/dataframe/integration/test_grouped_data.py" + "tests/dataframe/integration/test_session.py" + "tests/test_executor.py" + "tests/test_optimizer.py" + ) + + # make sure not to use an earlier installed version + local -x SQLGLOTRS_TOKENIZER=$(usex native-extensions 1 0) + rm -rf sqlglotrs || die + epytest +} + +pkg_postinst() { + optfeature "simplifying timedelta expressions" dev-python/python-dateutil +} diff --git a/dev-python/stripe/Manifest b/dev-python/stripe/Manifest index 33fd8b4acb17..4c9907572677 100644 --- a/dev-python/stripe/Manifest +++ b/dev-python/stripe/Manifest @@ -1,5 +1,7 @@ DIST stripe-10.1.0.tar.gz 1290758 BLAKE2B 0ec51d9189b1d574eb1eb2eb7c3683b2b6b86c9879445c2de60da1a16684e0fe095abbe841cc59ea8daad6862d864550bfb5a9c9dd6a034df42a01c8ec59be4c SHA512 ecac8856ce6993ba5c339a44791b9197f2e1b8a62292d5e9e555e02004007ad90c400dff8d111df2ae1428436ba413a47b59ef9b5e9da445872495c45aa844c3 DIST stripe-10.3.0.tar.gz 1300786 BLAKE2B 626a3c52cbb93aeae3749f6ffedd421557aa4e8085d2b0591ca2c1c866caa64ef78bdf8f0e5c85ee814ffd588d95ee05267748a97f2a50ff89d28a9e501d4da8 SHA512 7353df871f0b83330208e1a3e0fa339d319c3bb1b2e4e90bf045dd691120b22b908e263f3cdae5127b3a1299b950be3685ec631492888884d42570947de70268 +DIST stripe-10.4.0.tar.gz 1301246 BLAKE2B 5ec34792d1c89e5bac40b808992ef0f0798fad3d5859cc0777bc3e7ead0857c706d8969bb8c8bea3213db9f5561377fad6c2e5487d84a1e21c26e8b8ba97b4f4 SHA512 e3575c13b3722f8ea56b08ed5c013bebc32da4ef095ac6b809c216734e29d4147ab54c8c78793d7864eee7cb27549cb42368fcf5f771665283f31442f77d4628 EBUILD stripe-10.1.0.ebuild 2432 BLAKE2B 0d04f99474415b090bbc6f60eede5cd90c2676b256a2f7e684c4a6c19bf4bee52cc11cfd0847afa0dbd68f9a9e47ef500541fa689b257d2180d19757134b3fad SHA512 dc1a601c212fdf2a32c4e267bb656bbfbf77f0d991b7d999c1b0ac0ea24f28430864dc9a7a5295e6c253f9cd88a4d56d72fb85acc7cf4eba5ef541869af04a3c EBUILD stripe-10.3.0.ebuild 2435 BLAKE2B 44a70137984ce5bbcb00a55c204dadbc1296af66644ce29227a9f17aba38dff54ff40799251f9d712559390b063fc0f7293225bb79065e8cebb7191937d4838a SHA512 9d751f6868c342e2a486befbfdd270d842af1fca53860731e2afc5b0a4ca2111a907a63c1785efd93cb822a3bb1ac0e3f47f8a131c2b3d3d1694ee2ac8555c93 +EBUILD stripe-10.4.0.ebuild 2435 BLAKE2B 44a70137984ce5bbcb00a55c204dadbc1296af66644ce29227a9f17aba38dff54ff40799251f9d712559390b063fc0f7293225bb79065e8cebb7191937d4838a SHA512 9d751f6868c342e2a486befbfdd270d842af1fca53860731e2afc5b0a4ca2111a907a63c1785efd93cb822a3bb1ac0e3f47f8a131c2b3d3d1694ee2ac8555c93 MISC metadata.xml 673 BLAKE2B 6b85b1f88713d2365274fcff21648748039b48028b3c34c1192e16ca12d0f3b4d14ab13c7c2a744c381898ea0c1304bda8be52d3fadddc1a1b787f010b001398 SHA512 e3178927a69d14f59673acc5eaedda59db5a07e2145ed6fb0597363b60183cb3e7a7b0feefc1d4c9095d52ed96e0be32ef5dc23ad0c20fd6e6b33c830177c0be diff --git a/dev-python/stripe/stripe-10.4.0.ebuild b/dev-python/stripe/stripe-10.4.0.ebuild new file mode 100644 index 000000000000..7925c1fc5c50 --- /dev/null +++ b/dev-python/stripe/stripe-10.4.0.ebuild @@ -0,0 +1,88 @@ +# 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} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Stripe Python bindings" +HOMEPAGE=" + https://github.com/stripe/stripe-python/ + https://pypi.org/project/stripe/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="telemetry" + +RDEPEND=" + >=dev-python/requests-2.20[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.5.0[${PYTHON_USEDEP}] +" +# please bump dev-util/stripe-mock dep to the latest version on every bump +BDEPEND=" + test? ( + >=dev-util/stripe-mock-0.186.0 + dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/anyio[${PYTHON_USEDEP}] + dev-python/httpx[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/trio[${PYTHON_USEDEP}] + net-misc/curl + ) +" + +distutils_enable_tests pytest + +DOCS=( LONG_DESCRIPTION.rst CHANGELOG.md README.md ) + +src_prepare() { + if ! use telemetry; then + sed -i -e '/enable_telemetry/s:True:False:' stripe/__init__.py || die + fi + # https://github.com/stripe/stripe-python/pull/1297 + sed -e 's:from mock:from unittest.mock:' \ + -i tests/test_http_client.py || die + distutils-r1_src_prepare +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests -p anyio -p pytest_mock +} + +src_test() { + local stripe_mock_port=12111 + local stripe_mock_max_port=12121 + local stripe_mock_logfile="${T}/stripe_mock_${EPYTHON}.log" + # Try to start stripe-mock until we find a free port + while [[ ${stripe_mock_port} -le ${stripe_mock_max_port} ]]; do + ebegin "Trying to start stripe-mock on port ${stripe_mock_port}" + stripe-mock --http-port "${stripe_mock_port}" &> "${stripe_mock_logfile}" & + local stripe_mock_pid=${!} + sleep 2 + # Did stripe-mock start? + curl --fail -u "sk_test_123:" \ + "http://127.0.0.1:${stripe_mock_port}/v1/customers" &> /dev/null + eend ${?} "Port ${stripe_mock_port} unavailable" + if [[ ${?} -eq 0 ]]; then + einfo "stripe-mock running on port ${stripe_mock_port}" + break + fi + (( stripe_mock_port++ )) + done + if [[ ${stripe_mock_port} -gt ${stripe_mock_max_port} ]]; then + eerror "Unable to start stripe-mock for tests" + die "Please see the logfile located at: ${stripe_mock_logfile}" + fi + + local -x STRIPE_MOCK_PORT=${stripe_mock_port} + distutils-r1_src_test + + # Tear down stripe-mock + kill "${stripe_mock_pid}" || die "Unable to stop stripe-mock" +} diff --git a/dev-python/tree-sitter/Manifest b/dev-python/tree-sitter/Manifest index 7925e60487d9..30779422b713 100644 --- a/dev-python/tree-sitter/Manifest +++ b/dev-python/tree-sitter/Manifest @@ -9,5 +9,5 @@ DIST tree-sitter-json-3b129203f4b72d532f58e72c5310c0a7db3b8e6d.tar.gz 15580 BLAK DIST tree-sitter-python-03e88c170cb23142559a406b6e7621c4af3128f5.tar.gz 272632 BLAKE2B 72f2e7f48456bad7b495605171c1c5ed3aa2790e832a4bc152ef522ee2ce210a922f7d38ad1154c58a8c621f81739071ab3404135dbb79a12ba28ca7c97ff3c7 SHA512 7ed72e6ad464935423aaca1a829c51eefd4a4b5651eeda4b7f1ed2a67ec4088f17267796872a1e1cf5666fc8a920c2b1763a9cb4cd82924ee7214e01d7fe8ab8 DIST tree-sitter-rust-3a56481f8d13b6874a28752502a58520b9139dc7.tar.gz 419237 BLAKE2B 681b9656c872bcd15abbf11923d07df61b80b36b2972461a29f249dc53915e6d18a6dfdc65d71c863f7b38a27c8b3a47376f590d86afa44caa71f103e710fed5 SHA512 a8ce10080b984aa469d952ff8e862165676e10dc30c3d1762f7141d9fe83734aec3cb92c48552cb8f24575b538dd53fe0a80f1337f5d0d4c8767dd6bf564143e EBUILD tree-sitter-0.21.3.ebuild 1973 BLAKE2B 70a9e109defdd73ae48095eb78d71736913358882aa9598fddad0cd2fd24b51848293e968c73ae9638a7395420b3873dd377d4075ef91b1dc50e7f3285cafdc8 SHA512 0ed1bc400cfc8854c3379ad1d94d9ff4b555d4bd2fbbcbf822048e93dbd358a5a76d394d11c79dc17e964abf8e703364ea1d3c55d9af431d182aa26c35cc28ed -EBUILD tree-sitter-0.22.3.ebuild 1358 BLAKE2B c77ec51e97a136016f54e71bc8074c83fe56837f6f585ace5bc076fe90a116ba39d64f2a9b76314d193217ecf505130b6c0d42a821f31bc02ddeafcd93103b04 SHA512 f0d9ae45fee4111345ec9ce3535f7cccd5010a836ffc761e3937b4a525ca10c7e97b733c5e63116e7ba4d369b55373300d6b2eca7cb0ec95dcb59a936662a38f +EBUILD tree-sitter-0.22.3.ebuild 1364 BLAKE2B 0ae47148668da008903b424de07f10d6f3227d3c3ce4ecf2c0216666a29a65ee4b92d8ef91ba6e0d456e82764f4bcb5a494bb03f03bccd14908e7fdcc13bc156 SHA512 7860138749976920a8f00aa2e7d8734e07439feadb7db75520c0778dd24bfffc77a428d9a944508fabe184ebd48d0f918c4223b8294974dc0428caec5668b44a MISC metadata.xml 502 BLAKE2B cad33788db5ede6c0c2ea8dd8b80da09f2f8ccac8d77a1a18d65ba639a91eb9d8a89036a52886777024c4a6dc8775993beeb6eaa790562d698123e5b5b261435 SHA512 fb56c5f39e390363c8a3c80bddff9babcf30c74b86192234153f03ba62e21f1a05b1db925e51a3f4b7876a61a606b051a5314f5475d4ba7092a3f89696a78ac3 diff --git a/dev-python/tree-sitter/tree-sitter-0.22.3.ebuild b/dev-python/tree-sitter/tree-sitter-0.22.3.ebuild index dae9a8de2830..b1aa4f8a573d 100644 --- a/dev-python/tree-sitter/tree-sitter-0.22.3.ebuild +++ b/dev-python/tree-sitter/tree-sitter-0.22.3.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/py-${P} LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" # setuptools is needed for distutils import DEPEND=">=dev-libs/tree-sitter-0.22.1:=" diff --git a/dev-python/urllib3/Manifest b/dev-python/urllib3/Manifest index f44af0092791..35e30175de44 100644 --- a/dev-python/urllib3/Manifest +++ b/dev-python/urllib3/Manifest @@ -1,4 +1,4 @@ DIST hypercorn-d1719f8c1570cbd8e6a3719ffdb14a4d72880abb.gh.tar.gz 156216 BLAKE2B fcb5f49653401e6e4079e1c770d3cd407602d4d6764437b735bd4ec04191dec59cdc930822fa2aff726ee25cddd0f71fd457dedf31026bff1da121d93af8b768 SHA512 62d6787d88a2e716f0ac04fc49f6cdc586e473a660ee754ff66961922ae78bcc75d1f78b091e78557dd60f006e8e480114738c7b4ff71beac804e4fc9603240b DIST urllib3-2.2.2.tar.gz 292266 BLAKE2B 50d4825ff4bd950742708bec63feb1713e211293f7720c79f2c71740f3eb3d501b476b8de5b389b8fb978c2486081023ebc2e05162c5d4fcedd811452743e07a SHA512 98695bcf37e772a1220cc05679ea799d82a09c73115717668c90dab9377690dd096f648d60ac0759a23cf65f2b1b6f363ec6826f669d4299bfa0a203a45dce0f -EBUILD urllib3-2.2.2.ebuild 2992 BLAKE2B 245b704a74295b3bf4f439823409988d680087ff7cab2d71373387796e78517e557fd2ba8e29662243d0844633a9c1f104ae4c1da833246493733bfa59bc9443 SHA512 9aa40e372e8572326001cc5146ef517840e07588880b67254372dcf560a7785ddb1e99d8e83afd1afee4452b2b1f30f9898288d0ae8c27531047aabde6fed664 +EBUILD urllib3-2.2.2.ebuild 3029 BLAKE2B 0292d50161b61acc4ee514c889f64296f0d3efe9727a0e587612d81ffc1ea8744e569da083fdc2b74cefcff8ca262c29ce4cd45dce781d1fcc3e0245a63e4f75 SHA512 1a76419f04ef680c6430ed273937efc7d2c73e0b8dcce2e604e18b799df3942671ac7bea203055078cd50d553e5a8592298d15d26823a3969faca410da48c791 MISC metadata.xml 449 BLAKE2B 45df5a0e80d7b229058be52fd8feb3ba2efe8d981b5b34216e4b9cb35d332588c4b3efade8e8d06bdf1f13159dfcd937458e5cf4d0cea5e07b6c1011cc8592cb SHA512 312b41031a9cbf6341f537fef94137420ca49ab609e7d4c325a998e328be415b381aa50e7b5600483d1a7583b72675a044b5dd80cb84a52539ab23271f1b096c diff --git a/dev-python/urllib3/urllib3-2.2.2.ebuild b/dev-python/urllib3/urllib3-2.2.2.ebuild index 5bbd1438732f..caf4788a28e3 100644 --- a/dev-python/urllib3/urllib3-2.2.2.ebuild +++ b/dev-python/urllib3/urllib3-2.2.2.ebuild @@ -27,7 +27,7 @@ SRC_URI+=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" IUSE="brotli http2 test zstd" RESTRICT="!test? ( test )" |