diff options
Diffstat (limited to 'dev-python')
28 files changed, 879 insertions, 0 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex 1f717970da4d..ffb5823cf62b 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/apache-libcloud/Manifest b/dev-python/apache-libcloud/Manifest index b3f0afd4a87d..07452df3f695 100644 --- a/dev-python/apache-libcloud/Manifest +++ b/dev-python/apache-libcloud/Manifest @@ -1,3 +1,5 @@ DIST apache-libcloud-3.7.0.tar.bz2 1979020 BLAKE2B f8630a5c559cba9ae6f7792ffc9cf4ba6eb2fdaa28d6ae148a5d2e978ee66eec9a39b16741446b78b047bf2454de860148a13bce3dbd8627dbc7dac43543b808 SHA512 315866947d2c748e4a13c4c2a4147a2a8e79cbb85e9e83fded3f89ff8a50c531acf1062a4e21c61448c20e7f7e7f9d1317d3c43ecfe2fb75155c0d81ff03f889 +DIST apache-libcloud-3.8.0.tar.gz 2457665 BLAKE2B 39a6f3f99d3b685150e9a5ec198da705e0c8a3fed7da1300a734fe69310f888401da6683a8ea4b3fe042776a19ebff28f7c82921f29ebc91349a3c1a24e60e20 SHA512 ef221c79be2adf22bbd9fa739c619fa8c0afb493a410bf36a6cf2b3ad5cb18b61f552a1d98400b9152c790e3a88ca504848e03bae1fe8a14b94f72f9b7358f50 EBUILD apache-libcloud-3.7.0.ebuild 1548 BLAKE2B 6f40318e02725d698f4bd74006b2614c2311656d9d8c08952584c08b417ea6298bbb7fc3a29fd8fa16aa6d382ba69ac0ab32bb02b355ce5febe4d8a36abb2119 SHA512 bdcbf6cfc6ed3545f1be9de6e71dc04a5c025738bbd758235f3abe8ed6a9306204e1f258bf340a5fc8578ee878b092a3a248d1c2001e31861472855415bf23c7 +EBUILD apache-libcloud-3.8.0-r1.ebuild 1300 BLAKE2B 83de6cc9e6df24527ba2ac0de60668df0da1378de7cc3fe84a81f5df1a87cda361d58c965939d77504c46048f2457cb3d3a4351745df93f9a522388ab3a6cb39 SHA512 bb4e5587c995790797428e1c5cd6fe8ea7a26a05e0509e8fbd114c07caf7c25592ecc68a048bca7392d23d18deb20b578f2b2e45e7146e72bac2064553b2e1e4 MISC metadata.xml 398 BLAKE2B 5623f486a289eea0196b22b2f88ff377589bbcea13e341efd85d31dee07f8638bc985e6a1c03ac7982da08c879b5b09a46e5679fda8666f93366a8561777da7c SHA512 bc6e38c949ed0513f4e562406fd84031cd80f01a881844202e033fe5225490d42b27855413cd7d2fec216b002c38e1832fa8f841112c68628c906189ebf1e937 diff --git a/dev-python/apache-libcloud/apache-libcloud-3.8.0-r1.ebuild b/dev-python/apache-libcloud/apache-libcloud-3.8.0-r1.ebuild new file mode 100644 index 000000000000..732f80b53b72 --- /dev/null +++ b/dev-python/apache-libcloud/apache-libcloud-3.8.0-r1.ebuild @@ -0,0 +1,59 @@ +# 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..12} ) +PYTHON_REQ_USE="ssl(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="Unified Interface to the Cloud - python support libs" +HOMEPAGE=" + https://libcloud.apache.org/ + https://github.com/apache/libcloud/ + https://pypi.org/project/apache-libcloud/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +IUSE="examples" + +RDEPEND=" + dev-python/pyopenssl[${PYTHON_USEDEP}] + >=dev-python/requests-2.26.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/cryptography-2.6.1[${PYTHON_USEDEP}] + dev-python/requests-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # Needs network access + libcloud/test/compute/test_ovh.py::OvhTests::test_list_nodes_invalid_region + libcloud/test/test_connection.py::BaseConnectionClassTestCase::test_connection_timeout_raised +) + +src_prepare() { + if use examples; then + mkdir examples || die + mv example_*.py examples || die + fi + + # needed for tests + cp libcloud/test/secrets.py-dist libcloud/test/secrets.py || die + + distutils-r1_src_prepare +} + +src_install() { + use examples && dodoc -r examples + distutils-r1_src_install +} diff --git a/dev-python/async-timeout/Manifest b/dev-python/async-timeout/Manifest index 4f4d8f6b2681..6a4530e78101 100644 --- a/dev-python/async-timeout/Manifest +++ b/dev-python/async-timeout/Manifest @@ -1,3 +1,5 @@ DIST async-timeout-4.0.2.tar.gz 8221 BLAKE2B ebcb2ef956590e265bbdecc223a877e7260750aecf5b631c6af1f335ce57b51579467901e2344bfa8495010eb1e6e7a39adfd4b6311483d63e0674221888d1f7 SHA512 e9884a525b99bc1a3a15c958a1dbb25a92cb286bb7360b03b0be3198e61685970628c8fef6dc478beba3f031e0ff6f03b1fcc3c2c34032d7fea6f8b65850ac38 +DIST async-timeout-4.0.3.tar.gz 8345 BLAKE2B cd603b5b58f85412220a99b7b5001ac08df18239f8fca0bf20648f1af982a5dd51b7d84ccce1d168530ee1c1afcef048e03b3de68ba8db068782f79da28bfddd SHA512 d7628370c47587a64170e067a5341bba17658da10900fb8ddf4426aa3f4facc55d63b28febb4b65abe12a9ff5be759319f49fc723c82a5a6cc27377c5e33a5a0 EBUILD async-timeout-4.0.2-r1.ebuild 845 BLAKE2B 3c151e45c9cb5cb27e5b2a09ff7d05065ebdeb4b47828214ea0c26e1e2a61ed6c3b5a515e6875689f35afb09b39c4aa9207d33fbf17c4d77ce045a9125c10174 SHA512 924d2637057a62629681fd094eaab9984038d8f659f3f6d6a051a0d6f1ac452fce1b4875403ad838f987e0a119acab4fd6eb4764e81c67265f01b8cc2b7a738c +EBUILD async-timeout-4.0.3.ebuild 767 BLAKE2B 0d42709bd5bfa15e28b47cf23802186504fcfd0417f3460e55b64dfb1c2f427bc8ca6e7eb7d5bdf4f02844e62387630cc904cc898af2838d1061f12482163720 SHA512 599770d9e256e73b5bcfc5867ead8f98afb176c4492d490f4c96367177e79ae1f0f05ad9d02a4b0259638c0568266ef1d8d43fa1dbd2788f0db08b76030fe1ae MISC metadata.xml 460 BLAKE2B 33594e2b78abaae89f7cb0c953a432ead4c468e01d005d4a65aeb846030fa01b1544d8df393e9d73cc4af6e557f106f8077c3fc4b0b35aacec20033352564083 SHA512 47b1f783f49a63c17abcabcc73d350582297f5bdd266a3d57079f1a50e4a6e88680b73993d9efa3609fe9820decf7a4ea4b5b87f9db6e99509695286c50aab1c diff --git a/dev-python/async-timeout/async-timeout-4.0.3.ebuild b/dev-python/async-timeout/async-timeout-4.0.3.ebuild new file mode 100644 index 000000000000..eecb20bd7fc1 --- /dev/null +++ b/dev-python/async-timeout/async-timeout-4.0.3.ebuild @@ -0,0 +1,34 @@ +# 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..12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Timeout context manager for asyncio programs" +HOMEPAGE=" + https://github.com/aio-libs/async-timeout/ + https://pypi.org/project/async-timeout/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= -p asyncio +} diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 2a6c0481de5f..b206622224c9 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -11,6 +11,7 @@ DIST boto3-1.28.20.gh.tar.gz 684832 BLAKE2B dc8dee3e001e26fa5e9f1355ef40cb03a860 DIST boto3-1.28.21.gh.tar.gz 685243 BLAKE2B f6f6effd9ac42fb9d8db8ec91f628cb90b399e201a780f978e528565299488cd4d9f0333f2ff5d2127b92cff4811856c31d0b280f66b62bc1cacfb3003ae0b92 SHA512 81049ab063131e18ace8c5e6f746e1618d8268cedfdbd6931e7fffd743e8cfd335ec15a4ad354bb61cb987fd93e375d2b5970c8946ae0a9c8892e03a3e912657 DIST boto3-1.28.22.gh.tar.gz 685817 BLAKE2B 53dc35d037fd3605ae8a63c85e77e5b449cc9d7f80c4e06c3d96104afea7fc07c11759e3bea5ba3fa5fa1d86608dfa7ce3ab2612c66239e7ec06603c81c2d744 SHA512 2d255b1eb02626f7b63503ef2324b97b59ebb1728d9c2be79f3a65810ceb13bfb4091b3f657f61422a324fae559c065e848ba24e3c7c1e25a4fcb200eab133e5 DIST boto3-1.28.23.gh.tar.gz 686500 BLAKE2B 0ab169afe4d238d7a09d0b9e2c8305e1f4ebbdc64f9225af2712bffe6c71c70dfe66731eb2af4c9be505aa15bfdb091d276a72889b943afd65ae07f893b363f5 SHA512 7951f3bb229ac6365da7534ad157df461875a85730958536bed005d5dd7981bb75ce5265796c28e39806f66b46fe790e9dee9f75e3fc6fdad5f1aa3b4bb7df5d +DIST boto3-1.28.24.gh.tar.gz 686681 BLAKE2B ce037be0934ac2fcbedfbec4c32931e4057972c3ee6a2804c6e836227d77a1df99d7f7005f3b9a6886e2a012b6b5b12d48b6a652e293c9498754e8a98176d02e SHA512 f70724927e4971ef905ecd9b0ddb3462f0ebd4b99bac54873bd246903c26e38c13d0aad0bc141e6046556ce6365c680bd9fc4c42f82033358024eb8c46eb3f35 DIST boto3-1.28.3.gh.tar.gz 675019 BLAKE2B 93b29307fbfec4e61dc60d28e4f20392ae2a730f048a0b2e8cb99fd515a036fc4ca889ddd564e09b1f3eab4cb9499c5918b4e7430d63148dd2854d126719a468 SHA512 514d0f373f25bb691abf5f1f8b0209a07097191b2ad8fb6339739e7a0bd2b8e6d5a88f1250e928ca89b1f1aa5e27a44bf2cab38a57680c01214d370d11944ded DIST boto3-1.28.9.gh.tar.gz 677993 BLAKE2B a800de94cfb0d317b41091fb1d2bb0fd6449df85da434879c0689bf36998b2a52331ba077c65cae9967fcce998a15d2a6f6a758931fa12a00b95487adaf81dfa SHA512 6e1e5e74d20d2e67f29597ddcda70475cbea863978ca93ec77a0f478690477c9782111701771d5b8354f4402c21496e7f5627b1398cbd6fd87627fd978f5e360 EBUILD boto3-1.28.10.ebuild 1515 BLAKE2B 611fec92e11c2c75d95e39043931611ad3396698f6868ff4b60391eb8353e71a824613ab8a1dc96c9640cc2f933ba761c47628acf7be917abe0039628b38a071 SHA512 475e2648fea04db00eb4fd70e48a7599c758cf8e225caa6250b222293bd9aa662d962c6d6db730040680256e61131301571675f3e1470735217f950abf2c3497 @@ -26,6 +27,7 @@ EBUILD boto3-1.28.20.ebuild 1515 BLAKE2B 611fec92e11c2c75d95e39043931611ad339669 EBUILD boto3-1.28.21.ebuild 1515 BLAKE2B 611fec92e11c2c75d95e39043931611ad3396698f6868ff4b60391eb8353e71a824613ab8a1dc96c9640cc2f933ba761c47628acf7be917abe0039628b38a071 SHA512 475e2648fea04db00eb4fd70e48a7599c758cf8e225caa6250b222293bd9aa662d962c6d6db730040680256e61131301571675f3e1470735217f950abf2c3497 EBUILD boto3-1.28.22.ebuild 1515 BLAKE2B 611fec92e11c2c75d95e39043931611ad3396698f6868ff4b60391eb8353e71a824613ab8a1dc96c9640cc2f933ba761c47628acf7be917abe0039628b38a071 SHA512 475e2648fea04db00eb4fd70e48a7599c758cf8e225caa6250b222293bd9aa662d962c6d6db730040680256e61131301571675f3e1470735217f950abf2c3497 EBUILD boto3-1.28.23.ebuild 1515 BLAKE2B 611fec92e11c2c75d95e39043931611ad3396698f6868ff4b60391eb8353e71a824613ab8a1dc96c9640cc2f933ba761c47628acf7be917abe0039628b38a071 SHA512 475e2648fea04db00eb4fd70e48a7599c758cf8e225caa6250b222293bd9aa662d962c6d6db730040680256e61131301571675f3e1470735217f950abf2c3497 +EBUILD boto3-1.28.24.ebuild 1515 BLAKE2B 611fec92e11c2c75d95e39043931611ad3396698f6868ff4b60391eb8353e71a824613ab8a1dc96c9640cc2f933ba761c47628acf7be917abe0039628b38a071 SHA512 475e2648fea04db00eb4fd70e48a7599c758cf8e225caa6250b222293bd9aa662d962c6d6db730040680256e61131301571675f3e1470735217f950abf2c3497 EBUILD boto3-1.28.3.ebuild 1508 BLAKE2B 42be8b915da646a7afe6dfc988542d3d79b5dbdc565d2e738d210e3f77b7c5ba6dfbac45e46b9cc3cc4770611cbc0c155abc7f1807ff0cb8e6033f927bea4048 SHA512 06404c0363c0c7c0d378d1c2b91073c137a1685d2d846d98c655e6d001df5cde0eb51bf6e160879af2b56321a02e84146ce634855f70c7c3fbbd1adbb9b8ef8e EBUILD boto3-1.28.9.ebuild 1515 BLAKE2B 611fec92e11c2c75d95e39043931611ad3396698f6868ff4b60391eb8353e71a824613ab8a1dc96c9640cc2f933ba761c47628acf7be917abe0039628b38a071 SHA512 475e2648fea04db00eb4fd70e48a7599c758cf8e225caa6250b222293bd9aa662d962c6d6db730040680256e61131301571675f3e1470735217f950abf2c3497 EBUILD boto3-9999.ebuild 1514 BLAKE2B 5d31d27ac50ed037fb8be61559bac03bd2a8c63f3220ac93ecc864c0e3cbd34763b9b70761a9f364cbc85a0edd84c6f6eeff614292f31473b4935e5bb86fae7b SHA512 26bd2959c745f0e423d683d2fedeab9a438d215fa9b28b403d0cea81caac7436f05382b2a91a183bc1095f3b205e3b2115f931cd7803e0b9838c2a507562da5c diff --git a/dev-python/boto3/boto3-1.28.24.ebuild b/dev-python/boto3/boto3-1.28.24.ebuild new file mode 100644 index 000000000000..2a4a7643203e --- /dev/null +++ b/dev-python/boto3/boto3-1.28.24.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 8152935997e1..0d75d4a4dac1 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -11,6 +11,7 @@ DIST botocore-1.31.20.gh.tar.gz 11852972 BLAKE2B f4c4cf244de902fa4debeeb69c1981d DIST botocore-1.31.21.gh.tar.gz 11852848 BLAKE2B ccdd57fdb927335ac2b5d2f56946e49c2a397673b727a80a11a4b427dffc6f8df80bf90e9b2a937e0cf7e130850fbab3610a4484a2559a5dfb9f200d69441252 SHA512 1ee2ac3ca8d75cbabe11083f2409641d71e7c96ff476f7892d13f9e33878b58526a1a05c676befe78d5ffc7d3b1384277c7ad3bb224ec4aed378029b12817868 DIST botocore-1.31.22.gh.tar.gz 11858266 BLAKE2B a4eb898f7e562b692592171ab239550995ab6bf472cd5d98d5f98b412b050f18610ec61db58367d0cfec28d77f973f0200d5b13a88ea5bf66e5d41a6a254ccdb SHA512 fe66dd19e38ed98449f76e921ee538132a1e8a2f1452b6a7e88175901a1275e467faac4f1ec825854b6f8e799f4a54d2bebe4a52256edbdce3004944b2c6bd1e DIST botocore-1.31.23.gh.tar.gz 11859889 BLAKE2B d183c514f61f6384bd535e284d58dd4e11df7d33948256baed19eb21908cba429a54c4e2aa2640ab550df2803ead7c33489028231695ec0effa660dd9827de2d SHA512 b6eecc7ff1390e89290c5c09a905c89a6093dc0571dbbb3b38c018f70a1ee177dd63a70900f12cadd9926a2e9d645cd3cfef78d5424a1437d123e07ccaff7c64 +DIST botocore-1.31.24.gh.tar.gz 11862679 BLAKE2B 16544365d84d6624a4422f1a200f7a7b5e76aa2e4c1abc09eee42c6c815623755d03e9c3dafef98589bb35aaaa4eacb554da0302378a629abe65c1c3b47160db SHA512 78f12f93ecc9c3607ae30602fc1525833d9a7aca95934ccbb6980f05239561810f131eafa801bb07d79546df1eaac66c13fbd7db0357eb8eb71936849ab4367f DIST botocore-1.31.3.gh.tar.gz 11769948 BLAKE2B 452c494faa430b6782685b9960cc9ea15ce3dedfe1b5343ee7bdbd7544e108bbfc7bb58d527419b5dc5f4077dd806752eec927196b82ac286903992fef339e52 SHA512 0f2853c14d7695ea4eeacea6fed93e77436df143bd0b9bec967490eb88e3d6531c916dca91c1a3bde4b57253d77acabe2413acde4d1473d01e15ef69b45621e0 DIST botocore-1.31.9.gh.tar.gz 11785638 BLAKE2B 23f2c010f98b5ca8414c9a031524b1cb7d75366bf84d34df980ef4085a73bc62643cca5255519f891f7a9468abbf0d97adddf6684c3c0a751b0f9f390122c19d SHA512 b2bf0089a81c5389d86c9f7b2545358f23a1219d7e5bf152285f58293a171210b46c22c814ab3f8da460a2acbdd5127193fa7a2e19a021db511f9d08931037bf EBUILD botocore-1.31.10.ebuild 2485 BLAKE2B f7c931df1cf3c88ac69706626687c7c96d98c055d54969a36872f91a44028567f2a405a8cb6ce729b78a2f99655a6989db07c57a5e0333b897996e98c401e275 SHA512 9d6f15f5b7035cfc63eeb8e86710eaecb765c20c47b018f834d806212d3ec7506562f7b162886bdcc9cd4e15d8ffd776b1f51c890dbbfadacefec5e787d13b44 @@ -26,6 +27,7 @@ EBUILD botocore-1.31.20.ebuild 1834 BLAKE2B 50305f707e533627ed4b906b3c5845a931f8 EBUILD botocore-1.31.21.ebuild 1834 BLAKE2B 50305f707e533627ed4b906b3c5845a931f825049d40d8e9d9eedf1323d130634b578f68adb046db30e3e9a4168361da69d99471a7b744407dc103130a114994 SHA512 45952178574e99269d9767374818d867bfcc47ebf0f4c37dbab6cf50089577badb69967bd06b0b2d10b15dcd1c3e8b82adac88404d7c3b7d7784292b4005e797 EBUILD botocore-1.31.22.ebuild 1834 BLAKE2B 50305f707e533627ed4b906b3c5845a931f825049d40d8e9d9eedf1323d130634b578f68adb046db30e3e9a4168361da69d99471a7b744407dc103130a114994 SHA512 45952178574e99269d9767374818d867bfcc47ebf0f4c37dbab6cf50089577badb69967bd06b0b2d10b15dcd1c3e8b82adac88404d7c3b7d7784292b4005e797 EBUILD botocore-1.31.23.ebuild 1834 BLAKE2B 50305f707e533627ed4b906b3c5845a931f825049d40d8e9d9eedf1323d130634b578f68adb046db30e3e9a4168361da69d99471a7b744407dc103130a114994 SHA512 45952178574e99269d9767374818d867bfcc47ebf0f4c37dbab6cf50089577badb69967bd06b0b2d10b15dcd1c3e8b82adac88404d7c3b7d7784292b4005e797 +EBUILD botocore-1.31.24.ebuild 1834 BLAKE2B 50305f707e533627ed4b906b3c5845a931f825049d40d8e9d9eedf1323d130634b578f68adb046db30e3e9a4168361da69d99471a7b744407dc103130a114994 SHA512 45952178574e99269d9767374818d867bfcc47ebf0f4c37dbab6cf50089577badb69967bd06b0b2d10b15dcd1c3e8b82adac88404d7c3b7d7784292b4005e797 EBUILD botocore-1.31.3.ebuild 2478 BLAKE2B 12b452c39c98b793a4f15b9a8e8b082ba77dcf677a7c529d2d4b8b81d729403597e071da7d2c98e5e4ed65778e19ea881c6993cf3405e7f80ad20a078fa18a63 SHA512 5118842311b8971e9d2b9f03a45f496caef3b95cfa79334f77097430d569cab7ac1261dcab3fe13236ecad3907936ae49eea87620a12304ae6cf6798639deb47 EBUILD botocore-1.31.9.ebuild 2485 BLAKE2B f7c931df1cf3c88ac69706626687c7c96d98c055d54969a36872f91a44028567f2a405a8cb6ce729b78a2f99655a6989db07c57a5e0333b897996e98c401e275 SHA512 9d6f15f5b7035cfc63eeb8e86710eaecb765c20c47b018f834d806212d3ec7506562f7b162886bdcc9cd4e15d8ffd776b1f51c890dbbfadacefec5e787d13b44 EBUILD botocore-9999.ebuild 1736 BLAKE2B 6ca7ea14855f5f8db2d166ba1f29835d4c994a0a8fa38f3852406289a4465c091909562ac678f1c0bf7e640a594731b0d4319efc0f34f6bc640fbae06746c4bc SHA512 f891bf0eded88d9af3b87fc7c9ee4c6a129d263e672821f3b9654d43bb3bcac41305b834192088d15b50f3f9d36ea95374180cf13e1cb67149595ec63e4cc155 diff --git a/dev-python/botocore/botocore-1.31.24.ebuild b/dev-python/botocore/botocore-1.31.24.ebuild new file mode 100644 index 000000000000..491b6bbc21f2 --- /dev/null +++ b/dev-python/botocore/botocore-1.31.24.ebuild @@ -0,0 +1,72 @@ +# 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 + ) + + epytest tests/{functional,unit} -n "$(makeopts_jobs)" +} diff --git a/dev-python/django-debug-toolbar/Manifest b/dev-python/django-debug-toolbar/Manifest index bca149d4a001..0e024626c092 100644 --- a/dev-python/django-debug-toolbar/Manifest +++ b/dev-python/django-debug-toolbar/Manifest @@ -1,3 +1,5 @@ DIST django-debug-toolbar-4.1.gh.tar.gz 267550 BLAKE2B 80ebec1ee6f09d44089e119107a3696b8db82263976b4d191aaeea89658b0fbfb7ca1e2975aa73ad5c9240ac3010816710b5f7386165b1d7bdf335f8ef82b896 SHA512 8e9cc1ffcd8be7e345fff78e60cde8c4b44ef751dbf6a6bc061d452ccb60c68eda9f7e7a17efc32be3a62601921dff87f52ba2fe0e47a17fb820bf025cac0035 +DIST django_debug_toolbar-4.2.0.tar.gz 259709 BLAKE2B 81172bca569f6080710db2180650b0620670a4b4d2919d8b1694bf9f15425d9378f6cd0cbb852544fca0809388bb13867500a38c9046e1feaa241cde973936d9 SHA512 ff36d92132fd9338e88a2f078747c1e54e7633aecc6babea28ccb0c080b0beb99feccf1d1c00960ba109e3e6e4805562c36c6571842ea3baeda860c71ffcbd50 EBUILD django-debug-toolbar-4.1.ebuild 844 BLAKE2B 853e3057efe00c7fb93c8cbd61ec011a0423f2ca21ecfef1a37bf8a21c2e372c0327e2b074d72240e876f53004dc469863d59eebfb7189c1ba145d3ce60c314c SHA512 8284de5fdc1b26bdd5996a5019bb2833dd32afed8b1d61edbe828b7f32e0df39c99117a8ba17dc96840d967f8f0c49d0587f0728cef55a30e2ea4838dc967d14 +EBUILD django-debug-toolbar-4.2.0.ebuild 713 BLAKE2B 27e9f06ddb91459cdc112e5c9cfd787c429788a359040672b109a3c8045b0adf86d51c0466dad00c4597964be6d7250cd2c14ec28683cfa50a9a9d154af01134 SHA512 5fca397f59d009b88d69da7eebd44542a06012ae4f6c2e1e0a1e4d07730ee5db97193543640874591ae499b7a403ac972a746df68b5ba00af118ef6c1cc5b725 MISC metadata.xml 400 BLAKE2B 5e173b9872626f2eb14b25d4b0271f339576fefc19a28f3ad8a8358bd0cd07ef6af0a268f7aa0f403ffb6ffd9527415bc173f7c5fb516bdb2e201883a8ec7390 SHA512 64e2fd8932cc6795a7d72aa37d8634f17556f1141c1bef1abddca2d56fa67f8500861b53a2698a96bf8adf66e7a991108b59fce55c710cd6cc3963ee3a35241e diff --git a/dev-python/django-debug-toolbar/django-debug-toolbar-4.2.0.ebuild b/dev-python/django-debug-toolbar/django-debug-toolbar-4.2.0.ebuild new file mode 100644 index 000000000000..570f8b5e767c --- /dev/null +++ b/dev-python/django-debug-toolbar/django-debug-toolbar-4.2.0.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=hatchling +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A configurable set of panels that display various debug information" +HOMEPAGE=" + https://github.com/jazzband/django-debug-toolbar/ + https://pypi.org/project/django-debug-toolbar/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/django[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/html5lib[${PYTHON_USEDEP}] + ) +" + +python_test() { + "${EPYTHON}" -m django test -v 2 --settings tests.settings \ + || die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/flasgger/Manifest b/dev-python/flasgger/Manifest new file mode 100644 index 000000000000..fcbcafdbace5 --- /dev/null +++ b/dev-python/flasgger/Manifest @@ -0,0 +1,3 @@ +DIST flasgger-0.9.7.1.tar.gz 3979409 BLAKE2B 939b0adfdfa3fcc8305320c6a140ef378e5617d46743e1cae04093e8391b782b73d4f112174ed1e29711fbf55a7469ffe6008beff9a218f5eaa68bb8864ced1c SHA512 fe1feb5ebadc6c3cde8e9e70726c86efc8d88392c5eb44ddaa6135fa96fbaada975d2042187bd4cebe08d843d21dc8e89dea5f2935b6c65863b36e4a6a39d121 +EBUILD flasgger-0.9.7.1.ebuild 811 BLAKE2B 3ec303d77d3647def108787e16d52c148efb1e2a199e80cb853664503433f9cef4d72abf0957e26a5570bd9faf608618ba27f8c1c2d4b187e60d4ba185ec6560 SHA512 1738fb1d7925bf3b74e3073003d20f531d7bf88b00fa511976c283bbe66fd17e51a834af0b2c36c7328b7af0b878786687638b319722072571c2e5d3603d9b82 +MISC metadata.xml 371 BLAKE2B b1314dcfb76144b1632e4d95c894aa8b6693194e83f09e85eb1a257256b06d3d37ef53244d7ec8850af744bf2279e37d07c8e946aff319055bec119479ca043f SHA512 8cf991b80fcbb57215ca4f5e38bfa4da9b1860a9bb2b7f189e22ead1786a5bf9ec96b10ad3ca86f8d375a0e5d8285232b52fbf410414ac97bf654fb1276272af diff --git a/dev-python/flasgger/flasgger-0.9.7.1.ebuild b/dev-python/flasgger/flasgger-0.9.7.1.ebuild new file mode 100644 index 000000000000..322e60f3e6b8 --- /dev/null +++ b/dev-python/flasgger/flasgger-0.9.7.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Easy OpenAPI specs and Swagger UI for your Flask API" +HOMEPAGE=" + https://github.com/flasgger/flasgger/ + https://pypi.org/project/flasgger/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/flask-0.10[${PYTHON_USEDEP}] + >=dev-python/pyyaml-3.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.0.1[${PYTHON_USEDEP}] + dev-python/mistune[${PYTHON_USEDEP}] + >=dev-python/six-1.10.0[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_IGNORE=( + # requires flex + tests/test_examples.py + ) + + epytest tests +} diff --git a/dev-python/flasgger/metadata.xml b/dev-python/flasgger/metadata.xml new file mode 100644 index 000000000000..afb6a76c4a91 --- /dev/null +++ b/dev-python/flasgger/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="github">flasgger/flasgger</remote-id> + <remote-id type="pypi">flasgger</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/httpbin/Manifest b/dev-python/httpbin/Manifest index bac9b767caae..2df8a6b8d6ce 100644 --- a/dev-python/httpbin/Manifest +++ b/dev-python/httpbin/Manifest @@ -2,6 +2,8 @@ AUX httpbin-0.7.0-brotlicffi.patch 1362 BLAKE2B 524973fe131181c6601ea7b973c25e55 AUX httpbin-0.7.0-optional-raven.patch 1218 BLAKE2B 010a13db882711af3cd74175b87371d0c9c6e279168653836ce4a445357f4ca3fbd77fc262a57de5cbfccbc4da514e1e89253595b4fdab03553ed9adffddbc57 SHA512 2feb379c4b888560f825f5fce0130999705bfe83cff190da1651ffb9842243036ecb28d1f54cc92d7a855f73b45f0cf5164df75732f4ac2c9035b583941a9560 AUX httpbin-0.7.0-test-werkzeug.patch 1108 BLAKE2B a7118afed382eeedcfb3e8ff9a31b31fb80c01cf97f19948f9d208d77289f829d3ef24f4cbdde74cc87d2d640b61a51994292fcdf5058f94b8768fd4c37a3cc1 SHA512 3556b921a6daed3dc561d78912b41ca9a3cea1274384f849bba1d7cd7e7014798ce5c9e93491351ca5225e26762be03c73cd0d09c60c90b8a55ff6e6ce0bf81f AUX httpbin-0.7.0-werkzeug-2.1.patch 1158 BLAKE2B 7343f4dbe9886fd54fc8187bc48ed8bd016c03057c4e5de81a46c2389b8d9fdd381f687855dc8ded1d8133a47fb8f09f4ec6c8eae739ca1c157945af97a633c5 SHA512 3d9ed7ab76dc0a33d69cf973e16be7358daa0af0a48d5ac24e0ad6ea8d73a68a796b4c8526ad764c0ed09997448f744f205b909261c32405ff166b359be1fb8b +DIST httpbin-0.10.0.tar.gz 103729 BLAKE2B 1daff5bd9eba62c224d4fd6030e3c3378f849365d0e94f04e890fe555537580841bb4bc6868d04c0b64599aa09bf697f331b091f6a4c0450f23bf047fd0da887 SHA512 4fae4fe22cb1870acd31f51c25c1bbe946cfe9be88a63f0ba8d7078d2c48089d794726e86290fc41fa38dcf72f8573f054286cb47ab7518e953b7aafa4518215 DIST httpbin-0.7.0.tar.gz 92613 BLAKE2B 59252df1d4d0ef853ec65263b472d3ba6c597336d844f9b457f2d0a009048d4222f715a7f6fb120aca00fa641d1687e302036dc151bd2fd67ba98cf5fc47a63a SHA512 82e80058b58943637e9f8191764cea79bf7a6e40f36069f9b5d3f908585dbef20a03ef070d1f865d350920b6e874a93a48a544b05c14ff4911038ec2c20f6f63 +EBUILD httpbin-0.10.0.ebuild 907 BLAKE2B 5b2e98fb3d9831c448d30daeb4d9a4af44495d4562941d7cc5c170965ff4364e7bc7e39dcf8502cf23106e31059286e36edf6a126e8740efdeca33ce9dc88d1b SHA512 8ea31fdfd039c8ef43ca578d9e67c8044aebeb738a5d052be65b915a8ed7fc55a25a30683047252224758df985222e460d9665f6699be023aa46b5a0955578ac EBUILD httpbin-0.7.0-r5.ebuild 1615 BLAKE2B 5e50812f5ae503bdb5a4e3b94bc404e7c5cb381f1a1e168d13f7405cc95aca7282c27588f96b797f488e9f37490532121f80d9445093828d3a127fcb48d51bfd SHA512 6d89f8af93f60e76c37f9eafebf8d5155a1c77353c26cc442281a240f9be9d2bd5369aed7d10b102990fd3d8cdb34f36a40ab000ff39e7b540d709b688a85555 MISC metadata.xml 394 BLAKE2B 73c2d6f27f957cfeaddc8c69cc0d7a7bf68514f1d840a982de1eaf9a62be8cf066d7b77b4b5f69fc42806979934e26d497ddf9d66d8f18dcaa32168fd83f7a0e SHA512 70c529e2d1b716a1997773f999902547010bd9406cfde38408a5941a70400e13c949f1a8fb20a53e0f0da4da91742cc259910e97cce8917dc029f3cb84d72bdd diff --git a/dev-python/httpbin/httpbin-0.10.0.ebuild b/dev-python/httpbin/httpbin-0.10.0.ebuild new file mode 100644 index 000000000000..f5bae8c0052d --- /dev/null +++ b/dev-python/httpbin/httpbin-0.10.0.ebuild @@ -0,0 +1,38 @@ +# 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="HTTP Request and Response Service" +HOMEPAGE=" + https://github.com/postmanlabs/httpbin/ + https://pypi.org/project/httpbin/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/brotlicffi[${PYTHON_USEDEP}] + dev-python/decorator[${PYTHON_USEDEP}] + dev-python/flasgger[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/itsdangerous[${PYTHON_USEDEP}] + dev-python/markupsafe[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + >=dev-python/werkzeug-2.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_prepare() { + [[ ${PV} != 0.10.0 ]] && die "Remove find_packages hack!" + sed -i -e '/find_packages(/d' setup.py || die + distutils-r1_src_prepare +} diff --git a/dev-python/mypy/Manifest b/dev-python/mypy/Manifest index 85b10523e02a..146d818d09d0 100644 --- a/dev-python/mypy/Manifest +++ b/dev-python/mypy/Manifest @@ -1,5 +1,7 @@ DIST mypy-1.3.0.gh.tar.gz 2823529 BLAKE2B 0f1b4b6178ef9308fa6aeda494092229ebe07095c032b83fffd28be851608a3dc92ae4924ea64d87318155bf9d99bf16e17e2603f39fc915463455db520d6138 SHA512 1ab0e667bd019ea6804c70c775c2bfb454231ca2426b2b78b5c91672f7f20fd1195ee481a688d9b6238c3b5f6dc9a7aa5466c7405ce71dd6f78c489a43670fc0 DIST mypy-1.4.1.gh.tar.gz 2864808 BLAKE2B 7dfda945cf554e170d048fc4b2689aa25a57e058857e17dd052090089a7880da74a3dd552fb1b8f8fa9bd9e84f1c97e49b36075d10957c6ee12c2507fb775668 SHA512 8a20ded76d9d3f323dc607c6cfdd4814c2ab798620a0b38198c7ff79bd1fb93aef7f8d60afa6e568957fcd8d9bfdf42308da07b4b0dd6260f192131377ee6951 +DIST mypy-1.5.0.gh.tar.gz 2901221 BLAKE2B c23e0a5a5fc91a107fd11c9b0d97b0c19c671eb3aec718f216e53074bb4cdca96884611cdfdefd91189b9860ad54d84fecb468448f2819f4432f93594b2ffbae SHA512 2b82be7948d44ef8ec6592fc5756dee66df1ee363e2607796f69f76e3db96e421dab8ba2aea4db9e976f2b05314d97a031f1d197633df34a5667f4d1dabbd70f EBUILD mypy-1.3.0-r1.ebuild 1786 BLAKE2B f76278013b9c7621bdaa795ff292ff53f93dcb8932dcd57c90ef5f7bd4059f8b880243a420675b868de79defd877df56631d701ce56d8d4b418dd75cf8a49607 SHA512 ce94cfbce9793beccffee975a10825bf0656613c2aace65a4e38babc663d79e1894250d191f07e27d39ce030591abc3e969b2d6e2ca761251f8b9a6320d1a83f EBUILD mypy-1.4.1-r1.ebuild 1723 BLAKE2B b6658b287adec0c687e0120127adb2d475fa65cb04f8e8a8426f1ec1d22da9b515103b3770c6f54bdbd0fa24e8c4ec4b4fe9350399e8103c14f662f69f82fd9a SHA512 c12d21d700aa5770e592ceaba55bf5a664df991b41701af6605aa88483c44d63cf5bcec1c31a87fc553aebb9794f60c184bffa5806fb74520f45cd9e3cc270bc +EBUILD mypy-1.5.0.ebuild 1684 BLAKE2B a2bd3071b225a4d34c7768fadfe6ef35df2b12ef06f66d565310b968832e4544e48e7d7862e4ef614cc433b90d5689c4dc01bef54def2fe0de8c5fab2c2f1087 SHA512 f5fb9f61e6a4ac6cdda6d5b9b0d5deebc9d38f136af8e50dbf8c7303f931af9d8ec01c315ad672435dadb58cb9977c23580310297cd6b80f56124a92173ce8c8 MISC metadata.xml 515 BLAKE2B 75827bbbeb70fd4b9295ab4689068d2d4b686b32d4059acde94fb0d08048e9e56ecaf3eec39dc5567b2753e2552353e273cdf2f4e27d077cc9b03320ee09c64b SHA512 c1c3c7a3651e61e0b63ab4462f0370cce9cbdce33e64c5e7a1fbefe8116d5d3d3b35bc4095d8a5ce28caf69b0644af3f13c9a27b683f2f981e52f8bfe4ac8615 diff --git a/dev-python/mypy/mypy-1.5.0.ebuild b/dev-python/mypy/mypy-1.5.0.ebuild new file mode 100644 index 000000000000..515523a5daef --- /dev/null +++ b/dev-python/mypy/mypy-1.5.0.ebuild @@ -0,0 +1,63 @@ +# 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="Optional static typing for Python" +HOMEPAGE=" + https://www.mypy-lang.org/ + https://github.com/python/mypy/ + https://pypi.org/project/mypy/ +" +SRC_URI=" + https://github.com/python/mypy/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# stubgen collides with this package: https://bugs.gentoo.org/585594 +RDEPEND=" + !dev-util/stubgen + >=dev-python/psutil-4[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.1.0[${PYTHON_USEDEP}] + >=dev-python/mypy_extensions-1.0.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.{9..10}) +" +BDEPEND=" + test? ( + >=dev-python/attrs-18.0[${PYTHON_USEDEP}] + >=dev-python/filelock-3.3.0[${PYTHON_USEDEP}] + >=dev-python/lxml-4.4.0[${PYTHON_USEDEP}] + >=dev-python/pytest-7.4.0[${PYTHON_USEDEP}] + >=dev-python/pytest-xdist-1.18[${PYTHON_USEDEP}] + >=dev-python/py-1.5.2[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + >=dev-python/virtualenv-16.0.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +# this requires packaging a lot of type stubs +export MYPY_USE_MYPYC=0 + +python_test() { + local EPYTEST_DESELECT=( + # the majority of them require Internet (via pip) + mypy/test/testpep561.py + ) + # Some mypy/test/testcmdline.py::PythonCmdlineSuite tests + # fail with high COLUMNS values + local -x COLUMNS=80 + epytest -n "$(makeopts_jobs)" --dist=worksteal +} diff --git a/dev-python/pipenv/Manifest b/dev-python/pipenv/Manifest index a65d2517290c..95329ef01503 100644 --- a/dev-python/pipenv/Manifest +++ b/dev-python/pipenv/Manifest @@ -3,6 +3,10 @@ AUX pipenv-2023.4.29-append-always-install.patch 696 BLAKE2B 61ae23b3c948358109a AUX pipenv-2023.4.29-fix-imports.patch 946 BLAKE2B 76cc36b1a60cb600851198340f1b42bed7210f62d9aec536a8bd203e86a62a11659cccf5c328e2ebbc11c0b22f863a8c70f64932170ca2d1ac0bfee526797f0b SHA512 ff6221fe4a1876a0f4c0677243d06c9e79cd08b504b20b958ce98194f0d269bdf2bedd3558af69d03d0dd24749c73999172c83c89643d362c6e095e54f55d73d AUX pipenv-2023.4.29-fix-toml-dump.patch 732 BLAKE2B 5e1a379ee851763344c642da4c3a9876e0cda4e4f1697becfec63564c404d1070c886df5b9df7e379447bb191e7ecae63fd743bde4a8de8a1ca655ac78a3a23f SHA512 8152e1650d0f2c75c810c0ab64bff9544cfabcd3ff9b342aeddbeeda27549f8a4ee4eacdb71e7ec18945a91443381b5cecc1c5ad8a885a1f162811cd8f09f396 AUX pipenv-2023.4.29-fix-toml-in-vendor.patch 2612 BLAKE2B 8951dc3baefe0d58262d5d8c2f1952331322665f4961ced0dab5ac4109a33a4cd107646d5a9281a6b3685d6885f3f6b256fd675f9308b8c7844b065bcbde3522 SHA512 075fe3a8b69265ea41071407edec1edba945ef38123da970a6ba4553f5bd7491f8b13b07241f6ecd3e77dff1b6542f279943b0a760711c8cb0827837a7daa376 +AUX pipenv-2023.7.11-fix-imports-utils.patch 367 BLAKE2B 65529d5b515b265fa44be5e520051f98f5507989f1e708d7bf258bbd55304016cc6369ec6ec389268f7018165ddc2052aa2c6f6c4b89fff48d4b973e366b2092 SHA512 15c91f4f663254e314a8d74ffea68b63a96a40a0732be18692629c338551114924f876db7085b965d274c5124d001e735871bf06a1abe2e5df80de7eb354158a +AUX pipenv-2023.7.11-fix-imports.patch 1572 BLAKE2B e2dca1f8cb57138a9d19baf4b0b036f88172f1e58ad1d41201f6020088357fd0ace950d9b49c95a34caa391826da13468d5bca472b50717b5ee32e9474de22a6 SHA512 592d271ce3bc3e375090a39e9629f8a6eba80f9a2b15562e3902b94cc42ac24b6cb097f5c62c307a1dcee3a179d0a0c8475375b94512eaeadc05d369d60b1087 DIST pipenv-2023.4.29.gh.tar.gz 10808706 BLAKE2B 31432b80f82b041969e75d0ec0a28ca90068395be25dac94a7f34526f0b638adfae59e9396b147fa61592ee78af2d9cfb4a1b65dedea9bbb299b2624a6d6e9a1 SHA512 870b33ced4ed909b23b9d345ec788f4b5fffde4b253755e8a41b0629e885ef49ca14e9a68b5919b70074829002603fe427e8b77f41028a7de33d269a910354ff +DIST pipenv-2023.7.11.gh.tar.gz 10828051 BLAKE2B 3eeab9c5328dc5914e7e024f07bf105241ca777187ce50d5765f0ca1bb7270d8c6bda6a842b188fcacb57ba8bf5d0ed5f7b29b9edce5d45e485c8079691ac991 SHA512 d37cf030f4f77d4c95d0f0883140b1e829d4473b43fdc3f61c3d39827fdf9c98ecfc794d3eacf3ebedb55dadb018416c1250938a193a6382ac61ce859d19e193 EBUILD pipenv-2023.4.29-r1.ebuild 4161 BLAKE2B a9b5486d69f30af06517b100771280a9562399257fd599c63787cdd235d9c4e2a1d8c113592d3e61fa972487e3896982b7fe6478c456649e3f48b125437bca92 SHA512 4687a9d3ad00d71db2259615ad4f37b3503b92a742094fdc663ff9b217e3bbf7e5faf05ffe9021a189f7a80b0924a6ebd2b7dcdd3daa633d6c77a2c463e8e3b7 +EBUILD pipenv-2023.7.11.ebuild 4108 BLAKE2B 89b3556b5f91c0170ff80fcb8de66b13afee7aa8e433309f10012d0f33636cff63538e0c742f15f5e01fe51dcf3b944ba0cccfab1c7d65cd22ac342ed857d490 SHA512 37dc19e6457b1a9f0cc4c0e3b39ac1534981e5459e8347276f6ba1118908405a9e6a3f790c7b4cc1167cfc561e66931e6f2991fe8ac706361bb82a7846590ebd MISC metadata.xml 643 BLAKE2B ff3557d9ae32b553c85455436683e2ca94bc16c6ec7c6d2ceb1113a69dc841b9ac2f0e4b96eec4c6c84ca899ad6a99b0747d7bf3f9289110a8bbdfb80f2cb2eb SHA512 7a611950572c2d700fb1680e0aa307069d80d992528144da781eca9f1fee729defa6f8b28382ddd8f66e58c5f68de9a17815989a4a39473bbf830a7be42ea282 diff --git a/dev-python/pipenv/files/pipenv-2023.7.11-fix-imports-utils.patch b/dev-python/pipenv/files/pipenv-2023.7.11-fix-imports-utils.patch new file mode 100644 index 000000000000..2e348bf8e440 --- /dev/null +++ b/dev-python/pipenv/files/pipenv-2023.7.11-fix-imports-utils.patch @@ -0,0 +1,15 @@ +diff --git a/pipenv/utils/environment.py b/pipenv/utils/environment.py +index 2e066eef2..219d8f9e5 100644 +--- a/pipenv/utils/environment.py ++++ b/pipenv/utils/environment.py +@@ -1,7 +1,9 @@ + import os + ++import click ++import dotenv ++ + from pipenv import environments +-from pipenv.vendor import click, dotenv + + + def load_dot_env(project, as_dict=False, quiet=False): diff --git a/dev-python/pipenv/files/pipenv-2023.7.11-fix-imports.patch b/dev-python/pipenv/files/pipenv-2023.7.11-fix-imports.patch new file mode 100644 index 000000000000..a437d55b6964 --- /dev/null +++ b/dev-python/pipenv/files/pipenv-2023.7.11-fix-imports.patch @@ -0,0 +1,39 @@ +diff --git a/pipenv/environment.py b/pipenv/environment.py +index dbb89b011..89f2aaf9e 100644 +--- a/pipenv/environment.py ++++ b/pipenv/environment.py +@@ -14,7 +14,9 @@ from sysconfig import get_paths, get_python_version, get_scheme_names + from urllib.parse import urlparse + from urllib.request import url2pathname + ++import click + import pipenv ++ + from pipenv.patched.pip._internal.commands.install import InstallCommand + from pipenv.patched.pip._internal.index.package_finder import PackageFinder + from pipenv.patched.pip._vendor import pkg_resources +@@ -23,7 +25,6 @@ from pipenv.utils.funktools import chunked, unnest + from pipenv.utils.indexes import prepare_pip_source_args + from pipenv.utils.processes import subprocess_run + from pipenv.utils.shell import make_posix +-from pipenv.vendor import click + from pipenv.vendor.pythonfinder.utils import is_in_path + from pipenv.vendor.requirementslib.fileutils import normalize_path, temp_path + from pipenv.vendor.requirementslib.utils import temp_environ +diff --git a/pipenv/project.py b/pipenv/project.py +index f865988b9..e8714ef63 100644 +--- a/pipenv/project.py ++++ b/pipenv/project.py +@@ -44,9 +44,11 @@ from pipenv.utils.shell import ( + system_which, + ) + from pipenv.utils.toml import cleanup_toml, convert_toml_outline_tables +-from pipenv.vendor import click, plette, tomlkit ++from pipenv.vendor import plette + from pipenv.vendor.requirementslib.models.utils import get_default_pyproject_backend + ++import click, tomlkit ++ + try: + # this is only in Python3.8 and later + from functools import cached_property diff --git a/dev-python/pipenv/pipenv-2023.7.11.ebuild b/dev-python/pipenv/pipenv-2023.7.11.ebuild new file mode 100644 index 000000000000..754900f42659 --- /dev/null +++ b/dev-python/pipenv/pipenv-2023.7.11.ebuild @@ -0,0 +1,108 @@ +# 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_{8..11} ) + +inherit distutils-r1 multiprocessing + +MY_PV=${PV/_beta/b} +DESCRIPTION="Python Development Workflow for Humans" +HOMEPAGE="https://github.com/pypa/pipenv https://pypi.org/project/pipenv/" +SRC_URI="https://github.com/pypa/pipenv/archive/v${MY_PV}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}"/${PN}-${MY_PV} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" + +PATCHES=( + "${FILESDIR}/pipenv-2022.9.24-inject-site-packages.patch" + "${FILESDIR}/pipenv-2023.4.29-append-always-install.patch" + "${FILESDIR}/pipenv-2023.7.11-fix-imports.patch" + "${FILESDIR}/pipenv-2023.7.11-fix-imports-utils.patch" +) + +RDEPEND=" + dev-python/attrs[${PYTHON_USEDEP}] + >=dev-python/cerberus-1.3.2[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + >=dev-python/colorama-0.4.4[${PYTHON_USEDEP}] + >=dev-python/markupsafe-2.0.1[${PYTHON_USEDEP}] + >=dev-python/pexpect-4.8.0[${PYTHON_USEDEP}] + >=dev-python/ptyprocess-0.7.0[${PYTHON_USEDEP}] + dev-python/pyparsing[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' dev-python/tomli[${PYTHON_USEDEP}] ' python3_{9..10}) + >=dev-python/python-dateutil-2.8.2[${PYTHON_USEDEP}] + >=dev-python/python-dotenv-0.21.0[${PYTHON_USEDEP}] + >=dev-python/virtualenv-20.0.35[${PYTHON_USEDEP}] + dev-python/virtualenv-clone[${PYTHON_USEDEP}] + >=dev-python/requests-2.26.0[${PYTHON_USEDEP}] + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + dev-python/tomlkit[${PYTHON_USEDEP}] +" + +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +# IMPORTANT: The following sed command patches the vendor direcotry +# in the pipenv source. Attempts to simply bump the version of the +# package without checking that it works is likely to fail +# The vendored packages should eventually all be removed +# see: https://bugs.gentoo.org/717666 +src_prepare() { + local pkgName + local jobs=$(makeopts_jobs) + local packages=( attr attrs cerberus colorama dotenv markupsafe \ + pexpect ptyprocess pyparsing requests urllib3 tomlkit ) + for pkgName in ${packages[@]}; do + find ./ -type f -print0 | \ + xargs --max-procs="${jobs}" --null \ + sed --in-place \ + -e "s/from pipenv.vendor import ${pkgName}/import ${pkgName}/g" \ + -e "s/from pipenv.vendor.${pkgName}\(.*\) import \(\w*\)/from ${pkgName}\1 import \2/g"\ + -e "s/import pipenv.vendor.${pkgName} as ${pkgName}/import ${pkgName}/g" \ + -e "s/from .vendor import ${pkgName}/import ${pkgName}/g" || die "Failed to sed for ${pkgName}" + done + + distutils-r1_src_prepare + + # remove vendored versions + for pkgName in ${packages[@]}; do + find ./pipenv/vendor -regextype posix-extended -regex ".*${pkgName}$" -prune -exec rm -rvf {} + || die + # package names can be foo-bar, their module will be however foo_bar + find ./pipenv/vendor -regextype posix-extended -regex ".*${pkgName/_/-}" -prune -exec rm -rvf {} + || die + done + + find ./pipenv/vendor -regextype posix-extended -regex '.*cached[_-]property.*' -prune -exec rm -rvf {} + || die + + find ./ -type f -print0 | \ + xargs --max-procs="${jobs}" --null \ + sed --in-place \ + -e "s/from pipenv\.vendor import plette, toml, tomlkit, vistir/from pipenv\.vendor import plette, toml, vistir\\nimport tomlkit/g" + + # remove python ruaml yaml + sed --in-place -e "s/from pipenv\.vendor\.ruamel\.yaml import YAML/from ruamel\.yaml import YAML/g" pipenv/patched/safety/util.py || die "Failed sed in ruaml-yaml" + sed --in-place -e "s/from pipenv\.vendor\.ruamel\.yaml\.error import MarkedYAMLError/from ruamel\.yaml\.error import MarkedYAMLError/g" pipenv/patched/safety/util.py || die "Failed sed in ruamel-yaml" + + rm -vR pipenv/vendor/ruamel || die "Failed removing ruamel-yaml from vendor" + + for fname in Makefile README.md README.rst ruamel.*.LICENSE vendor.txt; do + rm -v pipenv/vendor/$fname || die "Failed removing pipenv/vendor/$fname" + done + +} + +python_test() { + epytest -m "not cli and not needs_internet" tests/unit/ +} diff --git a/dev-python/pyaudio/Manifest b/dev-python/pyaudio/Manifest index 87b1d17427e8..098eb06ce7cc 100644 --- a/dev-python/pyaudio/Manifest +++ b/dev-python/pyaudio/Manifest @@ -1,3 +1,4 @@ DIST PyAudio-0.2.13.tar.gz 46820 BLAKE2B f0c55f4d6d028ab1210c031b6a3808f93f7963a49cf54e4c9ae65bf936f218386d4a43322b9bd645233e6f881e3d15cdcc6ceeb7fe65fd287696048b206cbfbf SHA512 1ae453cae442118ae1b0db44ca8736621a361af3686e47561bffa0d43352039ed5f882412ca22a2a4320b362f966e727b0e38bb9706e99b85d99bc16cc943008 +EBUILD pyaudio-0.2.13-r1.ebuild 1098 BLAKE2B 305ae7b0b07fcb231ab78d3f873bf360d72f8818c2488a923452a4fb17b9ff2c26211f09435af33eb780abdcae3e8ac06cb03f4f1fa4af881b3633fe107430da SHA512 1d562a1541696ecd9a7206cac1d21ab04c146946119bfb5c8d663e16ee7a123fb75cb353ded19c0c5e166a36eb4d49da74dddffb994a34c42f56efd0da2bd1d8 EBUILD pyaudio-0.2.13.ebuild 1044 BLAKE2B 3b64cb69b7fe824547e4dcd99ba7240fb24307d20f553ba8844d2741e143e0ad2fe530590049a8758dfdc6f7d70e1bcabe766eda7a021d287e80e70f6044395f SHA512 a087abeab232c23e817faf9ccf57b5de73aedc6b1fe64e4eafcd72c7277a9f31f282adf978b9c859acbf9306f43e46d114b500af37d85d5294faacd667d355d2 MISC metadata.xml 640 BLAKE2B 54eae253ef66fcdc9f69ff477374237c964b53b9b53a3d418a560bb2fa681ca438b81fcfccbd6cb6f16a4f2698adeb8ef9e9d203403e5750a157f1adfa3b0cb1 SHA512 b04e933cb7cfc59ea59dd9d8523fc34c05acada24c54fb5c9b5bf1fb7aee4c9b74848605d131a2d47d09b3a4ad3ca6d999e64848ef46aad0fd6a6757723df3b8 diff --git a/dev-python/pyaudio/pyaudio-0.2.13-r1.ebuild b/dev-python/pyaudio/pyaudio-0.2.13-r1.ebuild new file mode 100644 index 000000000000..b5b385c0415e --- /dev/null +++ b/dev-python/pyaudio/pyaudio-0.2.13-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +PYPI_NO_NORMALIZE=1 +PYPI_PN="PyAudio" +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517="setuptools" +inherit distutils-r1 pypi + +DESCRIPTION="Python bindings for PortAudio" +HOMEPAGE="https://people.csail.mit.edu/hubert/pyaudio/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# Tests work if you have the correct HW device(s) to test. 0.2.11-r1. +RESTRICT="test" + +RDEPEND="media-libs/portaudio" +DEPEND="${RDEPEND}" +BDEPEND="test? ( dev-python/numpy[${PYTHON_USEDEP}] )" + +distutils_enable_sphinx sphinx +distutils_enable_tests unittest + +python_test() { + elog "These tests require an OS loopback sound device that forwards audio" + elog "output, generated by PyAudio for playback, and forwards it to an input" + elog "device, which PyAudio can record and verify against a test signal." + + cd tests || die + # pyaudio_tests have very complicated runtime requirements, therefore skipping them. + "${EPYTHON}" -m unittest error_tests -v || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/pydantic-core/Manifest b/dev-python/pydantic-core/Manifest index 398b38fd8087..e5385d34fb5c 100644 --- a/dev-python/pydantic-core/Manifest +++ b/dev-python/pydantic-core/Manifest @@ -34,33 +34,46 @@ DIST proc-macro2-1.0.64.crate 44848 BLAKE2B 4422122d9299eff3bfbb4507c4a117fef7c0 DIST pydantic_core-2.3.0.tar.gz 308473 BLAKE2B 2bdd96989b93bfd00d1db23d30171a315afbb911934e644b0e36239a2d48c6c6eeec519e28719d1756a6f9daebc7623cb34e8b50b9216d1a95a5d3694b0945e1 SHA512 8959f9949ca943db2fe362b3ddb4b3e87c83ce22a63d70ff851fa84ee891390dba69f5d5607df6033023c47a4563066d675f192072278309e02d6dc0891588f1 DIST pydantic_core-2.3.1.tar.gz 313680 BLAKE2B 90b7ed134e6dd891dd184f651b4907292aac6050ba67b66260885f69026b572b802cdb5436a7cc504b969fcac2499ed557f22c5e0178d4f1eada22b74cab1882 SHA512 a8de5b9b5201d72796851e27e9f6ae5a248e65ca214d5f971d1cd4323033cf8d573640e80b25255cbf548b506d31b8078b2ac9e484193de820a8a7a924b816f2 DIST pydantic_core-2.4.0.tar.gz 322367 BLAKE2B 199f023cb789f742c47f494c02a30a61f2a5d2c50dd557ce21e2ee8c9c4701461b659bebcc7787cb007cda79c56bc8079badd062e23175233c3f2d70b5657f59 SHA512 cb4c8cee8ebc897133600176da3863158d1f7bee4842283a3f793a435860c136519cd9b457080128e8c8cebe9ca3775f6acc918d27e418ab80c76d1960ac21ea +DIST pydantic_core-2.5.0.tar.gz 329533 BLAKE2B 54881511a5b84b22d7df5be6f7835361810daa7be4d5b73539b20ffc13825026ba5faef03e222fa12a584fa942141d833a3074c1676e1b9113c3aa0adf9aa66f SHA512 02eae124626d55b16b335a2364ae5b23dc9ee28e0dc84b201a01d9c8b7becdaf0d2fdb3f753e48deb11836c500e2a5a3b3a47df1e3f289d17df2b5613269029c DIST pyo3-0.19.1.crate 418297 BLAKE2B 19ad6aa4fba175961b7fe97ae0bc45050f930859972b1b25cf0139bb3436c050ba76b63894f0df26174f141a52ac6abf10fd84c03c056af5a0665e723ae24195 SHA512 b27500cf49f1c6f217d21344d24ac96c07b82c157dd36fa4550b94059da5715ba7d0e085ec07dd5f8a8ac9de4d7e9239c1cceac4337294eb0dc9f6102049d5ff +DIST pyo3-0.19.2.crate 418228 BLAKE2B ee018b33383fada78cd22643aea9231a8c8a2f19d1eb297f40eec9206c5220f322fff4c926d939a93a24ac6d231a207ebb25afcc0709191151c7ed9af7465efa SHA512 58698183e0f2f0507f8f765bf3e90185c933e78d62f0a9be65c4b1ce8eea19a98fe0341abe7c58cafdacb63a012ec417876dccb7be6facc1360fcb22796fcaf9 DIST pyo3-build-config-0.19.1.crate 29205 BLAKE2B f88cbf9763fd68f7b30d109ae608efc29e0d4bf6672ee5f31b77342b5f37baa4f981916124af6897ccea3d93990ff889815fc3abbe9ce3fdbd860b6d5698b7da SHA512 311fef01ac2c3ce12485849cb99eba038a36260206308c5af4621fc5393f942e03aae4f6a5fe24ef3005eb781d2161453667ad552d6a371ddd96460b05a2e710 +DIST pyo3-build-config-0.19.2.crate 29206 BLAKE2B 5b1cd80d643e448cf8f1d28a514333526061c178121b9a0dcb5bff6082f402ecfd166536d94d42065f6dc1f108a73f12bbb78eedf9ea053a6aa2e9c80ac00ddf SHA512 ccc73061ec1989258921c5b5800689170635fa5503d74a4ac458baef903dd31efa41995d238783f1e099ece1f66d0a0e95c4fcb4b772b9f653dbb20e838b4e28 DIST pyo3-ffi-0.19.1.crate 64837 BLAKE2B deb3065ce99b4bd3b5dee182f7cc20dbbb1792e792e78425f30a71ad3e45aa8552f99f02debd640e16db44cbcad58f67b04ca6e08cb964e788d41dca64500a0c SHA512 6293d75c71ebe80c320f0a240716a2e0c62f66aecc58320f2f40a81f85390c7d9174b4888ead89818b73fdc8d3d21df12adc6625087f0c9ebb82767d4a7c5adc +DIST pyo3-ffi-0.19.2.crate 66500 BLAKE2B b4139fba31ef17017b6b60784e41ccda34931a072c2638af1eed8d02d7af701c46fe38b12772d2301cff41d10a433ff0f00a69d79d40233eadafe82abe585f8d SHA512 789191bca537998dd23d72dce4f185b84bbe700f4171c47de35b9bbca15a180ad214392b4f465cc1ecb0be955ebec1cf5a3c497815073be18035bd8bf8c51a32 DIST pyo3-macros-0.19.1.crate 7173 BLAKE2B b8d53ed51e2454abb77528c9e08315f288718dca08888bc24752f156942c27ffff75c88504bddcf05cc89d16b3fd2cd86280b0b94bd09947a2ffa4c800dfde68 SHA512 2c12cff4a8af948f9ecaadb83d1ed5199758f9e9c626c5930a1b74c65027a8b74dcf989ee470798aeff7c1165650d5d3dd75cb1f813859b7b8e241cd2bb8f2eb +DIST pyo3-macros-0.19.2.crate 7173 BLAKE2B 8862f42a30929579b0b0bc2ba7f0b416518724480e197fa13288e49324e851f964183e1529b7f31bf5d4fe0ae194a412723b6b401100e66fba98bbcd9c283866 SHA512 852cc2792aa3d30d9ab8802a451be5617cae6536adced1bf0dde71704a3c7c1bfe862fba751b6d045249819a8ba5d87dfc50914d142a0b662f046498c06f8c2e DIST pyo3-macros-backend-0.19.1.crate 49916 BLAKE2B 930774ee7ec936bbefc4ea81e2496cd15438dc82954ec7b85c0bc42b290b41c60869f8b31e109ba16a373d3ebf1e0058c0c7ef7d4911ae40feb99fb61d66a745 SHA512 7c7949588a15ef57b12f11e903c1110228bb653212761c97ff50399aa39be97108b471a2cdf47afb307f6c86bfb24b3e9ab32fd08e0550ee27e8808f2acd5145 +DIST pyo3-macros-backend-0.19.2.crate 49962 BLAKE2B 9d8a032c2205f55d2431b6bbc40df153339e08479df3a8a65506ade7d1f3d17cfaf664cbd09eaec9acff3f5a248598e37427d0c5a531eaf527137803adf49834 SHA512 fd708e6fdbd54ef7c676bedc62070175bac6b8f7ae11231578196dbf552b163a8a2499a1266f786bb6bfb85517fe83610902137d59a5c42efcb1a27c4235a07e DIST python3-dll-a-0.2.9.crate 66092 BLAKE2B 2c4baa31df7f55da8f1c6073525b4498bae7207ee38ef0eba4dbe58088609937a7d7b851c603ae62e5eb5361881e67a05d8c112d0a76aba5d99b13cdccd59d59 SHA512 1914d3ce67284f13551a4efefaeb9c11138fcca3d5082746282f64b7a36f732c6834766d981f27d862a61410eed09b3d281e0cab8cc1a46d424d04823ffaee35 DIST quote-1.0.29.crate 28345 BLAKE2B 3aeb637a4139730348775caab4d48173650d8bdce08247263d741ccc657dfff7f2facff05725bcaa73486818d394c392c64ecbc61bae3f5b612104aec16ff289 SHA512 d686a3943dca059a8e79689c77e6e8f6dbfa9b16a1a7ecdd27099339b77a55334252eaa8b4340e79c35ebb1f6e4deeb3f6356dfd02484f9c724e66a74387e30b DIST redox_syscall-0.3.5.crate 23404 BLAKE2B 85aa4299d9816666bf576f523da5cdeae87b3c8fbb2af103e82258d23f73303c068a4b6c3ef4117ad67958cb31e41f836a9f59f2ce1bc52c23605e34399afcf1 SHA512 16f8f4766932bb54e4740cfdb4f0802f76246c0bf88c1d76c69c115949b124b625d8c3b85d8947073c2e9544f425aa16c10f71fabe3c03d29e424c47fe4ccdde DIST regex-1.9.1.crate 251978 BLAKE2B c5a049a485bb78cf27501b1c150d922ad56fa26fcc4594f111786cda8879b21573cd0b629dc4dee81e579a98d3ad2620a08ab97c5d0bd5abb1fbd1f8eadeb3e1 SHA512 cbee57ecf620795eb2625cb2a6a3d6eb2b46de91ade021111f8960e31d8d0098b786ddc1e97734cfa16f7e68d77ebb8a9b7362542d91f2345bf2e4f64778a454 +DIST regex-1.9.3.crate 252676 BLAKE2B dd419b02b7dbd28a71e14c90bc538e98a63c0b9cc2ea01e7d8f6a0075c723c42c3d7bcbb45391431dec3008e6709e9d1d396d8e505f7f8d5d3a629ededf74b4d SHA512 ef5ece7d2b80a136d437ac42c5395cb01f6d357dcc490c8f6c89657f3f97af6befcc699008535c27583d7354e979418d1d933e36e8774ff2bb62750b9009d5d6 DIST regex-automata-0.3.2.crate 603895 BLAKE2B 839aaf55c2c24e14a9f474f2a38e5b190d5a0e85e0f923999a602cb7ac51b338c7f0720f6f42f5a6aaf1107d28320425e1daa540c532b97533985a389fb076e5 SHA512 82fbf0ad8a97b71c5489c69b34a3641dd104e02fc783df62036acb55ff7b6458349ae47164fda691178a054862ed00c26e471c9158391b65f9c383e38f8a5d61 +DIST regex-automata-0.3.6.crate 607174 BLAKE2B 6d02512501b45b0e87d8746c894009ec669fbfdeb742966e8ba8960ebf692f3b2c3df44ce5ee03e7d5320136709ad83b532dbc322a779e3c21ff0f65768c0d0e SHA512 ab3da2e63ff2c6a4da2c149dd34e565303f961f38547db7b34fbe984cf90aac107d4ec116111c765c9b71c4bf26022742151e1d4c5d01a6beac0a8a0887e30ce DIST regex-syntax-0.7.4.crate 343365 BLAKE2B b50c01f02e08729496e8bcf023949d088463bf62348b4a1043fe5205650da37863b2ca51f683662a4df33bd56085e0501e50410106c9c471a0daec4c71dfe945 SHA512 b33713c71f6f753820ca6405e8415e5eeed457efd01e81b0b720e48c135b9bb0973962269587ddca31350233aec6d3f598596cb48310db0633bf67f8970f0e18 DIST rustversion-1.0.13.crate 17267 BLAKE2B f2cc10a9d998b95bedaecb60298b11637724058634b00844d7e3e77dc321d8c7578bab9a9362b94c6b4b30558df538578fe7a4a05a130fb16795e913b3fda8bf SHA512 4705face9c4e2570c6a7c8bd61ccfe1ce68bcc7bd11dcbb9e7321744de38277d1f66429b59498adad3cbfc25de68dbf194c2d244ab74003830ba5fcda47e621a DIST ryu-1.0.14.crate 46861 BLAKE2B 208fa87e54e3c6831193ddefcdfa7e9731a3b72de6ea23a4af708a15487cf4d6cbc49fd3681da078390741595ff5d44b02e607cab6ea9e37e7f5f05c7275b4a9 SHA512 9832c760d1ac674ba362639968962928971231d696e450738045ca36ae2780116ad865b2bdd96e36f14d8f92e12107dc8b75be90c74d76e3bb834a94bd6e5599 DIST scopeguard-1.1.0.crate 11470 BLAKE2B f774eb90b7d3ffb2efba47518e9d1dead4017ab4b38a4bd74914daa84a5af4bf9eb63da0496e3924499d79cd0439c37447aeda4a21226f95645bddcd6becfabe SHA512 368fa5726df8f42b599993681579a9ffd0196480ee3cd0f9f671e8493f3bedd1e1779bdf2beb329e77e0005fa09b816e3385f309490c0f2781568db275d4d17d DIST serde-1.0.171.crate 77630 BLAKE2B 84b4377c78018a9d32a1a3841d26111f2db8b761f45376abaf0412ce456e0bbb39b287e460a8d99e217dcf0ce24a461488af85539ec127672767fee0b44aab7a SHA512 c8db09da8845e102e209276d5747a28d2e7b12ab5297d24156062c61c6ac8aaac8789d6e91a4f939d1f674375d8c3d3d1e372dd248baf63fece3740ea6f68bce DIST serde-1.0.175.crate 77599 BLAKE2B 0bd3b44f037c7a4beb59a7d73369f5255e83037dea37b3d1b3e0054666723ec04489937c5e820203b63f3c262c803b60769bbe780103fd4dce3128eface61597 SHA512 11d9812592d61105c86b943dc749104baf8723c1f1f4dbadb4cf5dbe2b053559d9453312ebb741ee7ef8555f0f187ed0cc4a235cb3ba0bd72fbc1ecf0ca861ea +DIST serde-1.0.183.crate 77210 BLAKE2B 280e3d253a29b664b4e2d17f41397b17fe22af64417facca42d6ca0c839f1def745380a5402d7a87345bb16f4fdacf9a8c01966579b8c08fb06c05f097a87e68 SHA512 3a27efdff92cb1f6b50449a761efde781af91584b8410fbf5ce37b20005e7d46dc4c750fd1730e15468ea22aac7799421c4e60c74243c65ef7916d3cbadd0ef8 DIST serde_derive-1.0.171.crate 55183 BLAKE2B d60c2aefc4f7ef43bc5ba9b39c9d62d5a784aef205aae4c90c9fe402e872699ce7fb0d74f2c657cb6862459d1dcba39562a7f4a0915cbe3e2c45a9f649858983 SHA512 2561e5105c6fd6ab802ddc04dbb4392450c7eff6709f39ec8ae43ba73138944879330f9bb8de7a6cbef3507153a22007a69d6e27d0acc717889ac91ea195ef45 DIST serde_derive-1.0.175.crate 379830 BLAKE2B 7366daddcd1200f888dcf5e5c80daa2ce57092235eb6bc55399b1d36d35aeea6b02d0328ccdc9c8e988ff6726a4a877125950adaabb305705eef90f5bbe62181 SHA512 c09b2125b3141ecb2e7376095b5cc83a3f6cae1c9c3a46e71c0326cdb722df2af24c221a2b9457ecab5bdb5393e9153066751882efc134852178a91a009c4858 +DIST serde_derive-1.0.183.crate 377265 BLAKE2B 041dff0dd5822b3be992cc65c8d789c86f8dda3a42ac77dc1a6c44cad4412c8c9fbb02f7572cc1ec4e4ca731d5f57a765d30f9357827ecf8210ae7f54c26d8f7 SHA512 c19cd2c9665b88b70a12b972c5b30d9ac6c604c77578bda5d7c6c5dbe01f097c1d6d165f1d73c204768427042b7521f43e40ee295c173e685c9ab1b4c23c8fcb DIST serde_json-1.0.100.crate 145170 BLAKE2B 0a15476563643e2b9fa3a2416bf21ce0be62f05d7f483b566eff806c01e19ff82016ecbc970a636252798316f2fec40465ca85c74759cc83b23d147e05016f4e SHA512 182b0a2c77a7c06d0c88e629acd56b16e50bdecac2a066d2b6a3a2a41b50dd6bb147e943df7eb3e26c2b7a99f656f1af98e8c2a83d991c5356b46f3573b94b88 DIST serde_json-1.0.103.crate 146095 BLAKE2B c10ccaef03dc4b0dfdc238e3d3b738faf43cd81cda1bcdc0296aae61a43260314ec03552ae14847bf88163d3c62d564ab563c55c8710f936b86f6f02dd7167ff SHA512 f63cd940426e6f40d999bb53d84122a2a8b87092b24262fd517f149983cde6715df818954baf7d2e7ebfb22d99b6f85042ea24e882b007888473d89c857a82cb +DIST serde_json-1.0.104.crate 146130 BLAKE2B 62a613eba9c39bc3f007404995528ac101df3e74d90049e9aca699029f55ce4cee54a1bbfdd9e69cda9ab3e7ba9893fc66f3f9bbbc1eb358d570dd292ae77216 SHA512 06b2f3c818fa5819ff936d2f456fccded743ccc336359bfd1371aecebae9ca2d4f77879f61d1cda510b7a1aaa47b0010688b8e8c656388950e79fa5d007c7f6f DIST smallvec-1.11.0.crate 34680 BLAKE2B e54d56f6bbffbfa7ce5fe5f04e325b2e5cf19d290e4be278bc00a136e26284625b9c18c7c2b10b7fb8fad0ea7e3770f3cdbcfbaa913f5ac08d0a2f8b4e0de188 SHA512 41bfbecbc2c244497568a41724d65791ec3fd6d8057813d521367cca316c09c2b28fb3973826236b01c1f5d2f905d8d22b0c3c47f957a9ff5d7685591f15ccd7 DIST speedate-0.11.0.crate 30352 BLAKE2B c46e288116b98045206007a9f457fd9cbe93e8a51fc0a33a4cc0b47a05e25f0ab5ea7782c2c80f902a46fecc1d58dc4a642b1db8c6c2df7ac065c245fcd42039 SHA512 ce8654c3eda8565bd251aa6a2366a6c3a824ea07b3fc810d8df0bb3c66ec499ae9bb44fa240737ab09fde09ce92e1f81eafa006d41f4a7a324c60447b6faa813 DIST strum-0.25.0.crate 5539 BLAKE2B 9c031e5ce19e2ecaa63e63118197c740ae9295b8881f6280ad92847b99fca6fb08b0d395ab1b2a66e25c8374cd18866d8436540538e3c0f1f047fd2235971b40 SHA512 a3522df79547e94518f25a0e29248f67f1d7e2586a7a424d7d996cb6bfe5d98fcc4fc44da7ddcd4e35a1127b2816bee55107f30cb2a559f5b9bbb1346139544a DIST strum_macros-0.24.3.crate 20696 BLAKE2B fa86022cd1f701d8755fbf3e6356a38d46f4f168a1abd19d1d8fa63cbecf41746165791955c8cf1fba86cadf85ddb427ffd17bb360567187b55dfb9a899503c1 SHA512 8276343808afe71d68d7984d5a223a4fc630df0adb5a547cbcc6912fbffcf7e4ad38f115888a2dd3a8443d6fa7b9c7726318d4f5d1ab43f463dd97ec20df9134 DIST strum_macros-0.25.1.crate 21700 BLAKE2B 0850a6f0d8bd5a2559f97b6c2497e6a4d85af23f35cc74d535be320cd2774dae9c591f957390d9f087a0dd0ca42922f8114e3d57d2f16d9730c4596ab9ee8dac SHA512 eda3cfc481fb16f2463cef31a63654b74d5bced3685c30b3843a36b43c3858f0ab23f64088263f79ff7fc5032af08547300aaf39c5b1ec375561f09c17d87a31 +DIST strum_macros-0.25.2.crate 21964 BLAKE2B 9069220e7adaaf9e87687a710ba372e5c360f56b81d0a1cf2bb9dcd9b81d514760f301a27c9bc049876c34292ddf74a4766a83a8467c1f281fecb2a356c9e36c SHA512 39e80178ca26859fa915195812158a0beaa7ec106c111e7e3a11e70c181bb5462074b59e236645f96ad197c2480dbdc481a4cae0a90d60311e4cf70dc7020149 DIST syn-1.0.109.crate 237611 BLAKE2B e827445d00c79a8eeb91eacde472f1987addd6ce9e1df95d7abf6446a77ff4173a8006845f3ae71c1da47193cfb72e0ead9a6d6bad2573be12c17e90735d9ad9 SHA512 12816b9e8cf984024b2fbce9f0ae14cf94d4d2c06f08cc54fb793ce78770bb4cc1288eb7df0ba5e8e937756e1e8e295c53fe07a0c5dde1ea8ddba03b6203b37d DIST syn-2.0.25.crate 241421 BLAKE2B f8b06686d0891a1d50d5f214836e43f518aeea443cbb7dabd2563c2399559014b9d42b7e0d1dbed2f4aa5e644efaf2f5f8b37358f9e0140efa231a62348fa1b6 SHA512 2c07b24d5bec7463da97eabbbccea3bf82aff5a74d7ffca6ef21f66420dce369cf77529fe722ce77b019b9085a52feb900f707b6aee5ee088d07035ae191930b +DIST syn-2.0.28.crate 241635 BLAKE2B 5784468a0dd04eb298821ae5a3facf72c5fe5907cc469919b0a0b636bb55bd15e9e3a31c9ceb05b7b0f88e7a53e5891e6874641b61e5fde247a91361ae37047f SHA512 96e83979e70e2e1e46ca2af45d10fb259847d61e327809a51351a988282be9688a8c4942a284504674c8684970082dc15cd9ab9b3584bbfa68ac9716e071f9c5 DIST target-lexicon-0.12.9.crate 24532 BLAKE2B 7f09be1827a5f9563b842c38aff659432ec61b66b814ebf4cc8a963daf6c93e7dc453a6966aa02d3a886007506d2b993e16ceb047bd34f6d206de76a39d08dfe SHA512 62033617d4587fb9d4b3159c78dbb628041d7ba6c5849c27a5755f173a7279aa4a03e56d31e03f87adfae50cef49eb6f0bc5eea1f6a131b87c618330d19d61d5 DIST tinyvec-1.6.0.crate 45991 BLAKE2B e9699d4d80a78978f0ebfd049f5b33d7f23d401cf4f4439ccb168e8c0e322473ad0ea7e2ff0ff69e9aac3e5c4c9ae5a7102185533bfbf96dbe77b3526e700bc9 SHA512 e5acaf353c58c60ae5556130a934f1048abb79cf6668ae467d308bac44b689d8a9997227ea879f4b5fe50f29cde8761801b088d7149bcd063b973056c381921c DIST tinyvec_macros-0.1.1.crate 5865 BLAKE2B 2bf4f68ca11dc19c72232951605a4c809b34ff38ee365ee4f592a3c41360e23c9330cfba961e2692a0ad568fef4aaaac51c40808d491178cf7a0c4b5a1c5d484 SHA512 10008c7b3a3d50c94b9c370015b76ee082f5dfb6dcacf014dc2f2dbe92f903618d10d0202b21f48fcf98a94ae76fb712db55a5e8ad353645d378cf0e6ec74f7e @@ -83,4 +96,5 @@ DIST windows_x86_64_msvc-0.48.0.crate 671422 BLAKE2B abb063610dcc38581657133182b EBUILD pydantic-core-2.3.0.ebuild 2856 BLAKE2B 761f14a7d2bf09b94031a1c5edf711fb41af82ff8064c1d4550632ba6843b0dc2a7bdc9be3f491074df320ca39d072d14ab3c81588b8eee33add3a657be10730 SHA512 203feeedd26090802179a05c59b27b967692640ed04be5de52acb20adb9df1c4661d5aa70941baa4f84f9cbb5c09e16176fddccd288e72b448bf87fdb15a739d EBUILD pydantic-core-2.3.1.ebuild 2856 BLAKE2B 761f14a7d2bf09b94031a1c5edf711fb41af82ff8064c1d4550632ba6843b0dc2a7bdc9be3f491074df320ca39d072d14ab3c81588b8eee33add3a657be10730 SHA512 203feeedd26090802179a05c59b27b967692640ed04be5de52acb20adb9df1c4661d5aa70941baa4f84f9cbb5c09e16176fddccd288e72b448bf87fdb15a739d EBUILD pydantic-core-2.4.0.ebuild 2835 BLAKE2B 98680d6fa032ccc793377a398657d9f588ee5e7387451ffc50e5ed5a258afc2aa4280349bdc5453d6c7d919e7b094c295bc597d06597ee34337c86f6e8ff0e20 SHA512 5f7301ab419745cf9b39d008c12165f56f984774549bc69069c72aebd93545b1977c6c4164f6e36e2ba4a067f8d6b569759ac4afea78f9e232553307118bdc15 +EBUILD pydantic-core-2.5.0.ebuild 2835 BLAKE2B 39ef4e18d1762f972524963b2d84c14300fcbf42c422c681558c35804453a72dece02205e15548fbeb41f1c19eeacbd8f8dae5cbddc78b2b0d67d1e79ebb4a64 SHA512 e4497802887835333cc24e0ab4a3967e7593fa7dd3f040c8c2124d932c485e255fe660b1748c88be182518e165f39aee867e2c53b2bbcbaed74669d814d4dd48 MISC metadata.xml 379 BLAKE2B ac0fa1abd0aac6436f234dfbfdb1517cdef2f7636c019a16257619d1a1a95a31b67061daa6606b47b68332d03bd213fa9bf67017b0e4af9733a26ab4828cf206 SHA512 7e3b5785628be025efc5360924e31a5a5becab941c9db255357b966dd5d3aca733e96485e92e78533bcde95379c59c36a601d4b407550c5ff1c649f09c3a21a6 diff --git a/dev-python/pydantic-core/pydantic-core-2.5.0.ebuild b/dev-python/pydantic-core/pydantic-core-2.5.0.ebuild new file mode 100644 index 000000000000..16d188e88d8b --- /dev/null +++ b/dev-python/pydantic-core/pydantic-core-2.5.0.ebuild @@ -0,0 +1,138 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +# pypy3 is waiting for new pyo3 release +PYTHON_COMPAT=( python3_{10..12} ) + +CRATES=" + ahash@0.8.3 + aho-corasick@1.0.2 + autocfg@1.1.0 + base64@0.21.2 + bitflags@1.3.2 + cc@1.0.79 + cfg-if@1.0.0 + enum_dispatch@0.3.12 + equivalent@1.0.1 + form_urlencoded@1.2.0 + getrandom@0.2.10 + hashbrown@0.14.0 + heck@0.4.1 + idna@0.4.0 + indexmap@2.0.0 + indoc@1.0.9 + itoa@1.0.8 + libc@0.2.147 + libmimalloc-sys@0.1.33 + lock_api@0.4.10 + memchr@2.5.0 + memoffset@0.9.0 + mimalloc@0.1.37 + num-bigint@0.4.3 + num-integer@0.1.45 + num-traits@0.2.15 + once_cell@1.18.0 + parking_lot@0.12.1 + parking_lot_core@0.9.8 + percent-encoding@2.3.0 + proc-macro2@1.0.64 + pyo3-build-config@0.19.2 + pyo3-ffi@0.19.2 + pyo3-macros-backend@0.19.2 + pyo3-macros@0.19.2 + pyo3@0.19.2 + python3-dll-a@0.2.9 + quote@1.0.29 + redox_syscall@0.3.5 + regex-automata@0.3.6 + regex-syntax@0.7.4 + regex@1.9.3 + rustversion@1.0.13 + ryu@1.0.14 + scopeguard@1.1.0 + serde@1.0.183 + serde_derive@1.0.183 + serde_json@1.0.104 + smallvec@1.11.0 + speedate@0.11.0 + strum@0.25.0 + strum_macros@0.25.2 + syn@1.0.109 + syn@2.0.28 + target-lexicon@0.12.9 + tinyvec@1.6.0 + tinyvec_macros@0.1.1 + unicode-bidi@0.3.13 + unicode-ident@1.0.10 + unicode-normalization@0.1.22 + unindent@0.1.11 + url@2.4.0 + uuid@1.4.1 + version_check@0.9.4 + wasi@0.11.0+wasi-snapshot-preview1 + windows-targets@0.48.1 + windows_aarch64_gnullvm@0.48.0 + windows_aarch64_msvc@0.48.0 + windows_i686_gnu@0.48.0 + windows_i686_msvc@0.48.0 + windows_x86_64_gnu@0.48.0 + windows_x86_64_gnullvm@0.48.0 + windows_x86_64_msvc@0.48.0 +" + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Core validation logic for pydantic written in Rust" +HOMEPAGE=" + https://github.com/pydantic/pydantic-core/ + https://pypi.org/project/pydantic-core/ +" +SRC_URI+=" + ${CARGO_CRATE_URIS} +" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016 +" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/typing-extensions-4.7.1[${PYTHON_USEDEP}] +" +BDEPEND=" + >=virtual/rust-1.70.0 + test? ( + >=dev-python/dirty-equals-0.5.0[${PYTHON_USEDEP}] + >=dev-python/hypothesis-6.63.0[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-3.10.0[${PYTHON_USEDEP}] + >=dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}] + >=dev-python/pydantic-1.10.4[${PYTHON_USEDEP}] + >=dev-python/pytz-2022.7.1[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/pydantic_core/_pydantic_core.*.so" + +src_prepare() { + sed -i -e '/--benchmark/d' pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_IGNORE=( + tests/benchmarks + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + rm -rf pydantic_core || die + epytest -p pytest_mock -p timeout +} diff --git a/dev-python/pyzmq/Manifest b/dev-python/pyzmq/Manifest index b431e53baad8..3f52683dd663 100644 --- a/dev-python/pyzmq/Manifest +++ b/dev-python/pyzmq/Manifest @@ -2,6 +2,8 @@ AUX pyzmq-23.2.0-libdir.patch 510 BLAKE2B cb7884416d3e15f735412d69a7ae0decbbf8ec AUX pyzmq-25.1.0-build_ext.patch 1762 BLAKE2B 2d0a382183dc764a55862e034be6f57690234c5d5279bf9b782d0fc0fca8b7aacb44626459d3950427cade4713524f4e3333223b9db470a3ad0ba30525136a1e SHA512 285623c14dc11c4b07a66dd2b64f524133a92c084db185770df3c3658cb5b4f31e85348036427629ef1daa44aeed99d4e8bfe2cefa994f70f47b059c2bc0a166 DIST pyzmq-25.0.2.gh.tar.gz 398050 BLAKE2B 501aea8b46ef5c06ca75489869047b2e6aefd06d121b540fdfc85c45ea2f9a40b58b84433555d8001fbfb1671ad6df1953c79567aabc8cffba26516a4a60626c SHA512 dcba8fb561d1be135ba03e28078ed68835dc20a52ef9c47be240bd1edd37eb92d4da184045e8eff666f3d84a376ae35ca08172fc207823b5255160e9e3b1ef01 DIST pyzmq-25.1.0.gh.tar.gz 399044 BLAKE2B c5507819844f174fcc5245fd89e6bff231ddc99add2c431a77a73955ce5e874f7387727380dee6a0618842762ed19a867699efed69c7997d5d4bcca480e30c44 SHA512 5a2a80162da4d1eb34cc13bc831cf01b98a1cfb62dd0595b81e47e77d752ecd59110fd447e5a936f74239253073fc5ceb6451e924928cd2c472e2ac61d26a78c +DIST pyzmq-25.1.1.gh.tar.gz 389825 BLAKE2B d8e231a0eeaa6a7ad372da912cb42e96e4d862e163859b97d1c369a7940e019c074fc717685f53da06de69cfee79430e343fcd1987d768f3cc99ec75cad0955b SHA512 4aa0d5d5c1036e6ac35898c48d9612f677ee6e9345fafd02091ba81a5081f1ac8bf552eb5c03636ad643cc87e17f037013ec981d9b852c0252d30de8ce046d5a EBUILD pyzmq-25.0.2.ebuild 2228 BLAKE2B b27e68cc020f21d5177808b7955c3fb7519e0b02afd1ae9c33367370514af6c22443afc0974e4aa8d6dbb0e05dc3e8f00651d4be0c41889ca63fc87a64114600 SHA512 cdbb12f1cfc48606c559f4dae613f6f1ad2f5367e68b8aea1bfb22bf50708edcdeb9e7e36ebd7ad455540eeb820db9f85b063c79d858fc9d245a279c6dc343f5 EBUILD pyzmq-25.1.0.ebuild 2252 BLAKE2B 3081ff9a462c3b6a600120022e350daf61f8996d89674950e863e4aaae39297fcacdedd332043ebb5ccefa19798d438a983689a94b053021e3713cd5908abb0d SHA512 e74e0be39b09d0caa99800982930cc33ce1fb1f0362ffe0d503734f758e35d510ff0e717116a456b4088d70f4a975f47661947d2c83770bc790300c20dd470f7 +EBUILD pyzmq-25.1.1.ebuild 2006 BLAKE2B 7aabc3ec9b54d9fccf08240df74ddd8567b3bacd5919754eb93978835696ebd798d2ed70365e6e1d587ad518fd93836b036c881e5b42cfc0c7a348fd52da47f2 SHA512 eb369d5bc59e574f2fde7e8feaa0fab98e6ff1030288a5ff2d5b1c15dabb684cd9b702ed9fa04972bcc3e3c39303d9b3eea86f7b775be990bfecf54b7116a643 MISC metadata.xml 549 BLAKE2B 46a9a1476f68f05c71bb4f849a9e0822c58142ac036da635454f57781dcea81687accfbf9563273d4f8672a8479b098c9f03cec64e5e7f456e50ad8c7ffba9d3 SHA512 3765c31f1b0048a60d5ccf90aa1fa5416c92addb7b01c62e529419e53a4e29746d0e4434d4d4fbd5918413e7521144c8758cdef9eacf5298108c2287783908c1 diff --git a/dev-python/pyzmq/pyzmq-25.1.1.ebuild b/dev-python/pyzmq/pyzmq-25.1.1.ebuild new file mode 100644 index 000000000000..ecdc730d9117 --- /dev/null +++ b/dev-python/pyzmq/pyzmq-25.1.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_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="Lightweight and super-fast messaging library built on top of the ZeroMQ library" +HOMEPAGE=" + https://zeromq.org/languages/python/ + https://pypi.org/project/pyzmq/ + https://github.com/zeromq/pyzmq/ +" +SRC_URI=" + https://github.com/zeromq/pyzmq/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="drafts" + +# There are additional test failures if zeromq has the draft api enabled, but pyzmq has it disabled. +DEPEND=" + >=net-libs/zeromq-4.2.2-r2:=[drafts=] +" +# It uses cffi backend for pypy, cython backend for cpython +RDEPEND="${DEPEND} + $(python_gen_cond_dep ' + dev-python/py[${PYTHON_USEDEP}] + dev-python/cffi:=[${PYTHON_USEDEP}] + ' pypy3) +" +BDEPEND=" + $(python_gen_cond_dep ' + dev-python/cython[${PYTHON_USEDEP}] + ' 'python*') + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + >=dev-python/tornado-5.0.2[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-23.2.0-libdir.patch +) + +EPYTEST_DESELECT=( + # TODO + zmq/tests/test_auth.py + zmq/tests/test_cython.py + zmq/tests/test_zmqstream.py +) + +EPYTEST_IGNORE=( + # Avoid dependency on mypy + zmq/tests/test_mypy.py +) + +distutils_enable_tests pytest +# TODO: Package enum_tools +# distutils_enable_sphinx docs/source \ +# dev-python/numpydoc \ +# dev-python/sphinx-rtd-theme \ +# dev-python/myst-parser + +python_prepare_all() { + export ZMQ_DRAFT_API=$(usex drafts '1' '0') + export ZMQ_PREFIX="${EPREFIX}/usr" + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + epytest -p asyncio -p rerunfailures +} |