diff options
Diffstat (limited to 'dev-python')
25 files changed, 668 insertions, 1 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex 57091ddb03c2..874e50d3dd21 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 745514cf10a5..90192d658e8c 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -2,9 +2,11 @@ DIST boto3-1.26.155.gh.tar.gz 664838 BLAKE2B 35c78d4da5bcba6f218a854d67647b71b16 DIST boto3-1.26.160.gh.tar.gz 667890 BLAKE2B 2d081604ea94a6fece2c6839c0be339fa2ff3f8c4eba5b882eb45597646ef8efc0294abb58f9233e3fe1ec445131a91701ddf8771220275c13c34af9813cd8e6 SHA512 2a427e63fc61581a873a75ea2b0fe4329cc55ea61e7c99049d8d24c3cb676490a66efa9d6236b90ba6d7c41208a90a60b04dac53ff8243952d64134abff4ba82 DIST boto3-1.26.162.gh.tar.gz 669402 BLAKE2B 33b945dade4486c0f7069c2209d0877fd3e6886d963139aed7716321d26ed92573486465580161799be92ac427da0dbb8fbfdb604db841af505e7dffbbef1c6f SHA512 e0ad04b82a79ec028157f88e1a3c95a7156ecef8b5b869624637896ffc62aa93608d17436e931a8b240fb2f47574ae8de04e34eeb6270f821c95dfa0f62d8f1a DIST boto3-1.26.163.gh.tar.gz 670006 BLAKE2B c2bcd2a3a4aaf1f2f5b69a605971ee62a09c754894825acfb7fdfcb7b7114bcbbb5864fa7a5ab6fefd8adc6264746223bd801ed4d45553bb5823b19f4cb8ce60 SHA512 31fadc451df41030e88e51d2345d1b0e952ec88f2a381ca28679db8c0bce6fd97b928658216e1eec2e075ff3c98c512d732b93466e6f646bd44616b9ce2b1450 +DIST boto3-1.26.164.gh.tar.gz 670774 BLAKE2B d5a1f93ac403e738b754a915f6d64f16c083aa604cc535d33ca00c5484b3ff99a64b80173b0b1d60222e5cc797039d4135a767dab1284b0b16e913e2afcf00aa SHA512 165b779c667f7d6f53c4849e215425f9cd717923df582215a6966b0f30b81014c8e804d24072623c8210fae1c702c38c9331cc6d90903d2d270a9060318f3c08 EBUILD boto3-1.26.155.ebuild 1508 BLAKE2B 42be8b915da646a7afe6dfc988542d3d79b5dbdc565d2e738d210e3f77b7c5ba6dfbac45e46b9cc3cc4770611cbc0c155abc7f1807ff0cb8e6033f927bea4048 SHA512 06404c0363c0c7c0d378d1c2b91073c137a1685d2d846d98c655e6d001df5cde0eb51bf6e160879af2b56321a02e84146ce634855f70c7c3fbbd1adbb9b8ef8e EBUILD boto3-1.26.160.ebuild 1515 BLAKE2B 611fec92e11c2c75d95e39043931611ad3396698f6868ff4b60391eb8353e71a824613ab8a1dc96c9640cc2f933ba761c47628acf7be917abe0039628b38a071 SHA512 475e2648fea04db00eb4fd70e48a7599c758cf8e225caa6250b222293bd9aa662d962c6d6db730040680256e61131301571675f3e1470735217f950abf2c3497 EBUILD boto3-1.26.162.ebuild 1515 BLAKE2B 611fec92e11c2c75d95e39043931611ad3396698f6868ff4b60391eb8353e71a824613ab8a1dc96c9640cc2f933ba761c47628acf7be917abe0039628b38a071 SHA512 475e2648fea04db00eb4fd70e48a7599c758cf8e225caa6250b222293bd9aa662d962c6d6db730040680256e61131301571675f3e1470735217f950abf2c3497 EBUILD boto3-1.26.163.ebuild 1515 BLAKE2B 611fec92e11c2c75d95e39043931611ad3396698f6868ff4b60391eb8353e71a824613ab8a1dc96c9640cc2f933ba761c47628acf7be917abe0039628b38a071 SHA512 475e2648fea04db00eb4fd70e48a7599c758cf8e225caa6250b222293bd9aa662d962c6d6db730040680256e61131301571675f3e1470735217f950abf2c3497 +EBUILD boto3-1.26.164.ebuild 1515 BLAKE2B 611fec92e11c2c75d95e39043931611ad3396698f6868ff4b60391eb8353e71a824613ab8a1dc96c9640cc2f933ba761c47628acf7be917abe0039628b38a071 SHA512 475e2648fea04db00eb4fd70e48a7599c758cf8e225caa6250b222293bd9aa662d962c6d6db730040680256e61131301571675f3e1470735217f950abf2c3497 EBUILD boto3-9999.ebuild 1514 BLAKE2B 5d31d27ac50ed037fb8be61559bac03bd2a8c63f3220ac93ecc864c0e3cbd34763b9b70761a9f364cbc85a0edd84c6f6eeff614292f31473b4935e5bb86fae7b SHA512 26bd2959c745f0e423d683d2fedeab9a438d215fa9b28b403d0cea81caac7436f05382b2a91a183bc1095f3b205e3b2115f931cd7803e0b9838c2a507562da5c MISC metadata.xml 493 BLAKE2B 7d6324fc877ffe1d20c5369c2af0b09a7028f94d28f1841188913d0d8be7ea699c9d3f92c624992c4c96bd69615d3a1211a2483c76c56b7d3082492e43512523 SHA512 44420d8c03d5986f990b76369edfa8dfd7659b4952db3ad946fd05392ec594628a28745ad888d055d4f074d5214f61fcffafe6c04c4ab54109d45ac0371582bd diff --git a/dev-python/boto3/boto3-1.26.164.ebuild b/dev-python/boto3/boto3-1.26.164.ebuild new file mode 100644 index 000000000000..2a4a7643203e --- /dev/null +++ b/dev-python/boto3/boto3-1.26.164.ebuild @@ -0,0 +1,66 @@ +# 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 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.6.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() { + epytest tests/{functional,unit} -n "$(makeopts_jobs)" +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 3cc274db9ebe..7dde1ec5cbd3 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -2,9 +2,11 @@ DIST botocore-1.29.155.gh.tar.gz 11673165 BLAKE2B 653cc8b368d34502bcb16622677f11 DIST botocore-1.29.160.gh.tar.gz 11695537 BLAKE2B e60b8ec0ea50fa13e61acd8f5cbc4f908c0d95916733e6ebdf11c2387e1a13efee611070fb72e37ca3e3058888d3acd6debdd67bfc973528c7674c760a3bd865 SHA512 42c6d02df87b12143248ecd314d5b9ebcf47900da975addc8343187c7bd35ec3c41118ba8c9482d9e152e5352a95111ccd93f425e215fdeeeee4ee991803bfa1 DIST botocore-1.29.162.gh.tar.gz 11720182 BLAKE2B 38ab0a8e5c466417427d559a5646d8e2025c43f4554ca8380bd0a1d47faadddb6bc8feed297b02e3cc05f9cf9c079628b0c0a8dce4b8908dd28923de2f4e7273 SHA512 29a2882fedc63f5b59906e9648d3811c441e3901c546a8cf5a0c2079f44a82b3c1aeeaea2efbafb833748c046e749a6d1b127c2fe74d4748289228304782ef2c DIST botocore-1.29.163.gh.tar.gz 11722194 BLAKE2B 2519b70cf7e5cba4e0544d7d1e520a499f762a78354804bc70c97177fd91eae3ce60acbaac2c0a0fdad4e99f02b85660696826b378680bc35b80ce0c6d99e254 SHA512 8ddee4f7aea1479494b0a4763d044c75bf610d0a4b52ce4a224e36c325ecb418e3560489fee56eb51428e8f0156fb171cc6af87665112d7fb787967a3499a52c +DIST botocore-1.29.164.gh.tar.gz 11728330 BLAKE2B 241747c505ae64941073de3b307829d443f79335ac2e8b756f00560b727e10d6b7ac65da92a4196ebc85fb2d266cf63a9e23fe89f3ecba8a90b13dd06a6f1a61 SHA512 181f715ea1357ed080e7bc6bfa5ea11a5a1d794721a38a32be834b703b503deae6b5bc2de25e9da541942347bbd53e4cd339eda7872e397fa90ecd0c5bdb72aa EBUILD botocore-1.29.155.ebuild 2478 BLAKE2B 12b452c39c98b793a4f15b9a8e8b082ba77dcf677a7c529d2d4b8b81d729403597e071da7d2c98e5e4ed65778e19ea881c6993cf3405e7f80ad20a078fa18a63 SHA512 5118842311b8971e9d2b9f03a45f496caef3b95cfa79334f77097430d569cab7ac1261dcab3fe13236ecad3907936ae49eea87620a12304ae6cf6798639deb47 EBUILD botocore-1.29.160.ebuild 2485 BLAKE2B f7c931df1cf3c88ac69706626687c7c96d98c055d54969a36872f91a44028567f2a405a8cb6ce729b78a2f99655a6989db07c57a5e0333b897996e98c401e275 SHA512 9d6f15f5b7035cfc63eeb8e86710eaecb765c20c47b018f834d806212d3ec7506562f7b162886bdcc9cd4e15d8ffd776b1f51c890dbbfadacefec5e787d13b44 EBUILD botocore-1.29.162.ebuild 2485 BLAKE2B f7c931df1cf3c88ac69706626687c7c96d98c055d54969a36872f91a44028567f2a405a8cb6ce729b78a2f99655a6989db07c57a5e0333b897996e98c401e275 SHA512 9d6f15f5b7035cfc63eeb8e86710eaecb765c20c47b018f834d806212d3ec7506562f7b162886bdcc9cd4e15d8ffd776b1f51c890dbbfadacefec5e787d13b44 EBUILD botocore-1.29.163.ebuild 2485 BLAKE2B f7c931df1cf3c88ac69706626687c7c96d98c055d54969a36872f91a44028567f2a405a8cb6ce729b78a2f99655a6989db07c57a5e0333b897996e98c401e275 SHA512 9d6f15f5b7035cfc63eeb8e86710eaecb765c20c47b018f834d806212d3ec7506562f7b162886bdcc9cd4e15d8ffd776b1f51c890dbbfadacefec5e787d13b44 +EBUILD botocore-1.29.164.ebuild 2485 BLAKE2B f7c931df1cf3c88ac69706626687c7c96d98c055d54969a36872f91a44028567f2a405a8cb6ce729b78a2f99655a6989db07c57a5e0333b897996e98c401e275 SHA512 9d6f15f5b7035cfc63eeb8e86710eaecb765c20c47b018f834d806212d3ec7506562f7b162886bdcc9cd4e15d8ffd776b1f51c890dbbfadacefec5e787d13b44 EBUILD botocore-9999.ebuild 1736 BLAKE2B 6ca7ea14855f5f8db2d166ba1f29835d4c994a0a8fa38f3852406289a4465c091909562ac678f1c0bf7e640a594731b0d4319efc0f34f6bc640fbae06746c4bc SHA512 f891bf0eded88d9af3b87fc7c9ee4c6a129d263e672821f3b9654d43bb3bcac41305b834192088d15b50f3f9d36ea95374180cf13e1cb67149595ec63e4cc155 MISC metadata.xml 499 BLAKE2B e5aaa7da26f200c09adfdf38b68f656bbccbec627cb5d966b280ac2165334e7eec659c89075bcace748f58e2ec3e7d2998e54a688d56ecea2d30653c67dfd35a SHA512 103c554d5dbd967bf9b6e418b3913d9235e7e910d012160909ce0715134ed2e37b06e6a345395f9d16ce08d1cf51f3ce458bce93c6a978fd3dca6610f2acdbd0 diff --git a/dev-python/botocore/botocore-1.29.164.ebuild b/dev-python/botocore/botocore-1.29.164.ebuild new file mode 100644 index 000000000000..3ced99abe4ff --- /dev/null +++ b/dev-python/botocore/botocore-1.29.164.ebuild @@ -0,0 +1,79 @@ +# 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 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 + # fails on unrelated warnings + tests/unit/test_client.py::TestAutoGeneratedClient::test_BOTO_DISABLE_COMMONNAME + tests/unit/test_client.py::TestClientErrors::test_BOTO_DISABLE_COMMONNAME + # TODO + tests/functional/test_credentials.py::SSOSessionTest::test_token_chosen_from_provider + # urllib3-2 compatibility, mock relies on implementation details + tests/unit/test_awsrequest.py::TestAWSHTTPConnection::test_expect_100_continue_no_response_from_server + tests/unit/test_awsrequest.py::TestAWSHTTPConnection::test_expect_100_continue_returned + tests/unit/test_awsrequest.py::TestAWSHTTPConnection::test_expect_100_continue_sends_307 + tests/unit/test_awsrequest.py::TestAWSHTTPConnection::test_expect_100_sends_connection_header + tests/unit/test_awsrequest.py::TestAWSHTTPConnection::test_handles_expect_100_with_different_reason_phrase + tests/unit/test_awsrequest.py::TestAWSHTTPConnection::test_state_reset_on_connection_close + ) + + epytest tests/{functional,unit} -n "$(makeopts_jobs)" +} diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest index 7d2681e7e6b4..722a50112c77 100644 --- a/dev-python/google-api-python-client/Manifest +++ b/dev-python/google-api-python-client/Manifest @@ -1,5 +1,7 @@ DIST google-api-python-client-2.89.0.tar.gz 10965040 BLAKE2B 819c9f0837b86acc693158830c54e48778a1c8ef1fb549a4fbbe100827d0a269b435c4c29d8683c674981ef7817a0489e1cd6639adb7c9b09951c05b8fcf3aef SHA512 e3541f7e6b151ade5feb6e50f22c26b63b85304c4254929be5776c44c6cd80a4c2660d62fc052777033705d3c6a7e8dcd1a69f7f5d3dd5dc49549237a2ce6a5f DIST google-api-python-client-2.90.0.tar.gz 10891311 BLAKE2B 0683e95e12e5f2faaa5ce5b3f4c82e65df00da0c884530917dd086d33dda74a66e62fd27c7edead205f9d330800d2c60929fce68ce7f82fc04f8787cae010cdf SHA512 331812b50c2816f407db25f703817bf0d20b9218de39bd91c67d40a1f113141c8b9af0210d9d10272ebf51b90485fa44f636e821de19add72eeb38fa04ffe449 +DIST google-api-python-client-2.91.0.tar.gz 10853485 BLAKE2B 3f31a18187701f833e06f514150acf5eec72d6dabdb8b3493efa8fff79f10848a2108c5c7114f0f467519bd2f943162cdc3cbe91c9805a65a74d80c6ca41b745 SHA512 638783176e9d98af621deb5ee10ad5418108910f0996e98653adfa252dee2edd8db712c8fc0fe73d7d83db14a770d297b34d3334c5b018ce800325ef2dd91e04 EBUILD google-api-python-client-2.89.0.ebuild 1314 BLAKE2B 4b94f53adfddc78245531b7528b46e0f22ea97b1c3a2f856657d9239308e302abb13d95c75f7118e12c459f8350c035cea63691a55db8c9c089345bb1353e67e SHA512 ea3465da7f85594297f735b66d1e2378e2b2eceb530da38dda71ef2ff0ab26f5abddc8c0cfaafbd34abb040e114c67e55c71aa9a3e84fcede68ee298b1f32fbe EBUILD google-api-python-client-2.90.0.ebuild 1316 BLAKE2B d6d158b0cdd8c45d8d79dbc2977291d7e3342c7f53da3adcb227708ae8f3161413381d971dddf63b941a32b94133a6cd4c661d7b76863a5d3162db0495fdceaa SHA512 762a1b2c0e8c06f60e01fd9045abc4255999039a97e86145bdbe8ea7727d2bbfd3defd6c6e932a726f0efe001cb0364d1640f2a808c531ff57ec66d8740d9d13 +EBUILD google-api-python-client-2.91.0.ebuild 1316 BLAKE2B d6d158b0cdd8c45d8d79dbc2977291d7e3342c7f53da3adcb227708ae8f3161413381d971dddf63b941a32b94133a6cd4c661d7b76863a5d3162db0495fdceaa SHA512 762a1b2c0e8c06f60e01fd9045abc4255999039a97e86145bdbe8ea7727d2bbfd3defd6c6e932a726f0efe001cb0364d1640f2a808c531ff57ec66d8740d9d13 MISC metadata.xml 538 BLAKE2B bf0b8ab3a89ce9ab1d2159f4c0ebfe3f2646aced20bd2006485510c12d22e83cc130fac979f699ae6431a610c8d2acf86c04b39bc262abaf167c20571a860810 SHA512 30d004d944055660165954f8475e57ba45cef56423c80a324118836d78e5376261409955155a40c9bd988f230f3e2fc44c6aeb6fae3028c78c55a382ccd83bff diff --git a/dev-python/google-api-python-client/google-api-python-client-2.91.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.91.0.ebuild new file mode 100644 index 000000000000..0194f9640998 --- /dev/null +++ b/dev-python/google-api-python-client/google-api-python-client-2.91.0.ebuild @@ -0,0 +1,49 @@ +# 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="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 ~arm ~arm64 ~x86" + +RDEPEND=" + >=dev-python/httplib2-0.15[${PYTHON_USEDEP}] + <dev-python/httplib2-1[${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-python/uritemplate-5[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/parameterized[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # require Internet access (and credentials) + tests/test_discovery.py::DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive + tests/test_discovery.py::DiscoveryFromDocument::test_api_endpoint_override_from_client_options_mapping_object + ) + + epytest tests +} diff --git a/dev-python/hcloud-python/Manifest b/dev-python/hcloud-python/Manifest index 7140baeaa77d..2cf7261c9a86 100644 --- a/dev-python/hcloud-python/Manifest +++ b/dev-python/hcloud-python/Manifest @@ -1,7 +1,9 @@ DIST hcloud-python-1.20.0.gh.tar.gz 100107 BLAKE2B 584e1399ddb1c5d1e5ad0beaf795609bb63d37457afe33c663cf303f8b20e2c6f6b3ff294007e9f4ae2d9aa833794e59516ad167f1dd51d14e692f6eab887881 SHA512 b17abc716ae6f7c78803096f2fd887e47ee746fccbe299cc434b7f445abdd7818e445d186f5adacc715971e2ebe2e92551cdb08aa1891ed58d8f443ea3be61fb DIST hcloud-python-1.21.0.gh.tar.gz 102150 BLAKE2B 4ec6fb813f61f3c487d632e12a71f9105af5d45a307567fd2b22ff716e30c645bffebc5cd768846fc7d7892ab753d3e4487a1b72edfee62fb99dfefe188be41d SHA512 8226a79324f0097d576cc1336e813a28a562fb9c3f50dcac1debb3c32bb52f4f5e563e920e2bbb6ce8be407a65de321b734d30156fd066d74ed95f6e6bd94a35 DIST hcloud-python-1.22.0.gh.tar.gz 103301 BLAKE2B 0280567bf75dfe1e684cc9a630cd9c517a9039add7b8937d6293fdddf55e593afa68c4ee7ffc73c186b3444d47fb5dcd385229bace3cf058a37497790d2abf46 SHA512 fca41cc61033c050981588633f9a9801a444db5782eafa35933dec5011f24542a103b1c900b9a830ea426418070d060e4ec407941d54cb9579291a7b467e6a22 +DIST hcloud-python-1.23.0.gh.tar.gz 101752 BLAKE2B 5a8746d7ea58e3ba89271efe541183c72792480b81307433a899278e0e6037e3b5d59519a9d1af4ffeaf391b20643cec33fdd8b82019faf29ed865c4563ff96b SHA512 94463080d0b0605efbbc5bc193c602ae207d45ca7accd5a370b8ba7663d867bf065f5cf154f51095f6ae8b4fb2470202512ba3f61df36d2f6e04bf7ad2a606a5 EBUILD hcloud-python-1.20.0.ebuild 1046 BLAKE2B f2c7f38ee3a6f1e58d5486a0e6255191ff832b4165fafbe08e3af3fbff2a4b55a2d7268a8ad87bef5ed53ca731b8b5a4591adfdf694dfa97302ef3af0d1f53df SHA512 2e6db7fa1a08b69db9bc90a5f5e74bda2d7e1fb44343f0598b9ce137c763c95a13930fc97a8bba26f3193a8102d31fdc83b5f87992fe3ea7f1048854b93c4f7b EBUILD hcloud-python-1.21.0.ebuild 1098 BLAKE2B 9486b9380fa0a8e07aaeb22d45e195db384a1d1f62275617c4f264c1ede18f25300fa1e7b4a1b174245dadc919054e0b854c52cd0bf62f98ccfc1e7e4c3b339b SHA512 4019e4aef91954555fee9e24626a2e5d9b7772a010d7df418f50efc50d100a9aba35eb1c24d5d36c50eaa3fc67c83496d1966ed0ade88fa5fe9816edfb2ba85c EBUILD hcloud-python-1.22.0.ebuild 1106 BLAKE2B 0e8e2cc60a2aab3fb2765e9bda6e2016f315444ff18d8e45637c670d70eaae0c3b543acf05e4022c0380426bc3df6bd569a798175dbe06669c15f3a06cf97eda SHA512 9a3c620eae056265d308653ef94d3f38dd8c7d59541c118fc8eca2a5368e392f486edc89391356a414f7ef42a81df88c89f2309be4e06f4f29bb8e44c7b9f6e7 +EBUILD hcloud-python-1.23.0.ebuild 1052 BLAKE2B 4ea4c60ca879c943a094fc896eee300b0080bba41a23b2f15e65c11088b34c62454e1e8693b22780e3976d9972a833c3663e57b3d5fca8bb805fefe184e25c2c SHA512 e7953a766bed12bd1cb13348fafcdb75dc0b5d192c46da6512f22ce4a669e23a017025972f3746afbf0a7392dd8d0edb858967dfca05a36b4af0a58f7dc4dd1a MISC metadata.xml 483 BLAKE2B c945a22b776b5bf73deabf93718a1dea3a9b98f7257467e845106f71910347a803f96ef969227d7c10a119f1e35b904bcb7501b9672bf3ce5a2bef112d903e56 SHA512 4a6540a06d57eb3bc8c455d982531427157fbf1a85abf4b909032b0880c9e2847b295b3c9b02378be35e88f74876357503dd04bbe544ff9a9612df2b1c321b1c diff --git a/dev-python/hcloud-python/hcloud-python-1.23.0.ebuild b/dev-python/hcloud-python/hcloud-python-1.23.0.ebuild new file mode 100644 index 000000000000..6c7043b0167c --- /dev/null +++ b/dev-python/hcloud-python/hcloud-python-1.23.0.ebuild @@ -0,0 +1,47 @@ +# 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 + +MY_P=hcloud-python-${PV} +DESCRIPTION="Official Hetzner Cloud python library" +HOMEPAGE=" + https://github.com/hetznercloud/hcloud-python/ + https://pypi.org/project/hcloud/ +" +# sdist is missing doc assets as of 1.19.0 +# https://github.com/hetznercloud/hcloud-python/pull/183 +SRC_URI=" + https://github.com/hetznercloud/hcloud-python/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="examples" + +RDEPEND=" + >=dev-python/requests-2.20[${PYTHON_USEDEP}] +" + +distutils_enable_sphinx docs \ + dev-python/sphinx-rtd-theme +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # Integration tests need docker: + # https://github.com/hetznercloud/hcloud-python/blob/master/.travis.yml#L16 + tests/integration +) + +python_install_all() { + use examples && dodoc -r examples + distutils-r1_python_install_all +} diff --git a/dev-python/joblib/Manifest b/dev-python/joblib/Manifest index 78a208c5001d..a2480b2c9730 100644 --- a/dev-python/joblib/Manifest +++ b/dev-python/joblib/Manifest @@ -1,5 +1,7 @@ DIST joblib-1.2.0.gh.tar.gz 345345 BLAKE2B e18be536054829057ff320eda320a7548434108b3fc6c92a03df73dc68e093d039c656c1d674ea26fb6419bdfc39d26cfc28236a6bfbf0dcbf3ace7e52b0c829 SHA512 de882f2ff8dd936b4f98352b9ee1cc56c3a734f215a74257cf90a25736afd9e6b93e6538929b7a29f5956e6fccbdfcbf8b39c8fd68035a8857721f7a76066133 DIST joblib-1.3.0.gh.tar.gz 357076 BLAKE2B d14c71deba922fe9e9caabb35f60aeeac505e2b3fde1b87b12f998086aac91ef337af360320f5f5ac8e2e3c05a6b77d46e0b2f794932f8ecbcca2ecd907028b3 SHA512 3264f3fdf66095302c37c32cb43221c686c62646a01dbc14233c588d36e9dd13132e8b4cb0b48d2add6cdf5bb86e7c2e6dac6664a9bd22de2035ded28f61a06c +DIST joblib-1.3.1.tar.gz 1986996 BLAKE2B fad0e61755b8d48595fcfcaeead7726242e8003acf0d50c4b0f810cb54c414fd25f6c3d420738b16d0667e06e05f5aaf8cd49e9abd693d620861acbb9eb0c16b SHA512 40aada55e64469887a323cad7049ad1fd7df815291c3e418544bce9b54af73bea67876de3469c3d0271aa4e2f6aa5f47c64c6be53730b1ba6b3e88814ddc0908 EBUILD joblib-1.2.0.ebuild 1159 BLAKE2B 2360d1177e38de0e8f591ef221da93974c743cd239302a1eeb2ff285b99f4ed6cffb633e3b9ce936fa3f28835b7ed60347bc9b09ae7f9eee1a6ece1d65ce63e8 SHA512 96b08c3b7907e08b2b4fe3553ca24802437eafb7bc147f0559adb5c677d4697fd31e8b777e2a8d93be0bec036000cb6879dbf8b813e1c14da8bdcffc45505f84 EBUILD joblib-1.3.0.ebuild 1330 BLAKE2B 1ba2d68bbdae677f2e94b1bb18a110d2715a3eb80104b5b49daa13b06cd01a2687f89512246977f97491dc5947f464624455461ae54827bf5e3e10bb849ca8e3 SHA512 3139afe292a8d0c432ca42261ceba74397c64857574767625bce1d6a335cc276b1cbf1f14b0ec086c1f534c224b141e0f42c9796cab6b71d8e8ec1e879469d14 +EBUILD joblib-1.3.1.ebuild 1248 BLAKE2B e3f53496d37051560e6a32e1c60a15639bb712933f52603a3e4bc6c9b93a68c226075a5dc1b0e0d3213b090fe02cbeee017e6c261cfb9c659551cc5c74a3fc38 SHA512 3a2e1a0d88d89e664f3f89e841196bbaa51fb68e1f5d7af43fd621a8d6bda243f47d222f10162184fa7f3a5d4db405bfe846d6192cde300b97560e7e152d6128 MISC metadata.xml 858 BLAKE2B e141cefc3f64a2d853994352590d9edb2dfcf8406e64de688b5ee077e7577ec255f214134ff04cccdd90bb08410495ca0c39081b9f530763735c12214e66c871 SHA512 4938b0a8200be169056c19816c9f6753fb19e2d89a5799de9ee9e04e48d815aec84049c480a0844e391aef1647af8b3ea70186d5a6b10be1b3dbffc13711d3ba diff --git a/dev-python/joblib/joblib-1.3.1.ebuild b/dev-python/joblib/joblib-1.3.1.ebuild new file mode 100644 index 000000000000..72a905b5b040 --- /dev/null +++ b/dev-python/joblib/joblib-1.3.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 pypi + +DESCRIPTION="Tools to provide lightweight pipelining in Python" +HOMEPAGE=" + https://joblib.readthedocs.io/en/latest/ + https://github.com/joblib/joblib/ + https://pypi.org/project/joblib/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" + +RDEPEND=" + dev-python/cloudpickle[${PYTHON_USEDEP}] + dev-python/loky[${PYTHON_USEDEP}] +" +# joblib is imported by setup.py so we need ${RDEPEND} +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/threadpoolctl[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # https://github.com/joblib/joblib/issues/1115 + joblib/test/test_memory.py::test_parallel_call_cached_function_defined_in_jupyter + # unexpectedly pickleable? + joblib/test/test_hashing.py::test_hashing_pickling_error +) + +python_prepare_all() { + # unbundle + rm -r joblib/externals || die + sed -e "/joblib.externals/d" -i pyproject.toml || die + find -name '*.py' -exec \ + sed -e 's:\(joblib\)\?\.externals\.::' \ + -e 's:from \.externals ::' \ + -i {} + || die + + distutils-r1_python_prepare_all +} diff --git a/dev-python/numpy/Manifest b/dev-python/numpy/Manifest index 34c9d9208e9d..bdf64203ae0e 100644 --- a/dev-python/numpy/Manifest +++ b/dev-python/numpy/Manifest @@ -13,5 +13,5 @@ EBUILD numpy-1.24.2.ebuild 4366 BLAKE2B a596f2a7404747dacfe7ce08be400836ca89a39c EBUILD numpy-1.24.3-r1.ebuild 4628 BLAKE2B b3429545f87c1bd907add0feeed98d6b188f16c9096675d6aa29e5de9ecce680eb131b06ef7ef91170bf1db9fb52dd2bd73c18ea405c56b03550bbde68256b02 SHA512 75eecabc0ca1fdfa80e186d4b532e030c8ddfe3d415f20211d58a664ce23ed75debed0be14636e4ed0094d649385ea3fb2c316c086572a143e1966352436a6ff EBUILD numpy-1.24.3.ebuild 4581 BLAKE2B 0ab41b83e18c8395c19885f292a186407f62c584a94ff2eeeaf2e72847b1973581b9eab51b351898171ad51610d7eea6b9d3545f4a771c143f752e6790924345 SHA512 cc1204442685b83ca2f9103f52fe8f338729e62eae4299a511bad54b71c99a77bbb50d22b77f08b8ddf1924340211360d17e0886f20ac55572a130e941250b80 EBUILD numpy-1.24.4.ebuild 4628 BLAKE2B b3429545f87c1bd907add0feeed98d6b188f16c9096675d6aa29e5de9ecce680eb131b06ef7ef91170bf1db9fb52dd2bd73c18ea405c56b03550bbde68256b02 SHA512 75eecabc0ca1fdfa80e186d4b532e030c8ddfe3d415f20211d58a664ce23ed75debed0be14636e4ed0094d649385ea3fb2c316c086572a143e1966352436a6ff -EBUILD numpy-1.25.0.ebuild 3807 BLAKE2B 538d45f8a089368f96a70c1a1f9b2a934a2fb5267898c56042b48a2abef6d6a5eb1bab0fb7746b0d9aa134754861f7c1a8aa20d7affea478ca351814213dbf72 SHA512 5786f7521740adebc03622aecf6df2c49583494a395b02869e479d7b4e03889491b4ff33708fb4f0df0897df292f0dc099b66dbcd1e3e2cd3a1bb4bb11c1b87c +EBUILD numpy-1.25.0-r2.ebuild 3963 BLAKE2B e44a33d3a562b360fecce3311d984ec2264581de64914b8363d814aa32b789efe23d95f810f6f979c7235fed2cc67d094c06760445467943d19032b9b1707dc1 SHA512 f4581d903004d4eb8e1e9dac6609ca5125ff0edbbd66d0789483d7bd07aa76bb503f596948e3c63ebec9521f8793d4be7dd51db887b2f7d6b9667bc9bef4c62a MISC metadata.xml 932 BLAKE2B 7a4af31f613bab05ff542da48bf6ff1484d9df2459f559516e71329451dd739d3df0fead507c8033d94ab9ed516b68efe7f21819a8cd6ca303643d8c8bc34e86 SHA512 32cb8c1ab61521a02cbec38f6ea383f074e50d46aa3462ddcb85710f9d348e8e628cf2a5725e3cd921cc32f02885a1b5f02125639f0ec885384eeeff7f468a06 diff --git a/dev-python/numpy/numpy-1.25.0.ebuild b/dev-python/numpy/numpy-1.25.0-r2.ebuild index fd279d3121df..e222b83e5e69 100644 --- a/dev-python/numpy/numpy-1.25.0.ebuild +++ b/dev-python/numpy/numpy-1.25.0-r2.ebuild @@ -62,6 +62,9 @@ python_prepare_all() { append-flags -fno-strict-aliasing distutils-r1_python_prepare_all + + # TODO: Please drop once 1.25.0_rc1-meson-pyproject.toml.patch is gone + sed -i -e "s:version = \"2.0.0.dev0\":version = \"${PV}\":" pyproject.toml || die } python_configure_all() { diff --git a/dev-python/openstacksdk/Manifest b/dev-python/openstacksdk/Manifest index cd09b42c8335..1a1fa9faa22a 100644 --- a/dev-python/openstacksdk/Manifest +++ b/dev-python/openstacksdk/Manifest @@ -1,5 +1,7 @@ DIST openstacksdk-1.2.0.tar.gz 1160015 BLAKE2B d3ed5b9415715faf6d9cae225e2a8e7c3bd69907599fd2683f53e2070513a1f27aaae2d2f4aa40ada26ff819b5f8238c09e208243197165aa52f19776e53fc7c SHA512 4ce118b8b19b495f333f76cb416d2b4cc2c9ea835979cf67e83f6f7f40df13d29e19ed054a2f3ee469e6c5496da4a7a11193e4815b20195b28ba4c48263b6c1c DIST openstacksdk-1.3.0.tar.gz 1158244 BLAKE2B c318be32242ff6a5dce3fb94122c08603f3f132d0e9781a13f6bad9bf8fb516741e62b255e1d0d9b12c2967bbd6cea54cfcc248ba9de6279edfac85399b4a0bd SHA512 ceeb68fea5ce9e5271a86b783986bc3a26f03654cc3e2be0b704484976e273049c0499377d08c59466fa02d45d6ec39fdc4fcc42d8b4ee4b5723bfe3853737b3 +DIST openstacksdk-1.3.1.tar.gz 1158149 BLAKE2B b1fb89e3c8d59dc1188bcfa4eeb55a7de40a61f30ff42f3dceb5be311f0c4e59af24dfa176d07237cf778f7b5e7b01855d97462d137ed51daf56140c01503135 SHA512 0792f974eb5dffe34565241082bd5fe17f75a0b666ce971938f325fe2b6cdff258d86658c608863f26799018e2a5b8dd2016d14d3300e536b5f301e3476cbbd6 EBUILD openstacksdk-1.2.0.ebuild 2636 BLAKE2B edc801b7ad004d2ac164850b9cae4074c24d0c9617b0ed56ef447ca76b26e27f8c5aa857d3c2dd1de57707e545fff96ce2ae46d9d21b7c6cfdf9265ef0b61032 SHA512 46754f9e5e1ac4080ec27cfda788c55e4a0dbd41fd0677d9d544f5231f6083c214dd79a77322c870025aadb49c5c49f4caf4abe511359d0d7e9b9bbbaca1722f EBUILD openstacksdk-1.3.0.ebuild 2639 BLAKE2B 3595fb952e7feb35c7f0c17ca7938d0efe485f8c7bf258c808f9cd3be1d77c730537888cbd0bbbcaa1ce0463c9edf493fba211f753314aaa4750a09f49779ab5 SHA512 be2a6a910e8dd0272d5c4d383ff7c6ab44b08c20152f600fc0e8cd49a37f8966a23bf69d1a973dd2f27e838024c4b5d9138a85c78e49c113f0bc304ffa946600 +EBUILD openstacksdk-1.3.1.ebuild 2639 BLAKE2B 3595fb952e7feb35c7f0c17ca7938d0efe485f8c7bf258c808f9cd3be1d77c730537888cbd0bbbcaa1ce0463c9edf493fba211f753314aaa4750a09f49779ab5 SHA512 be2a6a910e8dd0272d5c4d383ff7c6ab44b08c20152f600fc0e8cd49a37f8966a23bf69d1a973dd2f27e838024c4b5d9138a85c78e49c113f0bc304ffa946600 MISC metadata.xml 517 BLAKE2B 661ad1e9eae06e7b36a5ff753e73bd4434042966cff3fd6fbc11bf70a1acc3eb8de29ad2a033d6d715e1152a5454d84077e99db3b588199b317f925864dc1403 SHA512 e6dbfbb3546c2a62b204b33ebb3bb33611079698212f098bd4da072200fe43e3bb350cc998b255ec4a15aa2ff3a04c89a9553dd7930db48e658dbcaff78526d6 diff --git a/dev-python/openstacksdk/openstacksdk-1.3.1.ebuild b/dev-python/openstacksdk/openstacksdk-1.3.1.ebuild new file mode 100644 index 000000000000..e7d4c515009f --- /dev/null +++ b/dev-python/openstacksdk/openstacksdk-1.3.1.ebuild @@ -0,0 +1,84 @@ +# 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 pypi + +DESCRIPTION="A collection of libraries for building applications to work with OpenStack" +HOMEPAGE=" + https://opendev.org/openstack/openstacksdk/ + https://github.com/openstack/openstacksdk/ + https://pypi.org/project/openstacksdk/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + >=dev-python/pyyaml-3.13[${PYTHON_USEDEP}] + >=dev-python/appdirs-1.3.0[${PYTHON_USEDEP}] + >=dev-python/requestsexceptions-1.2.0[${PYTHON_USEDEP}] + >=dev-python/jsonpatch-1.20[${PYTHON_USEDEP}] + >=dev-python/os-service-types-1.7.0[${PYTHON_USEDEP}] + >=dev-python/keystoneauth1-3.18.0[${PYTHON_USEDEP}] + >=dev-python/decorator-4.4.1[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.9.0[${PYTHON_USEDEP}] + >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] + >=dev-python/netifaces-0.10.4[${PYTHON_USEDEP}] + >=dev-python/dogpile-cache-0.6.5[${PYTHON_USEDEP}] + >=dev-python/cryptography-2.7.0[${PYTHON_USEDEP}] + dev-python/importlib-metadata[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + test? ( + >=dev-python/ddt-1.0.1[${PYTHON_USEDEP}] + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}] + >=dev-python/prometheus-client-0.4.2[${PYTHON_USEDEP}] + >=dev-python/oslo-config-6.1.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] + >=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}] + >=dev-python/statsd-3.3.0[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +src_prepare() { + # Internet? + sed -e 's:test_create_dynamic_large_object:_&:' \ + -i openstack/tests/unit/cloud/test_object.py || die + + # TODO + sed -e 's:test_generate_form:_&:' \ + -e 's:test_create_static_large_object:_&:' \ + -e 's:test_object_segment_retries:_&:' \ + -e 's:test_object_segment_retry_failure:_&:' \ + -e 's:test_slo_manifest_retry:_&:' \ + -i openstack/tests/unit/cloud/test_object.py || die + + # unhappy about paths due to test runner + sed -e 's:test_method_not_supported:_&:' \ + -i openstack/tests/unit/test_exceptions.py || die + sed -e 's:test_repr:_&:' \ + -i openstack/tests/unit/test_resource.py || die + + # requires hacking + rm openstack/tests/unit/test_hacking.py || die + + distutils-r1_src_prepare +} + +python_test() { + # functional tests require cloud instance access + eunittest -b openstack/tests/unit +} diff --git a/dev-python/python-lsp-server/Manifest b/dev-python/python-lsp-server/Manifest index 436805ded21b..72d20b904352 100644 --- a/dev-python/python-lsp-server/Manifest +++ b/dev-python/python-lsp-server/Manifest @@ -1,3 +1,5 @@ DIST python-lsp-server-1.7.3.tar.gz 97336 BLAKE2B 3b9d206451e59741113db116621594d3329651150f6819c2e1f1956f758f26eb3ff9f5c66e02313ce1693daf2925d62320a749a23921d64d0758891658cdb2ae SHA512 b34b8ae4311f4c8af9379f6a5d94400f34e3221f9bc55a4d95f909a23d0098bab4bd27992792901cea67b01202720b3cc76f89138841b352a49191aa86603c02 +DIST python-lsp-server-1.7.4.tar.gz 97864 BLAKE2B 9832298391d72bf2f035f388694a7879d66546ead5a36837220cb3af5d8181eba198c04dd82747cba75f0478d256b001476c24b02bc679fc07cb41c7aedb0e66 SHA512 7aa96de6e51548e2854b55690698fe6c7bda60103c11ad5982df611c65569cec1ab13691727c92ec47d9ac44c34f233f872211a41041ea0969223e10e87d7e08 EBUILD python-lsp-server-1.7.3.ebuild 2925 BLAKE2B c2b34897d143b266f394697ba39a032e9440805f17303bd26bfea0ca6430334fb536d892e3afffc01799253b7ce044ca009d171769af92ea94d0bed298997bb1 SHA512 da185520024e72cf0f214cd6a32393b19dda8d4113eac87bafd8604be80881cecff86a6181e6a59cbee6694bd4734caf161c9a4c7f08ce4a50a810532c30fc30 +EBUILD python-lsp-server-1.7.4.ebuild 2928 BLAKE2B 1c4dac97034927b1e6490f4f48f2cab88303d9aa813c77b314322f655a3be1d8d380184523684fb93f41f49ebadd4472b36a65e7352377c59d8f8b6799aac582 SHA512 51e9bbcc9ef8864107705e4a3e12f1afe8fdccdb21d20a29c382c9516dbabaaf8d0aed544f8d7ed21c1270594e71adeebeda3a4fd4da245053b206080292b54b MISC metadata.xml 610 BLAKE2B e111007adc2612409df72955babe0c4725fd5726449435988cf13c1142049d78089d38e54783712e2c70c74437157ffb2049bd9d63322cec084204eb5038e724 SHA512 5e1e4b43a5bfacb6a2fcae57413ebf79c6aed917b00022140d855acd773d82e56b2d73ae8270d42675a34d9f37f9ad53c8f61930c3f447d8a9e45a521a20e9bb diff --git a/dev-python/python-lsp-server/python-lsp-server-1.7.4.ebuild b/dev-python/python-lsp-server/python-lsp-server-1.7.4.ebuild new file mode 100644 index 000000000000..8144133f5a10 --- /dev/null +++ b/dev-python/python-lsp-server/python-lsp-server-1.7.4.ebuild @@ -0,0 +1,86 @@ +# 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 optfeature pypi + +DESCRIPTION="Python Language Server for the Language Server Protocol" +HOMEPAGE="https://github.com/python-lsp/python-lsp-server" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +IUSE="all-plugins" + +BDEPEND=" + test? ( + >=dev-python/autopep8-1.6.0[${PYTHON_USEDEP}] + dev-python/flaky[${PYTHON_USEDEP}] + >=dev-python/flake8-5.0.0[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + >=dev-python/mccabe-0.7.0[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + >=dev-python/pycodestyle-2.9.0[${PYTHON_USEDEP}] + >=dev-python/pydocstyle-6.3.0[${PYTHON_USEDEP}] + <dev-python/pydocstyle-6.4.0[${PYTHON_USEDEP}] + >=dev-python/pyflakes-2.5.0[${PYTHON_USEDEP}] + >=dev-python/pylint-2.5.0[${PYTHON_USEDEP}] + dev-python/QtPy[gui,testlib,${PYTHON_USEDEP}] + >=dev-python/rope-1.2.0[${PYTHON_USEDEP}] + >=dev-python/yapf-0.33.0[${PYTHON_USEDEP}] + >=dev-python/whatthepatch-1.0.2[${PYTHON_USEDEP}] + ) +" + +RDEPEND=" + dev-python/docstring-to-markdown[${PYTHON_USEDEP}] + >=dev-python/jedi-0.17.2[${PYTHON_USEDEP}] + >=dev-python/python-lsp-jsonrpc-1.0.0[${PYTHON_USEDEP}] + dev-python/pluggy[${PYTHON_USEDEP}] + all-plugins? ( + >=dev-python/autopep8-1.6.0[${PYTHON_USEDEP}] + >=dev-python/flake8-5.0.0[${PYTHON_USEDEP}] + >=dev-python/mccabe-0.7.0[${PYTHON_USEDEP}] + >=dev-python/pycodestyle-2.9.0[${PYTHON_USEDEP}] + >=dev-python/pydocstyle-6.3.0[${PYTHON_USEDEP}] + <dev-python/pydocstyle-6.4.0[${PYTHON_USEDEP}] + >=dev-python/pyflakes-2.5.0[${PYTHON_USEDEP}] + >=dev-python/pylint-2.5.0[${PYTHON_USEDEP}] + >=dev-python/rope-1.2.0[${PYTHON_USEDEP}] + >=dev-python/yapf-0.33.0[${PYTHON_USEDEP}] + >=dev-python/whatthepatch-1.0.2[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # broken by presence of pathlib2 + 'test/plugins/test_autoimport.py' +) + +python_prepare_all() { + # remove pytest-cov dep + sed -i -e '/addopts =/d' pyproject.toml || die + # unpin all the deps + sed -i -e 's:,<[0-9.]*::' pyproject.toml || die + distutils-r1_python_prepare_all +} + +pkg_postinst() { + optfeature "Automatically format Python code to conform to the PEP 8 style guide" dev-python/autopep8 + optfeature "A wrapper around PyFlakes, pep8 & mccabe" dev-python/flake8 + optfeature "flake8 plugin: McCabe complexity checker" dev-python/mccabe + optfeature "Python style guide checker (fka pep8)" dev-python/pycodestyle + optfeature "Python docstring style checker" dev-python/pydocstyle + optfeature "Passive checker for Python programs" dev-python/pyflakes + optfeature "Python code static checker" dev-python/pylint + optfeature "Python refactoring library" dev-python/rope + optfeature "A formatter for Python files" dev-python/yapf +} diff --git a/dev-python/readthedocs-sphinx-ext/Manifest b/dev-python/readthedocs-sphinx-ext/Manifest index cea73e36cc9a..c5c4d2ab5050 100644 --- a/dev-python/readthedocs-sphinx-ext/Manifest +++ b/dev-python/readthedocs-sphinx-ext/Manifest @@ -1,5 +1,7 @@ DIST readthedocs-sphinx-ext-2.2.0.tar.gz 12721 BLAKE2B 3ac02a96a059e6d6b94af4318a5e816f8664e1164edb315d7540d1bfcce3b0edbbe9d567b0dc2931179cb309714175c64a3684b9d568551cc240ccbefc77a10a SHA512 8f7009a0716751de2fe2fed726aa08bb382d15ef6c4fb66e6c29537f985a92ab7cc137f81a4f6200e794cb7f495ebf561356194f57c694509b67e7686bef52c5 DIST readthedocs-sphinx-ext-2.2.1.tar.gz 12644 BLAKE2B eb7b5f8d91dcf9f413cabe790537ed9179790c48e5778f026f07d442f4b446c6968b86c7e7eef4d548307ebd85ece8ff5a1fb3877ac4e3187ee8c53be86fc7dc SHA512 d2933228678549b7ab53bf7b8720eb23a5fcc05983dea56ab762906fc8a1445b2b94e0c12d647e18e6156fa1460a31ec0e7a7d7e4e8f5c46c5e39a9f35c382b9 +DIST readthedocs-sphinx-ext-2.2.2.tar.gz 12106 BLAKE2B 4b9785c6b36ea66a7910d544b3acde9accc676e18b6c1e37b9285f6e095371bd7baf19b912b604596e92c89ad935c37263b2c977c66265e7697f18d399fd3006 SHA512 333e2068a92287821991e4e96b397e0d2b62f5080b65aff8f31b8828a7e930b038fb5ee176e20622e1a78c966c5d4cf84dfead832f4cbe1e68f2b0a0260009f7 EBUILD readthedocs-sphinx-ext-2.2.0.ebuild 798 BLAKE2B e63515c00c2ee8920d732571c92353bc550bde7fcd97fcd5c0c5841b94343413d028048eb4c5e7cbf5de28ae6c1d896fed7735a643d00f2761c507aa3b05c5ca SHA512 aef8bf55e83ea93e73f1b93cccda9beba0c433190171a6376ac5bc84ed4c4e261f2687e9c8193f057dc827790d891da9c128cc39091009b3fe3ddb82a0eb7ddb EBUILD readthedocs-sphinx-ext-2.2.1.ebuild 806 BLAKE2B 7f4383ae68f896e9775b0f50ea91c42fc193ac7fc404854598d218ab6b090aa699f6d07b46577efd93ef7802e6d555ce51d77235519ff2dc9737cca0a166d44e SHA512 843a28adc1be402521d10afd9f0cdefefb36e1f484e2729aec6c078f4b738063707cd084f0aeda3b772365120a4332bccdd5ae9c172bd919019222c119655093 +EBUILD readthedocs-sphinx-ext-2.2.2.ebuild 806 BLAKE2B 7f4383ae68f896e9775b0f50ea91c42fc193ac7fc404854598d218ab6b090aa699f6d07b46577efd93ef7802e6d555ce51d77235519ff2dc9737cca0a166d44e SHA512 843a28adc1be402521d10afd9f0cdefefb36e1f484e2729aec6c078f4b738063707cd084f0aeda3b772365120a4332bccdd5ae9c172bd919019222c119655093 MISC metadata.xml 424 BLAKE2B 2aa51699a12054e082cac4af9797ed81f3b9725cf8e91782736264584613b0181edf6d6207a4278b313781ce1140b33893d3504682ae8ebdc96ce13e4c7c64b5 SHA512 3df29949e8a74f2907bcdb7aa75fd2846b0a69c1ade03f2db64177cea45834f531a1d290fd0e562c29391b248d5b1a8bd1992d1f57ce5ec4c46b55a8c43e6a81 diff --git a/dev-python/readthedocs-sphinx-ext/readthedocs-sphinx-ext-2.2.2.ebuild b/dev-python/readthedocs-sphinx-ext/readthedocs-sphinx-ext-2.2.2.ebuild new file mode 100644 index 000000000000..00dffbb4b59c --- /dev/null +++ b/dev-python/readthedocs-sphinx-ext/readthedocs-sphinx-ext-2.2.2.ebuild @@ -0,0 +1,30 @@ +# Copyright 2020-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..12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Code specific for Read the Docs and Sphinx" +HOMEPAGE=" + https://github.com/readthedocs/readthedocs-sphinx-ext/ + https://pypi.org/project/readthedocs-sphinx-ext/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/jinja-2.9[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] +" + +# unittest should be sufficient but tests are very verbose, so pytest's +# output capture is most welcome +distutils_enable_tests pytest diff --git a/dev-python/rope/Manifest b/dev-python/rope/Manifest index ac7e6534a867..26f489420eae 100644 --- a/dev-python/rope/Manifest +++ b/dev-python/rope/Manifest @@ -1,3 +1,5 @@ DIST rope-1.8.0.tar.gz 297235 BLAKE2B e9849b75b3ec640201b30318863066b969b5ebde98522c3c09f70bcc344bce5f604601bd155ed0ce6fb3eebb392ea3669f77fb2da21c11078e1041ae13464fd8 SHA512 2fa8e56d6d7fd0a15acb16a1fe27db89d9c2dd6f93fabd448509a112a6ef7f3dfdd4d3d544cf1218149c7a7fa1db9908b107b6eae6e89299f32c0d1586ceaf4e +DIST rope-1.9.0.tar.gz 298227 BLAKE2B c136678bdd9d580d0f0ada93e5c61b963bfe5b9867b39f8c9ba35578f4c8b2ebca1031d00bea4bf2f10ebdf300bc4920827a3325a5c26498efb3e6a4af5b016a SHA512 fd8cc75c70814afc427fbccbe8a1389773737ee664a42a43bb2fb7e7ff667fac4680d233c751ee15b03e41b60ba270b3cf48b1a766420468e4a7c974e4c0158c EBUILD rope-1.8.0.ebuild 895 BLAKE2B cadb2ef59fafc5ad7f0d0167b0f13e05e1455cf4113332df3e4296145ee552c5972d1042ab186477c57e082c9f34cbd9bff36886980d3b295a74a217df795c8e SHA512 7b5a442a81b96b1155ffc14c3f3f9e972c8e6099900746d47a914a328391c9be1308a682edb8ecac9ec2a46a2d0b4130e11a986da7a9c253b44bdbcf183821ba +EBUILD rope-1.9.0.ebuild 897 BLAKE2B 7006f8aa45fa1578cbb0c88b94801a274981a4de2330140facd36ca6825e3c19e9132aab0e28378e95caea9b623ee6a44fb9cd940d37da0415b7da762d99779f SHA512 97a69715f1e35fc57467b69cd037f5e96ff4e4e1d44ed3faaecfc9d8c0bd1fc17174705180f662edbc00d8354c35f77f6a2f5c9c87cd232ebba73273a218fc75 MISC metadata.xml 452 BLAKE2B 6bee424d801bad8728f10ec3a1618e3a48776a7b0af2a04efafd07e6ae5ac8e0b88253ebc35e457c791e820f8c3b1dabde73aabbfd3636cac5e169e8aca75aa7 SHA512 4f88e1157e4838f321b6f208ba6b89fbf2b7a72ea6e038cdd6cf3e9e211c2788dda137e3adf76072c1d52026c554750193d9938054670dd995a91db24ea8da76 diff --git a/dev-python/rope/rope-1.9.0.ebuild b/dev-python/rope/rope-1.9.0.ebuild new file mode 100644 index 000000000000..d3ca80b1d3ec --- /dev/null +++ b/dev-python/rope/rope-1.9.0.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 +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python refactoring library" +HOMEPAGE=" + https://pypi.org/project/rope/ + https://github.com/python-rope/rope/ +" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +IUSE="doc" + +RDEPEND=" + >=dev-python/pytoolconfig-1.2.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/build[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # our venv style confuses this comparison + ropetest/contrib/autoimport/utilstest.py::test_get_package_source_typing + ropetest/contrib/autoimport/utilstest.py::test_get_package_tuple_typing + ropetest/contrib/autoimport/utilstest.py::test_get_package_tuple_compiled +) diff --git a/dev-python/spyder-kernels/Manifest b/dev-python/spyder-kernels/Manifest index 870e51c58946..f47319498e89 100644 --- a/dev-python/spyder-kernels/Manifest +++ b/dev-python/spyder-kernels/Manifest @@ -1,5 +1,7 @@ DIST spyder-kernels-2.4.3.tar.gz 97886 BLAKE2B 1783747662745fa0807e50a9bfe8e350c394a3b571bf74b2f884aeb0c5b995c1b8d571f1b382272903ce005a140762327fa08d35247a9ced9e84709dec23a3c6 SHA512 efacde9e9cd511583fa1bc732c7823baee34cac086cacc7d2f69062b4721dc17eb322445a9641e55a716db980f7cb083fda61c279ba69c97b74664dd4b139f7f +DIST spyder-kernels-2.4.4.tar.gz 98216 BLAKE2B f9f7c007f3c8f4365b84606e7473c169b525aad6d4ddccd6a72fc4d84f48b3fbf0272bd8f8e7f9cc7eb48df555e333f1b8ef0adc8c2f0b8d6df4ff9de35568f8 SHA512 826ced4928d8308e1a31790f0938e24ee8171b7e1f890a322bf652798991db4f3c2c270dd1b9cee44110ac85724043e4f80bc2adb54ad9f09f5414ee8bbd0a4a DIST spyder-kernels-3.0.0b1.tar.gz 236330 BLAKE2B 512fb11371b481102fb9b984eaaf665eed5eeeb2c0039a7e445f6e8139bca0a71f24d68b869614f3d65c9d51640d135c4a3dd33a32dd6c8750d5ba3c7b3330ef SHA512 e8e4cb9e7a577ff2ea969c78aafb1585a6afb652d5ee0063cdaada302648d3152ed38ae33376a4e13e4e183bd18233ff8305ecbe3e248422d2a056b08b0e7226 EBUILD spyder-kernels-2.4.3.ebuild 2146 BLAKE2B a505364d2120b93304ec0d9eb30b1f9dd54147a9b938e6fb11bab802609345bb81407cb883b67a3f45b3e320f1ecbdffe9ae35ea9d50308e78b94c7ec2082242 SHA512 566791b1260e6d580571d86d8a1fe5995fbe4ed850e8907ce4f1c4c9ba532bf438af853fba6430a54c93bacd9a8ca639e0cabbdf9dfc9ea0c900940f199b5f83 +EBUILD spyder-kernels-2.4.4.ebuild 2146 BLAKE2B 0727649748ab7737bb5f48ac438f0bba46ccec3ae2a36ba55e4408baed524eea8255bfdae3686311ea76932d4b5b8e64aa3340bfd53b68369dd7835bac53fd7b SHA512 b8d8363f262b1c50baf9a88e610bbae5b1ce19ab7dcba3a47f5b852a00b3b88a622cb545a5f3729cb0f3e15882b5f0ba482223f155806c7ec8dc668b742c27c5 EBUILD spyder-kernels-3.0.0_beta1.ebuild 2330 BLAKE2B 4c797de8a11a81e98d4e0cf9da56050ad15e78da5d744d9981786a55ef60b5d93cc08e44eae76cd8932c98612015f062d323c16a09ec3c29c437b7150fde9349 SHA512 19d23c3ccff4bdfdce72b09246cd4065ec19d6f3fb9584e8257f9f222fffb15dfb06b3482ad160d93744f190b79bbe1074b8a96362fbf7d0abc8f2646ee795a7 MISC metadata.xml 545 BLAKE2B 52be79edfbfdd86e7f895c53d088399b649901b76c7b69cf6363dfba6954971ce75b14624c2fc4254810112e32721e215255d59035f70850e1c1073f9784e65b SHA512 62ad725aab52d7071ccd5297bd15fcdd5e02e97854fc412a43b5c97b7995c77661251994850616743ce39eee0d0673b3bd4189b00876ed6124bf1871f6fb100c diff --git a/dev-python/spyder-kernels/spyder-kernels-2.4.4.ebuild b/dev-python/spyder-kernels/spyder-kernels-2.4.4.ebuild new file mode 100644 index 000000000000..a56306e79b09 --- /dev/null +++ b/dev-python/spyder-kernels/spyder-kernels-2.4.4.ebuild @@ -0,0 +1,64 @@ +# 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="Kernels used by spyder on its ipython console" +HOMEPAGE=" + https://github.com/spyder-ide/spyder-kernels/ + https://pypi.org/project/spyder-kernels/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/cloudpickle[${PYTHON_USEDEP}] + <dev-python/ipykernel-7[${PYTHON_USEDEP}] + >=dev-python/ipykernel-6.23.2[${PYTHON_USEDEP}] + <dev-python/ipython-9[${PYTHON_USEDEP}] + >=dev-python/ipython-8.11.0[${PYTHON_USEDEP}] + <dev-python/jupyter-client-9[${PYTHON_USEDEP}] + >=dev-python/jupyter-client-7.4.9[${PYTHON_USEDEP}] + dev-python/matplotlib-inline[${PYTHON_USEDEP}] + >=dev-python/pyzmq-22.1.0[${PYTHON_USEDEP}] + >=dev-python/wurlitzer-1.0.3[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/cython[${PYTHON_USEDEP}] + dev-python/django[${PYTHON_USEDEP}] + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + dev-python/xarray[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # we no longer package distributed, and also removed dependency on dask + spyder_kernels/console/tests/test_console_kernel.py::test_dask_multiprocessing + # RuntimeError: There is no current event loop in thread 'MainThread'. + # https://bugs.gentoo.org/834893 + spyder_kernels/console/tests/test_console_kernel.py::test_cwd_in_sys_path + spyder_kernels/console/tests/test_console_kernel.py::test_multiprocessing + spyder_kernels/console/tests/test_console_kernel.py::test_multiprocessing_2 + spyder_kernels/console/tests/test_console_kernel.py::test_runfile + spyder_kernels/console/tests/test_console_kernel.py::test_np_threshold + spyder_kernels/console/tests/test_console_kernel.py::test_turtle_launch + spyder_kernels/console/tests/test_console_kernel.py::test_matplotlib_inline +) diff --git a/dev-python/zope-exceptions/Manifest b/dev-python/zope-exceptions/Manifest index 36f157d8ffba..642111f7f66b 100644 --- a/dev-python/zope-exceptions/Manifest +++ b/dev-python/zope-exceptions/Manifest @@ -1,3 +1,5 @@ DIST zope.exceptions-4.6.tar.gz 30876 BLAKE2B 9cc9a040269aa2f813018670e3692c9897fbea3a346b37e72fc54e72fb33dbaf0f14c192a76a7c40f57674caee4e17e86aec5f1d60e1c0e6a801d859d9629189 SHA512 d28a4434b27f6611040b290dcece26c1880982853092c89d5a8d74093cb9339a62834d7c3949d5ea28c4d3fc01c6f36180df22031cded6e4c963acfff65c2ec4 +DIST zope.exceptions-5.0.tar.gz 30287 BLAKE2B 43fab206ef16b330a4ca460a432be375450fd3637a7964797fcb15a35f6adcd654b6105bb61043391ae6448ce03ea2ddd89dc86b6a90be69e2b0c541ca2b30e7 SHA512 0aba148751420c92a403169f72801fe03745196f918e1993d159a8d89310f2f71af26a15eab20c51b39747c3ddfc61eebc48e228517418fedb45d21b89475ed1 EBUILD zope-exceptions-4.6.ebuild 949 BLAKE2B 71640d4e0d292d96979af26d4f45797115d8c32810f8ca3161a97673655a0acd9ce4db591483afa5b87cf59b8e0d22143bf36a617bf8c9dc5290329b1e0bb00b SHA512 bd3b648b01e67be3b12a1e6585fa01fd99d1de607e1ac4e921bf8e9e8e9de6fef5217891a032de100c3e5bf9f24b68a911b1c03a7b64072faa2e3b037461d832 +EBUILD zope-exceptions-5.0.ebuild 949 BLAKE2B 71640d4e0d292d96979af26d4f45797115d8c32810f8ca3161a97673655a0acd9ce4db591483afa5b87cf59b8e0d22143bf36a617bf8c9dc5290329b1e0bb00b SHA512 bd3b648b01e67be3b12a1e6585fa01fd99d1de607e1ac4e921bf8e9e8e9de6fef5217891a032de100c3e5bf9f24b68a911b1c03a7b64072faa2e3b037461d832 MISC metadata.xml 413 BLAKE2B 3bed6e3e8732f8e04efffe7ea279eaedbfef2fa2d011f1881fdfa814406b0ed5e5a926eeb1a0e66858c1f0524d5c1d1948313c50c53d9fce6cc4596ddea9f87f SHA512 ec4b63a6791605b6c66649026a10d0bc445849b801e9e6350c1bb06b7a244c86aa558830ba39dc1a3d35b3dc2d650d1a52cbe7f84c912f5f7711fe6ec6bf55c4 diff --git a/dev-python/zope-exceptions/zope-exceptions-5.0.ebuild b/dev-python/zope-exceptions/zope-exceptions-5.0.ebuild new file mode 100644 index 000000000000..7ec748a89678 --- /dev/null +++ b/dev-python/zope-exceptions/zope-exceptions-5.0.ebuild @@ -0,0 +1,45 @@ +# 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="General purpose exceptions for Zope packages" +HOMEPAGE=" + https://pypi.org/project/zope.exceptions/ + https://github.com/zopefoundation/zope.exceptions/ +" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +RDEPEND=" + dev-python/zope-interface[${PYTHON_USEDEP}] + !dev-python/namespace-zope +" + +distutils_enable_tests unittest + +src_prepare() { + # strip rdep specific to namespaces + sed -i -e "/'setuptools'/d" setup.py || die + distutils-r1_src_prepare +} + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die +} + +python_test() { + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + distutils_write_namespace zope + eunittest +} |