From 3ad1879f00b279af69d6b9cd3ef97a2a7496d734 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 15 Aug 2024 12:22:30 +0100 Subject: gentoo auto-resync : 15:08:2024 - 12:22:30 --- dev-python/Manifest.gz | Bin 270363 -> 270382 bytes dev-python/aws-sam-translator/Manifest | 2 + .../aws-sam-translator-1.90.0.ebuild | 62 +++++++++++ dev-python/boto3/Manifest | 2 + dev-python/boto3/boto3-1.34.161.ebuild | 53 +++++++++ dev-python/botocore/Manifest | 2 + dev-python/botocore/botocore-1.34.161.ebuild | 76 +++++++++++++ dev-python/click-didyoumean/Manifest | 2 +- .../click-didyoumean/click-didyoumean-0.3.1.ebuild | 2 +- dev-python/dparse/Manifest | 2 +- dev-python/dparse/dparse-0.6.4_beta0.ebuild | 2 +- dev-python/google-api-python-client/Manifest | 2 + .../google-api-python-client-2.141.0.ebuild | 50 +++++++++ dev-python/griffe/Manifest | 2 + dev-python/griffe/griffe-0.49.0.ebuild | 49 +++++++++ dev-python/importlib-resources/Manifest | 2 + .../importlib-resources-6.4.2.ebuild | 30 +++++ dev-python/mkdocstrings-python/Manifest | 2 + .../mkdocstrings-python-1.10.8.ebuild | 34 ++++++ dev-python/numpy/Manifest | 2 +- dev-python/numpy/numpy-2.1.0_rc1.ebuild | 1 - dev-python/openapi-core/Manifest | 2 + dev-python/openapi-core/openapi-core-0.19.3.ebuild | 71 ++++++++++++ dev-python/pipdeptree/Manifest | 2 +- dev-python/pipdeptree/pipdeptree-2.18.1.ebuild | 2 +- dev-python/pipenv/Manifest | 2 +- dev-python/pipenv/pipenv-2024.0.1.ebuild | 2 +- dev-python/pkgcraft/Manifest | 4 +- dev-python/pkgcraft/pkgcraft-0.0.11.ebuild | 81 ++++++++++++++ dev-python/pkgcraft/pkgcraft-9999.ebuild | 2 +- dev-python/plette/Manifest | 2 +- dev-python/plette/plette-0.4.4.ebuild | 2 +- dev-python/pythonfinder/Manifest | 2 +- dev-python/pythonfinder/pythonfinder-2.1.0.ebuild | 2 +- dev-python/shellingham/Manifest | 2 +- dev-python/shellingham/shellingham-1.5.4.ebuild | 2 +- dev-python/simplejson/Manifest | 2 + dev-python/simplejson/simplejson-3.19.3.ebuild | 37 +++++++ dev-python/sqlglot/Manifest | 4 +- dev-python/sqlglot/sqlglot-25.10.0.ebuild | 121 --------------------- dev-python/sqlglot/sqlglot-25.11.3.ebuild | 121 +++++++++++++++++++++ dev-python/tables/Manifest | 3 + dev-python/tables/files/tables-3.10.0-pypy.patch | 42 +++++++ dev-python/tables/tables-3.10.0.ebuild | 80 ++++++++++++++ dev-python/tomlkit/Manifest | 2 + dev-python/tomlkit/tomlkit-0.13.2.ebuild | 48 ++++++++ dev-python/unearth/Manifest | 2 + dev-python/unearth/unearth-0.17.0.ebuild | 42 +++++++ dev-python/webob/Manifest | 4 +- dev-python/webob/webob-1.8.7-r1.ebuild | 37 ------- dev-python/webob/webob-1.8.8.ebuild | 36 ++++++ 51 files changed, 960 insertions(+), 180 deletions(-) create mode 100644 dev-python/aws-sam-translator/aws-sam-translator-1.90.0.ebuild create mode 100644 dev-python/boto3/boto3-1.34.161.ebuild create mode 100644 dev-python/botocore/botocore-1.34.161.ebuild create mode 100644 dev-python/google-api-python-client/google-api-python-client-2.141.0.ebuild create mode 100644 dev-python/griffe/griffe-0.49.0.ebuild create mode 100644 dev-python/importlib-resources/importlib-resources-6.4.2.ebuild create mode 100644 dev-python/mkdocstrings-python/mkdocstrings-python-1.10.8.ebuild create mode 100644 dev-python/openapi-core/openapi-core-0.19.3.ebuild create mode 100644 dev-python/pkgcraft/pkgcraft-0.0.11.ebuild create mode 100644 dev-python/simplejson/simplejson-3.19.3.ebuild delete mode 100644 dev-python/sqlglot/sqlglot-25.10.0.ebuild create mode 100644 dev-python/sqlglot/sqlglot-25.11.3.ebuild create mode 100644 dev-python/tables/files/tables-3.10.0-pypy.patch create mode 100644 dev-python/tables/tables-3.10.0.ebuild create mode 100644 dev-python/tomlkit/tomlkit-0.13.2.ebuild create mode 100644 dev-python/unearth/unearth-0.17.0.ebuild delete mode 100644 dev-python/webob/webob-1.8.7-r1.ebuild create mode 100644 dev-python/webob/webob-1.8.8.ebuild (limited to 'dev-python') diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz index 61e8adeb826e..7c6a3e24358a 100644 Binary files a/dev-python/Manifest.gz and b/dev-python/Manifest.gz differ diff --git a/dev-python/aws-sam-translator/Manifest b/dev-python/aws-sam-translator/Manifest index bb17ada0f72b..52e86921fbef 100644 --- a/dev-python/aws-sam-translator/Manifest +++ b/dev-python/aws-sam-translator/Manifest @@ -1,3 +1,5 @@ DIST serverless-application-model-1.89.0.gh.tar.gz 5659213 BLAKE2B 1b8128c904ee1db34e722e0e4d5e7a0b16685dfbc589c390e34679b75481afad963a30f40d18bedb29010f62a338d1818da957ce6b58b7ee63d83444dccfc8ac SHA512 899fe08f3a16669de86ad3861d1072017af5fb3d2254583e502970c77e280d0ccb39b6a8f7e647acb94fb0cc6305aba35a98663427114764300d69f9c3b5e2fe +DIST serverless-application-model-1.90.0.gh.tar.gz 5707682 BLAKE2B c587baee9e3a17a98eef7098d24f2f5d5ba0bf1e965a3ee9ad3d93f855134f99b46bbe7e0e065270e3e227f526f7e09e73894672a3e639e6a6a76a881a7e782d SHA512 b99d6ac8cbebca191cf1a46041c4a599ba6bf26f0c373243760bd5034dcb9e09e1754e5c9aa0132abb364111aa209ad784987bc533a9644de332ce91ff881f46 EBUILD aws-sam-translator-1.89.0.ebuild 1674 BLAKE2B 4bc47672d719ea0ab8c16d2398fee6cb473bd4e0468750159875cc4f4d7dbe92184a686f8aa5910bec04170e9266c582477c07972eb4f5dd06dfea5807bf13db SHA512 ed77d6e4b27fe3551200cc1df96c5d8044d22851793e5932bde38f27ffe96f008f1b7fa99f9f534af5c0cfad203747600ef79dd6cd95dada229ea38cb5fc2192 +EBUILD aws-sam-translator-1.90.0.ebuild 1677 BLAKE2B a83f26b56d5543e743b9fa38d903f1babf8b6836c2974d5fbb63dc6394a86446ad6914706ffcb5514fa38009863fe28c798cd06e33c07e0e2818b47607e6f6f0 SHA512 49f1137086fc860fd7a3da223d7fbcf9a92bf93e5ad62f09e8963fbd40619396b597e377a8b1df81c6f229fc9b7235552df7e96a0830e8c1a24f3c1de1dbdc04 MISC metadata.xml 603 BLAKE2B 89556267393186cf69a585c58efeb6fa599bfb42ef221bea955ea807a28edee89036a2ee0d0ca81ae55d96702a01b171b837754dabf38047ecc2789157bb7116 SHA512 106b6d241eadf7807dadf03329073703f8b51e7443eddc4db8752878b6dd84cc4357689cd4b796b3a083192e9d98eacbe9e7b8af0273160c7b89846e78230a88 diff --git a/dev-python/aws-sam-translator/aws-sam-translator-1.90.0.ebuild b/dev-python/aws-sam-translator/aws-sam-translator-1.90.0.ebuild new file mode 100644 index 000000000000..d44f5d73eece --- /dev/null +++ b/dev-python/aws-sam-translator/aws-sam-translator-1.90.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..13} ) + +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-1.19.5[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.2[${PYTHON_USEDEP}] + =dev-python/pydantic-1.8[${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 11b4915dd0d7..0720878dd75c 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -3,9 +3,11 @@ DIST boto3-1.34.153.gh.tar.gz 847038 BLAKE2B f29aec887fd57d2bc4b6be125787384438e DIST boto3-1.34.158.gh.tar.gz 848930 BLAKE2B 5db04b9eee08f5418a595e736f075fbe22b92adada9219e8a8cf2299c723d09e2edf88e5ebb3d09c1613a01e5d0d5c837e9545c6ee3110c430c521da10fa2bde SHA512 03f532e78a1a2b8ec01396f0b7f7bae7059165e35440eda47f4393e99d2a8ded229470cf3269a71c746b8a66dccd8626444f1e429e561df1dc1ec0f6b8653272 DIST boto3-1.34.159.gh.tar.gz 849599 BLAKE2B e21979dd33413d63dfb905cdde8351a89fb3a431ee0873ffc3cbb8e9681c207842c5d2c288622736c0ac7516ef0d607d6ee5caea9877c1b7f177c0cae7125f9c SHA512 6fe6528240b0f1ed78e1b4ccba104c238075d8daff3b2224f03912a48f9278d1d92d8caf13951128e25e19d49e895492e463dc8aaa3d903982ebbacbbf727b21 DIST boto3-1.34.160.gh.tar.gz 850214 BLAKE2B 74e8bfecc23086301750ec55e265c57d9085ca292ed9155948e46deb2531860b01336ab341371421333b041f6ba4f4a9114926969d39620b2ba508541ee0fc90 SHA512 ad443616bb4a04fc9e3cceee462d4f06c17c5096853b69e4ccaf1c319bb48fd0bd0131cb3de496b7d05f194818e36c8a165578c5afc3304a7d628936ddc478c9 +DIST boto3-1.34.161.gh.tar.gz 850347 BLAKE2B 22e07b72898be28df3547b4a32b4340d9b8267c65d876daaea5b0c1f31a38516964eae11a16fc074d1b9b476fde970976784fed1965a8deef1db74b387699ee4 SHA512 90ffe03ced6546cd271d36cf38a5ebe7fbadcd46c1036a74be238b8006ce29795964e10861ec56920f2ceb5a83b8001029c1b0ea1a75a536d3e025ebc84315a3 EBUILD boto3-1.34.149.ebuild 1198 BLAKE2B 99a7fa08055cee13f14557124398df39119bae2e4b684265d4647ad0ec83a502bb422365e3797ff5c0440c4b1c9866ede4c62b1876510178dc2e6a0b05ed8781 SHA512 c020cc5535d63c948dd456d9f4af4e97339cb36dc0bb2b2c53d3da0c8c62737e0846ff71d9f85ca9b2936a8a7bfc43b67c3114f91440e75c9870beaa8997107a EBUILD boto3-1.34.153.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af EBUILD boto3-1.34.158.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af EBUILD boto3-1.34.159.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af EBUILD boto3-1.34.160.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af +EBUILD boto3-1.34.161.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af MISC metadata.xml 493 BLAKE2B 7d6324fc877ffe1d20c5369c2af0b09a7028f94d28f1841188913d0d8be7ea699c9d3f92c624992c4c96bd69615d3a1211a2483c76c56b7d3082492e43512523 SHA512 44420d8c03d5986f990b76369edfa8dfd7659b4952db3ad946fd05392ec594628a28745ad888d055d4f074d5214f61fcffafe6c04c4ab54109d45ac0371582bd diff --git a/dev-python/boto3/boto3-1.34.161.ebuild b/dev-python/boto3/boto3-1.34.161.ebuild new file mode 100644 index 000000000000..8cba6d95740e --- /dev/null +++ b/dev-python/boto3/boto3-1.34.161.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 bde0e93c806b..e898c226fdb0 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -3,9 +3,11 @@ DIST botocore-1.34.153.gh.tar.gz 13269606 BLAKE2B 1b2ec1af3b699c18c5761fe72b8488 DIST botocore-1.34.158.gh.tar.gz 13282704 BLAKE2B c244a36093cdaf57ac82dc11a3e9d4268d7cce36b8119674530228825f6ec4053abbc909dd664a1ea10ec48e0c418b90803275aabc89a41a99eaba6e138a5a17 SHA512 b60c743bfd1a1f3806c6ae71158a998587b8e87f43bdbe88c960cee19bcef41a4b3fd2fe5f50408abc97b22200a689990f79cbb6e952347c747e4bc8c21ae368 DIST botocore-1.34.159.gh.tar.gz 13286596 BLAKE2B 76548a1a0dacbaeadb4cc95cdbb50f22bc8b61e8b9645caf1d36cde94fed824d0bcc7349626e33792593bcf715e4dd3978f2dc4d4dfeaf8a1bfcb428f99ee8a1 SHA512 1687ab7897dbe68189e812193c9c2134753c0bdd72af109516a2a3bcdda53c16edbb0e76b8f6cd7df0fd29e16de33f78135a3c560444b6d9c5291b3e558c2a03 DIST botocore-1.34.160.gh.tar.gz 13290395 BLAKE2B 609ade4e363b1c65409457e187c09e8eea633ab7d482bae5be3580093ca404ae82363e9785d07b65dee3504c63e5c4dc6521717a6698c97f7a404f58103c8e8f SHA512 655348a9e7f88ad0abaab3d0b4bb380ca16c705a1035eedecf44e8b546583720f0f6d01136b0d333e5828069c4d45c7f27530ba4b7f8c3ee684bd4cd0e233ce4 +DIST botocore-1.34.161.gh.tar.gz 13290428 BLAKE2B 9a12df5e533560039d69225ef04345765cdefa11546210a2ad791d38532a54536a0c8705c29c1293b31fec7589f0512fa6f01570342d6f1fbba9a3278c06700f SHA512 8c59cadaa2cedefaeb11057f344c1488c879629199f6e5038c49668cbc814ac1ab68031893c401a5f8baecaea333929822997e81e4f644ebfb09a3af85b7a189 EBUILD botocore-1.34.149.ebuild 1665 BLAKE2B 1171f3bdcbe2eada97adf58c2011691cb51300028737903ec51e9fea4d80943dc3e199f4a1671be350ca2cf921e5dbdd4e7c8ca4658261143646cf9c0c82f522 SHA512 db8027472dcb87b167d63ed89910783e104513361b9191f5e2e2928a2904493c22d9629aa206f61206c4f29c6a9c43e8208c57a9b9bf99b031101b915d326674 EBUILD botocore-1.34.153.ebuild 1672 BLAKE2B 8e30dae387821aea270f5db3ece49d58df6706d6e4ced17b2a595e1bc3f40dc49f79811cc9a82ad935b34ab5a053d802ac6afce166fb4cca168affe6b47a6c23 SHA512 23b6b04cba2a0afccc82805c78853bec7ea4568c0c01122edc83e3fea544ce14841a41fb469acb6f5a7b8fc462060bda2e4cba19cd82a799b7261f61df880a5d EBUILD botocore-1.34.158.ebuild 1672 BLAKE2B 8e30dae387821aea270f5db3ece49d58df6706d6e4ced17b2a595e1bc3f40dc49f79811cc9a82ad935b34ab5a053d802ac6afce166fb4cca168affe6b47a6c23 SHA512 23b6b04cba2a0afccc82805c78853bec7ea4568c0c01122edc83e3fea544ce14841a41fb469acb6f5a7b8fc462060bda2e4cba19cd82a799b7261f61df880a5d EBUILD botocore-1.34.159.ebuild 1672 BLAKE2B 8e30dae387821aea270f5db3ece49d58df6706d6e4ced17b2a595e1bc3f40dc49f79811cc9a82ad935b34ab5a053d802ac6afce166fb4cca168affe6b47a6c23 SHA512 23b6b04cba2a0afccc82805c78853bec7ea4568c0c01122edc83e3fea544ce14841a41fb469acb6f5a7b8fc462060bda2e4cba19cd82a799b7261f61df880a5d EBUILD botocore-1.34.160.ebuild 1672 BLAKE2B 8e30dae387821aea270f5db3ece49d58df6706d6e4ced17b2a595e1bc3f40dc49f79811cc9a82ad935b34ab5a053d802ac6afce166fb4cca168affe6b47a6c23 SHA512 23b6b04cba2a0afccc82805c78853bec7ea4568c0c01122edc83e3fea544ce14841a41fb469acb6f5a7b8fc462060bda2e4cba19cd82a799b7261f61df880a5d +EBUILD botocore-1.34.161.ebuild 1672 BLAKE2B 8e30dae387821aea270f5db3ece49d58df6706d6e4ced17b2a595e1bc3f40dc49f79811cc9a82ad935b34ab5a053d802ac6afce166fb4cca168affe6b47a6c23 SHA512 23b6b04cba2a0afccc82805c78853bec7ea4568c0c01122edc83e3fea544ce14841a41fb469acb6f5a7b8fc462060bda2e4cba19cd82a799b7261f61df880a5d MISC metadata.xml 499 BLAKE2B e5aaa7da26f200c09adfdf38b68f656bbccbec627cb5d966b280ac2165334e7eec659c89075bcace748f58e2ec3e7d2998e54a688d56ecea2d30653c67dfd35a SHA512 103c554d5dbd967bf9b6e418b3913d9235e7e910d012160909ce0715134ed2e37b06e6a345395f9d16ce08d1cf51f3ce458bce93c6a978fd3dca6610f2acdbd0 diff --git a/dev-python/botocore/botocore-1.34.161.ebuild b/dev-python/botocore/botocore-1.34.161.ebuild new file mode 100644 index 000000000000..4f1ad852bdc1 --- /dev/null +++ b/dev-python/botocore/botocore-1.34.161.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/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/click-didyoumean/Manifest b/dev-python/click-didyoumean/Manifest index 1f97969f6322..8075296b3c3a 100644 --- a/dev-python/click-didyoumean/Manifest +++ b/dev-python/click-didyoumean/Manifest @@ -1,3 +1,3 @@ DIST click-didyoumean-0.3.1.gh.tar.gz 309401 BLAKE2B 0f2b10f0bb0afdc4a82aa532e64f8266a73ea9e26e0dfbaf20ddc21519a7d241a2831b0cbf512eeb417483e8326e661f45e6120a36d89fc8ff2d243791e6d72c SHA512 ade429f972cc3f4fbb0534711b7b8269cfb8e16494390e5bddcf25a7cb55e31dbdb762c2adf62cc64b9ff590770565e5134b5b2caee149981bafa694ae2dc390 -EBUILD click-didyoumean-0.3.1.ebuild 624 BLAKE2B 18a5c6921042a31065cea8ca0629b57aaec74d829cefcfc839a022232d0d600a152fa520fc89fa36bcb3ef8ba57f626be239133f588d6e652df9b630d0015bae SHA512 cb8d6c4dd84b7d21453db3f91c3501f0c0760c49f1d0ad9d6873c1e17e4493b1383730c5fef9d1ae48fbe07a5b5ad7c43f4f020b37d5b9ebfa863e0ec69a47bf +EBUILD click-didyoumean-0.3.1.ebuild 623 BLAKE2B 8669ff640ed18610a664b860d73682337e1ad786c47909e98b08e789b4b6c63c9d6c10765aa5cee1a3377ea324b5fc9086209a7abb2e4f44518a52afd84cd7a6 SHA512 e0a51eb50c62d913a34a83e8cfa3fc7fb6c529fcc161239851bbe2635fdef8b57fdc6f3bdd4d9e203c79e1ea2dfbbec9395abeb5e03683d07f4c659a2de8113a MISC metadata.xml 414 BLAKE2B 576a2c062532711acb20510ba067e6daf75731007c62afc0bc59cddbe671f9f52bf43efaa737364dc779b6cc6de1ba47b98db4b3a101d9c5e3b6a83503cf31a9 SHA512 a49599c15a4051756421fecab41dd723907e5b988e6438426f8c5633d69abd46644a56d45997f81b564c08dcb6a3dd505a045872fa3ddae0f05e3e2300ddb157 diff --git a/dev-python/click-didyoumean/click-didyoumean-0.3.1.ebuild b/dev-python/click-didyoumean/click-didyoumean-0.3.1.ebuild index f1525d9fd120..48791795dc38 100644 --- a/dev-python/click-didyoumean/click-didyoumean-0.3.1.ebuild +++ b/dev-python/click-didyoumean/click-didyoumean-0.3.1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm64 ~riscv ~x86" RDEPEND=" >=dev-python/click-7[${PYTHON_USEDEP}] diff --git a/dev-python/dparse/Manifest b/dev-python/dparse/Manifest index b8db7d0a98c7..350ba59512ef 100644 --- a/dev-python/dparse/Manifest +++ b/dev-python/dparse/Manifest @@ -1,3 +1,3 @@ DIST dparse-0.6.4b0.tar.gz 25761 BLAKE2B c2f430e9a59ca3747d00151aa5e5afdc51ad42dccafb2d5c95c4a62e405109bab6bba9de39a62703ef6f1846081cac9cb1e2bcc3986690ca6dc2f21220ffedd6 SHA512 f0cf9f07bca93388e85d0aa5bb8359cdaf276c5abf146f8469fe7b32a2ca0614452bcb3a48c55da4421964062fc0baf538386dce8f5e2a70b618533c870791ac -EBUILD dparse-0.6.4_beta0.ebuild 547 BLAKE2B 0aa7a2bcd96e2d2cef2f3f8693eea5a0f8804ec2afc735414e3c72a7806533ae920d51e14696811c82840ba4a8f611be8730eff91c5a6222359f79c78c43928c SHA512 3853123bfcb57962bfdb486dac2178791ddd29393402eecd723dec8eccf9d0e3a61d61650bfa7e6aab7556530b5b2b4227dadc1612178991b499ca98aed28a3a +EBUILD dparse-0.6.4_beta0.ebuild 546 BLAKE2B 24be3dafd3fff8b121717df3072fea96b99cd23908c2473f2b90c942ba96b0ea64c6ec0009da71b5f4406558fed14ebbbf17c0d9314954023a1611af19209172 SHA512 c0ba61bb8a1c3bc27416ca32ddc459a9e43ff438f847b44ee3b7777f8a30635f77791635983513fc23f9ab9241ae03b54eada61010ed9640da76494993dddedc MISC metadata.xml 536 BLAKE2B 21d63528a6074f7b037a457a232890b36892caff548a6a6f35bed3f168393ec794f46ad9ca50a61bff2b3a4d4f2b8ccf888c83a4acf4f062b69ce0e4cf353952 SHA512 d680439207417876fe97f06644f0cc45f7e4e522e2821f6af76703b01152aa083173fb29f4042e671f250113c684251175356e390935095a5c0c04c9038fe771 diff --git a/dev-python/dparse/dparse-0.6.4_beta0.ebuild b/dev-python/dparse/dparse-0.6.4_beta0.ebuild index 46f254f5d0ae..4ab252c686f8 100644 --- a/dev-python/dparse/dparse-0.6.4_beta0.ebuild +++ b/dev-python/dparse/dparse-0.6.4_beta0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv" +KEYWORDS="amd64 ~arm64 ~riscv" # Break circular dependency PDEPEND=" diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest index 3b40bcfd0d34..a8ea3b35bcd4 100644 --- a/dev-python/google-api-python-client/Manifest +++ b/dev-python/google-api-python-client/Manifest @@ -1,7 +1,9 @@ DIST google_api_python_client-2.138.0.tar.gz 11595036 BLAKE2B 554abf4e58264d60a5a09174b7199f31ac6cf31bd024add66ff73a71992e9da077c8046abfd8d9400d1b17fa0ccd27ca484ae62dca8b6900bbad42e2a26af9ee SHA512 f9e7501a289e96aebe8db78e32dc30771a860af34808d1bc6d6192c4511ecbbf871cbbf8cdf50daeeb865908a86236400d651e159d913b415b1f2fdf8eb045ab DIST google_api_python_client-2.139.0.tar.gz 11606939 BLAKE2B 9ad0cd36a913235e8c7b5afe2f4334399deb662d2d6287a64d98b02d890368839b345dba5e64aad3c852d655e99a04f8eb6902498664c4efa3a693ae2a2c6aeb SHA512 b6235f866a402ebde20fc8cfce41ad5bd0b8034311ab5b4f1b4cc88cea03f52021ee23264a32e9577ee1fa5bcbbb07af1c4e6d5e3f85bc53c0e6760654543b34 DIST google_api_python_client-2.140.0.tar.gz 11618875 BLAKE2B 0d156fa072b302c0410f8e70681556ee146d8d8951576b1890e429b40363661d263554ad61157256feebee9a45afdf3dcdbb287b7c1dc367a6b6940ec488a645 SHA512 168e75ea734edbf0182078fad27d30f8dd56b07a8c7056973c7df99fb7faff83034901b6742aab8e03c833b73a5fd31a92455105ccc6f0f5b741fadb66715f30 +DIST google_api_python_client-2.141.0.tar.gz 11652283 BLAKE2B 23209b950bb0712890f5c6b2dd0f238b8397a3084a9d61d6423b6d7275faa719d788551868037ab3c4a8ec8d0e37cff96859a1b933e395ef5feadae711c79be9 SHA512 c8d0f879ce9466e3c93e36f263ad9185bc844dae229ed1791068025dd200f21d67d0c87a5ee8ca8b6b0d71c7aad10b6a97dcfc7e7fed20017f992f5bdc7ea225 EBUILD google-api-python-client-2.138.0.ebuild 1455 BLAKE2B 0c236e102819fa393880129e1ae048cce4a018e567de29e2d344a451a87dd0f261b05b5285ed660f8b36937cf0b2503eef3fee84ef7e64c3754269f5878a45bd SHA512 b2dc3d562f94b8ffc4c6b6fecbf7538fe676f1a8667e71886585231e0fa3ac2d1e0269d8afc3879f94e3c328faf99672bea5109275527236afc79e7b46fdbe1a EBUILD google-api-python-client-2.139.0.ebuild 1458 BLAKE2B de0b7e7284c45a3a6eabbe54d470e5f216b867e16271dcc0535533bf53683c634faacb3ecf5a21589336e75ff85ab3dbcc9011085dea646df2008a72b162f009 SHA512 2c627f313081d9d186b7a75bcaa8fec68e75ed8ab4ff8f76ac3db2808b8e1ae20cace68afd4e02479c55016bf83aad38edbadea7e4cc78f61dc8f9c91813e114 EBUILD google-api-python-client-2.140.0.ebuild 1458 BLAKE2B de0b7e7284c45a3a6eabbe54d470e5f216b867e16271dcc0535533bf53683c634faacb3ecf5a21589336e75ff85ab3dbcc9011085dea646df2008a72b162f009 SHA512 2c627f313081d9d186b7a75bcaa8fec68e75ed8ab4ff8f76ac3db2808b8e1ae20cace68afd4e02479c55016bf83aad38edbadea7e4cc78f61dc8f9c91813e114 +EBUILD google-api-python-client-2.141.0.ebuild 1458 BLAKE2B de0b7e7284c45a3a6eabbe54d470e5f216b867e16271dcc0535533bf53683c634faacb3ecf5a21589336e75ff85ab3dbcc9011085dea646df2008a72b162f009 SHA512 2c627f313081d9d186b7a75bcaa8fec68e75ed8ab4ff8f76ac3db2808b8e1ae20cace68afd4e02479c55016bf83aad38edbadea7e4cc78f61dc8f9c91813e114 MISC metadata.xml 538 BLAKE2B bf0b8ab3a89ce9ab1d2159f4c0ebfe3f2646aced20bd2006485510c12d22e83cc130fac979f699ae6431a610c8d2acf86c04b39bc262abaf167c20571a860810 SHA512 30d004d944055660165954f8475e57ba45cef56423c80a324118836d78e5376261409955155a40c9bd988f230f3e2fc44c6aeb6fae3028c78c55a382ccd83bff diff --git a/dev-python/google-api-python-client/google-api-python-client-2.141.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.141.0.ebuild new file mode 100644 index 000000000000..58a0eb467bad --- /dev/null +++ b/dev-python/google-api-python-client/google-api-python-client-2.141.0.ebuild @@ -0,0 +1,50 @@ +# 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="Google API Client for Python" +HOMEPAGE=" + https://github.com/googleapis/google-api-python-client/ + https://pypi.org/project/google-api-python-client/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/httplib2-0.15[${PYTHON_USEDEP}] + =dev-python/google-api-core-2.3.1[${PYTHON_USEDEP}] + >=dev-python/google-auth-1.35.0[${PYTHON_USEDEP}] + >=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}] + >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}] + /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/sqlglot/sqlglot-25.11.3.ebuild b/dev-python/sqlglot/sqlglot-25.11.3.ebuild new file mode 100644 index 000000000000..3ecfcc322a3e --- /dev/null +++ b/dev-python/sqlglot/sqlglot-25.11.3.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/tables/Manifest b/dev-python/tables/Manifest index f174a76a224d..ecc2121498f1 100644 --- a/dev-python/tables/Manifest +++ b/dev-python/tables/Manifest @@ -1,5 +1,8 @@ +AUX tables-3.10.0-pypy.patch 1755 BLAKE2B a08edae632ebddf56c38d57b839e1e4bb8206fe4800065a99833412826d17236a8c71bd42acda5ff70217b0456e560e4b9737dea48099701583acfe8e86411c1 SHA512 9f52467bc8bd49fa1745264372b5f833c4377c39207fafd78ecba3eea5a63524a7bf3f355ff482ae1f0196ed01087b0ae03d447453d0ce832e3e70a9546d2e2e AUX tables-3.9.2-numpy-2.patch 10742 BLAKE2B 6c172a961e25d610b4f3cb72277512bcf8b493c5eec3122cd8a609ba6b8fef4b79d4c0c6b386b82cccabc8beeca54c05bd9057f655c2b5bb4f811a4ff747e639 SHA512 045fb1f3c2cc713f2e39aa6176190923a3441f473801f4258f2642324d2677f927bc34164911b5fee6ed88f4ed5589fafea0e113a5d426ffdc86eb46ce27fe0b AUX tables-3.9.2-py313.patch 2674 BLAKE2B 5735b61bc189b3f09dda468e7e371db8b57a3dd49fd3363865afc9c9676b414d46b0b41e745aa6d90fca20ab43e0e778bf0638cb879c3c2a8efe444ed8348fb6 SHA512 7f649c331be6d6f096564d17704f738e3872a77272ea2561e83fcb8f778769dfdde1ebaeaa9d3d34d640954fb53056436bf513d2c52c33929937f704c68d546e +DIST tables-3.10.0.tar.gz 4762618 BLAKE2B 351ec7e1bb9f0e4a43686b51911793aac32260d88418e1dac0b4fb815fd0f48543e139d1b7ea5607c1368578db4c6513a36d6379f4038cc53fbead4a436ce50d SHA512 10b4d2d1df5c692b72ad599cebc81fc2ef56f432a8d8059c2cede25a201076d12aff3e8874dafb8ef1d41dcc6c9151523f7e4fae3971443f79d051c6f8fcbc88 DIST tables-3.9.2.tar.gz 4683437 BLAKE2B 7044aede85d9eca67260a309d19b5c80944b80b2107f665296ad7ae6a3c3f9a8717a41ae7298a5ae45e5b9de7ae0a6678a83d4bd914bd8709512333e783367bc SHA512 9b416222304b7798585a20d4d7d61934023f151d4262a58a4f0ee969aa365264270c12a734461a194d2c857a13a8e09fb7a1386042267113f601560c041cecd9 +EBUILD tables-3.10.0.ebuild 1829 BLAKE2B 407f7ffc45926d634d690f4e3226eb457632876c5e93ba49f5efe02c7f5d73ff79d8014765f65bb6f6975254d3519c2b56c7b6282bacd2cded2d75770b59a6c1 SHA512 0f95141842113f489d57f3d844e6c85bf7fd70e33161d47a0d2b09538876ed812c6b6a7a1dc6dc893f8bb544b23102c6e73eaf4016541b8adfebaaa8d392a4d8 EBUILD tables-3.9.2-r1.ebuild 2284 BLAKE2B 534a4e7a23bb8b9991a70e6f99650007e6e61b7530e96e138948bb7a9233a021f718be1a3ecdeaf66cc7ab5b938a3de3b83695929c2005e469899cc7c1c84365 SHA512 04a9c7f1bce4953bdf50c5368e7ec6fec54ba53aed5d4cd2d1743952f0fa1c4656de01b82cb9c4f4ccf254a64ef33acd1c6200f14e98f52991ac4e11aecdc9e8 MISC metadata.xml 1090 BLAKE2B cc213079beb7f2888b5eab4886711fe8a4b7a4bc3cf13ff4d2247bd04edc05fdaed19c464ae28beac27de511ea997bcc873866bf9d544d6efe8cacd095e8640a SHA512 bd322eade443a3b1b610d262a0a6a30088246b3f772624fdfbf6eac85f240deb3f9001be1e2e20e334e65701c24e1d57100c67864d14067b1ae16e99f2136e8a diff --git a/dev-python/tables/files/tables-3.10.0-pypy.patch b/dev-python/tables/files/tables-3.10.0-pypy.patch new file mode 100644 index 000000000000..f27c99eadfb8 --- /dev/null +++ b/dev-python/tables/files/tables-3.10.0-pypy.patch @@ -0,0 +1,42 @@ +From c04a456a3e3f7c55722b8c77144991c657fc3af6 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= +Date: Wed, 14 Aug 2024 13:34:22 +0200 +Subject: [PATCH] FIX: Pass `refcheck=False` to `np.ndarray.resize()` for PyPy + compat + +Pass `refcheck=False` when resizing an `np.ndarray` in place, in order +to fix a test failure on PyPy3: + +``` +Traceback (most recent call last): + File "/tmp/PyTables/tables/tests/test_direct_chunk.py", line 266, in test_write_chunk_missing1 + return self._test_write_chunk_missing(shrink_after=False) + File "/tmp/PyTables/tables/tests/test_direct_chunk.py", line 255, in _test_write_chunk_missing + new_obj.resize(self.array.shape) +ValueError: cannot resize an array with refcheck=True on PyPy. +Use the np.resize function or refcheck=False +``` + +Since the object is created immediately above the `.resize()` call, +adding `refcheck=False` should be entirely safe. Furthermore, +unlike `np.resize()` this preserves the current behavior when new shape +is larger than the original. + +Fixes #1202 +--- + tables/tests/test_direct_chunk.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tables/tests/test_direct_chunk.py b/tables/tests/test_direct_chunk.py +index ccc82516d..ed290d7e6 100644 +--- a/tables/tests/test_direct_chunk.py ++++ b/tables/tests/test_direct_chunk.py +@@ -252,7 +252,7 @@ def _test_write_chunk_missing(self, shrink_after): + self.array.truncate(self.shape[0] - 1) + + new_obj = self.obj.copy() +- new_obj.resize(self.array.shape) ++ new_obj.resize(self.array.shape, refcheck=False) + obj_slice = tuple(slice(s, s + cs) for (s, cs) + in zip(chunk_start, self.chunkshape)) + if not shrink_after: diff --git a/dev-python/tables/tables-3.10.0.ebuild b/dev-python/tables/tables-3.10.0.ebuild new file mode 100644 index 000000000000..c6e4633a70ff --- /dev/null +++ b/dev-python/tables/tables-3.10.0.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..13} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 prefix pypi + +DESCRIPTION="Hierarchical datasets for Python" +HOMEPAGE=" + https://www.pytables.org/ + https://github.com/PyTables/PyTables/ + https://pypi.org/project/tables/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="+cpudetection examples test" +RESTRICT="!test? ( test )" + +DEPEND=" + app-arch/bzip2:0= + app-arch/lz4:0= + >=app-arch/zstd-1.0.0:= + >=dev-libs/c-blosc-1.11.1:0= + >=dev-libs/c-blosc2-2.11.0:= + dev-libs/lzo:2= + >=dev-python/numpy-1.19.0:=[${PYTHON_USEDEP}] + >=sci-libs/hdf5-1.8.4:= +" +RDEPEND=" + ${DEPEND} + >=dev-python/numexpr-2.6.2[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + cpudetection? ( dev-python/py-cpuinfo[${PYTHON_USEDEP}] ) +" +BDEPEND=" + >=dev-python/cython-0.21[${PYTHON_USEDEP}] + virtual/pkgconfig + cpudetection? ( dev-python/py-cpuinfo[${PYTHON_USEDEP}] ) + test? ( + ${RDEPEND} + ) +" + +python_prepare_all() { + local PATCHES=( + # https://github.com/PyTables/PyTables/pull/1205 + "${FILESDIR}/${P}-pypy.patch" + ) + + rm -r c-blosc/{blosc,internal-complibs} || die + + distutils-r1_python_prepare_all + + sed -i -e '/blosc2/d' -e '/numpy/s:, <2::' pyproject.toml || die + hprefixify -w '/prefixes =/' setup.py + + export PYTABLES_NO_EMBEDDED_LIBS=1 + export USE_PKGCONFIG=TRUE +} + +python_test() { + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + "${EPYTHON}" tables/tests/test_all.py -v || die +} + +python_install_all() { + distutils-r1_python_install_all + + if use examples; then + dodoc -r contrib examples + docompress -x /usr/share/doc/${PF}/{contrib,examples} + fi +} diff --git a/dev-python/tomlkit/Manifest b/dev-python/tomlkit/Manifest index b90e3a69a814..a6e9421d4f40 100644 --- a/dev-python/tomlkit/Manifest +++ b/dev-python/tomlkit/Manifest @@ -1,5 +1,7 @@ DIST tomlkit-0.13.0.tar.gz 191792 BLAKE2B f5f865b49f9850281d01de2c2ba9c2d8685a10a5cd0f17c475d120978472485a5bd607dc4b283221eab69fc6e214259feafdbe85c8237fe9c80b49007523bb69 SHA512 46c5a771ff401e0b300dbd13708d78b63415653b87eb649898bf0bd58cedeb110622ff2f0ade0ad1cd517610229ba0f59b4d520cf2fa1eea6522ea0bc042317e DIST tomlkit-0.13.1.tar.gz 192625 BLAKE2B 1f1ebc96819eb742429d7d8a71b8f3aecdd964f0700052bb2f71ede866c5f97b25745bf95898d7b1005c881d3fdbb36c4cb872126a3be8192cb9c859eb153fbe SHA512 32023020de48d0eacd0ce886870b9a53defdb403b396eb03d0c026c221460eeede1f018586ae141d690722485446be0215582182809c590d1af9825e840b58ad +DIST tomlkit-0.13.2.tar.gz 192885 BLAKE2B c95d24e0ec61cb90dfdd3fe7a07f8187fdfdee1b60d6d3e5a1af08e6d319e24c2447107cd3e49455a3f1cd29a50bde2e09f3a57708ce7349d1e9bd6957e46c9d SHA512 65b45468de25a6b9f22c3fe3468301902e1e439de580e74f15f5a24985546a4bfe47642b6014a25590eb176fedbe468828d7bc84c9c3b65ab418c071f0902957 EBUILD tomlkit-0.13.0.ebuild 1046 BLAKE2B 6b5bb8be3c8fe0b8acf6d1920a6a3f4c789096f260c1ec5b43b5413529d04efcc9d199d3116014376306e61b15ddf3ea61825ec224692245c1be84bbcffd2cbb SHA512 3d45e510ca0f796c7ddee13cda4be2cf2d5edc2581cb48504117a6bc2d48e8ace8538c99e389f491371d954bec80b31891d80dab2a324c0a760e0fb4d567586c EBUILD tomlkit-0.13.1.ebuild 1054 BLAKE2B ff9edeb9b6ac424f11db0f96820af6b62dd605d9e1a0051c0763b007d779621b4b35336733e696c5d19e0b079b99e41a92e7272a0dc571200b2720470a4c7d21 SHA512 96d7aca710467357b6217936b4bdb854b02379713e2cc9cf15fcb2cc06c132f27631cc8c7a01d1c1d0ba3c991573e74c84ec85d2feb474ff0a66f5e36638eed2 +EBUILD tomlkit-0.13.2.ebuild 1054 BLAKE2B ff9edeb9b6ac424f11db0f96820af6b62dd605d9e1a0051c0763b007d779621b4b35336733e696c5d19e0b079b99e41a92e7272a0dc571200b2720470a4c7d21 SHA512 96d7aca710467357b6217936b4bdb854b02379713e2cc9cf15fcb2cc06c132f27631cc8c7a01d1c1d0ba3c991573e74c84ec85d2feb474ff0a66f5e36638eed2 MISC metadata.xml 529 BLAKE2B 313663d81102b8124a7ebbe11e18003c4714e26daf97ce180c1690b147d750bebfe23af9d894f87ae218148cfb59c3405b25b1736d65fef16bcff4466e026e76 SHA512 f2bab5270eb7346e5de28ed96fb51ded6956ed57724d2ffba6f94b288699ef8107b78155c7c350321e11955c05967d6320444005725c3beedb711cc585f8fa41 diff --git a/dev-python/tomlkit/tomlkit-0.13.2.ebuild b/dev-python/tomlkit/tomlkit-0.13.2.ebuild new file mode 100644 index 000000000000..32ec3c8a18ae --- /dev/null +++ b/dev-python/tomlkit/tomlkit-0.13.2.ebuild @@ -0,0 +1,48 @@ +# 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..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Style preserving TOML library" +HOMEPAGE=" + https://github.com/python-poetry/tomlkit/ + https://pypi.org/project/tomlkit/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + test? ( + dev-python/pyyaml[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_configure() { + grep -q 'build-backend = "poetry' pyproject.toml || + die "Upstream changed build-backend, recheck" + # write a custom pyproject.toml to ease setuptools bootstrap + cat > pyproject.toml <<-EOF || die + [build-system] + requires = ["flit_core >=3.2,<4"] + build-backend = "flit_core.buildapi" + + [project] + name = "tomlkit" + version = "${PV}" + description = "Style preserving TOML library" + EOF +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/unearth/Manifest b/dev-python/unearth/Manifest index 883df805c045..17daddeda46b 100644 --- a/dev-python/unearth/Manifest +++ b/dev-python/unearth/Manifest @@ -1,7 +1,9 @@ DIST unearth-0.15.5.tar.gz 283787 BLAKE2B 2910be23141eb0a683766e83eae1cd35a074b98aaba7c25f49f06a321c261583a65bcb2cbd56c129efc1551e2f421e29dde784d3689c0dfc45d420c870a9b112 SHA512 84851788cd6bf6743307bb5a49fff1b6eeadd3f73605f4b2f7ffe1720d50713971d7cf020e17f34bbe755f523400a6149ace9add1c680bb955f6b46e8e092cba DIST unearth-0.16.0.tar.gz 283848 BLAKE2B e94989b643450b0e1a12c4bcd65339c1e52acd04a447616779f085297fa13bc09e25527b858383ef2b8d645304ea42f43c41415c930064e0515569a5836cd1fb SHA512 b129c546bdd8b1f364404ad4db8e43d471a1f9e3a2cbc99775a6c3aa5bce99ed127d1cbd859c69f8c2bae7f7c8b907426c2597d27323c6b6f408df047de2410e DIST unearth-0.16.1.tar.gz 283913 BLAKE2B 91f599fd21e6100be7e3f3d422d595e4402a652057b327ec2f6baa45f30301ea7571473e17d202017d7d7a92f7b11acdc42d1c655865499b9eeb8bfb1f7c00a3 SHA512 2819c4da65d0bb9492546531012699fa4554d309930de4b9cc8a5319edc19c1863993badaa53c8f646b152abf133043b2d3d3816f2adb9827ed7f25541e5d603 +DIST unearth-0.17.0.tar.gz 284068 BLAKE2B b37c1e9e626f3d6409fb0a22baebedc210df2c76afcb41f12730a5c9ff714bcf94cf7e78b97851676d45a73feec40d630ab5993cad44fabedcec5a771cb78c9f SHA512 2b9ba4d4262baac448b4507547a5887d5a50254e02f050576e68efeb952a57e2e38f93b440a753263abeca4ae062c07d9b702f10d29ff9252af13cfc16978c3d EBUILD unearth-0.15.5.ebuild 973 BLAKE2B 954d1d0a965598bd6a1ea438a54575d7d902638b9da5631b5babca972885cb29ad338ee5392502730784d707bba730ea788c6df2d11072e51c635ea73a49250f SHA512 02ae8087266e8d28d9717e3e5acf3291172f4eb733547a5bad3402153aa5b53ec437c2c91b0259f5bab02b0aff38e4a19c493578cdbb5111bcc91593c64a7eac EBUILD unearth-0.16.0.ebuild 973 BLAKE2B 954d1d0a965598bd6a1ea438a54575d7d902638b9da5631b5babca972885cb29ad338ee5392502730784d707bba730ea788c6df2d11072e51c635ea73a49250f SHA512 02ae8087266e8d28d9717e3e5acf3291172f4eb733547a5bad3402153aa5b53ec437c2c91b0259f5bab02b0aff38e4a19c493578cdbb5111bcc91593c64a7eac EBUILD unearth-0.16.1.ebuild 973 BLAKE2B 954d1d0a965598bd6a1ea438a54575d7d902638b9da5631b5babca972885cb29ad338ee5392502730784d707bba730ea788c6df2d11072e51c635ea73a49250f SHA512 02ae8087266e8d28d9717e3e5acf3291172f4eb733547a5bad3402153aa5b53ec437c2c91b0259f5bab02b0aff38e4a19c493578cdbb5111bcc91593c64a7eac +EBUILD unearth-0.17.0.ebuild 973 BLAKE2B 954d1d0a965598bd6a1ea438a54575d7d902638b9da5631b5babca972885cb29ad338ee5392502730784d707bba730ea788c6df2d11072e51c635ea73a49250f SHA512 02ae8087266e8d28d9717e3e5acf3291172f4eb733547a5bad3402153aa5b53ec437c2c91b0259f5bab02b0aff38e4a19c493578cdbb5111bcc91593c64a7eac MISC metadata.xml 480 BLAKE2B 489aab9c338887392b943b48593bd9d752083d82fcf89a419e3677f2d24939af51cabe16641c3a16942f9658fe79f804af61cffc807cdeb909d44a6cff5ced5b SHA512 9fe2154826a2399f5570fa150445220f7490e10741275f77791b1d29522336912812e3f8905c026cb748845d2f2a005196185db6576708b47f1cdf582216182f diff --git a/dev-python/unearth/unearth-0.17.0.ebuild b/dev-python/unearth/unearth-0.17.0.ebuild new file mode 100644 index 000000000000..a135cb39bbf1 --- /dev/null +++ b/dev-python/unearth/unearth-0.17.0.ebuild @@ -0,0 +1,42 @@ +# 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="A utility to fetch and download python packages" +HOMEPAGE=" + https://pypi.org/project/unearth/ + https://github.com/frostming/unearth/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + dev-python/packaging[${PYTHON_USEDEP}] + =dev-python/httpx-0.27.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/flask[${PYTHON_USEDEP}] + dev-python/pytest-httpserver[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/requests-wsgi-adapter[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest_httpserver -p pytest_mock +} diff --git a/dev-python/webob/Manifest b/dev-python/webob/Manifest index 34da651189c4..66252118cffd 100644 --- a/dev-python/webob/Manifest +++ b/dev-python/webob/Manifest @@ -1,3 +1,3 @@ -DIST WebOb-1.8.7.tar.gz 278544 BLAKE2B 20d8b00f181f2966b918f106080907746dac33b64e75c31749bd774709ed8aa51024258240b89abddacb041073705410845993f93ecfa4b98a7a0fcb8a14e505 SHA512 ff6a1ce796a59d9c078dc908a0d6307a080230a5c806be2278eebcbb78016bed43067e78e3e4a6d72a5f51184c137e8267ac75cbb92b057db008b51a792ff489 -EBUILD webob-1.8.7-r1.ebuild 842 BLAKE2B dcdb19eeae28e7f605fffa275ae65cf134eb951a38594c206d54efcdaba9d0e6420bbddb1334cde331c7cfae3e77c61d22789a7d0558dd3a67fc2e319451a019 SHA512 809d7f8daf89381eeb65c0b27fc526be4b7f0716200c732694e13ab65dd8dfa3b5a2a0e79a08f6256cf0c4e64d681eec31fa0eebf72c5098ace074adc13f050b +DIST webob-1.8.8.tar.gz 279035 BLAKE2B 61bbcc71763feccbd7a39b2649024c8d7a49ab5602fd638b4a895900395cd54bb6b0885e0bdeccd6504f5cc3162f7e198e94016b98836dbed4ed608605251052 SHA512 13093e77591a3bdb36e8f30a5d40922120d949faf24e3322b0116f1a14483180772b22c82237b0db4a17a914c2c99509847a9f2a717de09b4bffa55fa5269838 +EBUILD webob-1.8.8.ebuild 822 BLAKE2B 25e72f80e49c0b0bb7048471b0d37da70f8b379099cadc0155d1fe257b044e3d260ef282c812c48177c05e643239650efb70d58a654b81fb1d3ba2e884ae6053 SHA512 795f0ec556f7fe883f5bc2fb412e18d4f4453c4272c541486970a1c78e3d95ac5751b9d4a78b7163889246f65084441c032973aad7da06fb746362b85342aeb1 MISC metadata.xml 445 BLAKE2B cdb3eff689afc9b236ff09ab4035cf30dbb1a22e26ece748bcb3fd4022b6cdfbf20e04213951f79b2259b2794104025dd7aca3f3348fe95bb032bb51c3f3f80a SHA512 6cfd7bbddb887bd8c64b34087ada4c9f099adeb765dbf935761b1dabb2fb4d2134e67062110399400e45070a8330ea63ff61a0af6b2c11d261f7cc0e894f5f7a diff --git a/dev-python/webob/webob-1.8.7-r1.ebuild b/dev-python/webob/webob-1.8.7-r1.ebuild deleted file mode 100644 index 9141eb434484..000000000000 --- a/dev-python/webob/webob-1.8.7-r1.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# 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 -PYPI_PN="WebOb" -PYTHON_COMPAT=( pypy3 python3_{10..13} ) - -inherit distutils-r1 pypi - -DESCRIPTION="WSGI request and response object" -HOMEPAGE=" - https://webob.org/ - https://github.com/Pylons/webob/ - https://pypi.org/project/WebOb/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" - -RDEPEND=" - $(python_gen_cond_dep ' - dev-python/legacy-cgi[${PYTHON_USEDEP}] - ' 3.13) -" - -distutils_enable_sphinx docs 'dev-python/alabaster' -distutils_enable_tests pytest - -src_prepare() { - # py3.9 - sed -i -e 's:isAlive:is_alive:' tests/conftest.py || die - distutils-r1_src_prepare -} diff --git a/dev-python/webob/webob-1.8.8.ebuild b/dev-python/webob/webob-1.8.8.ebuild new file mode 100644 index 000000000000..e905cdfda13e --- /dev/null +++ b/dev-python/webob/webob-1.8.8.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_PN="WebOb" +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="WSGI request and response object" +HOMEPAGE=" + https://webob.org/ + https://github.com/Pylons/webob/ + https://pypi.org/project/WebOb/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/legacy-cgi[${PYTHON_USEDEP}] + ' 3.13) +" + +distutils_enable_sphinx docs 'dev-python/alabaster' +distutils_enable_tests pytest + +src_prepare() { + # py3.9 + sed -i -e 's:isAlive:is_alive:' tests/conftest.py || die + distutils-r1_src_prepare +} -- cgit v1.2.3