diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-08 07:07:16 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-08 07:07:16 +0000 |
commit | dc22a05dc2db2827053483e8cab136b33b339307 (patch) | |
tree | 3fd58204853fdb5a69c22ecfb0ce87e19aa91624 /dev-python | |
parent | 443cfbefc0bbd1e252d323db7597b33ace434817 (diff) |
gentoo auto-resync : 08:03:2024 - 07:07:16
Diffstat (limited to 'dev-python')
39 files changed, 752 insertions, 420 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex f9322f0265d1..593724509af5 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/argcomplete/Manifest b/dev-python/argcomplete/Manifest index 66bbb875ef35..cec509995b2c 100644 --- a/dev-python/argcomplete/Manifest +++ b/dev-python/argcomplete/Manifest @@ -1,4 +1,6 @@ AUX argcomplete-3.1.6-timeout.patch 945 BLAKE2B dcdfadbdef547d45013eee33d00166b98eb6621a55f5e399cc7d330541a95118aff4a1646a85a1351209f88ff0e74d66e2468ffcf3db7e91d44ef453cc9c73e9 SHA512 fc26fc219d88a74d49245a2d545cb8040fb773fc7a948847380d4d343f19650994771a948fce99311cab7b52b3e040cf3f58291a0ac50b4a4f262dbb28c1bf85 DIST argcomplete-3.2.2.tar.gz 80764 BLAKE2B 0e059439c64301026fd238b070adb84f69c81f2f8fe6e27d31426abb71d4fadf8b34ff84465d9a9f5757550f6f55330ab17e204b7be18b459cddfb06c3851e25 SHA512 dd94795c561a692286341be234cd15ae684f0af6b11475322e6d616e640c27e7c9d9c73686790cecc09535b7f1287f95be2faa8b62329b12a6dbf9e2d403e439 +DIST argcomplete-3.2.3.tar.gz 81130 BLAKE2B 1c3a1c3fe9159ba1ab64db2a05d32dd961b08bb00d4cf3015fbb7990c02ebb766200fabe228c4e48ad791ea1a02db0775df1eec3181c7d1291743894e986f61c SHA512 25c73ec01a9c7e0b3d2cab1b86953369b0464431e86d6be2ba14d0209c1e1bc9fe5c5ce02590d86a44df74c9e828d4579b1265d2a37adf21f1e8bfdfb2350a44 EBUILD argcomplete-3.2.2.ebuild 1046 BLAKE2B f83438383b94bf5745c59f3617b552ac62c29285e9ccd26f5cd82e97457847c6b15946d3a9130122669edc3623381b68aad8eeba0c6d3ad85969bafd746d43d2 SHA512 6d899c8cc0c21cffdcc7bf3e69db304a93db895d5062dfebd7f47bfd3b42a00f9c7969643448813c95d112e1d80276620563cba4015a423d747dfd53752a23b9 +EBUILD argcomplete-3.2.3.ebuild 1054 BLAKE2B 2849339689fefaf2ed8d99ee4d83e02eb0bfa4c5116b934a365d1b227abdceec8d29e4fa36fc1febe302d37eb89ca5368ba5854c3dbacfa04460e4bb98cc6b10 SHA512 4ac0706e74dab49b6da98d22737656f1e8955dfdd0ac70ca7b7a9b81a568d49ae63f7421ac3063d482a51e2ab6691d610be3f9321d8792a43964afe4b066354d MISC metadata.xml 411 BLAKE2B 963cfdba9183fde9e97c534345164d26be569d841dcc6fd274601b18d5de2ae97fa837b0acfdc59616c5d19cc54ea368547ffd901f90239cdfb5ba08e8721607 SHA512 22db237979be34053ad7201f599d576a7756b71e6b75c40c2808d47f276cce6d3594ae46dcaec5aa5adab9e9e24e11d47bb9044a8b1a146163d66687965cf5b7 diff --git a/dev-python/argcomplete/argcomplete-3.2.3.ebuild b/dev-python/argcomplete/argcomplete-3.2.3.ebuild new file mode 100644 index 000000000000..0ea9deb31943 --- /dev/null +++ b/dev-python/argcomplete/argcomplete-3.2.3.ebuild @@ -0,0 +1,43 @@ +# 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..12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Bash tab completion for argparse" +HOMEPAGE=" + https://github.com/kislyuk/argcomplete/ + https://pypi.org/project/argcomplete/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="test" +RESTRICT="!test? ( test )" + +# pip is called as an external tool +BDEPEND=" + test? ( + app-shells/fish + app-shells/tcsh + app-shells/zsh + dev-python/pexpect[${PYTHON_USEDEP}] + >=dev-python/pip-19 + ) +" + +PATCHES=( + # increase test timeouts -- this is particularly necessary + # for entry point tests because they read metadata of all installed + # packages which can take real long on systems with lots of packages + "${FILESDIR}/argcomplete-3.1.6-timeout.patch" +) + +python_test() { + "${EPYTHON}" test/test.py -v || die +} diff --git a/dev-python/aws-sam-translator/Manifest b/dev-python/aws-sam-translator/Manifest index 15b041f598ff..175c505737b7 100644 --- a/dev-python/aws-sam-translator/Manifest +++ b/dev-python/aws-sam-translator/Manifest @@ -1,3 +1,5 @@ DIST serverless-application-model-1.85.0.gh.tar.gz 5472842 BLAKE2B 528a7e5f17a461741d3dd1911dda13c592a835cb2d44452d2c719e072e6d1dd715562d3660f9f92200ff6b5893d32e05ecc9faf30a835de9cc29ef72af4489f3 SHA512 a48b0ca4d18f524623f2e23ea3b721e1bda3bc94ded53859f87e40c53ba4e9f3b97423aee58f20a041eaba4a1b092353c88de33a52576fc4084670cb45f4c7f2 +DIST serverless-application-model-1.86.0.gh.tar.gz 5490164 BLAKE2B f784adc234080d447b33e375acf62ab65728655aeef2d6a4c1210535e55558f1afb85c011038b42435d5aaff8d69a179769a03d3c885e1fa487be434492c1c3c SHA512 e4ec2eca9f5531402f34e37c1bc7c9257f3120c3863f18bf2661b9f8757a680c6433d59c2a3f1b31e1ffeeffaa02fbd87f6407b3faf6ba5909bfefb79462ca18 EBUILD aws-sam-translator-1.85.0.ebuild 1674 BLAKE2B 3f94a613a37ace84a96a89ab11c3829e6d98cb0a96cdc59566095ff722d47ed65b5f28404ba74469405c4561c765d4da4a8f8cc0a9ccabb89191ba148fd08de8 SHA512 df3938da391ec2c3ff39cf4b7129cef4945f62a75daa232e2c1d514e08bc7b37c45c5bb651f7f800dec9dd087a09411c8a75c370bd7f08d36a77e9ea55a1de64 +EBUILD aws-sam-translator-1.86.0.ebuild 1677 BLAKE2B b8d7ec7611f4ff1841b312269c528d21dbd9d48c87746f03031569931d9e0118701417533638e237b923eecd315187c2e4c23c254e0c8702544b31cf6319b4dc SHA512 67a57cf37ae68a6e578446382ba24eeac23c853719b6e5ef4d35070fa34dd33b045d1c8a49865b2e88f24b9979a03852ecda3720036d2d2bca794d9665a62561 MISC metadata.xml 603 BLAKE2B 89556267393186cf69a585c58efeb6fa599bfb42ef221bea955ea807a28edee89036a2ee0d0ca81ae55d96702a01b171b837754dabf38047ecc2789157bb7116 SHA512 106b6d241eadf7807dadf03329073703f8b51e7443eddc4db8752878b6dd84cc4357689cd4b796b3a083192e9d98eacbe9e7b8af0273160c7b89846e78230a88 diff --git a/dev-python/aws-sam-translator/aws-sam-translator-1.86.0.ebuild b/dev-python/aws-sam-translator/aws-sam-translator-1.86.0.ebuild new file mode 100644 index 000000000000..166699d76ae6 --- /dev/null +++ b/dev-python/aws-sam-translator/aws-sam-translator-1.86.0.ebuild @@ -0,0 +1,62 @@ +# 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..12} ) + +inherit distutils-r1 multiprocessing + +MY_P=serverless-application-model-${PV} +DESCRIPTION="A library that transform SAM templates into AWS CloudFormation templates" +HOMEPAGE=" + https://github.com/aws/serverless-application-model/ + https://pypi.org/project/aws-sam-translator/ +" +SRC_URI=" + https://github.com/aws/serverless-application-model/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + <dev-python/boto3-2[${PYTHON_USEDEP}] + >=dev-python/boto3-1.19.5[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.2[${PYTHON_USEDEP}] + <dev-python/pydantic-3[${PYTHON_USEDEP}] + >=dev-python/pydantic-1.8[${PYTHON_USEDEP}] + <dev-python/typing-extensions-5[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.4[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/parameterized[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # so much noise... + sed -i -e '/log_cli/d' pytest.ini || die + + # deps are installed by ebuild, don't try to reinstall them via pip + truncate --size=0 requirements/*.txt || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x AWS_DEFAULT_REGION=us-east-1 + epytest -o addopts= -o filterwarnings= \ + -p xdist -n "$(makeopts_jobs)" --dist=worksteal +} diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 75fff5eb9a11..625c35d724ab 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -4,10 +4,12 @@ DIST boto3-1.34.54.gh.tar.gz 779564 BLAKE2B f61a74f6a317af6f180edb047e8c37e55c2d DIST boto3-1.34.55.gh.tar.gz 779897 BLAKE2B 9ca34cb517a0117e91945658ce67d8bc16569931846ef3cf61157a988ee3a6935b8da7581be39304c93bb3a7ae089925abce95e8dfbf4369910d3bb02d232dbe SHA512 9cc45a125817ea1a442c72ba2759e8189dad3a3538f236afa980a3a8203e1ff85d8341b1f9c59bacd066b3b01a1e3a715d3deec42dfbe1846859229517a51e8c DIST boto3-1.34.56.gh.tar.gz 780044 BLAKE2B d0600fe852787835a74d48582238e8421aa83aa99413037ca03c89d1fb083e591d5b5cac35c94929c2de26f3ad58a97d3e74d70d264daa89cdaffafcc91530ba SHA512 f692371fae8dedfd6bb3dbba1d9ed5a713d0d498d57f8c911caa110cf9ad70466199060271656213299d936b0d9e9b693871967575921cb8ddaee78e23c4ffe6 DIST boto3-1.34.57.gh.tar.gz 780600 BLAKE2B 80592c3877baeea889da4e8346489610337fbefaf8432e41338f4534b7db4d6bebaffc0472fe06ce5c49b9eec108cd18ab12e6ec458ef76ae834d655a0dc35c5 SHA512 c980dd20a470a911634f63cef61ccbf993d8815414edf820b0abdb60bcf0d802d54c3d23ebe0023ba84bbc255e2d6eaf277b872495a97feef1d6a4d0a5d34c77 +DIST boto3-1.34.58.gh.tar.gz 781455 BLAKE2B c0327eb97170554866c7970b6f513ce979f265ba337040ff338babaffe2515532ea1e8eaee4b237243bf481d71f470cf2f1d945126541f02bb35c4935e7a8306 SHA512 c93bf820c17df80a833cc4b89f1afa6611336d93e5fb13d0d32201334354c48012186f45e864d8f983b46cda3dc1d36d90fe2bc2e122918506824764ddc369fb EBUILD boto3-1.34.44.ebuild 1258 BLAKE2B 7f7ba2672f66400a4c2c202847d4bc7b57a0941b51f4f2f725475c38b6092c6a89687476db8bb701688ff47ccce491ffc435968a407ffc30ef860747573a1f43 SHA512 aebf347c928b4364a045a4bfb20edad39f9530fed5dfeef6b7e684feae0a146b71aa53cbb49f0b79e89671b97402aad447e6971df74ee44fef523ebad23f992c EBUILD boto3-1.34.49.ebuild 1265 BLAKE2B ba7f54112a52fbd951c886d41b7deb5820caefe05c87f7cdf2564e8cdab75359bd0dcde93be72c588c3422ef1b69043daa8d9ffee43da72efcc9e522814396da SHA512 0fb5d2d3bd9f8fd424837df59aaaad023777459818141a3171f747bacdae21f81cac690da36af13123f20acf5a46d6edb90f76afe0773915526d4a816dea510d EBUILD boto3-1.34.54.ebuild 1265 BLAKE2B ba7f54112a52fbd951c886d41b7deb5820caefe05c87f7cdf2564e8cdab75359bd0dcde93be72c588c3422ef1b69043daa8d9ffee43da72efcc9e522814396da SHA512 0fb5d2d3bd9f8fd424837df59aaaad023777459818141a3171f747bacdae21f81cac690da36af13123f20acf5a46d6edb90f76afe0773915526d4a816dea510d EBUILD boto3-1.34.55.ebuild 1265 BLAKE2B ba7f54112a52fbd951c886d41b7deb5820caefe05c87f7cdf2564e8cdab75359bd0dcde93be72c588c3422ef1b69043daa8d9ffee43da72efcc9e522814396da SHA512 0fb5d2d3bd9f8fd424837df59aaaad023777459818141a3171f747bacdae21f81cac690da36af13123f20acf5a46d6edb90f76afe0773915526d4a816dea510d EBUILD boto3-1.34.56.ebuild 1265 BLAKE2B ba7f54112a52fbd951c886d41b7deb5820caefe05c87f7cdf2564e8cdab75359bd0dcde93be72c588c3422ef1b69043daa8d9ffee43da72efcc9e522814396da SHA512 0fb5d2d3bd9f8fd424837df59aaaad023777459818141a3171f747bacdae21f81cac690da36af13123f20acf5a46d6edb90f76afe0773915526d4a816dea510d EBUILD boto3-1.34.57.ebuild 1265 BLAKE2B ba7f54112a52fbd951c886d41b7deb5820caefe05c87f7cdf2564e8cdab75359bd0dcde93be72c588c3422ef1b69043daa8d9ffee43da72efcc9e522814396da SHA512 0fb5d2d3bd9f8fd424837df59aaaad023777459818141a3171f747bacdae21f81cac690da36af13123f20acf5a46d6edb90f76afe0773915526d4a816dea510d +EBUILD boto3-1.34.58.ebuild 1265 BLAKE2B ba7f54112a52fbd951c886d41b7deb5820caefe05c87f7cdf2564e8cdab75359bd0dcde93be72c588c3422ef1b69043daa8d9ffee43da72efcc9e522814396da SHA512 0fb5d2d3bd9f8fd424837df59aaaad023777459818141a3171f747bacdae21f81cac690da36af13123f20acf5a46d6edb90f76afe0773915526d4a816dea510d MISC metadata.xml 493 BLAKE2B 7d6324fc877ffe1d20c5369c2af0b09a7028f94d28f1841188913d0d8be7ea699c9d3f92c624992c4c96bd69615d3a1211a2483c76c56b7d3082492e43512523 SHA512 44420d8c03d5986f990b76369edfa8dfd7659b4952db3ad946fd05392ec594628a28745ad888d055d4f074d5214f61fcffafe6c04c4ab54109d45ac0371582bd diff --git a/dev-python/boto3/boto3-1.34.58.ebuild b/dev-python/boto3/boto3-1.34.58.ebuild new file mode 100644 index 000000000000..b64e7191fd19 --- /dev/null +++ b/dev-python/boto3/boto3-1.34.58.ebuild @@ -0,0 +1,58 @@ +# 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..12} ) + +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}] +" +BDEPEND=" + test? ( + dev-python/mock[${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 303b6c04759a..cd5b0e02e4d2 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -4,10 +4,12 @@ DIST botocore-1.34.54.gh.tar.gz 12748623 BLAKE2B 2b4732636e0d7cf46e12fc2cf4320c7 DIST botocore-1.34.55.gh.tar.gz 12750876 BLAKE2B 48222899d97aeea39c471ad1822641bad227e80afce7dee31a6acda21bf87d1cb48cbb39a5bad8851af2ecf14bc524ae55c15127318d2ccf4b8e0c851d2fd077 SHA512 8bc8b35a1e06c1fcc4902cb8ab97b3a6b75cc0e32fc7ab4d656378751846af4ef536513496328281068cbdfaed9cb8d06d13e9d0b2760e4090c660dc7950b897 DIST botocore-1.34.56.gh.tar.gz 12750089 BLAKE2B ac55ddc7d1f683cf3c2b9b39e73f8c85d8aac45f3b8db15e279ac38fb30edad92c4bb5181b7c488b1b904cce34fd13c69f55fac3ed141358b131f525617174cf SHA512 c0607741b65adeb059cdb100dbd819ed66bf6ce3c0e4cc9460f25046004ebc074b48c896ef39728db6b90c2029643faba3d7fe353acd741260c82e53de66d283 DIST botocore-1.34.57.gh.tar.gz 12751088 BLAKE2B 56a101297c42cc18b8c765572c8ff6c7de907e0e95378592a8c3500e351fc8b7bddb3127c7806331f5082155b35c33083e656a2ee4630218609fc5e91a1bb004 SHA512 cb7b2ffbe8104526be4654d7791b8ea0ee0ede4af7b91a507b4db06d86d56eec999152031734d1515b3c60dac9f1213e6374a1912638de2bc1098f4782d23180 +DIST botocore-1.34.58.gh.tar.gz 12756573 BLAKE2B f50486fcbdeaf7b2faef9c0a912335ad43b346a046f56c23a47b46ce0a65dd4308f30893d21647c2f40a1515739dec76b903ac3b813b2bdd8132bae3babe1ed0 SHA512 daf6781e6ace07945edd8f4c0b5e623640b60793735b65abcb7ba7ca67b8e93872329333b5003be43d2f7f32f5dedc51600a0b460107ef3aad530c8c72107706 EBUILD botocore-1.34.44.ebuild 1477 BLAKE2B 784b43f060f0702808a3894fdab7a15dd4b4feeffc3c1ab2fe24cca762b2dc1310f40ae5b2941db5c4aa9c4ff8b69d858520826027a50ce975d25150132b4d56 SHA512 e86970ec900929641794d61e02f26bc7e7c8af803095dcc5c8fbedac9d79275c596176f2b492061289056c7d29ebbaa6e64344148f22b6349ac4420ab5038dca EBUILD botocore-1.34.49.ebuild 1484 BLAKE2B 30f7e11da3d7c36574e721023e7a0dba6ffe87172afec095dec711b929274a58d6a1352d131df44cd36598f11dda34df8d2e51e723b62e8ac096437360526aa6 SHA512 699735f1b1feb67c3b03d3e3787b45bfa3bc2ac6f639881b9414cdfc4aea5bb022d2e701d09061de5a237dcf3f32be4668b7ebc3f12cd950765b439d1ea4d88c EBUILD botocore-1.34.54.ebuild 1484 BLAKE2B 30f7e11da3d7c36574e721023e7a0dba6ffe87172afec095dec711b929274a58d6a1352d131df44cd36598f11dda34df8d2e51e723b62e8ac096437360526aa6 SHA512 699735f1b1feb67c3b03d3e3787b45bfa3bc2ac6f639881b9414cdfc4aea5bb022d2e701d09061de5a237dcf3f32be4668b7ebc3f12cd950765b439d1ea4d88c EBUILD botocore-1.34.55.ebuild 1484 BLAKE2B 30f7e11da3d7c36574e721023e7a0dba6ffe87172afec095dec711b929274a58d6a1352d131df44cd36598f11dda34df8d2e51e723b62e8ac096437360526aa6 SHA512 699735f1b1feb67c3b03d3e3787b45bfa3bc2ac6f639881b9414cdfc4aea5bb022d2e701d09061de5a237dcf3f32be4668b7ebc3f12cd950765b439d1ea4d88c EBUILD botocore-1.34.56.ebuild 1484 BLAKE2B 30f7e11da3d7c36574e721023e7a0dba6ffe87172afec095dec711b929274a58d6a1352d131df44cd36598f11dda34df8d2e51e723b62e8ac096437360526aa6 SHA512 699735f1b1feb67c3b03d3e3787b45bfa3bc2ac6f639881b9414cdfc4aea5bb022d2e701d09061de5a237dcf3f32be4668b7ebc3f12cd950765b439d1ea4d88c EBUILD botocore-1.34.57.ebuild 1484 BLAKE2B 30f7e11da3d7c36574e721023e7a0dba6ffe87172afec095dec711b929274a58d6a1352d131df44cd36598f11dda34df8d2e51e723b62e8ac096437360526aa6 SHA512 699735f1b1feb67c3b03d3e3787b45bfa3bc2ac6f639881b9414cdfc4aea5bb022d2e701d09061de5a237dcf3f32be4668b7ebc3f12cd950765b439d1ea4d88c +EBUILD botocore-1.34.58.ebuild 1484 BLAKE2B 30f7e11da3d7c36574e721023e7a0dba6ffe87172afec095dec711b929274a58d6a1352d131df44cd36598f11dda34df8d2e51e723b62e8ac096437360526aa6 SHA512 699735f1b1feb67c3b03d3e3787b45bfa3bc2ac6f639881b9414cdfc4aea5bb022d2e701d09061de5a237dcf3f32be4668b7ebc3f12cd950765b439d1ea4d88c MISC metadata.xml 499 BLAKE2B e5aaa7da26f200c09adfdf38b68f656bbccbec627cb5d966b280ac2165334e7eec659c89075bcace748f58e2ec3e7d2998e54a688d56ecea2d30653c67dfd35a SHA512 103c554d5dbd967bf9b6e418b3913d9235e7e910d012160909ce0715134ed2e37b06e6a345395f9d16ce08d1cf51f3ce458bce93c6a978fd3dca6610f2acdbd0 diff --git a/dev-python/botocore/botocore-1.34.58.ebuild b/dev-python/botocore/botocore-1.34.58.ebuild new file mode 100644 index 000000000000..ba6cd2a5d2a2 --- /dev/null +++ b/dev-python/botocore/botocore-1.34.58.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..12} ) + +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/flatbuffers/Manifest b/dev-python/flatbuffers/Manifest index 32d99f518a11..3ae1e6157786 100644 --- a/dev-python/flatbuffers/Manifest +++ b/dev-python/flatbuffers/Manifest @@ -1,7 +1,9 @@ DIST flatbuffers-23.1.21.gh.tar.gz 2181861 BLAKE2B 6368358c21e677feb466245a746b86cebb6d6a4058bb6d593de81bf3c32ddfb9fd475e4bb225d4529ea106253456a5ed1ee6d024b1e2521e02efef171750f428 SHA512 fa62188f773ad044644a58caf1e25bef417dfdea47c9da8a2ea7f997154b4f3976019e32e73cc533696a3d4e45ec4a8402b6df140878dfa2ff078740d61b4b0f DIST flatbuffers-23.5.26.gh.tar.gz 2257271 BLAKE2B 147425e7c018072f4ae4cdb3e034a4f434362d88d5e27b09375965993c279acfbed36064014c8f4fbe3fb81175ac0aa9b07629675e2c7ad33d59a9c85f2c3bb8 SHA512 cd0a5efad8016e1217d01a181d6b02e546f5693c6412361bfeaee820d5dfe5e2a424cee1963270e851c1a4f936ae8a0032a51c5bb16ee19313e0ecc77dc4ba31 DIST flatbuffers-24.3.6.gh.tar.gz 2296876 BLAKE2B 2a9233c5256c16a494a850999565ee7b7fe6a032794770f7a9cb47e43d1abf8335f08f1ec2e94cb3fdb06d452bcb46c4b7f98519a7d52d2479891d50beeaf3c3 SHA512 2b0a97ee3ff0236b38dac9edbe4d984ae32c0a89436fd043b831e27c947782c704937afd44216ac1f7bdb7ad003f09bc381b1567e4866462fd3c9d6c7ab272e1 +DIST flatbuffers-24.3.7.gh.tar.gz 2296896 BLAKE2B 439d84a58ed169f6cd980388034f3dfaf53444dc4733b942aeeac24ed805dcf7c4348df8080fdbd899d2b4bc7f1ad75f546f8db3bcbb6fc942b75e2c3877331e SHA512 93541cbc6c1ba96beed77967d89693ebbc532664ee3b39eb9df9ec28871a3a0acb744b9c823afe6d3c480fe34e092306100e67f5b8fbed4432a875e87670019e EBUILD flatbuffers-23.1.21.ebuild 881 BLAKE2B b3b7f9015b0283b4cb0899d93c5297bec484961e70b5a0bc4fc86fcac13c8017eccbfd75e7b269ced4be61173b88601897b70030d8ac6d3e1f59ff05c28942d4 SHA512 b30f06debe333971e3439f006a83f23d4236adaa3a3f17e719d5566c9bd6fcc6c2b269e7cb23167307565872b2d9cd87bddde274bed0a3c1191403ee38399f80 EBUILD flatbuffers-23.5.26.ebuild 826 BLAKE2B 2ff4c3119afc8ffed559972711d4f537f3c871c4e65724bfa1d2ac97bdd2a6ba7910dfba92c54372b3ead85ca502c46810289dab4b24cbf95f857cb7df21a1be SHA512 3863b448c1e5afeeece3d866c6f7eb8e83b63b0bf524b9d6f4f7da803a56b59076fa190997ad9f5d580f853048cadd651931b78219473ae41b7ead02312230a3 EBUILD flatbuffers-24.3.6.ebuild 832 BLAKE2B 0be118b73e7a2bc1ac5e291d4907ef4b0e9946c40be6f7134873c398f3fc7dcae2fb62c988e4cd7f0b7b0d46cffd9cf16e426a53ca95888df8c8590a7cc45b1d SHA512 028560eb113db1a6e95450913f9540a45d3c7b8a254cc5585eef51a98a6e261cfe8d8edabe8a6b4aeca6dc437df49bb2aa415ab60fbfa81647b86daf249121a4 +EBUILD flatbuffers-24.3.7.ebuild 832 BLAKE2B 0be118b73e7a2bc1ac5e291d4907ef4b0e9946c40be6f7134873c398f3fc7dcae2fb62c988e4cd7f0b7b0d46cffd9cf16e426a53ca95888df8c8590a7cc45b1d SHA512 028560eb113db1a6e95450913f9540a45d3c7b8a254cc5585eef51a98a6e261cfe8d8edabe8a6b4aeca6dc437df49bb2aa415ab60fbfa81647b86daf249121a4 MISC metadata.xml 397 BLAKE2B 2407f1c42b05c20ddeaf0ddce303c24604be89323c35c68a0770b221f44c4fe9e0c6580e7d5f9e50d3e263f81b26935c250e45634279285ebf2c5d327220122b SHA512 635f3e14f3aa038bf8b2b7bf321e48fe4496048a11b337bab0589bab924135f8b1d216329d9326ba214e1db202ed390722345c69e3260327c2e103f5feb7fa31 diff --git a/dev-python/flatbuffers/flatbuffers-24.3.7.ebuild b/dev-python/flatbuffers/flatbuffers-24.3.7.ebuild new file mode 100644 index 000000000000..9f4884db1418 --- /dev/null +++ b/dev-python/flatbuffers/flatbuffers-24.3.7.ebuild @@ -0,0 +1,39 @@ +# 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..12} ) + +inherit distutils-r1 + +DESCRIPTION="RFC 7049 - Concise Binary Object Representation" +HOMEPAGE=" + https://github.com/google/flatbuffers/ + https://pypi.org/project/flatbuffers/ +" +SRC_URI=" + https://github.com/google/${PN}/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" +S=${WORKDIR}/${P}/python + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( + dev-python/numpy[${PYTHON_USEDEP}] + ) +" + +python_test() { + cd "${WORKDIR}/${P}/tests" || die + # zeroes means without benchmarks + "${EPYTHON}" py_test.py 0 0 0 0 false || die + "${EPYTHON}" py_flexbuffers_test.py -v || die +} diff --git a/dev-python/pooch/Manifest b/dev-python/pooch/Manifest index 5d40552acd76..ff6a75ee007d 100644 --- a/dev-python/pooch/Manifest +++ b/dev-python/pooch/Manifest @@ -1,5 +1,3 @@ -DIST pooch-1.8.0.tar.gz 59408 BLAKE2B 07ed7c17e98ef4627f347e9b71355e147f56970fe5f0d709269602796a5ba2d8ffd5ad0ad47a17114d32841b9a7fc3eeab978f8ca9f64d35c89ff35b0aa62279 SHA512 d97e3e1098d1eeee30108affc64ed5a12f679e9122d35494598a03f3a548bb83b57dc54ac5a2c85bc42e664cb90f713bdb55b47b430ff000a722ffad58010497 DIST pooch-1.8.1.tar.gz 59614 BLAKE2B ff30e6f1a1cc71091d5e822eb0eeda59fb1ff8f53d2dd6dc67dccc955d28f3fa485d03615d544096fdae7786c181a3395b62e3c59212f80b977755e3df0addf0 SHA512 9e78da7839deb443340c925622d5e9b1d7a3f14fdac3eae2528fb91ebf86f88715e8737e869057fe7c703e8423303e15379c07e5d11a7bebd3da63b1ac06ae3f -EBUILD pooch-1.8.0.ebuild 1777 BLAKE2B e9bb96b23480b4db627a516d1a10269510b49de48afeead135b13c13b667c9c4f85c660bf3de22f7dff762cc18e958f3f1f7912b2812a77c60d9db841f6e319b SHA512 70810a56585e2a4a7b3f46202cf46059f6be589a41b99b9d1194b9b6fe215af62f29a85befbf2cf727cdea86f5f3f2ccfcff947c7c17872ba4a70b18c8d40f4c EBUILD pooch-1.8.1.ebuild 1777 BLAKE2B 332e241ee2c2d6aa436321191d4c962197d30864c27966f3d1834418a2a5fb529410c5e0b6b4c7e56889c8ab185e174867a51067d47aa2f8d5cc6d12a8c5321d SHA512 38cabdb09699b33e55f19e3aada01fa3974f90562983065f54d06d42dfc33a6d83beac738c5420794fee0119b9316faea8ad390a3a27800cd2f841defb077a38 MISC metadata.xml 684 BLAKE2B b6cd1db5a31f316800c9c5e15e11c858bebc81b7c38ced227e7f54a5a0386462fa9a92bb8f177d9df0d3fea00775dced1e2eebbb1622fededdac87ce40db21e7 SHA512 a96adfa4b8996e2685f7d5ea8ab6936fcc795a3f517da8ec14e885c08b2ae1f6d950ea9314e8aa6a4b2a4b436a23d1e98a6d56b5ae0c633bffc4fbeaca4058a4 diff --git a/dev-python/pooch/pooch-1.8.0.ebuild b/dev-python/pooch/pooch-1.8.0.ebuild deleted file mode 100644 index d0b3e39d397b..000000000000 --- a/dev-python/pooch/pooch-1.8.0.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Manage your Python library's sample data files" -HOMEPAGE=" - https://github.com/fatiando/pooch/ - https://pypi.org/project/pooch/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos" - -RDEPEND=" - dev-python/appdirs[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - >=dev-python/platformdirs-2.5.0[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] -" - -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] - test? ( - dev-python/paramiko[${PYTHON_USEDEP}] - dev-python/pytest-httpserver[${PYTHON_USEDEP}] - dev-python/tqdm[${PYTHON_USEDEP}] - ) -" - -EPYTEST_DESELECT=( - # Needs network - pooch/tests/test_core.py::test_check_availability_invalid_downloader - pooch/tests/test_core.py::test_load_registry_from_doi - pooch/tests/test_core.py::test_load_registry_from_doi_zenodo_with_slash - # dev-python/pytest-localftpserver -> dev-python/pyftpdlib has py3.12 issues - # https://github.com/giampaolo/pyftpdlib/issues/560#issuecomment-971377238 - pooch/tests/test_core.py::test_check_availability_on_ftp - pooch/tests/test_downloaders.py::test_invalid_doi_repository - pooch/tests/test_downloaders.py::test_doi_url_not_found - pooch/tests/test_downloaders.py::test_figshare_url_file_not_found - pooch/tests/test_downloaders.py::test_doi_downloader -) - -### docs no included in pypi tarball -# distutils_enable_sphinx doc \ -# dev-python/sphinx-rtd-theme -distutils_enable_tests pytest - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p pytest_httpserver -k "not network" -} diff --git a/dev-python/pyglet/Manifest b/dev-python/pyglet/Manifest index 7dde489e89e7..78411a3479e3 100644 --- a/dev-python/pyglet/Manifest +++ b/dev-python/pyglet/Manifest @@ -1,5 +1,7 @@ DIST pyglet-2.0.10.gh.tar.gz 6414679 BLAKE2B 42d6724d67bfac5b80f22f8e995b601dde9e68c49e75b75d1deffb5816ac5a246f0fa5923d159ea27b71720a8301f49dade12ed5179dd4dd69af81085a3daf80 SHA512 cb92e920eebc7b09ccbf396f5a78e5e089df17fbc0cd40b862be9309d97999fcf76995de5602c75efa2294bb387c7489a075fa0bd8ef322ec3573ba6524a3aa4 DIST pyglet-2.0.12.gh.tar.gz 6415028 BLAKE2B ba1a697fe4e75b77da2b4ed7c1fa7b95269eb6f67502103fba158ec9fca636fe6027c6ece10c517ed4f7bbaae063b62d947cf9963bb4ed31b842eb7fddf793cb SHA512 e94009f002b295df891367f7e2b30f692606b0a35c1475e9ddf7f463ef5286691f8755f804b24c382fbea97ab2d58dfd51422110be9994a520dce6d365b90df0 +DIST pyglet-2.0.13.gh.tar.gz 6417145 BLAKE2B ad47d22e53b4da08e6a4b4f4351ba03ea7b236d8680edd793e83c3e0bc5c350d8b1514b08c0dfe24b392761f7df64cf5e0ef8972d9fed6f9d367b0c887567ea5 SHA512 3ffb67b4a5aac72f4c2cdbe4f2492e9e41e69749e544d281bfa8bc491dc56fd2bb4833ffff92b4f639070c162c9460baf01f25090d91b9bd371d8ce23a4309c3 EBUILD pyglet-2.0.10.ebuild 2017 BLAKE2B 5dde684a3a9c26de3e74267a67c22abba5a0ff58175f40822fa2b59855a0ecf13a80f6e83e343bdf2bc18b014cf3ead0f6525a5a8d9e2ddd9d39619e7f035d15 SHA512 8ba97fea5c396c11e2d7b164606f4ad2c24cfd33fbf86521c4d8e0840725872154edc6de0cdda6971490eea41d66fdae34797b005c51d5411334a1cdce43aa16 EBUILD pyglet-2.0.12.ebuild 1751 BLAKE2B b3c7746523d6a197ee3dfee0eff32edf23300c61ff721fdcb57170d492c025ebd41d79560a6da84e4b32895ede9e4ed0f2b474c198f7a5c587703b9870fd8617 SHA512 412810b0351003f31c6ee909d82be87041b94d9747af56dd119ade07804200680ef4ce081375953d1da88ecee97ef9602ece3635f7ebd66840d32eef8e1d7993 +EBUILD pyglet-2.0.13.ebuild 1751 BLAKE2B b3c7746523d6a197ee3dfee0eff32edf23300c61ff721fdcb57170d492c025ebd41d79560a6da84e4b32895ede9e4ed0f2b474c198f7a5c587703b9870fd8617 SHA512 412810b0351003f31c6ee909d82be87041b94d9747af56dd119ade07804200680ef4ce081375953d1da88ecee97ef9602ece3635f7ebd66840d32eef8e1d7993 MISC metadata.xml 1092 BLAKE2B 51abba6b5545fb47d277edaca91fda755e885f08a9407f5cd3d468c8b0b86991b57d8d151e27d59755ea884ae894ed0e5c32d357b0d81e66eb9054ca6fc92055 SHA512 7e47cc4c39ebf827bf46423251df994a65c2af8ada9420b36810e36f245bbd810796bc8b02cbce182ff071bbd9dae0c9e5d9f5cb201349cd49fa311b3891dc2f diff --git a/dev-python/pyglet/pyglet-2.0.13.ebuild b/dev-python/pyglet/pyglet-2.0.13.ebuild new file mode 100644 index 000000000000..28c5feeacc17 --- /dev/null +++ b/dev-python/pyglet/pyglet-2.0.13.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 virtualx xdg-utils + +DESCRIPTION="Cross-platform windowing and multimedia library for Python" +HOMEPAGE=" + https://pyglet.org/ + https://github.com/pyglet/pyglet/ + https://pypi.org/project/pyglet/ +" +SRC_URI="https://github.com/pyglet/pyglet/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86 ~amd64-linux ~x86-linux" +IUSE="examples image +sound" + +RDEPEND=" + virtual/glu + virtual/opengl + image? ( + || ( + dev-python/pillow[${PYTHON_USEDEP}] + x11-libs/gtk+:2 + ) + ) + sound? ( + || ( + media-libs/libpulse + media-libs/openal + ) + ) +" +# ffmpeg? ( media-libs/avbin-bin ) +BDEPEND=" + test? ( + dev-python/pillow[${PYTHON_USEDEP}] + media-libs/fontconfig + ) +" + +distutils_enable_tests pytest + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + xdg_environment_reset + + local EPYTEST_DESELECT=( + # lacking device/server permissions + tests/unit/media/test_listener.py::test_openal_listener + tests/unit/media/test_listener.py::test_pulse_listener + # fragile to system load + tests/unit/media/test_player.py::PlayerTestCase::test_pause_resume + tests/unit/test_clock_freq.py::test_elapsed_time_between_tick + ) + + # Specify path to avoid running interactive tests + # We could add in integration tests, but they're slow + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + nonfatal epytest tests/unit || die "Tests failed with ${EPYTHON}" +} + +python_install_all() { + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi + + distutils-r1_python_install_all +} diff --git a/dev-python/pymongo/Manifest b/dev-python/pymongo/Manifest index 4eee82edd626..d4b7d6679478 100644 --- a/dev-python/pymongo/Manifest +++ b/dev-python/pymongo/Manifest @@ -1,5 +1,3 @@ -DIST mongo-python-driver-4.6.1.gh.tar.gz 1493790 BLAKE2B dd59001536ed5d84553350fe8c93fa5082acd1af23ca2850cb2ba8d69e1e69e2ad250da9f62b4f86e6e9013434cd1d2ed38e44bda946ff5fe0ab74935668bbf1 SHA512 7a6fe18b409961b796dfd403dc100a898b282e0abfd9995f20541b7c5f0f2dbc047c25b45a2bb9ae229954d1cd804918dc4f7487f87e311863452bab41a19414 DIST mongo-python-driver-4.6.2.gh.tar.gz 1494123 BLAKE2B 3bf24c26ad2e97e6d23b01b1074baa7420e2d8197d5bc618cd851c148b38b68afaa3943448030692f358b7500b65d0576aaf4fdc6a49cb41e9a8ecd9e58ea0a5 SHA512 931b0632bc5764c160d6da8645f2e2e851b0ddf409390264a69fae8a9309d03271f50e6c3e3e5aae78df9b6203ab2de0471b2c8e50e4883c05b473e6c90bf9c4 -EBUILD pymongo-4.6.1.ebuild 4322 BLAKE2B 2c0120c5d55963fce6b12d16d392e3422666aa272c149ef455df35303087f9c7d703e1c9a6c205b1978ff0680902456dbedeb5a55356b33cbded2895fee9d2ce SHA512 a7d47df05291900f59e328219bd7a97135215a30cfc086f6eb16154dadd31071eb0e1e01154d1341a3144239fd17bdcf6297df56f7307f40514831aaf71813fa EBUILD pymongo-4.6.2.ebuild 4322 BLAKE2B aafc577aed7f2a3422085f68743ee97c06b7815a162fcf18acf88bad0278160235f88391f8ee175abb82fa67e175395f8d3b4acb94910d178fc33219f2fbe870 SHA512 b5a395796de58cc1368b55e43fd85452882592c329c00b7cc94b907df50feeb3907561d2f29a2e5b9569ab8b9dfe784d885d21f8fdacd8e91c1dc76a730ae1f7 MISC metadata.xml 880 BLAKE2B 024d83cdf3d8cf94cdc98153a6b429550579d494b053becfe5cda0a7a7f3852632d7155e71116a9ab751e6542fe63985755f4eeb147914bc8dbb1e9fac560434 SHA512 c6110fd18fa7f7819299b5de919bfc0ce407d653115d34d297513ce3a4acd2e16399d6f327c61bc5d4ef8aa6776f84750cff37798415ca4bd59c6fd19961d891 diff --git a/dev-python/pymongo/pymongo-4.6.1.ebuild b/dev-python/pymongo/pymongo-4.6.1.ebuild deleted file mode 100644 index 195067c758b5..000000000000 --- a/dev-python/pymongo/pymongo-4.6.1.ebuild +++ /dev/null @@ -1,154 +0,0 @@ -# Copyright 1999-2023 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..12} ) - -inherit check-reqs distutils-r1 - -MY_P=mongo-python-driver-${PV} -DESCRIPTION="Python driver for MongoDB" -HOMEPAGE=" - https://github.com/mongodb/mongo-python-driver/ - https://pypi.org/project/pymongo/ -" -SRC_URI=" - https://github.com/mongodb/mongo-python-driver/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86" -IUSE="doc kerberos +native-extensions +test-full" - -RDEPEND=" - <dev-python/dnspython-3.0.0[${PYTHON_USEDEP}] - kerberos? ( dev-python/kerberos[${PYTHON_USEDEP}] ) -" -BDEPEND=" - test? ( - test-full? ( - >=dev-db/mongodb-2.6.0 - ) - ) -" - -distutils_enable_sphinx doc -distutils_enable_tests pytest - -reqcheck() { - if use test && use test-full; then - # During the tests, database size reaches 1.5G. - local CHECKREQS_DISK_BUILD=1536M - - check-reqs_${1} - fi -} - -pkg_pretend() { - reqcheck pkg_pretend -} - -pkg_setup() { - reqcheck pkg_setup -} - -python_compile() { - # causes build errors to be fatal - local -x TOX_ENV_NAME=whatever - local DISTUTILS_ARGS=() - # unconditionally implicitly disabled on pypy3 - if ! use native-extensions; then - DISTUTILS_ARGS+=( --no_ext ) - else - export PYMONGO_C_EXT_MUST_BUILD=1 - fi - - distutils-r1_python_compile -} - -python_test() { - rm -rf bson pymongo || die - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local EPYTEST_DESELECT=( - # network-sandbox - test/test_client.py::ClientUnitTest::test_connection_timeout_ms_propagates_to_DNS_resolver - test/test_client.py::TestClient::test_service_name_from_kwargs - test/test_client.py::TestClient::test_srv_max_hosts_kwarg - test/test_dns.py::TestCaseInsensitive::test_connect_case_insensitive - test/test_srv_polling.py - test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_custom_srvServiceName - test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_invalid_type_for_srvMaxHosts - test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_negative_integer_for_srvMaxHosts - test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_positive_srvMaxHosts_and_loadBalanced=fa - test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_srvMaxHosts - test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_srvMaxHosts=0_and_loadBalanced=true - test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_srvMaxHosts=0_and_replicaSet - - # broken regularly by changes in mypy - test/test_typing.py::TestMypyFails::test_mypy_failures - ) - - if ! use test-full; then - # .invalid is guaranteed to return NXDOMAIN per RFC 6761 - local -x DB_IP=mongodb.invalid - epytest - return - fi - - # Yes, we need TCP/IP for that... - local -x DB_IP=127.0.0.1 - local -x DB_PORT=27000 - - local dbpath=${TMPDIR}/mongo.db - local logpath=${TMPDIR}/mongod.log - - # Now, the hard part: we need to find a free port for mongod. - # We're just trying to run it random port numbers and check the log - # for bind errors. It shall be noted that 'mongod --fork' does not - # return failure when it fails to bind. - - mkdir -p "${dbpath}" || die - while true; do - ebegin "Trying to start mongod on port ${DB_PORT}" - - LC_ALL=C \ - mongod --dbpath "${dbpath}" --nojournal \ - --bind_ip ${DB_IP} --port ${DB_PORT} \ - --unixSocketPrefix "${TMPDIR}" \ - --logpath "${logpath}" --fork \ - && sleep 2 - - # Now we need to check if the server actually started... - if [[ ${?} -eq 0 && -S "${TMPDIR}"/mongodb-${DB_PORT}.sock ]]; then - # yay! - eend 0 - break - elif grep -q 'Address already in use' "${logpath}"; then - # ay, someone took our port! - eend 1 - : $(( DB_PORT += 1 )) - continue - else - eend 1 - eerror "Unable to start mongod for tests. See the server log:" - eerror " ${logpath}" - die "Unable to start mongod for tests." - fi - done - - local failed - nonfatal epytest || failed=1 - - mongod --dbpath "${dbpath}" --shutdown || die - - [[ ${failed} ]] && die "Tests fail with ${EPYTHON}" - - rm -rf "${dbpath}" || die -} diff --git a/dev-python/pyqtgraph/Manifest b/dev-python/pyqtgraph/Manifest index 37dcae1fadd6..1f1896d5adf0 100644 --- a/dev-python/pyqtgraph/Manifest +++ b/dev-python/pyqtgraph/Manifest @@ -1,3 +1,5 @@ DIST pyqtgraph-0.13.3.gh.tar.gz 1423224 BLAKE2B 6c054e243a95387f18c7f18a1d4375fac3a7ae3794902f72e8d75eaeea01e031422abb7bbd84bb94977c6ce14664fed4f66ebd9892f4200c3b3ccdd598ccbfd2 SHA512 a397fcf8fc2fcc5a212df9f4cd48dc07bc1ad9eb7a9b1283488eb52c236e054b01df02d04088a9d91679c4ae3ab7796cdf95cdbad06a6a585fbbcdb921f33617 +DIST pyqtgraph-0.13.4.gh.tar.gz 1438293 BLAKE2B aaa1ccdf318dfdee0dfee73f8f7be99897d58114971569eb14cd9e32f404cabe08edf20e78301152ad9663bda0d1e8c589ff6af63799bfdc87dfe12ab3ac5a63 SHA512 9c5c276d1e191bbb72ce1ce66fcf2cfe34f5f31318bbc3069c634a77b0373b2df6a7572eccb3cfec9a45d225f5f5da71d6ca9db3f9ef520eaab27b76176a8904 EBUILD pyqtgraph-0.13.3.ebuild 1769 BLAKE2B 2e1ee59e028577ada141ebef902eb833f4fe4b5a8e4bda3659414614c0e3e39fc8456d95c143fc6cb8dd02cae1023a1c3c3feffeeecc9de6ad8f1dfe6192efd3 SHA512 98752b3846cb747d76bf6a999dabf3b830671b2aa2093924a522ab654336ca0f6793bb9be07a408f735d1c829b47aa0135be910424dec694b8c450326e86eed9 +EBUILD pyqtgraph-0.13.4.ebuild 1817 BLAKE2B 91b2c9e18af072cc4522919958497e581851cd36d2e6a93cb8e887b1f9f400e9874f54bde93e5197ceffce16c0892cf18ce70fdd63ae8f42596b54a564fc6038 SHA512 ce9b5efc69c0d372c74a9a1d2f95c8aaeaeb6420f45e8ed83a14b1c72cb63047dd517d4d62163cdd73bd489fa3be04f241fa6849ff428b983707178b5227bc8c MISC metadata.xml 775 BLAKE2B 08f1417793ef0b57d978cab5b4c03e43e756a43625d8e6173a8b74d3c9dcce0547934485d192546cf81b8da03bdf21e4c800bb25e0bec452fe092ab3772a518f SHA512 b03a0aa3f6e6183ef2d81b9d0bb22f576661b353986a802f01cb670f9ae0487d84d3e91fd0a4add41e3dd830dbbc0414f4d556bc05bb89a768be9e5c2cee4ce4 diff --git a/dev-python/pyqtgraph/pyqtgraph-0.13.4.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.13.4.ebuild new file mode 100644 index 000000000000..7f4e943402a5 --- /dev/null +++ b/dev-python/pyqtgraph/pyqtgraph-0.13.4.ebuild @@ -0,0 +1,73 @@ +# 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..11} ) + +inherit distutils-r1 multiprocessing + +DESCRIPTION="A pure-python graphics and GUI library built on PyQt and numpy" +HOMEPAGE=" + https://www.pyqtgraph.org/ + https://github.com/pyqtgraph/pyqtgraph/ + https://pypi.org/project/pyqtgraph/ +" +SRC_URI=" + https://github.com/pyqtgraph/pyqtgraph/archive/${P}.tar.gz + -> ${P}.gh.tar.gz +" +S=${WORKDIR}/${PN}-${P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +IUSE="opengl svg" +REQUIRED_USE="test? ( opengl svg )" + +RDEPEND=" + >=dev-python/numpy-1.22[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + dev-python/PyQt5[gui,widgets,opengl=,svg=,${PYTHON_USEDEP}] + opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] ) +" +BDEPEND=" + test? ( + dev-python/h5py[${PYTHON_USEDEP}] + dev-python/PyQt5[testlib,${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/pytest-xvfb[${PYTHON_USEDEP}] + dev-vcs/git + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + distutils-r1_python_prepare_all + + if ! use opengl; then + rm -r pyqtgraph/opengl || die + fi +} + +python_test() { + local EPYTEST_DESELECT=( + # apparently fragile + tests/test_reload.py::test_reload + + # TODO + tests/exporters/test_svg.py::test_plotscene + tests/graphicsItems/test_ROI.py::test_PolyLineROI + + # pyside2 is normally skipped if not installed but these two + # fail if it is installed + # TODO: this could be due to USE flags, revisit when pyside2 + # gains py3.9 + 'pyqtgraph/examples/test_examples.py::testExamples[ DateAxisItem_QtDesigner.py - PySide2 ]' + 'pyqtgraph/examples/test_examples.py::testExamples[ designerExample.py - PySide2 ]' + ) + + epytest -p xvfb -n "$(makeopts_jobs)" +} diff --git a/dev-python/pytest-subtests/Manifest b/dev-python/pytest-subtests/Manifest index dc7d00fbf430..d1fed387413e 100644 --- a/dev-python/pytest-subtests/Manifest +++ b/dev-python/pytest-subtests/Manifest @@ -1,5 +1,7 @@ DIST pytest-subtests-0.11.0.tar.gz 12763 BLAKE2B b1e1373d197798a9c27ed65569a681e9ea8dd36014cf6ea57a1d44ed888dca21bd8c5afffeb7f590a501d83d1bc0a8e1fe06b13832173e6937b722163614f21e SHA512 cab486252148e457e234e0dadacefa5ff38cf67df48d9c8bd61aa546a4a1e712b70dca0a270dffceede6be0f8a6324e8c21beaa4d1528b39f12bba72e077ef1d DIST pytest-subtests-0.12.0.tar.gz 15251 BLAKE2B d7a526a4af21828d4ad8364b0cf50dc5ae071806b49dfd13068f679b43dfef6367f32e61bad0547100408d0d6fd58d6a33ee96220d234116535b840da1b659c4 SHA512 4ff64e29b5c7f76a239ac3f365450a60d3ebe3ee9d01781c4f79f100b1590d24a867c503567d0bbf60e397bc1cc3dff091afbee823aa9399b7cc14a6e60bc0b8 +DIST pytest-subtests-0.12.1.tar.gz 15303 BLAKE2B 68ce29fd067836cb32b43f260c98b0a8d1827a1bf6f3f61bc98eb69a5259dad725379bece5fe745e86561cab7e58042aff7da51d39e99fd09bbf0127d04d8cca SHA512 5eb4ff950171f8e008b3879453b55bab1ebc82ec60ca4da839158ad6e195c03f1a5d6b6ce2ac263a3ecaa2f684955e4fcc7abf5e429de9ffd898586b758e6cd4 EBUILD pytest-subtests-0.11.0.ebuild 951 BLAKE2B f73cb93c3534a9ff1f55a80c7959d0e14aa0a3df7be41c9d6f4594fcd168ae4a836c779b23c209d6c0c89036c02d78348516541b5de194b7a9665eccb2d90a3b SHA512 2db66c2ae6f9d6c4a350b6bbb03f268f40d05879483e2fa852004f898f3a60bf2937b60d056b9cb92570cbadae5be5cf35aab38209e814d6d91ee7c1acbb53f3 EBUILD pytest-subtests-0.12.0.ebuild 991 BLAKE2B f2c5db20a6d76b7d96f10ee1f2297f0a86bbfe445a888a4fc91cbbdc7296fddbedb737472ed3aa7635a2b0245b24715137d2ea44dd1b37fd10597c8b1af5b048 SHA512 a8c259a611eda8cc8c93cb1fc52adc1be9ccb8325fa44a0f5542c6605da217b7c1306972c8fa88da7ebd7aadcbbd39053fa6fed43c08d52bf95ba1cc3c3d1f62 +EBUILD pytest-subtests-0.12.1.ebuild 949 BLAKE2B 2e6f4352a8b088d2b263388e2a04d1279234b2c17db0863aa986ebab9f0c830874bfdff2cf19978588dd8ecfab1b76577868c0b2ddc62c1bc0a3d712db37ee00 SHA512 119dafee3bb7add4f0745b65f85bcd618afcc290e589d65d0fae024cf20068f79d559cac4cf36485575477d86e68b318e359b9da91333bab1934060cf833e77d MISC metadata.xml 409 BLAKE2B ca267dc80fa124c3c8ba82f5e46356492e8cadefcf8001469c3c076b079844ae72829b5b527658bea341c3fee3f173421c9f2e7ec7042a171e234070113f4734 SHA512 57c12735a910107b53dbe54969f15ce70eafda3df096c78082d91d5bedc53b015ecae3e3d901e0a2a90841370916f6e4e94041e0b5589ffdce323144375e6c20 diff --git a/dev-python/pytest-subtests/pytest-subtests-0.12.1.ebuild b/dev-python/pytest-subtests/pytest-subtests-0.12.1.ebuild new file mode 100644 index 000000000000..322989e03e96 --- /dev/null +++ b/dev-python/pytest-subtests/pytest-subtests-0.12.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 2022-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..12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Unittest subTest() support and subtests fixture" +HOMEPAGE=" + https://github.com/pytest-dev/pytest-subtests/ + https://pypi.org/project/pytest-subtests/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + >=dev-python/pytest-7[${PYTHON_USEDEP}] +" +# pytest-xdist is used to test compatibility +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=xdist.plugin,pytest_subtests.plugin + epytest +} diff --git a/dev-python/pytest-timeout/Manifest b/dev-python/pytest-timeout/Manifest index 88d65d5bb599..625e156030b3 100644 --- a/dev-python/pytest-timeout/Manifest +++ b/dev-python/pytest-timeout/Manifest @@ -1,3 +1,5 @@ DIST pytest-timeout-2.2.0.tar.gz 16391 BLAKE2B 550b803ed4a64ab0fead7f6e61297ea6bfc6e59988998c5383fdccdebb3664fe9f6651314bb1a439f6431e844bb770feb50bedcabd568e4dfea7526d8c328dd7 SHA512 11a0c4e958b324bff3e149bf2a7dc5bf6ab6549405d5061856f8f1ad0e43df1cddce83df4c804b717276bfbcfcf60ee6b400625d0f4e4e73c98785146c22164f +DIST pytest-timeout-2.3.1.tar.gz 17697 BLAKE2B 5f0ffa2fdda59ef28a92bfd5742891f63c1fa400db4ef89077fa13d917932d83e76d543c4c326a27df582a025122d8a75f1f7adf0daebbecc42273d4323ff93a SHA512 f200d625d11f76173521f4e2e4e09d57f6613d9b1420c57893b454ec496d5f11b32390b95eb995b403d15f8563b742a58fa0e0cbad42246b4049787a389ad83e EBUILD pytest-timeout-2.2.0.ebuild 1092 BLAKE2B 7864c24b6680df40408be51c56e8bdf89e9864199533ae4dfe139772982919bae52865c50c127361e6adb2b2068b2aa31a5bbb13b8ee762ff54791143c67101b SHA512 3e0eb9ca90a92f443fc01b1807ba926c92c264c6761b85d2f574d1d1c83fe83b9b1da556dd9512e6a5a9ae9925c1357392ebb62b54817e1d1fd7110a6fae2ed0 +EBUILD pytest-timeout-2.3.1.ebuild 1078 BLAKE2B 627be1d83953628b7aa4d299264cd26389e35044f537beed2e0db23418d91e052693e52b38cc9f6b6393f7ee1db1860196241d675cf9b1c5c019b328a07ac4e7 SHA512 23249dee7d0c4f2a27cf511e722551740c1e584d1bdfd7cdfebac3153f8b2fff72fceeff5823253b4b5707682289086a58846b64afbafcf41ae2fb5e96b25896 MISC metadata.xml 420 BLAKE2B ff56de441243acbf2c7332acf224c8f64427378a8cd5f56c040eca1bcaae467459d8ae09409a963d0053a95035a4e7cfcda067d5be78bcd24ba222b2ce56d6f4 SHA512 c6b4ebdd5bd59452d0952e50526ca9b7cb5b88b12d989947a4775d60cdc9315d594ca7c37cb17c0cd4b2708d08db625f678fd577ac9031e0b0e6dbb364a6ad3a diff --git a/dev-python/pytest-timeout/pytest-timeout-2.3.1.ebuild b/dev-python/pytest-timeout/pytest-timeout-2.3.1.ebuild new file mode 100644 index 000000000000..ea860f7df388 --- /dev/null +++ b/dev-python/pytest-timeout/pytest-timeout-2.3.1.ebuild @@ -0,0 +1,49 @@ +# 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..12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="pytest plugin to abort hanging tests" +HOMEPAGE=" + https://github.com/pytest-dev/pytest-timeout/ + https://pypi.org/project/pytest-timeout/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +# do not rdepend on pytest, it won't be used without it anyway +# pytest-cov used to test compatibility +BDEPEND=" + test? ( + dev-python/pexpect[${PYTHON_USEDEP}] + !hppa? ( + dev-python/pytest-cov[${PYTHON_USEDEP}] + ) + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=pytest_timeout + + if has_version dev-python/pytest-cov; then + PYTEST_PLUGINS+=,pytest_cov.plugin + else + EPYTEST_DESELECT+=( + test_pytest_timeout.py::test_cov + ) + fi + + epytest +} diff --git a/dev-python/selenium/Manifest b/dev-python/selenium/Manifest index a4a53e8b7941..7f1a5879d925 100644 --- a/dev-python/selenium/Manifest +++ b/dev-python/selenium/Manifest @@ -1,10 +1,4 @@ -DIST selenium-4.16.0.tar.gz 9741404 BLAKE2B 13b24b883ff6d276164ed845405e70c0267506656ce4ee63f0653e409e3c70fd8d3aa2bc1a551d051ea0c95f0bb6b60b5474caefd69e0bddfc97d1cbf9aabbcf SHA512 86aea8f4a23b9e70de36c3024cf5eee32f4d44a6868bd98eda547d9ca51179b4618c6c408e0d0a658c621de2573e98b3d8093753a9c335986a287e00fb3238c8 -DIST selenium-4.18.0.tar.gz 9781506 BLAKE2B 6e32db8e5e5e143047fd8c2dd590b2b47a62f06a0f080400d79b86715e48d4361b4db59d458961c4a0572c3ccea056b6d7c8c307b5312d00a12f425c5317cef8 SHA512 b2367bd263c739afb29b459467d046ee2cf17ba03b70a25c2160d4982acc9ffdf9c65f8961e8c17eb0d67a843f6c857779308454e710f9ccc6e2e6ece145f10c DIST selenium-4.18.1.tar.gz 9790321 BLAKE2B ec2960ea5877aa71a6328eac0d10fcda08520e99471e3460ab9ad46e821f9fabd40e1e5bfea63486fbd4f75aae312fe1ab2a9210f52b188f43b22495477d09a6 SHA512 bf959012df65dd97b71ee585a88c035ca6079107d9623d7722693328a35cd16609dfba1d50b34d3122e2d6b2e51808aed29cc80c6c741557a4d24c3df8b13deb -DIST selenium-selenium-4.16.0.gh.tar.gz 77969888 BLAKE2B efc9b444762eb8921d35a2ed1b86c197d314a2e5d65fd430ff996735acf0c1dc03c25a9300946d98230a87f1eed4c0260ec57238f49853b6461a1f0cbeb3e151 SHA512 05cf76bb6df21f32a04485c4a1180d02f028ecb5c49f5f680bcdcc9711ca9f407a6e2d6754708cf2023ca6a19910a411711393892a741bc1f658496bbc809ac2 -DIST selenium-selenium-4.18.0.gh.tar.gz 77571210 BLAKE2B 13d8454d1aaf31f58aa89f5dff4677f34a7b0dd2ace3d42a1f7bf978614abc764bd7a2584133a501c9c533779cbb9976d792d78c898aada39b70899039b8236e SHA512 e782d79950f58fe315823ac749dd919786c6ca71b1b582c396c4fdc7c922411157d3e60294382a00b5633a4f76eff994298e60f3edc18459dc5a14fe94b16b58 DIST selenium-selenium-4.18.1.gh.tar.gz 77568094 BLAKE2B af8a9fb058e16bbf3d71e4487bcf80aca19920d8e03f5a218ba3acfdc931cc95b8c557e42f97619f08ae3f3f59f9761663a65096678c43b0b1b9fae8e2dbd356 SHA512 6bdfbb45cdf7e036cb5e27cf8c2b3952413cc0d02257e1333baaa774f1c6188ae16fe75aa1054ff2af31a8215c11835c9d64f39b0b0170a3f04760f192f42e94 -EBUILD selenium-4.16.0.ebuild 1649 BLAKE2B c125acb75d9d1a010d298151e11f82802e2ba32749cb1afd2babc4e9cbe985a2ee2032dd89578526baa681b0142d24d3a60d2f4e7aa229977aa170c1d7692136 SHA512 9c8ab48fbf347da1198486c48205371a751a62127f935ce3ae8aa8da115f443ef52cbef837e5627886c781aa140d7f6c3296fe4d1255be4dc95d1a7ebee972bb -EBUILD selenium-4.18.0.ebuild 1761 BLAKE2B 7355cdbe8cbc655516b61e9fa05ce6f69cd486c97d60faabb28c8ca4fd511cce8636fad799cb913adc89c9f53b1b6f220c2de6f9c8f715a86af2609fa33928ed SHA512 a0447ac8813cdf208fff5d1de476e1db77ff942bafaf5c5f57659569b3dd82390cf67b574c3b1c399f67a0a072cb855bdbf4e65e83dbe0d8be5aa374351fb53e -EBUILD selenium-4.18.1.ebuild 1754 BLAKE2B d709cfe701c7fe469815d0cbabf6fadea930074e7a7128da9b815247ae5cb617a8783437fac681ab8d2c1926659ca756a371772902a005351cac8185a2b11ab3 SHA512 9afac98348bed42315b0447d9473c9ae88c268d7b381f9cfacf1fb4473287f34bec733c348df8b84fac4331ee7cc7335278647e1d5ad709ebacb0b8c701e302d +EBUILD selenium-4.18.1.ebuild 1754 BLAKE2B a00831b3b3b3987e0d0b97575557ed5bed90811c69895ff43c329de9a660e00c6db08e3a345fdd46d36d17a014faca74d5c93de05541daf3ca2979c71fe50648 SHA512 f13c312c31605f8627e9028e148d28b9286bd51b728c003e7d899d9bb969a998fe57cdc140de96bdfeedd548539d4c9df241df1eec0e23e98f9ea649057bb873 MISC metadata.xml 383 BLAKE2B d437d1631cefdba12fe2c3ce38ddff34bf9dd2bbc777d5d3425556bda76865711c991c9e3a735130a1d55cb7c6578b083ecb473c28706a2d45563b31bdbe6d1b SHA512 c087323da996b9ad4d0bf8f00306cf044d5daab194b60af029cb1ce06bf60c660fd5959b7914e6f1103143c3e4533d293a6d3bd0ec1c95163eba09d8a19c13a1 diff --git a/dev-python/selenium/selenium-4.16.0.ebuild b/dev-python/selenium/selenium-4.16.0.ebuild deleted file mode 100644 index 0a781d23f9b9..000000000000 --- a/dev-python/selenium/selenium-4.16.0.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) - -inherit distutils-r1 pypi - -# upstream sometimes tags it as ${P}, sometimes as ${P}-python, sigh -TEST_TAG=${P} -TEST_P=selenium-${TEST_TAG} - -DESCRIPTION="Python language binding for Selenium Remote Control" -HOMEPAGE=" - https://www.seleniumhq.org/ - https://github.com/SeleniumHQ/selenium/tree/trunk/py/ - https://pypi.org/project/selenium/ -" -SRC_URI+=" - test? ( - https://github.com/SeleniumHQ/selenium/archive/${TEST_TAG}.tar.gz - -> ${TEST_P}.gh.tar.gz - ) -" - -KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" -LICENSE="Apache-2.0" -SLOT="0" - -RDEPEND=" - >=dev-python/certifi-2021.10.8[${PYTHON_USEDEP}] - <dev-python/trio-1[${PYTHON_USEDEP}] - >=dev-python/trio-0.17[${PYTHON_USEDEP}] - <dev-python/trio-websocket-1[${PYTHON_USEDEP}] - >=dev-python/trio-websocket-0.9[${PYTHON_USEDEP}] - <dev-python/urllib3-3[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.26[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/pytest-mock[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # TODO: we may need extra setup or deps - test/selenium - - # expects vanilla certifi - test/unit/selenium/webdriver/remote/remote_connection_tests.py::test_get_connection_manager_for_certs_and_timeout - ) - - cd "${WORKDIR}/${TEST_P}/py" || die - rm -rf selenium || die - # https://github.com/SeleniumHQ/selenium/blob/selenium-4.8.2-python/py/test/runner/run_pytest.py#L20-L24 - # seriously? - epytest -o "python_files=*_tests.py test_*.py" -} diff --git a/dev-python/selenium/selenium-4.18.0.ebuild b/dev-python/selenium/selenium-4.18.0.ebuild deleted file mode 100644 index cd1feb489ced..000000000000 --- a/dev-python/selenium/selenium-4.18.0.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# 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..12} pypy3 ) - -inherit distutils-r1 pypi - -# upstream sometimes tags it as ${P}, sometimes as ${P}-python, sigh -TEST_TAG=${P} -TEST_P=selenium-${TEST_TAG} - -DESCRIPTION="Python language binding for Selenium Remote Control" -HOMEPAGE=" - https://www.seleniumhq.org/ - https://github.com/SeleniumHQ/selenium/tree/trunk/py/ - https://pypi.org/project/selenium/ -" -SRC_URI+=" - test? ( - https://github.com/SeleniumHQ/selenium/archive/${TEST_TAG}.tar.gz - -> ${TEST_P}.gh.tar.gz - ) -" - -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -LICENSE="Apache-2.0" -SLOT="0" - -RDEPEND=" - >=dev-python/certifi-2021.10.8[${PYTHON_USEDEP}] - <dev-python/trio-1[${PYTHON_USEDEP}] - >=dev-python/trio-0.17[${PYTHON_USEDEP}] - <dev-python/trio-websocket-1[${PYTHON_USEDEP}] - >=dev-python/trio-websocket-0.9[${PYTHON_USEDEP}] - <dev-python/typing-extensions-5[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.9[${PYTHON_USEDEP}] - <dev-python/urllib3-3[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.26[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/pytest-mock[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # TODO: we may need extra setup or deps - test/selenium - - # expects vanilla certifi - test/unit/selenium/webdriver/remote/remote_connection_tests.py::test_get_connection_manager_for_certs_and_timeout - ) - - cd "${WORKDIR}/${TEST_P}/py" || die - rm -rf selenium || die - # https://github.com/SeleniumHQ/selenium/blob/selenium-4.8.2-python/py/test/runner/run_pytest.py#L20-L24 - # seriously? - epytest -o "python_files=*_tests.py test_*.py" -} diff --git a/dev-python/selenium/selenium-4.18.1.ebuild b/dev-python/selenium/selenium-4.18.1.ebuild index 6bca2fb286ea..1ef3e5bed572 100644 --- a/dev-python/selenium/selenium-4.18.1.ebuild +++ b/dev-python/selenium/selenium-4.18.1.ebuild @@ -25,9 +25,9 @@ SRC_URI+=" ) " -KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" LICENSE="Apache-2.0" SLOT="0" +KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" >=dev-python/certifi-2021.10.8[${PYTHON_USEDEP}] diff --git a/dev-python/shtab/Manifest b/dev-python/shtab/Manifest index 79fe6877a8c4..88625deaaff7 100644 --- a/dev-python/shtab/Manifest +++ b/dev-python/shtab/Manifest @@ -1,3 +1,5 @@ DIST shtab-1.7.0.tar.gz 45485 BLAKE2B d1aef26a621da7654e5816fda7ebf197cdf23aa3a485716038b6161826b2f1a624caf369bf59a7fd611cc28906debb83f016b167f06c2cfe9d7a53724054ad55 SHA512 82e5bba15007e07c180c5d9585605150f0a5f53b3859888fcdc28c0bc537762635794f7a8ddd6f81f5337d3c7375b925380fc3797198a803fc09635b65dd07f4 +DIST shtab-1.7.1.tar.gz 45410 BLAKE2B 15ed00feb1bb051ad3ec21bab9a3300175b22e677db905b714e29b10308489bec6273a7f1e226b3dd70088c74b0dd5f2c7d8958a130e339d197ba290ea6710f4 SHA512 749f21e5b4eba75744a270809b761e7c795e4404727f8e6da87f6620622e42dc6e35aa923c7f8df34bec27af45ec16496fdab11b8450edb09067df9c830ae219 EBUILD shtab-1.7.0.ebuild 566 BLAKE2B 235c26c9126dbeda7c7eee6dcc4866484d9563655f6b911091eb1e3a295a03ce30542ca2980268cba21cc811d53ac82ed36326f7c12f9d2a1cb8e06b2cae9c40 SHA512 076a95788a8ffd481974c4ae68ec713bd98557d0bb26146c473ec5a5d41440b545873a69448cdeaa1c577c121a95e22bfb840daaa77d14f1b17eaba1697d8cb0 +EBUILD shtab-1.7.1.ebuild 566 BLAKE2B 235c26c9126dbeda7c7eee6dcc4866484d9563655f6b911091eb1e3a295a03ce30542ca2980268cba21cc811d53ac82ed36326f7c12f9d2a1cb8e06b2cae9c40 SHA512 076a95788a8ffd481974c4ae68ec713bd98557d0bb26146c473ec5a5d41440b545873a69448cdeaa1c577c121a95e22bfb840daaa77d14f1b17eaba1697d8cb0 MISC metadata.xml 1056 BLAKE2B da744d720169daf28375de0e42698ea7e0c1b4ac9e0f172f541389a5e1e8e86e788c586b641a58b521b2e8b23d080f41e1732ed83359141b4b4f32680d5fc58c SHA512 e8e23edd387bf397349581222ea3be84591816416b38305ba303e227677da9979a3b448004c537f4b8d8c8e1074f99a0f4fda4afcf41fcd43902731b0df6aa64 diff --git a/dev-python/shtab/shtab-1.7.1.ebuild b/dev-python/shtab/shtab-1.7.1.ebuild new file mode 100644 index 000000000000..3debac670a80 --- /dev/null +++ b/dev-python/shtab/shtab-1.7.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Automagic shell tab completion for Python CLI applications" +HOMEPAGE=" + https://github.com/iterative/shtab + https://pypi.org/project/shtab/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND="dev-python/setuptools-scm[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +python_test() { + # Disable pytest-cov + epytest -o addopts= +} diff --git a/dev-python/stripe/Manifest b/dev-python/stripe/Manifest index 744dd73f07ee..64c24fe0fab1 100644 --- a/dev-python/stripe/Manifest +++ b/dev-python/stripe/Manifest @@ -1,7 +1,9 @@ DIST stripe-8.3.0.tar.gz 1067989 BLAKE2B fb91886e93e9398fac0e20d72f70e63579150bdf27d594ec256b74e76561a5fe52ab326743f31d0f48874f3e066fbd0441569d62f41da0ec486ad84a592ce4e1 SHA512 963bc17da4acb8664482459dd0c09bba6859f17e0aa0ef55da8a9aa588174e1f34072084e9f94829cf81d0e4f9bb78df2836fdc58710f49acb4b17a271b7742c DIST stripe-8.4.0.tar.gz 1071302 BLAKE2B b7aa15e20baa6c0a2e939fda1ee45d3acab72ab771717ca15b0302793f4958257d0fe915c02d92d4be1d51eb6cc6be3bc28d4cda43dffb0ed1e2e958cfc29160 SHA512 b7ddb5a11c379492f5a7eafcc44197e026e3020420a83c294db6bbe2d73b39c4af38746817d0684e84f09232b12b45280d919090a331a9a0d03af4d02e59ef99 DIST stripe-8.5.0.tar.gz 1073351 BLAKE2B 7e30a06b34c99cbdeb06e33ee462ae6e5ace4583e293f860992f64dcc7ab6b8766e9cac0f941fd709747f0d6e0c2a171dbd72931e0af527a731c860266812121 SHA512 f6ab165d13f037856d2648faa5aef1d47d7c0aea78e222d23aec0a5ffd90e782c30401367fe00a7c09807e029f53382bd5f76ebcd096ad8d06185e32776766b4 +DIST stripe-8.6.0.tar.gz 1075310 BLAKE2B cf497317cce5f8525ccc8491ccfe8610f701abc175b9d24099790ab8a5ed7b8c67888960f96d579c7d623162d82e9f26beb09532f84eb7785c93acc3cb516825 SHA512 25fc7396ea0d5cc448a8c9c00f5dfac7ea5181a4c82d7f1b3d81d0e54b55876213ffddcb478391604f228ff5a7bbe6adcfdee0cdfce3ed385be8432c400053bf EBUILD stripe-8.3.0.ebuild 2139 BLAKE2B ebca4f16824fb84f12b8a3009d39418bf836d5afe7a7cba989a79e7511cec8e7dd5497c641fc7722a4b91b5b5fd41cc2d66aed9d66c7f85bc0884c66dacdcb61 SHA512 5d06e11939ee3a719576700265c595e974f5b1d4b5b5f3431283e78d6c2eb16dbc9a49e3919e7341e91e00a4130d1345efce1249f098ab27dd7967a32b645094 EBUILD stripe-8.4.0.ebuild 2142 BLAKE2B 12b001219d977c62a6077979b148cce983a3cab06ed9513222d50ee54b5e1958e70d01d906f50e0e2103674c68a0822de16309ce6abfa17e1883d04c1a7c7160 SHA512 9794a2cd535557155735e3805d99b6825f27e827a82b505042e15cfc53d4912c384fc3d9687bdb5eb2474ebac3f3a08d84946e2a617bb18729c2d80ba59a4fe6 EBUILD stripe-8.5.0.ebuild 2142 BLAKE2B 12b001219d977c62a6077979b148cce983a3cab06ed9513222d50ee54b5e1958e70d01d906f50e0e2103674c68a0822de16309ce6abfa17e1883d04c1a7c7160 SHA512 9794a2cd535557155735e3805d99b6825f27e827a82b505042e15cfc53d4912c384fc3d9687bdb5eb2474ebac3f3a08d84946e2a617bb18729c2d80ba59a4fe6 +EBUILD stripe-8.6.0.ebuild 2142 BLAKE2B 12b001219d977c62a6077979b148cce983a3cab06ed9513222d50ee54b5e1958e70d01d906f50e0e2103674c68a0822de16309ce6abfa17e1883d04c1a7c7160 SHA512 9794a2cd535557155735e3805d99b6825f27e827a82b505042e15cfc53d4912c384fc3d9687bdb5eb2474ebac3f3a08d84946e2a617bb18729c2d80ba59a4fe6 MISC metadata.xml 673 BLAKE2B 6b85b1f88713d2365274fcff21648748039b48028b3c34c1192e16ca12d0f3b4d14ab13c7c2a744c381898ea0c1304bda8be52d3fadddc1a1b787f010b001398 SHA512 e3178927a69d14f59673acc5eaedda59db5a07e2145ed6fb0597363b60183cb3e7a7b0feefc1d4c9095d52ed96e0be32ef5dc23ad0c20fd6e6b33c830177c0be diff --git a/dev-python/stripe/stripe-8.6.0.ebuild b/dev-python/stripe/stripe-8.6.0.ebuild new file mode 100644 index 000000000000..5ed0d9dd1b63 --- /dev/null +++ b/dev-python/stripe/stripe-8.6.0.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=setuptools +PYTHON_COMPAT=( python3_{10..12} 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.182.0 + dev-python/pytest-mock[${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 + distutils-r1_src_prepare +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests -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/tavern/Manifest b/dev-python/tavern/Manifest index 537ebe25667c..9ccd3d3f18b4 100644 --- a/dev-python/tavern/Manifest +++ b/dev-python/tavern/Manifest @@ -1,5 +1,3 @@ -DIST tavern-2.9.2.gh.tar.gz 248229 BLAKE2B b149f653c801588a11b53d5d6347eabd7e4159116f6b926a75831e0cc59bd072a8ac80ac284cf699447f4ea5ae0ee59b070ffe118899b4804a7292a7294fa1cc SHA512 d8fd2a0c74280db21203fcaf7579f98b44192e33293ad859c18a484d21ab9958600af6c657ae045153ada54b527fe025763bcb2a2eb4951666c2449b31d01590 DIST tavern-2.9.3.gh.tar.gz 248368 BLAKE2B feccd1c8e50db6def318553186f0dbfc9643c3942e060bb1950305c4e93fac15550b06d7ba5c2c6008175ef5a701f211408da3607ffcf3429d5542c97029cc7b SHA512 525a0b3f2c63fe4a9991ace7e27287898cbcd423e915e9ff4585eb85e0e42f06e499f653b2615b3f98998206b48c6c8f42468fae174ca4d7e7a38bf171b6feda -EBUILD tavern-2.9.2.ebuild 1522 BLAKE2B 35435e33ab4b99389e05bb9676810021d553d8cd5743bfd6971ed944e4217c36aebcb701a706370fa296b2e3f06a506cd8e1101a25d48072c25711f81308785d SHA512 805f21a2fd46a59d2730f5267c35f26a0eb7108054946754b864607364da8743b85da339b1d0ccc8cd3cd54b4c5514a1387b9dfae4c089752f3edc45d7fbd3bd EBUILD tavern-2.9.3.ebuild 1522 BLAKE2B 35435e33ab4b99389e05bb9676810021d553d8cd5743bfd6971ed944e4217c36aebcb701a706370fa296b2e3f06a506cd8e1101a25d48072c25711f81308785d SHA512 805f21a2fd46a59d2730f5267c35f26a0eb7108054946754b864607364da8743b85da339b1d0ccc8cd3cd54b4c5514a1387b9dfae4c089752f3edc45d7fbd3bd MISC metadata.xml 567 BLAKE2B ea43aa37a078962133a772cb2d283a20b521d17dc7d501fd2d7bad8228e47049e0a9924542b7434d9624d28a9bbc5e43df872462740187d0f4e22f94a5d56469 SHA512 10de2ac011f427eee5eaa897e23198495bd1fa093addf2015830383344f375c9faf660bb7e9e4385995e7ded02f7d954d5d34ca67c88dd00ae517415b8470c92 diff --git a/dev-python/tavern/tavern-2.9.2.ebuild b/dev-python/tavern/tavern-2.9.2.ebuild deleted file mode 100644 index d837d9701698..000000000000 --- a/dev-python/tavern/tavern-2.9.2.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# 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..12} ) - -inherit distutils-r1 - -DESCRIPTION="A tool, library, and Pytest plugin for testing RESTful APIs" -HOMEPAGE=" - https://github.com/taverntesting/tavern/ - https://pypi.org/project/tavern/ -" -SRC_URI=" - https://github.com/taverntesting/tavern/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64" - -RDEPEND=" - >=dev-python/jmespath-1[${PYTHON_USEDEP}] - >=dev-python/jsonschema-4[${PYTHON_USEDEP}] - >=dev-python/paho-mqtt-1.3.1[${PYTHON_USEDEP}] - >=dev-python/pyjwt-2.5.0[${PYTHON_USEDEP}] - >=dev-python/pykwalify-1.8.0[${PYTHON_USEDEP}] - >=dev-python/pytest-7[${PYTHON_USEDEP}] - >=dev-python/python-box-6[${PYTHON_USEDEP}] - >=dev-python/pyyaml-6.0.1[${PYTHON_USEDEP}] - >=dev-python/requests-2.22.0[${PYTHON_USEDEP}] - >=dev-python/stevedore-4[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/colorlog[${PYTHON_USEDEP}] - dev-python/Faker[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - # strip unnecessary pins, upstream doesn't update them a lot - sed -i -E -e 's:,?<=?[0-9.]+::' pyproject.toml || die - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # requires grpc - tests/unit/test_extensions.py::TestGrpcCodes - ) - local EPYTEST_IGNORE=( - # require grpc* - tavern/_plugins/grpc - tests/unit/tavern_grpc - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p tavern -} diff --git a/dev-python/trimesh/Manifest b/dev-python/trimesh/Manifest index 4c8762f2be29..b306ca9d3676 100644 --- a/dev-python/trimesh/Manifest +++ b/dev-python/trimesh/Manifest @@ -3,9 +3,11 @@ DIST trimesh-4.1.4.gh.tar.gz 13438872 BLAKE2B b03efc741bccf3b08c9f8611dbf282d99f DIST trimesh-4.1.5.gh.tar.gz 13440026 BLAKE2B bdf27c0ebfc24ede66ecd8ae94151cbf926e187112f096246080db34a43a23f950674a461c29d8b87a71d6b5bc8e3cc824007b54be90593ceb552e1669e41e36 SHA512 a62cdbad4a053fe6bf3d70285c2484600af09f9bc6a638214b10718bdf3c0901053bad0d25c4d7dc96f396c66fb3d438981d3fc96ea179bb078abb3d8b87695b DIST trimesh-4.1.6.gh.tar.gz 13439647 BLAKE2B 785d27d794922a8e42013c4cbb9e58589874bd1db17c8b9f3490a91456d9b0a729c7714928e420174a5c7d9d4ccaa1781350134f13d1e2fb530150445d88918f SHA512 9b3da87a176a5585c7d4ff818e883f259277ad3efc13c50bcb1dd17a6635b688b0b657d0111c50c93c01a453b6f96c757a58da88edc32de64bf11cba316913ef DIST trimesh-4.1.7.gh.tar.gz 13439430 BLAKE2B afd663112b71500f0fdf8655bc0bade6dc3ca5d80464192402eca6e57e1d15e3cb5539442c5575e4fdaa119a9ff93381297bee53d8138b157159be1a1a40c66b SHA512 4b0ca18e03875700f08e8110ac189cd448ca9f5ae07efcdf6a2d8fa3ec22f72a2c2ebf0d40a95e521da8c065aa66b7b0c1685e9bd91d1a7111ddca9c24f8d73c +DIST trimesh-4.1.8.gh.tar.gz 13440336 BLAKE2B aa4bddc3d613144a0e304ec320a2b38df213846260e2525dae0f0f35a4146561e7b81dc88e197a5b0f0a76ff4b757c30df2a68fe0db0d4a37cdc8a91aedc41ba SHA512 e20ca45f08a4d65c44c214b104af7c6d9d27121716ed7efd53a521c5b896ce788dba91b7794db518f26bb2ae86a1b8269af94f9b9381f8fdd342372b4ba86ce4 EBUILD trimesh-4.1.3.ebuild 1906 BLAKE2B 053042a30f176fa8cb76af34dba9529a3066379cc9bc60d7619b1d89191778d060d1092be0bd4a88be2f74d4a9dac087a16940029dfa5020fc287a5cf2f3b074 SHA512 3a3c291a45aae52a21e943057539d9e1256094696fb1ac01c57f58a067a5076b9e904308433000ffd33a885218ffab4c4886ad6126b0d28596fc9c78ecad3f0d EBUILD trimesh-4.1.4.ebuild 1908 BLAKE2B ff0eeac6c64e34c8818e24f58c2e49e7c8963385ba8527c66bd4ad0c56cab7abc0847a637118e6a18b582ff6107e213196754bde834f08a2d1951e46591fae54 SHA512 3998496eb68016f7b7fb8f0f93a8d18feef378058c8fd7b41d81952a21d2742755c6dd2aaebe57049252eb466025fbb056aa4a3bea09027d69b2b16e5fad0422 EBUILD trimesh-4.1.5.ebuild 1909 BLAKE2B ef49cf742616951c761b62fc1fd640603114d280b6861b3f377483bef0a0a440527768f9d13cdc41637a713b4ffa6377ef9d043b028a5b63735f36fcc2717d36 SHA512 a114806b932ef1b58cac52d1b233c41b1491546d46e9f5a55cefa3ac98bb7864832e2e230166086ff6cb165f68e2c67f8463c8e8663a1d603ab8e4989d135419 EBUILD trimesh-4.1.6.ebuild 1909 BLAKE2B ef49cf742616951c761b62fc1fd640603114d280b6861b3f377483bef0a0a440527768f9d13cdc41637a713b4ffa6377ef9d043b028a5b63735f36fcc2717d36 SHA512 a114806b932ef1b58cac52d1b233c41b1491546d46e9f5a55cefa3ac98bb7864832e2e230166086ff6cb165f68e2c67f8463c8e8663a1d603ab8e4989d135419 EBUILD trimesh-4.1.7.ebuild 1952 BLAKE2B dfc4f8a737b468861e4a18b4d28a91a299b869bb2f236c1214230543b4f4f83ad773494a808eb63b2aca57bd82ec28a6ed7241c22bdca1b0ddf0ed5f8f4d0a4c SHA512 2c0531123d157cd0f3ddf4ee4da438ad06677d9549291ef0af0b08ff21819239ee152ee77651f8d770adca1f8dcf03b2070d63a6e844649ebe44c93b930abe13 +EBUILD trimesh-4.1.8.ebuild 1952 BLAKE2B dfc4f8a737b468861e4a18b4d28a91a299b869bb2f236c1214230543b4f4f83ad773494a808eb63b2aca57bd82ec28a6ed7241c22bdca1b0ddf0ed5f8f4d0a4c SHA512 2c0531123d157cd0f3ddf4ee4da438ad06677d9549291ef0af0b08ff21819239ee152ee77651f8d770adca1f8dcf03b2070d63a6e844649ebe44c93b930abe13 MISC metadata.xml 495 BLAKE2B b8b403f7bfbac53ed234c2ba50324041502a28465d70e9406867f05741e0313845307491fcfd85f05e2993b21daf14117a4b6863b45422fd4c62c6e28902e3ff SHA512 3deec8ab4b513536a7fe182be8f1b96e06fd06b2480d3e516c2b3462cc26fcbdeb1d165b4d0297465e93c0cce584ab40a8f905b81a59dcb4040a39655028783d diff --git a/dev-python/trimesh/trimesh-4.1.8.ebuild b/dev-python/trimesh/trimesh-4.1.8.ebuild new file mode 100644 index 000000000000..fdbbaa5a2b10 --- /dev/null +++ b/dev-python/trimesh/trimesh-4.1.8.ebuild @@ -0,0 +1,69 @@ +# 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..12} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Python library for loading and using triangular meshes" +HOMEPAGE=" + https://trimesh.org/ + https://github.com/mikedh/trimesh/ + https://pypi.org/project/trimesh/ +" +SRC_URI=" + https://github.com/mikedh/${PN}/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/chardet[${PYTHON_USEDEP}] + dev-python/colorlog[${PYTHON_USEDEP}] + dev-python/httpx[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/networkx[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/pycollada[${PYTHON_USEDEP}] + dev-python/pyglet[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/shapely-1.8.2[${PYTHON_USEDEP}] + dev-python/svg-path[${PYTHON_USEDEP}] + dev-python/sympy[${PYTHON_USEDEP}] + dev-python/xxhash[${PYTHON_USEDEP}] + sci-libs/rtree[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mapbox_earcut[${PYTHON_USEDEP}] + dev-python/pillow[webp,${PYTHON_USEDEP}] + ) +" + +EPYTEST_TIMEOUT=1800 +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} + +pkg_postinst() { + optfeature_header "${PN} functionality can be extended by installing the following packages:" + optfeature "making GUI applications with 3D stuff" dev-python/glooey + optfeature "2D triangulations of polygons" dev-python/mapbox_earcut + optfeature "loading a number of additional mesh formats" dev-python/meshio + optfeature "figuring out how much memory we have" dev-python/psutil + optfeature "marching cubes and other nice stuff" dev-python/scikit-image +} diff --git a/dev-python/types-docutils/Manifest b/dev-python/types-docutils/Manifest index 259dcfb06224..722dfc9d3382 100644 --- a/dev-python/types-docutils/Manifest +++ b/dev-python/types-docutils/Manifest @@ -1,7 +1,9 @@ DIST types-docutils-0.20.0.20240302.tar.gz 13137 BLAKE2B 3e9190aa61d73454df392bd7c069db7b0fccccb2ad84017de8ec8051bd5c74f6bb9798ebfa4e5cb92aee444ec051a736fc1b2f2bf046cdc7ac32b675a5ca606e SHA512 44f6cab5155e92d95aa18846f8713af156f61fec742651727f50f6779140fcab73cd993b2271796a563564a7301ad3f18f4b38de79e01b51440026832b1a044c DIST types-docutils-0.20.0.20240303.tar.gz 13607 BLAKE2B 59963a2d072d8e3c408f778cb681872306f3f3598b24fa555993e1ef0e085aa2b1060528ca7ecae5f12bb6b0aca7b1e5d967cd21dabbbde558466aa057269f3e SHA512 37c4864d68183b75458cdf2898c454c80fa7fa5563918a63764a038cd3b41b6abc727dc5c79e06a19d3e3623653548b72c98b539ac2fb219cc3a8531924c97d5 DIST types-docutils-0.20.0.20240304.tar.gz 14344 BLAKE2B 9a1013cf9c76dc3b388f28e2ecd215ad9c058143f97e19d659d76249290ee9977ee018c5cd8c19ea8181948549fd6ae9c6196a1901659cfd141cbd231b4626eb SHA512 2156a97382029c75186c49460a1fc24a91db43c187a82eb967726f97cddd9232ab58182b5a33422d205e1d87bfcdea8a1e86513545917f8d0a4d4d915616274b +DIST types-docutils-0.20.0.20240308.tar.gz 14973 BLAKE2B 19fdba7a81197ad8ab643371aa7ec98fc8fe0bb12ae5a8b684acada5cf7c9431471d1a16157cf79e437e3e5cbc52f262a60adec42a71b3fff8381f404bdce437 SHA512 321c3e5dd7ff0f9040ead0d81255c557d9929ef130371b371514748e4fe6af97fd598763e12e260848e782883316ce27b059066e19dd1ccba4d5ee0b0bff16b5 EBUILD types-docutils-0.20.0.20240302.ebuild 374 BLAKE2B 4fef7d769f780f48dbe7c50c65f277035d8e07cbcf95e7a59c15d6ad49be6bc93098f12c1e84c73d6f68d9fefa9913726f07ec59969a7c368f4e376205c8d982 SHA512 49ee713f19131152e0aefc897c2c79d541fb9b46d367b20a3176a2b57307ebab295e51d3bb4d4a418fe3a674174e0498a06ef2e1e75be53779e0e55f19d9a2b3 EBUILD types-docutils-0.20.0.20240303.ebuild 374 BLAKE2B 4fef7d769f780f48dbe7c50c65f277035d8e07cbcf95e7a59c15d6ad49be6bc93098f12c1e84c73d6f68d9fefa9913726f07ec59969a7c368f4e376205c8d982 SHA512 49ee713f19131152e0aefc897c2c79d541fb9b46d367b20a3176a2b57307ebab295e51d3bb4d4a418fe3a674174e0498a06ef2e1e75be53779e0e55f19d9a2b3 EBUILD types-docutils-0.20.0.20240304.ebuild 374 BLAKE2B 4fef7d769f780f48dbe7c50c65f277035d8e07cbcf95e7a59c15d6ad49be6bc93098f12c1e84c73d6f68d9fefa9913726f07ec59969a7c368f4e376205c8d982 SHA512 49ee713f19131152e0aefc897c2c79d541fb9b46d367b20a3176a2b57307ebab295e51d3bb4d4a418fe3a674174e0498a06ef2e1e75be53779e0e55f19d9a2b3 +EBUILD types-docutils-0.20.0.20240308.ebuild 374 BLAKE2B 4fef7d769f780f48dbe7c50c65f277035d8e07cbcf95e7a59c15d6ad49be6bc93098f12c1e84c73d6f68d9fefa9913726f07ec59969a7c368f4e376205c8d982 SHA512 49ee713f19131152e0aefc897c2c79d541fb9b46d367b20a3176a2b57307ebab295e51d3bb4d4a418fe3a674174e0498a06ef2e1e75be53779e0e55f19d9a2b3 MISC metadata.xml 325 BLAKE2B 399aab1e8779e48d84998d6fdd595638aaf674b9a7076573aad7ade16855c4fc785dd45b1eff833c8ec7accda2a08cf561dfa14237e4edf6292fc7961ad76f7e SHA512 fb2768e73dd948c79654ab22c24d868a418576f2008153e45e4d0b42e2750872884bd35451ee3917203469d72d1c76f84d849e9d3534dc1006eb4d80b3ef04d7 diff --git a/dev-python/types-docutils/types-docutils-0.20.0.20240308.ebuild b/dev-python/types-docutils/types-docutils-0.20.0.20240308.ebuild new file mode 100644 index 000000000000..cb335ec2836f --- /dev/null +++ b/dev-python/types-docutils/types-docutils-0.20.0.20240308.ebuild @@ -0,0 +1,17 @@ +# Copyright 2022-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..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Typing stubs for docutils" +HOMEPAGE="https://pypi.org/project/types-docutils/" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" diff --git a/dev-python/types-setuptools/Manifest b/dev-python/types-setuptools/Manifest index 1dd0783d8e30..b66ecbafd6dd 100644 --- a/dev-python/types-setuptools/Manifest +++ b/dev-python/types-setuptools/Manifest @@ -1,3 +1,5 @@ DIST types-setuptools-69.1.0.20240302.tar.gz 34794 BLAKE2B 278be0abe3891e8436a2a583d7220d7e28e80606a7170bdc174aa184d43734f5c46c396a12122cbdfe593020fcd4e8851389f99ef0708226d2a47a547dc4b0e6 SHA512 9160098d6146f32069805a096d8c3418de1618748948ff813d0209071b28746bd526441e8e34d93b8e0ac9d5a9d22b6656a6a00377bd6599263fa13e3456189a +DIST types-setuptools-69.1.0.20240308.tar.gz 34868 BLAKE2B 091073d8741f2d3d7a45cfe31ab07bbfc52a7a90b049d5bbe354fce9baaf8c45dacda70651f6b12a4e88a92e6f27a667075a96529583d688657357554a9e05e1 SHA512 326d304bb5c1fb8b6b95793e48da69ad3ee4fa1c87f45fd272d91502a69e65f354cc0806dacfe82122af13ee58de0d12eaec12f8a9cb20adaf4284794652e679 EBUILD types-setuptools-69.1.0.20240302.ebuild 446 BLAKE2B 8806a9adda11fc518ce33033fd60775833ce2d57f071af516d0e5c81cf1cd87c522c7a74b02ee59c1690e8fd5548e21edc912bbc50cb5687946f111674e188a0 SHA512 d24926735e809294f4833c61fe86ae1044a34771b9c9adce44d56e61f576aff843a9b65147a1825da6e51bad40dba5a66b0ce4ab37c2e6037f283126952fb181 +EBUILD types-setuptools-69.1.0.20240308.ebuild 454 BLAKE2B 56ba14cfedf7dfb55df942bc6380bd9bc013815accba7ce87a864b1a8228fee49226edbab5a52c8f44e93c41f746d4fbc68bcae6f321ed66d650e321cc5ab71d SHA512 d32b4afaefd06267a20e4c5c168c47a1aa6fa4f1eee5eccec2e1fe38c67f599bfd9e040c00a36cf3b09c7cbe84d701b322fac982b88c9d1480032e56bddd67c0 MISC metadata.xml 399 BLAKE2B 6e130dc38e0e0e0e6e02567d750d37c6f28ea40c4742a9247f347f29e1700fc420015e7ff951f4a11c156c2df88d7e3b7f03be7759d05872a7783a2d25e35b1e SHA512 bbc9cb552e652e7644d4d635cfd74fdfffcf6426160025411843d53d37b02fdd65f7e1fb435fee7b628033cef517e3f5a902466b5786b842592ccfad068edc15 diff --git a/dev-python/types-setuptools/types-setuptools-69.1.0.20240308.ebuild b/dev-python/types-setuptools/types-setuptools-69.1.0.20240308.ebuild new file mode 100644 index 000000000000..69fd1036f5c6 --- /dev/null +++ b/dev-python/types-setuptools/types-setuptools-69.1.0.20240308.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..12} ) + +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 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |