diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-07 12:00:01 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-07 12:00:01 +0100 |
commit | a519cf56a0e5e456006d39c06f68de5e11c2f7e9 (patch) | |
tree | eb3511664a62de4a02ec7f25a9a3935956e288ab /dev-python | |
parent | d63d16d19ab9b58260753953a431d39230f2c362 (diff) |
gentoo auto-resync : 07:10:2023 - 12:00:01
Diffstat (limited to 'dev-python')
37 files changed, 809 insertions, 238 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex ffd7fa053f32..71e40b8e9143 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/annotated-types/Manifest b/dev-python/annotated-types/Manifest index f29b4c1b30f5..e0f584205789 100644 --- a/dev-python/annotated-types/Manifest +++ b/dev-python/annotated-types/Manifest @@ -1,3 +1,5 @@ DIST annotated_types-0.5.0.tar.gz 13504 BLAKE2B 6c13267b2bdcafabc57e734e3a92133c140ed34560625ed067e01b19f4c8e250b01dacfd5518d0e7283fe469d053a1c1baed173f215231e7303defc3e444667d SHA512 d59c00ff84d510d87149aa9a33deb26e2c3aee98f0f99b63cc0eba83a212c4c1567fcb81370e8bf9add32fd23cc9ea2a5a8692a840d316c44ab7a550bd4349b3 +DIST annotated_types-0.6.0.tar.gz 14670 BLAKE2B 9390abe727f9b7a777e8266e192e032e2f36703c76a60e7fa34dd5517db8129f75e617b67ff88e9f299d10dd3f076d6793bf86e04b6230f2c4df886a8e0719cb SHA512 6b7f6fa23f47758d955822564227173951d6ddd854397b0c996bb6adeadd9caebfab6d193595be17003c1ef0e81a6bd8e20ec8221a70ffa35f9a4414300e788d EBUILD annotated-types-0.5.0.ebuild 581 BLAKE2B a57078878231c52441ffa8ed4ed699789c33fe4c7bb1a7354f975d9cc36b65a288b0bb52171fd156e7b7808c29bb8dfb877911efdd0288d771cdea4f5e96460a SHA512 647f811fd81450c8be03f7689f9234e07fe8a409d9bd4c5be1aef2f83c5f3be3c708065eec4956d91651f277179c37beb59e606c6f153145ef39a3d577f29eee +EBUILD annotated-types-0.6.0.ebuild 583 BLAKE2B 4d47f943559cf27922803de375d075ffbb87141b892befa9b4f4191975efee1ff0d5cbf69ffbf0d958ea542f47feaf2745298c7559dedd7d5b5c4f70ad811f57 SHA512 475e648ff8b61885f22e1bb46a15d501e38bb0bc74c188698f9cced2fc5a8053fb28637778d376412691d8a941516760d72592b75985aca9ff9fcbe4e30abb1f MISC metadata.xml 414 BLAKE2B 692ebee33e03288b0a5ec5fd649cceaf7dd6043893712deb3204371965898d12390301349644d4daebd014f09afb6a89731144747b061f872d7e75e8c4f3b668 SHA512 6434d35a1cc78c487e02a2b19d56b2778517adfa07f81003cfd981fca0c49c0f26c95139865a02bba22ea10991639b98a8ebc27d71bdfd892bcb653338a9cf32 diff --git a/dev-python/annotated-types/annotated-types-0.6.0.ebuild b/dev-python/annotated-types/annotated-types-0.6.0.ebuild new file mode 100644 index 000000000000..f2c2a18d0815 --- /dev/null +++ b/dev-python/annotated-types/annotated-types-0.6.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Reusable constraint types to use with typing.Annotated" +HOMEPAGE=" + https://github.com/annotated-types/annotated-types/ + https://pypi.org/project/annotated-types/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/apsw/Manifest b/dev-python/apsw/Manifest index 69e0a802d555..1ce46edaeaaa 100644 --- a/dev-python/apsw/Manifest +++ b/dev-python/apsw/Manifest @@ -1,7 +1,9 @@ DIST apsw-3.42.0.1.gh.tar.gz 881270 BLAKE2B a983aebe53f6baf419fb0fec6d87797d11c1e1f0fadd546139c9b9c3cec6f8848e79af46a928597e6cf33937bb2b2e2157cf908cf18152c7f956864e3d09fe2c SHA512 78a02c8e987df90838923b2a2d4838a184e7e8d9be70a09a4a27eb43e9f06546f831895ab519b681f628e5432b3e5b71d56ecc2f3e45a89765dc13667ca6e844 DIST apsw-3.43.0.0.gh.tar.gz 887997 BLAKE2B ce74eaed990cdf4742ce39743abf0dc112ee3f588bfa0ccca102829d4e29fd38194ac42a85dee25e18f666bdbb2137c99440583996513ea27977374de945ffd7 SHA512 013ef8a45b556498192673c77d8de50136680d061087a80d7ce880137f1ca469812e9237b7336fbb8aacd8d3a775e819a42dc5e70e2d907cf6fea56b80534755 DIST apsw-3.43.1.0.gh.tar.gz 901289 BLAKE2B 3f463896ce587326421ae78a26b5cccbc5c43a2c54b9502c166f599705fc9afe867c3be5f2ea4de8bc4d2da2f3bf09e034a27744d2114a5bc9b5c622bd852543 SHA512 a3343af87638f04786086c282cf50bfce3074e2a3165ebf172740be13021138a83356e594969791029879dfef12149775b48e0912eb14817358434b3b72ada67 +DIST apsw-3.43.1.1.gh.tar.gz 901590 BLAKE2B 0fb1942aebf60443c12901e1b21bb7b9fce1e90d406bca80580563cee2d8aaf45b9c2294317cf374484fccd8b595439e13df01b14512514f78ec60ae1e905990 SHA512 3121e594a9d4c358ecb2f90becadc06fe987a3e7d6897fd655d5ae9aff6c8d1521257c2a34a68a8e6114cf7a71479544433e599522bee93e3fb729ee9763a112 EBUILD apsw-3.42.0.1.ebuild 937 BLAKE2B a11904255e059ce22b9bce2d56398223c290b5b415e1c1052cb2c15a3f7828a6d063b0e55c1ab60fe91675346802d5f4d53666a0382c62b5abaf9c397fde8920 SHA512 93a6fe2de39568fdcb1b0bb7317345cbb1257dacff73a710d662b1f4f74719b388b5adac3db5d851591b6e4d8b86d6a14afd33425a99bedfa61e33fac2a5b883 EBUILD apsw-3.43.0.0.ebuild 939 BLAKE2B ee016cfe238d13b36e179fe3e9d989010d0100884b9b8c1edb88be9408f43d2a6e20631461aa7e6aa53f356f260f5f6ae2877c8ef0c329206866c17d8c785200 SHA512 eee244a037366858c9b6ff3b5a25b2fe1e3518d02f6c45bab843f43923ee44ad0e84ac6dcf89d0fa56886d0b5fbffe9228b375591bfffa64be3dd85f68455dab EBUILD apsw-3.43.1.0.ebuild 939 BLAKE2B ee016cfe238d13b36e179fe3e9d989010d0100884b9b8c1edb88be9408f43d2a6e20631461aa7e6aa53f356f260f5f6ae2877c8ef0c329206866c17d8c785200 SHA512 eee244a037366858c9b6ff3b5a25b2fe1e3518d02f6c45bab843f43923ee44ad0e84ac6dcf89d0fa56886d0b5fbffe9228b375591bfffa64be3dd85f68455dab +EBUILD apsw-3.43.1.1.ebuild 939 BLAKE2B ee016cfe238d13b36e179fe3e9d989010d0100884b9b8c1edb88be9408f43d2a6e20631461aa7e6aa53f356f260f5f6ae2877c8ef0c329206866c17d8c785200 SHA512 eee244a037366858c9b6ff3b5a25b2fe1e3518d02f6c45bab843f43923ee44ad0e84ac6dcf89d0fa56886d0b5fbffe9228b375591bfffa64be3dd85f68455dab MISC metadata.xml 700 BLAKE2B 258344a1602daf3e081fdb4c94eda8af6e231def3f02fb80d63691b47d0a503c9caad80893386ce7ef42d6be2985906f3fc5cfedfe5a1044aee04c493f3d0683 SHA512 de73b4eb06d0bcf4c81e544a98ad15231b006d62fe22f6bce7e38740b941b98297fa1a38b00060ff83ae9f3259c5020c7071469f2a3f0d9e4f8f0301cb942081 diff --git a/dev-python/apsw/apsw-3.43.1.1.ebuild b/dev-python/apsw/apsw-3.43.1.1.ebuild new file mode 100644 index 000000000000..21c2e33d0999 --- /dev/null +++ b/dev-python/apsw/apsw-3.43.1.1.ebuild @@ -0,0 +1,51 @@ +# 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=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="APSW - Another Python SQLite Wrapper" +HOMEPAGE=" + https://github.com/rogerbinns/apsw/ + https://pypi.org/project/apsw/ +" +SRC_URI=" + https://github.com/rogerbinns/apsw/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc64 ~x86" +IUSE="doc" + +DEPEND=" + >=dev-db/sqlite-${PV%.*}:3 +" +RDEPEND=" + ${DEPEND} +" + +src_configure() { + cat >> setup.cfg <<-EOF || die + [build_ext] + enable=load_extension + use_system_sqlite_config=True + EOF +} + +python_test() { + esetup.py build_test_extension + cd "${T}" || die + "${EPYTHON}" -m apsw.tests -v || die "Tests failed under ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( doc/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/asttokens/Manifest b/dev-python/asttokens/Manifest index c6e3ae56feef..0b9ee9dc0b7b 100644 --- a/dev-python/asttokens/Manifest +++ b/dev-python/asttokens/Manifest @@ -1,7 +1,3 @@ -DIST asttokens-2.2.1.gh.tar.gz 56115 BLAKE2B 89c235391f9cc68fc640c5f9fccd1055cd7649ac92f4f935a872c1b90458f4bf577979fdeb3267f7bd5a5af505b6a33582da47d5fb65b57c411f482622d90feb SHA512 f7fb00918403054bc6a118494f49dcc11946141d2193624455ff2b1ca137d1c75315c779295701e93ae350ce4f5f670d6287e91a116b6b5cbcb06b374a6d00b5 -DIST asttokens-2.3.0.gh.tar.gz 56996 BLAKE2B 742e1332c6dcc35930e6ac85df1a851143772ab390f51088bd89bbc8c6f2d2277ed1cc31af554f274b3d6fab554a542a54b0ef08afbd470f8308ca5eddf9728b SHA512 128e9d41db1e7dd85ce3e459123c0a28d8478c3757b06c35a53eed4286ed23ac8747a221b9bbcf17d87dd98288a3b58a33e0a2e4e9f5cf8b137264bd22eadc36 DIST asttokens-2.4.0.gh.tar.gz 56965 BLAKE2B 60adc46bd30f5c2fee368362f655bb6a83d2394f2c0badfc191f91335decd523a2f1523927b4ce3cdbe1a557cfb335635c68c20acbb33384cf9c3a816bbb6743 SHA512 183321c6eef3493e49289834425d4ec59dec5fdc496d27e4d89ab5ca2a830306367e0464dba25856da612e018f8d6cefedf7c2349488884031f02a91acc73cd4 -EBUILD asttokens-2.2.1.ebuild 1000 BLAKE2B df0263ad9241ff00f197fe9eab1f75a3636556ec412b6b7cb7037421436c502510181cc0f9d2caf4254b931be6865bb6df62df62a5cc515ed4db8d1eb23ef0c7 SHA512 db764f1089310e1bd03055a5508db0e5447a58e645b24482a356b18ac9fbd02db02944bf91c070155ed0ff678e7be3112dc94dc032a9d2219868afc65d755b8f -EBUILD asttokens-2.3.0.ebuild 1010 BLAKE2B dd588f8b69797c994e4d68888e1cfb0e4bfa5f44fc9bc206a2bb6798fb7506ecdf99023bd31789e3e1ff523e5e002e8e200e2eb08dc028369fd3a0a1eada1977 SHA512 2c0de685f80220698c7efea3ddd759b5bb498a521acf463dbd97d83ef456245a13a1f48b67a8c54452b61c9f9d6acc2ef7f58f90a2b788de2a1dfc8154133db3 EBUILD asttokens-2.4.0.ebuild 1002 BLAKE2B 4be4622d752c0412efb16ef33ddc2ca9005503a6bacfdde753c2ec2b7e0c58524788fbc1c1b74f519e1571477557be248fafbd6a49b7006f6f24baae0961305c SHA512 fb6213fef7e34e8e977443e6a6084caa61fdd579b5fd13221667247d094674f08ee57166cb766d67eb2751eb3d90e90b1ddaa0e9f862c7256d404b1310321840 MISC metadata.xml 350 BLAKE2B c05dcff93454660cb741def5cb0ca82e56f0cba84bddb9604153b6d70625e4dfc9e15743c3448a0cb68d9b5ccf0778f8126390872bd8689df0e0ab2bed7e6582 SHA512 521762b1e8a542c5f3156014884c3d845b6fe882e819c924aa8023f8dff32a94490e64a1d1f700f5127bd867c60c4f0f7c4aed5c39f78e52bd8ebabd113403cf diff --git a/dev-python/asttokens/asttokens-2.2.1.ebuild b/dev-python/asttokens/asttokens-2.2.1.ebuild deleted file mode 100644 index 2a1d47526183..000000000000 --- a/dev-python/asttokens/asttokens-2.2.1.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 2020-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) - -inherit distutils-r1 - -DESCRIPTION="Annotate Python AST trees with source text and token information" -HOMEPAGE=" - https://github.com/gristlabs/asttokens/ - https://pypi.org/project/asttokens/ -" -SRC_URI=" - https://github.com/gristlabs/asttokens/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" - -RDEPEND=" - dev-python/six[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] - test? ( - dev-python/astroid[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # test suite itself broken with new astroid versions, upstream less care - # https://github.com/gristlabs/asttokens/issues/79 - tests/test_astroid.py -) - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} diff --git a/dev-python/asttokens/asttokens-2.3.0.ebuild b/dev-python/asttokens/asttokens-2.3.0.ebuild deleted file mode 100644 index 4d0a09d2ec63..000000000000 --- a/dev-python/asttokens/asttokens-2.3.0.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 2020-2023 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 - -DESCRIPTION="Annotate Python AST trees with source text and token information" -HOMEPAGE=" - https://github.com/gristlabs/asttokens/ - https://pypi.org/project/asttokens/ -" -SRC_URI=" - https://github.com/gristlabs/asttokens/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" - -RDEPEND=" - dev-python/six[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] - test? ( - dev-python/astroid[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # test suite itself broken with new astroid versions, upstream less care - # https://github.com/gristlabs/asttokens/issues/79 - tests/test_astroid.py -) - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} diff --git a/dev-python/aws-sam-translator/Manifest b/dev-python/aws-sam-translator/Manifest index f8b788ee02c6..0b68b2e8cf9a 100644 --- a/dev-python/aws-sam-translator/Manifest +++ b/dev-python/aws-sam-translator/Manifest @@ -1,3 +1,5 @@ DIST serverless-application-model-1.76.0.gh.tar.gz 5114195 BLAKE2B 2d9eb5ea740c02ad3b6ca4024c6a5f6f87fe0a2703535eab5e69488fb30e2172ab3edd67ab4a668a9790040a0edc698c2ac4fc4c244c0b2f8037a5ce6e1175fb SHA512 97bc81cc41ecc5e1b5bc253e9ba0839598a09a49e564bfe06bd3460867412ce2551e1ad79640cf40641bdc9d09261bdd8bdb87d78c860f6c3d2b316fcee9c027 +DIST serverless-application-model-1.77.0.gh.tar.gz 5114799 BLAKE2B a5299e6a3dacca20304e3f93d84a96aa8013d435ecd62621e7fcc302c709ad86185cfa509925bebf379597186ed9fe82ac384f6314ecdc66826d8cd7df3f30c6 SHA512 961a1dcd1117b6d2c9b08c1e9b945d02ac19c9b41b91415264aadc9461fd62ece294a7da6e99ec128be685f6df605e8febf91469a1161bc94b12ae3976901f9e EBUILD aws-sam-translator-1.76.0.ebuild 1544 BLAKE2B 49f4c2c4f93cad6f7a4b07beb33695a2e1c2e827d11b2cb9b12191edf9a5384602e4621bf3d3e2a01ae17d39dd1835df08b032aa7dd8eeffa008c0c87916227d SHA512 03b8539cc059818b664f4a3a04fe768b2f2ccf3f8891a5124010732588006a357ed6eeb81738dc9c52ce6cb4500bd05c1f17f4eec6cab9bc8977fb4db5d4b639 +EBUILD aws-sam-translator-1.77.0.ebuild 1546 BLAKE2B 149e59b254acf3de851a46b9a7c11d1ba15cc469c8fcd3c7571eb3e45788abb0e5db72ac54754ba65804872f895e54b2a0a39155e1ce77f7fc1f4533594fdd86 SHA512 f9304b86eaae63cf411562af33cac40848502d2e50cef5a718299b75103cb5ab2541b7ea86f41af0d511679f11ea74c2572faab81fbde4ed4547d0ec7d4e6cf9 MISC metadata.xml 603 BLAKE2B 89556267393186cf69a585c58efeb6fa599bfb42ef221bea955ea807a28edee89036a2ee0d0ca81ae55d96702a01b171b837754dabf38047ecc2789157bb7116 SHA512 106b6d241eadf7807dadf03329073703f8b51e7443eddc4db8752878b6dd84cc4357689cd4b796b3a083192e9d98eacbe9e7b8af0273160c7b89846e78230a88 diff --git a/dev-python/aws-sam-translator/aws-sam-translator-1.77.0.ebuild b/dev-python/aws-sam-translator/aws-sam-translator-1.77.0.ebuild new file mode 100644 index 000000000000..d6a4188a21e6 --- /dev/null +++ b/dev-python/aws-sam-translator/aws-sam-translator-1.77.0.ebuild @@ -0,0 +1,60 @@ +# 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..11} ) + +inherit distutils-r1 + +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}] + ) +" + +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= +} diff --git a/dev-python/bleach/Manifest b/dev-python/bleach/Manifest index 768ba0034ab9..d82f68906f5c 100644 --- a/dev-python/bleach/Manifest +++ b/dev-python/bleach/Manifest @@ -1,4 +1,6 @@ AUX bleach-6.0.0-py39.patch 1527 BLAKE2B 07bfabe99b5185398d85a5320f88286363562db4afd129186322efe66881f76f0517726a19d0df627064d9e011ee3e2e621c145e183eb179f148ec0c9b6b9309 SHA512 a6d0ccdda4425e1700d8113ee4d60bae48568b78279e303ecc051f803ac3aa693eb18ada5ce6dc224262f4a614972d793e400f4b1b585a18a29c11d4d402abd8 DIST bleach-6.0.0.tar.gz 201298 BLAKE2B e4af5da351fdb63bc75b935f70f40434bd81c49cde4f584901397e5fd4ac4507d2e29eb283ff28a764018dbd795021e2edf1f43385ff8a2d7d8affd358fc0e31 SHA512 95900e4347c1f7d0aa5b2e8fbf43fac6410dd6bbbac988fb3f407a964d0aa1dc51fe3cf17459e6ce762a02b45bb3d20b539ca05727278d120aee9500cf0d208a +DIST bleach-6.1.0.tar.gz 202119 BLAKE2B d2da448feabe61431b176092f713f6f85790c22d3869a8d94f5c9659e481fd4a0b8e230eb72687e4da8914956a8858a2a5f942169ae2324d7762c5e1f20cc0ef SHA512 d7c9e77decd5eb0aceb4b33ad7e213683354aa702508f332dd6be15a14010d3795c2115acbae964cbaeff3e74c15d35eb18268d8fd8286e2cd6ad1c0dc79a838 EBUILD bleach-6.0.0.ebuild 1073 BLAKE2B 9a68f11806bf00f65a077522c6d3dde37fdbd85f726f7f101b951c22bef95a01f04108e9e96c696eb0d3110050f58e23bd0d9c7b637c1fa631eebb6f2902fdb9 SHA512 c9a3a929b2f4eb904bd7b4f16e2acb80dc2f3817654e9e55dbd8d39b3adcabef4b6cce29776fbfcbc5835c5c725698b60db6eefa0620f4024d185791093cc45e +EBUILD bleach-6.1.0.ebuild 1290 BLAKE2B 93380e9ce4d1be15cbeaab6f07546b547f969e18595f445170c589a9ad1b5e5bcea52a4d3d864295f89a576c193d6fa48d00e558b517695ba2961c0613744670 SHA512 af6e3676d8651517b5320331ed57a0bc3f59d6111795658bc278efe14b84c3457cfa5feda927c4d518b1a806ae703b93226406b8c153a38d5221d48db6b08294 MISC metadata.xml 401 BLAKE2B 9250e95731d3269e92b401f17d066e70838fa4009e9b62e6ec88420ada2b4695179fad49a8b010eab162ed0af2e2398fa987e04cd8ad34813dfb1ed1ad1208e4 SHA512 e5ba74a86efa4450b9181fb5f32dfd63ac5d3e34b8e1c447b21acb4cb615d77711761352a8e1e4807bde17b1b2e688eded99d8a9785cd42a915d470084b98a04 diff --git a/dev-python/bleach/bleach-6.1.0.ebuild b/dev-python/bleach/bleach-6.1.0.ebuild new file mode 100644 index 000000000000..7e7d3e8c4722 --- /dev/null +++ b/dev-python/bleach/bleach-6.1.0.ebuild @@ -0,0 +1,51 @@ +# 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 + +DESCRIPTION="An easy whitelist-based HTML-sanitizing tool" +HOMEPAGE=" + https://github.com/mozilla/bleach/ + https://pypi.org/project/bleach/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/html5lib-1.0.1-r1[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}"/bleach-6.0.0-py39.patch +) + +EPYTEST_DESELECT=( + # this package is not really maintained anymore + 'tests/test_parse_shim.py::test_urlparse[\t :foo.com \n-expected8]' + 'tests/test_parse_shim.py::test_urlparse[ foo.com -expected9]' +) + +src_prepare() { + # unbundle unpatched broken html5lib + rm -r bleach/_vendor || die + sed -i -e 's:bleach\._vendor\.parse:urllib.parse:' \ + bleach/parse_shim.py || die + sed -i -e 's:bleach\._vendor\.::' \ + bleach/html5lib_shim.py \ + bleach/sanitizer.py \ + tests/test_clean.py || die + # indirect html5lib deps + sed -i -e '/six/d' -e '/webencodings/d' setup.py || die + + distutils-r1_src_prepare +} diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 758677aad91a..b7b2a408dba9 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -1,8 +1,10 @@ DIST boto3-1.28.53.gh.tar.gz 702652 BLAKE2B 6a64fa2c018000a6b89f47a49eaf0270a2f694f02720c0e0527b5ce671bf3ad195f40fa592829bbe9a3b30ede56fd335a81bb30f862bfc6992883dd86d6b9a75 SHA512 750d4905625b207d05842950349eeadaef9bbb413adfc8096998292edeec8985c5488c565f3b5b6f5a00354e69f3071ad1491428b1f894be2b40b23db767be36 DIST boto3-1.28.57.gh.tar.gz 705839 BLAKE2B 5d536c8465de64b7a0dfff909325d719d6d36f0bf531b14211dd45f4539170e8b0c78ae1ba111028d6273d6453f4087b2de7a7b62ad6b1da115281b87d99b248 SHA512 b5277a0c03a57147e9d0cf05800b1f30059151dc019045dbaa91a36f6cd0c08b21bd4dad25d4359d594379f84b8f862e1dde306382a3cdd6070eaa300dcfd23b DIST boto3-1.28.61.gh.tar.gz 711460 BLAKE2B 7710c97ecb3e968a302abc9645488a470fddca01216b95ee944895d3e08bbd6b89d813068f1a14b5cf5c2dcfae7c2c816d63b05df9f95276e9966e7143192c2c SHA512 03b252e9a59302c0ea9b0e790541bbf0e15fbbc3e37bee987a8c85dcc8ac252575bddca46003773a00105e7c7ffbac4a7cc95f6ee54dbac550533474f6d952bc +DIST boto3-1.28.62.gh.tar.gz 712305 BLAKE2B 1d61f857143f9471a254e035cf532cab38699262b116ccc40e922005bf90ca64a33b7aa7f64df8b0641f58e250d9b6000977a50be10e5ebe93dcbf54148276b7 SHA512 f13d8f812caa650d877ecb3ae72a47ed6f93dfbfede62588266909917a1af6c8c446dbefd130d39f9a5dd156e1b9eca96a0ae084bfbadf926cdcfabfc255633c EBUILD boto3-1.28.53.ebuild 1581 BLAKE2B 0bd744caa1591cf114c8ce87e14d9af4afd13782c7e012c6701b9a13b66d913798bffa5a79753d1bd9c5928893c6b92478d9d3c8a764d59982bc864bcbd0619f SHA512 e3985f59bcdc4548dc51ca23290b3ac4d9d0b5e6f214e3e7a73dde99232ba7fde47983aa8fdd6679d148f4ab56c0b01906e431c33c3f9b8eebc7cb75f99b74dc EBUILD boto3-1.28.57.ebuild 1588 BLAKE2B bfcf68e1a1dffa36c71f030ad8743b59c9170c34a425a7982ee81d1fb0df1c29fdecefa7b55f373557b735d60ab51d510ca398edd4045def5fffb6d4d4d9d579 SHA512 1bca684f585a51d8b58a594c71974b36b145912550f051d6d4c84ba28bce949ec10c112a6f7bfa8f60fa362d9126d9a830243ab36595754bef02f19e02161bb8 EBUILD boto3-1.28.61.ebuild 1588 BLAKE2B bfcf68e1a1dffa36c71f030ad8743b59c9170c34a425a7982ee81d1fb0df1c29fdecefa7b55f373557b735d60ab51d510ca398edd4045def5fffb6d4d4d9d579 SHA512 1bca684f585a51d8b58a594c71974b36b145912550f051d6d4c84ba28bce949ec10c112a6f7bfa8f60fa362d9126d9a830243ab36595754bef02f19e02161bb8 +EBUILD boto3-1.28.62.ebuild 1588 BLAKE2B bfcf68e1a1dffa36c71f030ad8743b59c9170c34a425a7982ee81d1fb0df1c29fdecefa7b55f373557b735d60ab51d510ca398edd4045def5fffb6d4d4d9d579 SHA512 1bca684f585a51d8b58a594c71974b36b145912550f051d6d4c84ba28bce949ec10c112a6f7bfa8f60fa362d9126d9a830243ab36595754bef02f19e02161bb8 EBUILD boto3-9999.ebuild 1588 BLAKE2B bfcf68e1a1dffa36c71f030ad8743b59c9170c34a425a7982ee81d1fb0df1c29fdecefa7b55f373557b735d60ab51d510ca398edd4045def5fffb6d4d4d9d579 SHA512 1bca684f585a51d8b58a594c71974b36b145912550f051d6d4c84ba28bce949ec10c112a6f7bfa8f60fa362d9126d9a830243ab36595754bef02f19e02161bb8 MISC metadata.xml 493 BLAKE2B 7d6324fc877ffe1d20c5369c2af0b09a7028f94d28f1841188913d0d8be7ea699c9d3f92c624992c4c96bd69615d3a1211a2483c76c56b7d3082492e43512523 SHA512 44420d8c03d5986f990b76369edfa8dfd7659b4952db3ad946fd05392ec594628a28745ad888d055d4f074d5214f61fcffafe6c04c4ab54109d45ac0371582bd diff --git a/dev-python/boto3/boto3-1.28.62.ebuild b/dev-python/boto3/boto3-1.28.62.ebuild new file mode 100644 index 000000000000..a37cc38af2f3 --- /dev/null +++ b/dev-python/boto3/boto3-1.28.62.ebuild @@ -0,0 +1,68 @@ +# 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} ) + +inherit distutils-r1 multiprocessing + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/boto3" + inherit git-r3 + BOTOCORE_PV=${PV} +else + SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + + # botocore is x.(y+3).z + BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" +fi + +RDEPEND=" + >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.7.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +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} \ + -p xdist -n "$(makeopts_jobs)" --dist=worksteal +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index cd69344490c2..1c35719f5b4b 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -1,8 +1,10 @@ DIST botocore-1.31.53.gh.tar.gz 11950545 BLAKE2B 2fef49b98179046203470c6dc145b13a1ff4ddec4eb3ac0bc8f9668b4d7ef9dfdee096f91abb8ede1e1abfffe55f72c9c38c63587b79082a2de7de84e4c9f273 SHA512 2c4d9761ee3cc8b73e60de3388475c64cbd562efd8265a098ba49731751d2c501167d84b010984a0dd738bb1e71a85db6f86aea68c86e9db5ed8613304570529 DIST botocore-1.31.57.gh.tar.gz 11899280 BLAKE2B 047cba5850b024dd4070346eb2c635696f9684a38ea458357c934295e86d33b65e3b9f8e98e5fa96d2f0ba18c68bfc970c1fe7ad13bbfc0e83ede4ae4b6dbb88 SHA512 512bfd31a3534213977f6d05cf8603222e9517cc0d95cdf0fa3c9f9565f0f08cb7e646830a5d5093df7ca5b84c82db2887648e7b7cf47411486c664c730963d9 DIST botocore-1.31.61.gh.tar.gz 11959525 BLAKE2B 27797d055bf54b91b5eeda7a41baddc9d2def1952109a7a4a48def20c6f1ffd36d8c316ea4624cfea96a8a3e58ee7f463491b157103e9ac40c6214295fd4b823 SHA512 7045d0fcacd80f531f29f6ba3a91dc390d6cb562ecdff4d1bc99e96191f743a7f08cda6699455d658ee21e6798e38abea730653779de5d6b489b8c1637b9d5b1 +DIST botocore-1.31.62.gh.tar.gz 11961556 BLAKE2B 315a1ba1543ba5b92c0a0394a4a21b124a9435e660daef43164cd61ce0b5924c6ba9fa82e41c32b4ae7f0e89783abbe107abf11c807e81a3cb2f883352935053 SHA512 ba13c945fe9308bcc053d459b8934ea358e734b3079620ceb4d4df8274426f349a0ff26190d45275ca05588d48c692338c2dbdbde5122fdda79556af64cfb6c8 EBUILD botocore-1.31.53.ebuild 1592 BLAKE2B c5a131514206b9f7ef98aaed462ec767d932eeea538773e42ca99947021c1041dbffcd6e2f46d892031cc069e60a9a0ca607d9550ac1c5aeed89d1054e00a1b2 SHA512 056d3df23d41a7a44604241a9cad27b7052f065f5e4cf9fc335cc0228ff6e27cdc744cc9e1a33f5b77414dc598467ac436588e6f1e1375464b8ea5961dbec73f EBUILD botocore-1.31.57.ebuild 1599 BLAKE2B 8325845842cef976827216365bd3f88b7865bb4ce82764b121a42bb99d98952042223281fa66e6e31ec83e39c4fc585672fbab6426a7df79aa945df720d42a1b SHA512 ade15b4567ae00f08a0f5895d967ad3f37af15c24b3169e9319fd7d3c3a3316f34d989b225a928c8c72c2656e4c8f79d61e8b7ddd17e179adf7ff67bcbac6efb EBUILD botocore-1.31.61.ebuild 1599 BLAKE2B 8325845842cef976827216365bd3f88b7865bb4ce82764b121a42bb99d98952042223281fa66e6e31ec83e39c4fc585672fbab6426a7df79aa945df720d42a1b SHA512 ade15b4567ae00f08a0f5895d967ad3f37af15c24b3169e9319fd7d3c3a3316f34d989b225a928c8c72c2656e4c8f79d61e8b7ddd17e179adf7ff67bcbac6efb +EBUILD botocore-1.31.62.ebuild 1599 BLAKE2B 8325845842cef976827216365bd3f88b7865bb4ce82764b121a42bb99d98952042223281fa66e6e31ec83e39c4fc585672fbab6426a7df79aa945df720d42a1b SHA512 ade15b4567ae00f08a0f5895d967ad3f37af15c24b3169e9319fd7d3c3a3316f34d989b225a928c8c72c2656e4c8f79d61e8b7ddd17e179adf7ff67bcbac6efb EBUILD botocore-9999.ebuild 1599 BLAKE2B 8325845842cef976827216365bd3f88b7865bb4ce82764b121a42bb99d98952042223281fa66e6e31ec83e39c4fc585672fbab6426a7df79aa945df720d42a1b SHA512 ade15b4567ae00f08a0f5895d967ad3f37af15c24b3169e9319fd7d3c3a3316f34d989b225a928c8c72c2656e4c8f79d61e8b7ddd17e179adf7ff67bcbac6efb MISC metadata.xml 499 BLAKE2B e5aaa7da26f200c09adfdf38b68f656bbccbec627cb5d966b280ac2165334e7eec659c89075bcace748f58e2ec3e7d2998e54a688d56ecea2d30653c67dfd35a SHA512 103c554d5dbd967bf9b6e418b3913d9235e7e910d012160909ce0715134ed2e37b06e6a345395f9d16ce08d1cf51f3ce458bce93c6a978fd3dca6610f2acdbd0 diff --git a/dev-python/botocore/botocore-1.31.62.ebuild b/dev-python/botocore/botocore-1.31.62.ebuild new file mode 100644 index 000000000000..7cacb5c3f634 --- /dev/null +++ b/dev-python/botocore/botocore-1.31.62.ebuild @@ -0,0 +1,68 @@ +# 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} ) + +inherit distutils-r1 multiprocessing + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/botocore" + inherit git-r3 +else + SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +fi + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + <dev-python/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +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 EPYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} -p xdist -n "$(makeopts_jobs)" +} diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index c61b62684407..54462d9e5375 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -1,5 +1,7 @@ DIST cfn-lint-0.80.3.tar.gz 3685775 BLAKE2B 3b8d233e64d2060b124eb560aa963c3ae06a53a68f0e2ad1e7824a4b136ba0bb3ab2c7a3b5bcd72e3350531672cd1da4b98ad8bd1348b6efc80a8adce7e276a8 SHA512 d5afd13db145200d4ca9679a41436b48e92e391db2c5a9f60feffbe735a3ef013b11f2d2bdee4fa04da862b99cabf5a4aa62648418ce68eeddc9dff0f95235c1 DIST cfn-lint-0.80.4.tar.gz 3657880 BLAKE2B 8507c2381bfb7e7f796eb8fbc505bbda48bdb217d9357063289d66307140914dce7d40de8851b0459e6f6154bc3e09d4d0e30da5e1f1cdcf0fad6e8f8b00f3d3 SHA512 a09954b014d2cf677b97012b2635345f94cefbe227f4040eed80aad5ee602daa2542a636295a4c90ad60bcf4e8eb9015a5b9de75c72ffcb903a6ec460a22267e +DIST cfn-lint-0.81.0.tar.gz 3688759 BLAKE2B 595429d5891b5a4b563645c2b3ba55e8c79179419de73bbaf7298462c40431074ac4c31c7b4fabd037ed252771f3961a006cc2ea4095b79bf0e7dab4c952b4d3 SHA512 cbc4a7183c147df9c057420dd9f407762fd79a76447212a4c8ae183c3915061b2a93d3d1cc18a733ac809a81463b1f8cab68b031af50c56441b269c559abf7c0 EBUILD cfn-lint-0.80.3.ebuild 2066 BLAKE2B 796df054c86bcd34236e7862575bdd323ea2b664f0f4aeef1f0cc0a6701abcee2b581115f08bc339d3ab39285316f13f87698533a926a5202cd35a3fb2a1c671 SHA512 94c3cbfbfd0b310086112fe34fcc5314941c3459990ed24bf9df2e3ef954876b532fb10751187770f7f94c614bdbec765c18f75ab659b9978a60c34e3f74a1e1 EBUILD cfn-lint-0.80.4.ebuild 2068 BLAKE2B 9c1980d65cce4e1343db0d4c3e8bb488f4a6790f1b45aa4f4e68ba117a8b2257ac44c722ba77d8ba1fe5582513d829b7ab7df19b466e04041323c933681abe5d SHA512 0cee2a5e229063d39ecd2fb276e7a1b046e6f27801c5c4408c58973b54f073060b53834e20c08937abd8c8a1352b935977ac811efd26615b0af5e603de7d8433 +EBUILD cfn-lint-0.81.0.ebuild 2068 BLAKE2B 6a553b2b5b7f4fdef344a98f64068fcb00670ed1dc91b8d67447b4d8554db05defae8b8b5aff2371c832c2f32f9f6a25c2ccfabe103a7329cffe1ce49c82cef9 SHA512 b4765b94f84435328941d01100306db3bb9a322e9a61aea7884e90c982a26969e860e39eb351e968c8cbfa246e35624136010f3df6d6bb4055a36c93aae4b1c0 MISC metadata.xml 583 BLAKE2B 9f73e2b92e5cfa2ad59f5c8e5d91bdd3aa9eba3fa722b93b388cffea42020db7e7441bab5749432812934a4514d3e9104e6d897e1d115afa5ed237757bd48c03 SHA512 1866a349855ae4e248498b7aabd6ce4c4e10ea58731df4bfa13500f61dc041da6dbd7420e7d6a78fad46d5cf00bd7ef2d0c4c7d6819a21b3a5031b0d49588a19 diff --git a/dev-python/cfn-lint/cfn-lint-0.81.0.ebuild b/dev-python/cfn-lint/cfn-lint-0.81.0.ebuild new file mode 100644 index 000000000000..ed04444ce9f3 --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-0.81.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2023 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..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="CloudFormation Linter" +HOMEPAGE=" + https://github.com/aws-cloudformation/cfn-lint/ + https://pypi.org/project/cfn-lint/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/aws-sam-translator-1.75.0[${PYTHON_USEDEP}] + dev-python/jsonpatch[${PYTHON_USEDEP}] + >=dev-python/jschema_to_python-1.2.3[${PYTHON_USEDEP}] + <dev-python/jsonschema-5[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}] + dev-python/junit-xml[${PYTHON_USEDEP}] + <dev-python/networkx-4[${PYTHON_USEDEP}] + >dev-python/pyyaml-5.4[${PYTHON_USEDEP}] + >=dev-python/requests-2.15.0[${PYTHON_USEDEP}] + >=dev-python/regex-2021.7.1[${PYTHON_USEDEP}] + >=dev-python/sarif_om-1.0.4[${PYTHON_USEDEP}] + >=dev-python/sympy-1.0.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_prepare() { + # unpin the deps + sed -e 's:~=[0-9.]*::' -i setup.py || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO + test/unit/module/test_template.py::TestTemplate::test_build_graph + # requires git repo + test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs + # Internet + test/unit/module/formatters/test_formatters.py::TestFormatters::test_sarif_formatter + test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_3 + # TODO: it looks as if AWS_DEFAULT_REGION didn't work + test/unit/module/core/test_run_cli.py::TestCli::test_bad_config + test/unit/module/core/test_run_cli.py::TestCli::test_override_parameters + test/unit/module/core/test_run_cli.py::TestCli::test_positional_template_parameters + test/unit/module/core/test_run_cli.py::TestCli::test_template_config + ) + + # from tox.ini + local -x AWS_DEFAULT_REGION=us-east-1 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/greenlet/Manifest b/dev-python/greenlet/Manifest index 116e6a5ed2c5..b5a222495185 100644 --- a/dev-python/greenlet/Manifest +++ b/dev-python/greenlet/Manifest @@ -1,3 +1,5 @@ DIST greenlet-2.0.2.tar.gz 164980 BLAKE2B 1afa8390e96d7eeafd84a4323a4eb9e4b2cad50a3e6654b1609702a5a74dfb5dadc7a1ff81cc8e7718d0587728c2ec944069db8241f1aa0723d2f98e6911ddb6 SHA512 03d0b2764c52524c97930a7bd856a432360a96ddbe3d1f2352ec49750994e6811fd28378f83b96cac91520234d0a6e9e56232ff688c71ff57f6340d3d182635b +DIST greenlet-3.0.0.tar.gz 174704 BLAKE2B d2bcb1760091434369032e26923a18c158b4d58b852f8db5c4f1a41e141723048553366879662760ca0390ee8b438e1b4c9df0fc4f2ea7f3bf25afa41d434a28 SHA512 422f6b525acbe9909fe8103635ecd83485ec753cc879c2e5c194ba0f35161412331cc00bc29c1221c69101feb84604737b215b2f3edbc397f7fada05c6fec20c EBUILD greenlet-2.0.2.ebuild 965 BLAKE2B c051c6170e8b14c0f0ad391ebb444b2a1282f0a64f07054d550d3caea74c07e63a24327a023adf4a7a23458d51566149555d68cba08ce1acef269efc9c5576cf SHA512 477b7e85a4f39dfb4102fe35ef2ed045ccebea44102faae595655dc9e0464c98345a923055dabf9cea6f44cc0fcd839d40dc0164339c61bff7d4a9b31af7912a +EBUILD greenlet-3.0.0.ebuild 973 BLAKE2B 4a3cec990f1a4b6e5c5918fc8a6a0bdca215739178e7eca84ae0f5f429d171bcb3d487f1539fadc02500c0b63b2f393417bd966f8171bbd2ef248772eb96eb05 SHA512 533a10f956ce5e6b8bbec1abeda36ecb2005fad50e1520e4d65ea4e23f00bc265f8331c923421c9b72446fe5858ac257093947b43817120ed60b0c4c59c4e64e MISC metadata.xml 388 BLAKE2B db0aba92c5c405fa5736f97c2db14319514e95296ad11aa9aac26e95bdb630961e2ae430cbfcdf2b72425c805b83556f3dda6983dde075be3cb0a3f7d0a45e8f SHA512 3b9003e181f15b46ddd5af3e4a6012f115ca42be0bf2f4e40c0fbb196231de8a5b1320d402de6d4105f61d7e4fd5d868131404796cea19a7547a53ee17c26ce1 diff --git a/dev-python/greenlet/greenlet-3.0.0.ebuild b/dev-python/greenlet/greenlet-3.0.0.ebuild new file mode 100644 index 000000000000..159e76097dff --- /dev/null +++ b/dev-python/greenlet/greenlet-3.0.0.ebuild @@ -0,0 +1,42 @@ +# 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 +# Note: greenlet is built-in in pypy +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Lightweight in-process concurrent programming" +HOMEPAGE=" + https://greenlet.readthedocs.io/en/latest/ + https://github.com/python-greenlet/greenlet/ + https://pypi.org/project/greenlet/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 -hppa -ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" + +BDEPEND=" + test? ( + dev-python/objgraph[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs +distutils_enable_tests unittest + +src_prepare() { + # patch cflag manipulations out + sed -i -e 's:global_compile_args[.]append.*:pass:' setup.py || die + distutils-r1_src_prepare +} + +python_test() { + eunittest greenlet.tests +} diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index e14a6cd2ab1c..2df58a0c1cd4 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -1,7 +1,9 @@ DIST hypothesis-6.84.3.gh.tar.gz 9386113 BLAKE2B 9d990b1634e7cd12f933f3a53b4231f8df40bc33a7cbe742832ac74510471a54f8d7a23eaaa23a43b54466120be85ded0820ced8f0b1aee556032e4a8bb0a423 SHA512 84669e76c30a1b47439c826f67e11fce4eb6cf22a6ac09f91f3d07b1b02cbc972096431deb67ef8c63f12e3dbd7bcad35bc24b469a354d7808ca8d96d816c611 DIST hypothesis-6.87.1.gh.tar.gz 9388383 BLAKE2B 0b0b9156566a84f4e5972960dbf5ec68c68703e0be0ac31392919a5177332f1dccfc7519c0a58ea2ed9f758f1b9d7e601b30e72db63c85031f5136b83c6dd255 SHA512 1f946d99ecbb3392b105ed479b43a72034d1563c541d1bdc263c76495b05e7e9881585cad50b6c0453e083b05e1ebd1c2ff0cf5a8b98f0f7ce68f009d23dbfeb DIST hypothesis-6.87.2.gh.tar.gz 9388126 BLAKE2B c73c52b6f75b212bd9683e936edb4605aeebff7f7aad8bafdf4097a7793967b4d9fac78385e8fdec3f6fcea94c74cb624a8376ee2ec338a426075a80d70b2eb1 SHA512 2276d4ac43e29245b1c1d7cd810bc0bf97f4088c0900fcc5387465e8cd1d13648c0ae66a4c4632bf4affe9b03f5063092f805fea27ac533f33e14b14106dddfb +DIST hypothesis-6.87.3.gh.tar.gz 9388318 BLAKE2B 61dea9f0898cadef747871e2ef137ed8c68b1cfa43cc0b7a3effd6669b8dc7d8809f39af4f0a915831e3e2950280d132650d8d2193664a08c6f026f98db82330 SHA512 c7c0388c06e8d9397e8a9e6103525c5ea0f94017dad71f4547ff6b385f76f88e511b5f8a5b64f76c728379fbca8ad3b77e06b0d474d76f7f68c79fe1e087da91 EBUILD hypothesis-6.84.3.ebuild 2511 BLAKE2B 9389f6ffe637dd247a8d88adb96369e26bb1f4cac65da682bb9e3ad9098fa6d7c9012f795b4adedd27090f42429df472d14babfd5dfaaa2cc24d85249a57c269 SHA512 197e8fa7170492329b6d6a5924672009edaddd9c626b2bc0c5c54263f77634331a7ed51f8c566471c8ccceafcb16be10951582cd05a00aac0786d6e194e9a0cd EBUILD hypothesis-6.87.1.ebuild 2519 BLAKE2B 4a6da12f06a6172d03a6404f2869e1c71a39d97961d93c8b1af4369597d00b773b16f7fc40a8bd80c4b2525c490d67b708046894feb86403563859cc20c45974 SHA512 aacb5ee7464fc4bef490f9f4bdb558ac38310bfa226c1a49a9b82a854cf814d68b5154386130c68fc396d74650d2533d51487e17ebaef049b283417f5c677cb8 EBUILD hypothesis-6.87.2.ebuild 2519 BLAKE2B 4a6da12f06a6172d03a6404f2869e1c71a39d97961d93c8b1af4369597d00b773b16f7fc40a8bd80c4b2525c490d67b708046894feb86403563859cc20c45974 SHA512 aacb5ee7464fc4bef490f9f4bdb558ac38310bfa226c1a49a9b82a854cf814d68b5154386130c68fc396d74650d2533d51487e17ebaef049b283417f5c677cb8 +EBUILD hypothesis-6.87.3.ebuild 2519 BLAKE2B 4a6da12f06a6172d03a6404f2869e1c71a39d97961d93c8b1af4369597d00b773b16f7fc40a8bd80c4b2525c490d67b708046894feb86403563859cc20c45974 SHA512 aacb5ee7464fc4bef490f9f4bdb558ac38310bfa226c1a49a9b82a854cf814d68b5154386130c68fc396d74650d2533d51487e17ebaef049b283417f5c677cb8 MISC metadata.xml 492 BLAKE2B c9e9bbd59af55d1f47e5b7a86933c02b47f832122d03eaca56bd3ec9476cf260d91d4fd2da5068845d4525b7cc9f702b515e8d6a0dffa7923f5898cfd44e12a1 SHA512 166b33d6ac887f52d54fb9d556102038c00650a597d2de1c3aad3f8b5e136e9b6b7db31f05f3379435e4c5f943156d5839d78fc95461af411037a3162ea6705e diff --git a/dev-python/hypothesis/hypothesis-6.87.3.ebuild b/dev-python/hypothesis/hypothesis-6.87.3.ebuild new file mode 100644 index 000000000000..0d6df2a9e475 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.87.3.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( "${CLI_COMPAT[@]}" pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 multiprocessing optfeature + +TAG=hypothesis-python-${PV} +MY_P=hypothesis-${TAG} +DESCRIPTION="A library for property based testing" +HOMEPAGE=" + https://github.com/HypothesisWorks/hypothesis/ + https://pypi.org/project/hypothesis/ +" +SRC_URI=" + https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}/hypothesis-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="cli" + +RDEPEND=" + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] + ' 3.9 3.10) + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' "${CLI_COMPAT[@]}") + ) +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + !!<dev-python/requests-toolbelt-0.10.1 + ) +" + +distutils_enable_tests pytest + +python_test() { + # subtests are broken by warnings from random plugins + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=xdist.plugin,pytest_forked,_hypothesis_pytestplugin + local -x HYPOTHESIS_NO_PLUGINS=1 + + # NB: paths need to be relative to pytest.ini, + # i.e. start with hypothesis-python/ + local EPYTEST_DESELECT=() + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # failing due to warnings from numpy/cython + hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture + ) + ;; + esac + + epytest -o filterwarnings= -n "$(makeopts_jobs)" --dist=worksteal \ + tests/cover tests/pytest tests/quality +} + +python_install() { + distutils-r1_python_install + if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then + rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die + fi +} + +pkg_postinst() { + optfeature "datetime support" dev-python/pytz + optfeature "dateutil support" dev-python/python-dateutil + optfeature "numpy support" dev-python/numpy + optfeature "django support" dev-python/django dev-python/pytz + optfeature "pandas support" dev-python/pandas + optfeature "pytest support" dev-python/pytest +} diff --git a/dev-python/jq/Manifest b/dev-python/jq/Manifest index 8d78346aa3a3..b5dfa49cd8cc 100644 --- a/dev-python/jq/Manifest +++ b/dev-python/jq/Manifest @@ -1,9 +1,3 @@ -AUX jq-1.5.0-cython3.patch 752 BLAKE2B ec9bb79fb0ae51791d120c8194fdefbd78faea0e6cff391e35ff223f28932bdfe677c68edadf05648e0f10f0662893761e4d08fcb5fc8518963ef12208e149eb SHA512 2f93667c56e273c93ecd8cad82f031315c5028d29435cf4c3d58e44344035d21faf6f0fbb91f35614b2abedd931b6e440990b8e899a927768765c4280b651f28 -DIST jq.py-1.4.1.gh.tar.gz 2648592 BLAKE2B b1413a07ba03f61d3b2e8cfa3f2c646408e24139f76fb9637d23968d953fa78f82b1dd04c355d5a6e6c6761095a4814d8cfd1f012382ca810ad5a44e007c7878 SHA512 03924793e8cab8041b4b2ecb8ef45bafdf31f14b4502170358ddecc027ead7cc17eda37fc04743eeef073e29144d2f7e6c4428e2a92f1bb8aa859100dce4521b -DIST jq.py-1.5.0.gh.tar.gz 2649404 BLAKE2B 9dfe8f17e061eaea44de31be17cbb18607dc118d526a652a80e2d69b30fa532f412b9b20b1c72418f4d6904b43126611344b2257bc9cb3441086ef3e8f131a6e SHA512 826771ced7d707111b7bc6d1f7a408944690daa8bfb6ec135627a15c3fcfba95a525b8ee3005f8a6e5d23afbeaacc06ad7464e3c3a0a15cf5582d97121c64248 DIST jq.py-1.6.0.gh.tar.gz 2842673 BLAKE2B 5ef2d2c6641483123b030c508b04e8f1574a5ca3168a2bacfd7c5a4ad01344d677f723cc3317677275496bd56412c5ab64370ed87b70dcb91dd1d8328daf65a8 SHA512 91e2c0890cece4f09e362c0ae691c768be64ba0d8e0d7441c9a459be37ff70ee816d179c21759ee053b2b434fc0a6998d90b660ae1f1456d4f506474cb80d88e -EBUILD jq-1.4.1.ebuild 810 BLAKE2B 0e0c8737a3c664855b380365e17f4e3576071f0e2c937319a269cfa80a6cfcf82a2578085bc1770e2e98913bdc2c383bfb37102e25484f457d01aa1d3170c045 SHA512 89e838594713de630f260e4dd6db08774ab2101c05749b4eccd0c6f93ef15e04399827e4e47a345d4330b7e825c2a98ff74c4378ecd88686a0bfbc4af0f36a69 -EBUILD jq-1.5.0-r1.ebuild 869 BLAKE2B e3921add0fe770640332e78ab17c5e872eecd8e492de174ddcbcb668ea18344b448e9ead8e72d054a158a9f76c893802c2a26f8a795a3aa1f9770c56195dd07d SHA512 cb3a7845c77bb0ef57b8b918b6f1200795d1e9ef6056bddd575ff960fd38c31d5cece17b8a4476c1a6bec2f31bcae64d887b28e6f614a76214c2905368eccc3a -EBUILD jq-1.5.0.ebuild 812 BLAKE2B 598a47ca1c9a48097faba953e144856102e3efbaaeb6adaa1c6974aa1a99f7d9ddfc0d1d926c2989d9993f60db08b91efd6cf9a63cc18d539e98505134f7cd98 SHA512 17e42a1686f8cd8f2fd4c2c6faac51b36158989b9f411283b72af240173ae93f054c6c599901567d2e63ce5ed53cf53a6cd25050f28b0b8ff492474bd2f8bc5e EBUILD jq-1.6.0-r1.ebuild 955 BLAKE2B fd62f64d5a75a9cb4ee52c2271f3b648aa01f6462c27a9c820bcb0196909344a854f8a24abe1074da6dfe99e2413186babf3defcc163bc75079626b001dabc51 SHA512 dbf8fc172353e27c82ec3c7ca4318b9d5fa80a40ff24a28f7e396d3cbfc6463ddb6ba5d28425c65ec53a28b1dfcc7e670c2951a157219ed56f2f666e64dc3043 MISC metadata.xml 367 BLAKE2B b17eb2d9c460774d98ba18faf8a09d1c9c711433d0dfcff08df4f769411db66fdb2241d12ebc706664cdef98d9dbeb290614446112f53ecede571f77aa085174 SHA512 399b63613673deaef747fd380d6bdc086a4e4b57c5509b15fd6e031ea613ccf59641c95064fc7dbbf61f8d879fe03faf7e8298e4e8792a8a0b7a2bb3225e77c9 diff --git a/dev-python/jq/files/jq-1.5.0-cython3.patch b/dev-python/jq/files/jq-1.5.0-cython3.patch deleted file mode 100644 index b4b66b65139c..000000000000 --- a/dev-python/jq/files/jq-1.5.0-cython3.patch +++ /dev/null @@ -1,20 +0,0 @@ -https://bugs.gentoo.org/898684 -https://github.com/mwilliamson/jq.py/commit/c2c7ed1f25b51947ebb690f6b8464c78fe83bb2b - -From c2c7ed1f25b51947ebb690f6b8464c78fe83bb2b Mon Sep 17 00:00:00 2001 -From: Michael Williamson <mike@zwobble.org> -Date: Thu, 31 Aug 2023 23:11:28 +0100 -Subject: [PATCH] Add explicit noexcept to _store_error for Cython 3 - compatibility - ---- a/jq.pyx -+++ b/jq.pyx -@@ -172,7 +172,7 @@ cdef jq_state* _compile(object program_bytes, object args) except NULL: - return jq - - --cdef void _store_error(void* store_ptr, jv error): -+cdef void _store_error(void* store_ptr, jv error) noexcept: - # TODO: handle errors not of JV_KIND_STRING - cdef _ErrorStore store = <_ErrorStore>store_ptr - if jv_get_kind(error) == JV_KIND_STRING: diff --git a/dev-python/jq/jq-1.4.1.ebuild b/dev-python/jq/jq-1.4.1.ebuild deleted file mode 100644 index 093658b0c385..000000000000 --- a/dev-python/jq/jq-1.4.1.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 2021-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=( python3_{10..12} ) - -inherit distutils-r1 - -MY_P="jq.py-${PV}" -DESCRIPTION="Python bindings for jq" -HOMEPAGE=" - https://github.com/mwilliamson/jq.py/ - https://pypi.org/project/jq/ -" -SRC_URI=" - https://github.com/mwilliamson/jq.py/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="amd64 x86" - -# cython<3: https://bugs.gentoo.org/898684 -BDEPEND=" - <dev-python/cython-3[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -python_compile() { - # Cython compilation isn't part of setup.py, so do it manually - "${EPYTHON}" -m cython -3 jq.pyx -o jq.c || die - distutils-r1_python_compile -} diff --git a/dev-python/jq/jq-1.5.0-r1.ebuild b/dev-python/jq/jq-1.5.0-r1.ebuild deleted file mode 100644 index cabe52d95c3b..000000000000 --- a/dev-python/jq/jq-1.5.0-r1.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 2021-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=( python3_{10..12} ) - -inherit distutils-r1 - -MY_P="jq.py-${PV}" -DESCRIPTION="Python bindings for jq" -HOMEPAGE=" - https://github.com/mwilliamson/jq.py/ - https://pypi.org/project/jq/ -" -SRC_URI=" - https://github.com/mwilliamson/jq.py/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] -" - -PATCHES=( - "${FILESDIR}"/${P}-cython3.patch -) - -distutils_enable_tests pytest - -python_compile() { - # TODO: export JQPY_USE_SYSTEM_LIBS=1 on next release - - # Cython compilation isn't part of setup.py, so do it manually - "${EPYTHON}" -m cython -3 jq.pyx -o jq.c || die - distutils-r1_python_compile -} diff --git a/dev-python/jq/jq-1.5.0.ebuild b/dev-python/jq/jq-1.5.0.ebuild deleted file mode 100644 index bbe209456231..000000000000 --- a/dev-python/jq/jq-1.5.0.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 2021-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=( python3_{10..12} ) - -inherit distutils-r1 - -MY_P="jq.py-${PV}" -DESCRIPTION="Python bindings for jq" -HOMEPAGE=" - https://github.com/mwilliamson/jq.py/ - https://pypi.org/project/jq/ -" -SRC_URI=" - https://github.com/mwilliamson/jq.py/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -# cython<3: https://bugs.gentoo.org/898684 -BDEPEND=" - <dev-python/cython-3[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -python_compile() { - # Cython compilation isn't part of setup.py, so do it manually - "${EPYTHON}" -m cython -3 jq.pyx -o jq.c || die - distutils-r1_python_compile -} diff --git a/dev-python/markdown/Manifest b/dev-python/markdown/Manifest index 7477bf0bffe4..323e0e798d67 100644 --- a/dev-python/markdown/Manifest +++ b/dev-python/markdown/Manifest @@ -1,3 +1,5 @@ DIST Markdown-3.4.4.tar.gz 324459 BLAKE2B 3ff05a2c8e51905f16b0cb8cda51c65e47c9d02091487fe48edf7a8ab4a73003c3469f1ce9e80f0ca6d73a30d1f22d4b6fbc1c52c34506951376aa899938665e SHA512 39e808d5a4a07b57e931a844c3d8f6fe564849f8b5922eef6708e5a600cf7e742d92617d9d9649cab0eab34a6ffc7bc97e9ea960ffef75e9062aa375769e6a28 +DIST Markdown-3.5.tar.gz 348161 BLAKE2B b7a639f9da5d5278fd3e4b023f25f435ee526fd9b7314c546a72903efbfab00de5f6df6718899df3269337bb52cc78de2793c44967ab13164d9878868d5ddf45 SHA512 309b6161bbfdc71a8e62b2ea299febb765bafe2e4123198a72038ae587cbba0ca00cdb3b514ecb5cd8117425f2031fa0260bd52fac7de158e12253edbc185422 EBUILD markdown-3.4.4.ebuild 890 BLAKE2B 6d8e58aa2d1067309df33955da9edfe832c4782a9182e15c15a86ac440fbc4ed103e6120607e78487537fb8d54cde9034535235e0a5b966403da0e2a3f35e0a6 SHA512 962861a9d8e10f2d4235f2faf7543668ce362ac9034152e0d56a243f657ac53969b7ca116e01f822ac27b47d571dec50962110e7601630d21e75d7cd6984d371 +EBUILD markdown-3.5.ebuild 898 BLAKE2B c1865390312bf5881d9b591bec0bb8141cb8c93ae143a5a1db16661254130bda49812dedc088a0886a376074ab3d08689b5bc8153f1dfdf47a7c4a0d948a4662 SHA512 7dd53a9f58fbcbcb998eb15fa2722cd8e6563f08c0668b8a72a0a90aacc0d0d2e82e6da05cf436e8844737418b533c146bc93fc4865b5f8514527edbed0f0ff7 MISC metadata.xml 400 BLAKE2B 325197e9e700565d94ac477c4acefb1ccad5fea759bcb9bb980122f2a8fd0b7509fbf54768948b28a180392154d26d9a9068b996661a35ec79bb03998ae538f5 SHA512 68bb4ebfe231af6e30c3f8a9fafdab8f1b90fb67d942605d0366bfe504de0ae482da8c4e45279cf7bfae857ed9ccb0729a36f6ea1b18bd459e0dc3e1e3a9f6bf diff --git a/dev-python/markdown/markdown-3.5.ebuild b/dev-python/markdown/markdown-3.5.ebuild new file mode 100644 index 000000000000..dfb46050bef0 --- /dev/null +++ b/dev-python/markdown/markdown-3.5.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2023 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=${PN^} +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python implementation of the markdown markup language" +HOMEPAGE=" + https://python-markdown.github.io/ + https://pypi.org/project/Markdown/ + https://github.com/Python-Markdown/markdown/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="doc" + +BDEPEND=" + test? ( + dev-python/pygments[${PYTHON_USEDEP}] + dev-python/pytidylib[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +python_install_all() { + use doc && dodoc -r docs/ + + distutils-r1_python_install_all +} diff --git a/dev-python/pycares/Manifest b/dev-python/pycares/Manifest index 22b3814e7533..2769cfa72c1b 100644 --- a/dev-python/pycares/Manifest +++ b/dev-python/pycares/Manifest @@ -1,3 +1,5 @@ DIST pycares-4.3.0.gh.tar.gz 44577 BLAKE2B b69eeb34a2f8c9d7025dc74881431b3fc5489b7f7e9142bb9ecdaf217e495ad72b1a6a7dc484a52e6a01394bbfa6d0609b2054dd4a663176cfb73d980642a3e1 SHA512 1dad1a6722bdd2bc59cc4ca774cc9da243e61a442ef383c238714b1274e90359352c72d16a2c1af2fcce3ea92708a7e5cee89a9b3eb7c015f9a194051c685f52 +DIST pycares-4.4.0.tar.gz 821630 BLAKE2B c2bddc54db9cd6ba92d7c4fb3809609a8a3526bab68e4cf48f0fee2e7473828f70ca696be11b904e9c3f9241de8b13568cd0317c8cb305a4aca7356f1b74cfb5 SHA512 db387f21975d015e0fcb01972ffb018476d51331a7a49bb4c0bf23ccfa13dff3f8b9c21d5f11da8ece3018debf36b1cddea032ef860353203cf38ab2b3d01e8a EBUILD pycares-4.3.0.ebuild 1128 BLAKE2B 64346cc7503a9b61722dfa64dd061a3376e5b9b52ebad0d7ef44053accc3be90a1c541a6580302b2cc4b5c69ea5e968a7bb4cf0cef9a045588d00893ea628af7 SHA512 1df0b4851e6592929fb7bcb36b1a091406eeb95c5f7df24804c51ed9be73193aaaded614ae35dcd464c257cea7dc31a3481c9c25118e4597899773cfddefe576 +EBUILD pycares-4.4.0.ebuild 1081 BLAKE2B 1f37303665ba2106e87758acda33ff2819fda75808ab596fec0161316274865e197de75a5a195220e7bca8c43229c62c31aa30d52c0a6b55d5239129ab423877 SHA512 6cc0c4cc32fdf9b618947f05a00710e274ba20d1f7e339491fd381b3293ebdc7b5dd73a9f03b030203c4237fa2a1735285c1382b98943f6cfb99c1b691ef1547 MISC metadata.xml 444 BLAKE2B a68f545c6f704176b98ebb3665e2f56e4879016ea4ffa4f342954d568d6fe76ad67bcf9d521f694b8fc0f199bff50969eb646554fff4a78f8644ac44edda0cdf SHA512 fe893795f2031639d9fa27efcb8afbb5a3e0ac2eb2a05f0465391813d60fba07372633e40136ce38eb429bae95d1ae5dccecd0aba228537553524343133dd202 diff --git a/dev-python/pycares/pycares-4.4.0.ebuild b/dev-python/pycares/pycares-4.4.0.ebuild new file mode 100644 index 000000000000..64a4148b23ef --- /dev/null +++ b/dev-python/pycares/pycares-4.4.0.ebuild @@ -0,0 +1,55 @@ +# 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=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python interface for c-ares" +HOMEPAGE=" + https://github.com/saghul/pycares/ + https://pypi.org/project/pycares/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +IUSE="test" +# Tests fail with network-sandbox, since they try to resolve google.com +PROPERTIES="test_network" +RESTRICT="test" + +DEPEND=" + net-dns/c-ares:= +" +BDEPEND=" + $(python_gen_cond_dep ' + dev-python/cffi[${PYTHON_USEDEP}] + ' 'python*') +" +RDEPEND=" + dev-python/idna[${PYTHON_USEDEP}] + ${DEPEND} + ${BDEPEND} +" +BDEPEND+=" + test? ( + dev-python/idna[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # regression due to Internet changing (probably) + # https://github.com/saghul/pycares/issues/187 + tests/test_all.py::DNSTest::test_query_class_chaos + # TODO + tests/test_all.py::DNSTest::test_custom_resolvconf +) + +export PYCARES_USE_SYSTEM_LIB=1 diff --git a/dev-python/pywayland/Manifest b/dev-python/pywayland/Manifest index 3bb6f100180a..96daf524ce53 100644 --- a/dev-python/pywayland/Manifest +++ b/dev-python/pywayland/Manifest @@ -1,3 +1,5 @@ DIST pywayland-0.4.16.gh.tar.gz 61058 BLAKE2B 4b299fe1b3067e2e222012db921b4ae5fdfd103b0ca2b796522236b6b8b2ffc1e54ba8c97d30970cb5df35c9da18ca217ea5d97a37b11d7112d93c59a1df164f SHA512 1098e0ae88ffc874d1e49f6441f06db05d1bfebead06d65e1214d69542b9ada0ec45bfccd6fd11dd188b2ebcf3d0ac2a2370927af8a0838f4e683ec50fc5e01a +DIST pywayland-0.4.17.gh.tar.gz 61171 BLAKE2B f190107ab361ec9c0a568d22a104fa06a7e52a348a6226c30c2ae542b77e5b21b4a389ad745efb864b58cff9e77cb22ff43fd6614859cb138d398a84b99614a5 SHA512 9ca1e30b56f6d1447744451d15d84041d5ce6ce64811ca0e395822731f0c7cd1d8571f640b89771d8f5e9da1d82385734974e10e68ccecffc0f9600a83d2478b EBUILD pywayland-0.4.16.ebuild 1084 BLAKE2B d9e2e3b2cb74e80d0c4f787f7930ed5c48a9fa2743003f58c9f840d3b716c54c53253ef0172451eb4644be1dc65ce3b9a80a8db6a60819770d0cc533268221fd SHA512 d01d15fdf0cf7f5d7ab71738df751d4953b58faceda466e450c42d7273d743cd865968cc22979decbb90e026954cea9c58c9c7bc23afa719a1021a3e38f819ae +EBUILD pywayland-0.4.17.ebuild 1085 BLAKE2B 502c743718b03b21bf20e697f18d25ef8102cec757ae86c9ab7a987a0c538d81f19d6536044430329c1bce6fc4678f926867bae24a9f85fb00784c6d432b78f0 SHA512 2690503065aac0e1e976f4e8e218143ea9c296610f70965a686c4cbd99a23c8ddd866361c493411a06d641cc0a402d9eb6e690f9519b219c82918029d5b5afe1 MISC metadata.xml 351 BLAKE2B 51bf5663be6335bdc8644039f9a4b8e20a0304495bfe6a3cce703766f41636b0d9ee9dfe490b0ea695f68f34a20dfe8097d5872b56cda0c721baf2488dc8ddce SHA512 7b6c3e8c6125ddcf660cc0518de7d0887db40424bf5ed02e892d871cfb2fb0786dcf14bcab38b277528ac0aa454f483508e4c0b22c90799c6fc3526f33abd5a4 diff --git a/dev-python/pywayland/pywayland-0.4.17.ebuild b/dev-python/pywayland/pywayland-0.4.17.ebuild new file mode 100644 index 000000000000..3741622e025e --- /dev/null +++ b/dev-python/pywayland/pywayland-0.4.17.ebuild @@ -0,0 +1,55 @@ +# Copyright 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=( python3_{10..11} pypy3 ) + +inherit distutils-r1 xdg-utils + +DESCRIPTION="Python bindings for the libwayland library" +HOMEPAGE=" + https://pywayland.readthedocs.io/en/latest/ + https://github.com/flacjacket/pywayland + https://pypi.org/project/pywayland/ +" +SRC_URI=" + https://github.com/flacjacket/pywayland/archive/refs/tags/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" + +RDEPEND=" + dev-libs/wayland + $(python_gen_cond_dep ' + dev-python/cffi[${PYTHON_USEDEP}] + ' 'python*') +" +DEPEND=" + ${RDEPEND} + dev-libs/wayland-protocols +" +BDEPEND=" + dev-util/wayland-scanner +" + +distutils_enable_tests pytest + +python_prepare_all() { + # Needed for tests (XDG_RUNTIME_DIR) + xdg_environment_reset + distutils-r1_python_prepare_all +} + +python_test() { + # No die deliberately as sometimes it doesn't exist + rm -rf pywayland || die + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest index 54466d1066d7..4e770f99c6f1 100644 --- a/dev-python/sqlglot/Manifest +++ b/dev-python/sqlglot/Manifest @@ -2,12 +2,14 @@ DIST sqlglot-18.10.1.tar.gz 8803525 BLAKE2B 4e500eb9239fc5a3169a8f00aa022ff579f7 DIST sqlglot-18.11.2.tar.gz 8833005 BLAKE2B eee98c392bd40cc552cdb09a6d4e60ff21d0f75c59d2961994409de7ac44d702c28aa01472e4406dbb6c8ac4d3496e71fc4ac2bea5e82c48d47cdd98111d5e79 SHA512 855686bd8bdaba68f564dbff0005c0362c83b146fd5d6da3a3d948657384201d2fe825a758f960650f540dcaef5c073197fdfb34fe788331d20bcaf44f03a10a DIST sqlglot-18.11.3.tar.gz 8835268 BLAKE2B 040cd5cc449ff57e6107cf23a4973df622754300e4a8010f43e85de0394dc79c4d5c12c80304f9ac3519515702d8c753e59449fd2f96d9cab9e10d926b9f9980 SHA512 948bea3055e05e843aa9b8c9ea83c8435256bd645e02ae3fc0a3de987852c6e96fadf0e5b914ddac10d12ece3b7dc982ef9467564666eac14b07baf53838339a DIST sqlglot-18.11.4.tar.gz 8842825 BLAKE2B ce41cc8b15af33b2af18d91b55d778503d4534959a82c6af00402e39e71585578c60a967e217f1e3dbb8ede0bc650c4afdeced6aacf77699a963441716a85f60 SHA512 a6b8674573421852966751b07da847e68e20310c0ca90d6f5a0d31a74927a68b9b6381a47924080915330aa0e08afe3515263ea552c5c338b5369d7a17b87ece +DIST sqlglot-18.11.6.tar.gz 8851597 BLAKE2B 1d24c900dbe688a6aa94e714030af21e8ba91122078b1402d09c9a513ba59a2d4ff6afa5e239c6c6f00195bdada51a0970343bc2c1cb34c597df734323be2ca0 SHA512 64cd95dedb2ed53526a6b51f9a323fbe38e33f85fd828e1a5dd81c09771ede35b34c83103fe3563331cb6134b393a64fce7acca969a603942642724673222e47 DIST sqlglot-18.8.0.tar.gz 8764753 BLAKE2B f1a01a1dc939a53476d396c66e74b1ec0550f557ef2eac1bec5001229964e2838655d361612b20527fae0f8112ccc940295cd0d92e83d5ba1f272f4d9372374b SHA512 3e98ff8ad4e6061c41d90b33c7982b46b8e06680d14e989923077d61ac93d390df64df6ff182a1c87911979dd84ac493275bbc091bcdcc9a1dfce2a4091c7fa7 DIST sqlglot-18.9.0.tar.gz 8790638 BLAKE2B c951ee964b888dadaa3fd974bad89a689e9be9e5d17f42e5387c8c97152604205df7871294cb249ce9a0f6ed6a66fb41aba0f6596851e96252444c06908b91f1 SHA512 1e24d7936e94ced97ccc290634392434c064732017fa012b270632336663faa2315658e3dfc9d3bbd94648220f412c91cb9d0d4b97b3f26a21fa2129f4fce84a EBUILD sqlglot-18.10.1.ebuild 919 BLAKE2B d6c7bf029e48f9b11c305adbc89473b9bcb7277299a869569aeefe69dd63e4ac19c9a7e3c23ba8981e6d7f46b7e4611cbfcc18b871876e949e0912c3ded446bc SHA512 5f42256d970f291e0a0eed073a1060a1e5dc15b872b1ecca6b9aeceb380c48e1bb1f1b61719a582d8bd56e01eaf8b3578fd374ee7fff761ac6a95e746b07c2f9 EBUILD sqlglot-18.11.2.ebuild 919 BLAKE2B d6c7bf029e48f9b11c305adbc89473b9bcb7277299a869569aeefe69dd63e4ac19c9a7e3c23ba8981e6d7f46b7e4611cbfcc18b871876e949e0912c3ded446bc SHA512 5f42256d970f291e0a0eed073a1060a1e5dc15b872b1ecca6b9aeceb380c48e1bb1f1b61719a582d8bd56e01eaf8b3578fd374ee7fff761ac6a95e746b07c2f9 EBUILD sqlglot-18.11.3.ebuild 919 BLAKE2B d6c7bf029e48f9b11c305adbc89473b9bcb7277299a869569aeefe69dd63e4ac19c9a7e3c23ba8981e6d7f46b7e4611cbfcc18b871876e949e0912c3ded446bc SHA512 5f42256d970f291e0a0eed073a1060a1e5dc15b872b1ecca6b9aeceb380c48e1bb1f1b61719a582d8bd56e01eaf8b3578fd374ee7fff761ac6a95e746b07c2f9 EBUILD sqlglot-18.11.4.ebuild 919 BLAKE2B d6c7bf029e48f9b11c305adbc89473b9bcb7277299a869569aeefe69dd63e4ac19c9a7e3c23ba8981e6d7f46b7e4611cbfcc18b871876e949e0912c3ded446bc SHA512 5f42256d970f291e0a0eed073a1060a1e5dc15b872b1ecca6b9aeceb380c48e1bb1f1b61719a582d8bd56e01eaf8b3578fd374ee7fff761ac6a95e746b07c2f9 +EBUILD sqlglot-18.11.6.ebuild 919 BLAKE2B d6c7bf029e48f9b11c305adbc89473b9bcb7277299a869569aeefe69dd63e4ac19c9a7e3c23ba8981e6d7f46b7e4611cbfcc18b871876e949e0912c3ded446bc SHA512 5f42256d970f291e0a0eed073a1060a1e5dc15b872b1ecca6b9aeceb380c48e1bb1f1b61719a582d8bd56e01eaf8b3578fd374ee7fff761ac6a95e746b07c2f9 EBUILD sqlglot-18.8.0.ebuild 919 BLAKE2B d6c7bf029e48f9b11c305adbc89473b9bcb7277299a869569aeefe69dd63e4ac19c9a7e3c23ba8981e6d7f46b7e4611cbfcc18b871876e949e0912c3ded446bc SHA512 5f42256d970f291e0a0eed073a1060a1e5dc15b872b1ecca6b9aeceb380c48e1bb1f1b61719a582d8bd56e01eaf8b3578fd374ee7fff761ac6a95e746b07c2f9 EBUILD sqlglot-18.9.0.ebuild 919 BLAKE2B d6c7bf029e48f9b11c305adbc89473b9bcb7277299a869569aeefe69dd63e4ac19c9a7e3c23ba8981e6d7f46b7e4611cbfcc18b871876e949e0912c3ded446bc SHA512 5f42256d970f291e0a0eed073a1060a1e5dc15b872b1ecca6b9aeceb380c48e1bb1f1b61719a582d8bd56e01eaf8b3578fd374ee7fff761ac6a95e746b07c2f9 MISC metadata.xml 635 BLAKE2B fb154da2feeea6d590b4f3edb8d8d90d316feee1b8faababc022db026254bd24674d8419b74074b089d4d8930bab642cdc5fa7694bfa9e033cb5ef4ad4988562 SHA512 dd5ed7212dc2eac6a4d84bb2e3639db1ffe163598d911073d7100a8ebfeceb85842ea2e6a597d1036d5b1388d18954b95a782af7b3a84479bf3b59ef9e9b6bf8 diff --git a/dev-python/sqlglot/sqlglot-18.11.6.ebuild b/dev-python/sqlglot/sqlglot-18.11.6.ebuild new file mode 100644 index 000000000000..368b77416b42 --- /dev/null +++ b/dev-python/sqlglot/sqlglot-18.11.6.ebuild @@ -0,0 +1,36 @@ +# Copyright 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} ) + +inherit 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/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +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" +) + +distutils_enable_tests pytest + +pkg_postinst() { + optfeature "simplifying timedelta expressions" dev-python/python-dateutil +} diff --git a/dev-python/tables/Manifest b/dev-python/tables/Manifest index 41fb988cb0e4..32a0a9de40d4 100644 --- a/dev-python/tables/Manifest +++ b/dev-python/tables/Manifest @@ -3,6 +3,8 @@ AUX tables-3.8.0-cython3.patch 1443 BLAKE2B 064d0175ecd337d3e5628da11c784158d404 AUX tables-3.8.0-optional-cpuinfo.patch 3185 BLAKE2B 1e5afa906c427408a81b477f4d6aa09ee903d73db3cee048464b277a69ee0f96cdc23ca660d4eb68b49ae4d88386711e5340cb4deae4632a8af0512ca5b64437 SHA512 3f9da3a9f2a95d80b2af458744a369a45725aa72fa64a316f6e281695e710aadf0d785cc80fd25639a032a9b3bf04a3f06c73c21b1812656251e8ebdaf842032 DIST tables-3.8.0.tar.gz 8014052 BLAKE2B 28d120ad609ebc9ae8cd97286bb3fb9c484bd8a179edcf0de1b96e4400b7a21b4db835d94fae3aaee84924bd46b84b84da12c538b39517362d805651e7aa3aef SHA512 1616c00787a2e88ff3dc2aebe3a1b2ad428b5a8ea48fc94058b49c509f1c040b540b3f62551b16b3246d2fed58e0b33443cbdaaf1dfcba5a6eead5f3e8028029 DIST tables-3.9.0.tar.gz 4682294 BLAKE2B a4ff5a67c0376e90ca4f1f405878ead3bbb807b2fc972ba17a1026782adb473a26e15561ba13fb3c477defe3157ead20cf672d7150735fd5555821d1091d9b3f SHA512 2f7e14af6a1759c16a3d79c6b26276aed49ddfcb60f8e157646f0e59f1b9abc405961dab48b55ddfaf046e69b39552a2d003d5ff7734edb195027f9cd6dab684 +DIST tables-3.9.1.tar.gz 4682299 BLAKE2B 0f873cbf82aea0651ced49d92416c5c3c1420dc527c8876a25c0631b1ee59d0b44c920780a9026674d217553d550e57b0ce87b1f6af81ac5bc27c32c161007cb SHA512 c3350a818f11674d15c87edeb9a5b32303d81d533a5473051b8ecb82780d7971fc106fa2e7df3a2bec333d19cead29ef80e2c9355f76a4a1297e44bf7a99ef76 EBUILD tables-3.8.0-r3.ebuild 1870 BLAKE2B 2bcb99c28f91f33f731cc0289c25ddcb9a2d0435204dce09412af73ffb9091b7ada68a6a2535cdf7a391bcabe3e9f119154913a2d6bb1b6e2a8799b2153399ed SHA512 97e3c843f14e50d569ad7d7c52caa368e2cae5bbb3a2b4e25290758965c22e57055e0f72a3097f9ddc36f27e7c9e79899b46b99fe6ac3bbc19f654c5e9f36a35 EBUILD tables-3.9.0.ebuild 1697 BLAKE2B 905de64dc23fb7d90bffef5dac8eb5ee82a3ae4132c1609a70a0f319e9bbd4d26bc717d9726f7b5a576fa328ee6394699113a6bf2996fd13651dd8ce3e58c46a SHA512 bf96c5daa82b4b94197d1906258081d5d83062b7e5efb3da8f0596b2ac8fee1f901a7d63a96985d12631dd544c66b9364f3219be80002079ebe64bcc34e22820 +EBUILD tables-3.9.1.ebuild 1697 BLAKE2B 905de64dc23fb7d90bffef5dac8eb5ee82a3ae4132c1609a70a0f319e9bbd4d26bc717d9726f7b5a576fa328ee6394699113a6bf2996fd13651dd8ce3e58c46a SHA512 bf96c5daa82b4b94197d1906258081d5d83062b7e5efb3da8f0596b2ac8fee1f901a7d63a96985d12631dd544c66b9364f3219be80002079ebe64bcc34e22820 MISC metadata.xml 1090 BLAKE2B cc213079beb7f2888b5eab4886711fe8a4b7a4bc3cf13ff4d2247bd04edc05fdaed19c464ae28beac27de511ea997bcc873866bf9d544d6efe8cacd095e8640a SHA512 bd322eade443a3b1b610d262a0a6a30088246b3f772624fdfbf6eac85f240deb3f9001be1e2e20e334e65701c24e1d57100c67864d14067b1ae16e99f2136e8a diff --git a/dev-python/tables/tables-3.9.1.ebuild b/dev-python/tables/tables-3.9.1.ebuild new file mode 100644 index 000000000000..ea12b00212a9 --- /dev/null +++ b/dev-python/tables/tables-3.9.1.ebuild @@ -0,0 +1,73 @@ +# 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=( python3_{10..11} ) +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 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~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:= + 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() { + export PYTABLES_NO_EMBEDDED_LIBS=1 + export USE_PKGCONFIG=TRUE + + rm -r c-blosc/{blosc,internal-complibs} || die + sed -i -e '/blosc2/d' requirements.txt || die + hprefixify -w '/prefixes =/' setup.py + distutils-r1_python_prepare_all +} + +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 +} |