diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-06-14 05:47:57 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-06-14 05:47:57 +0000 |
| commit | 4cd8f807bb726c066be9ef87a1912a6551f21466 (patch) | |
| tree | a5929539dbc0a9a62dae0c778b4175f881952ac0 /dev-python | |
| parent | d3f5e753fb3ea4e2027f8114f73085a1ae6a06ab (diff) | |
| download | baldeagleos-repo-4cd8f807bb726c066be9ef87a1912a6551f21466.tar.gz baldeagleos-repo-4cd8f807bb726c066be9ef87a1912a6551f21466.tar.xz baldeagleos-repo-4cd8f807bb726c066be9ef87a1912a6551f21466.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
34 files changed, 548 insertions, 197 deletions
diff --git a/dev-python/blake3/blake3-0.4.1.ebuild b/dev-python/blake3/blake3-0.4.1.ebuild index 8e376e96b74c..210bf9de82cc 100644 --- a/dev-python/blake3/blake3-0.4.1.ebuild +++ b/dev-python/blake3/blake3-0.4.1.ebuild @@ -113,6 +113,11 @@ src_unpack() { } src_prepare() { + local PATCHES=( + # https://github.com/oconnor663/blake3-py/pull/44 + "${FILESDIR}/${P}-gcc14.patch" + ) + # sed the package name and version to improve compatibility sed -e 's:blake3_experimental_c:blake3:' \ -e "s:0[.]0[.]1:${PV}:" \ diff --git a/dev-python/blake3/files/blake3-0.4.1-gcc14.patch b/dev-python/blake3/files/blake3-0.4.1-gcc14.patch new file mode 100644 index 000000000000..367d5c94e1b1 --- /dev/null +++ b/dev-python/blake3/files/blake3-0.4.1-gcc14.patch @@ -0,0 +1,37 @@ +diff --git a/c_impl/blake3module.c b/c_impl/blake3module.c +index 4448445..842421a 100644 +--- a/c_impl/blake3module.c ++++ b/c_impl/blake3module.c +@@ -217,7 +217,7 @@ static PyObject *Blake3_update(Blake3Object *self, PyObject *args) { + // Success. We need to increment the refcount on self to return it, see: + // https://docs.python.org/3/extending/extending.html#ownership-rules. + Py_INCREF(self); +- ret = self; ++ ret = (PyObject *)self; + + exit: + release_buf_if_acquired(&data); +@@ -272,7 +272,7 @@ static PyObject *Blake3_update_mmap(Blake3Object *self, PyObject *args, + // Success. We need to increment the refcount on self to return it, see: + // https://docs.python.org/3/extending/extending.html#ownership-rules. + Py_INCREF(self); +- ret = self; ++ ret = (PyObject *)self; + + exit: + if (file) { +@@ -347,11 +347,11 @@ static PyObject *Blake3_reset(Blake3Object *self, PyObject *args) { + + static PyMethodDef Blake3_methods[] = { + {"update", (PyCFunction)Blake3_update, METH_VARARGS, "add input bytes"}, +- {"update_mmap", (PyCFunctionWithKeywords)Blake3_update_mmap, ++ {"update_mmap", (PyCFunction)Blake3_update_mmap, + METH_VARARGS | METH_KEYWORDS, "add input bytes from a filepath"}, +- {"digest", (PyCFunctionWithKeywords)Blake3_digest, ++ {"digest", (PyCFunction)Blake3_digest, + METH_VARARGS | METH_KEYWORDS, "finalize the hash"}, +- {"hexdigest", (PyCFunctionWithKeywords)Blake3_hexdigest, ++ {"hexdigest", (PyCFunction)Blake3_hexdigest, + METH_VARARGS | METH_KEYWORDS, + "finalize the hash and encode the result as hex"}, + {"copy", (PyCFunction)Blake3_copy, METH_VARARGS, diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 5923f3ad1960..c765fe817a2d 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -4,3 +4,4 @@ DIST boto3-1.34.122.gh.tar.gz 817093 BLAKE2B ecc91833d5d8b7ae33c2fe435e33bc8fa23 DIST boto3-1.34.123.gh.tar.gz 817520 BLAKE2B 264464edc80ec43c6759b542629bfbaa1a7212a67d6738b920191f52be9a51bf6c16170de161f2299273cb5ac3e15dc8c74e60aff8212e51408343362f275f8f SHA512 4b90e3534e0319932bd038a23e68a2dd913fe99f0d07df23f2a1dd4ac8fca7c6f614e7cbc3359851e575599c386c89f382c439f712956e9190872d610b8f6c04 DIST boto3-1.34.124.gh.tar.gz 818934 BLAKE2B ab1ae5af51340c1782af93c7bbcd88960331449e1372cd614b8905fd8e04d3d2f10a3b92c49938dc101e543525fc85a95dba8ec774d0eb91fbb832ac54288979 SHA512 c49aaf78e1f539e5af32252d645de28f1126e35f4d3603107a3b1329c1cb1d5578c005d678d05e3d0c907c3ef098485113982292bce5168cd4679727797f210d DIST boto3-1.34.125.gh.tar.gz 819606 BLAKE2B c1213b7da4c5c249f4c886e4adf56466242ca0cc73c0ee3e484983f8c18627ecc7414c8465a6e61c5f135169cbd01386f62d5f386e021ab70cf62b8d603bba6c SHA512 5a8ad7e9d7e6daa311f450b1c49894858dffcdef7504deeb8aad871dc171522776dfa9ae1097365e5ffa039d5987a30de481d748a57f6f2d949ac268774325ec +DIST boto3-1.34.126.gh.tar.gz 820173 BLAKE2B 405e34ef71bac1c7f2087721710476cb83c1bc627466ec4eab4aa29693e9af96f7b68953c7492f1a5ac15c0b0ac6d5adc13e186c6a5f8900b3badc075aea8e53 SHA512 aa3a96889662fd85b7091844bf83cbd3fc9017a4a7180756f3f39289fabd71faa5167555bb8e2473bf448e56549015513bf2ae0b83ca795701e5390394747a4f diff --git a/dev-python/boto3/boto3-1.34.126.ebuild b/dev-python/boto3/boto3-1.34.126.ebuild new file mode 100644 index 000000000000..509842b2699d --- /dev/null +++ b/dev-python/boto3/boto3-1.34.126.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.10.0[${PYTHON_USEDEP}] +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index e4a0c4e8ffc2..cf1f62e47008 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -4,3 +4,4 @@ DIST botocore-1.34.122.gh.tar.gz 13066937 BLAKE2B f22af79873b5574ae4b2b9041568cf DIST botocore-1.34.123.gh.tar.gz 13080868 BLAKE2B a15ecc1151803d26181c72117df62a6777c2d209cc1a49eb106d7a779fab23300762d8e034e9dc79c8eb747d6e31b5ea75739698809797bea9fe3c930b72b40a SHA512 20f77200edd899b957c7544ba7faed4fb7fd6a0fb6c0fe95cd729c67b3f47bb2414ed413c145fcc9e0f1e55f2cee86398580b9b71d38b70043d01efbe48e9510 DIST botocore-1.34.124.gh.tar.gz 13097299 BLAKE2B 1dd7353ca2ae93199995530057cdd90dbaf1a4e493ca7be1e7b4cc445dfa0d352f02b903a6264dd67105f2826df05ed01aa1a861545ab28369519183b731365a SHA512 5e53a80571811faa306926aa7f72d802f720040c6a613aacadcb00e331259185ccfed91bd1fdffefddc069ae58cd80454b182d4965273bc10921cb2625ebf793 DIST botocore-1.34.125.gh.tar.gz 13105188 BLAKE2B 2db46c6a07c7e75a57872416c7302d250661e24c0f81f65138d12f19fab934c480eea809bb748fd00c9d64b3d97191896477ee2b0bdf96421d7bd82e872e7f7e SHA512 413f986d3d9da2bc9c08f4f2358fb1c47020c02533b3a550f0efd3fe974269d9178c16f5387c41efd23802e9bec795b3f77ab0aae7cac8d5515981eb404861a2 +DIST botocore-1.34.126.gh.tar.gz 13107136 BLAKE2B d26cc2cd8c460d64dbe41cc14a22a115c8c75f2cb5f23ba34df740fcada62e991e3751f4eddc34c1517939274ae6175d00d78ac199d3329027842ac24c985138 SHA512 9b7c010df304e36e767492ae7a31749d9e8ffa8fd1161478f515983c345d13576ffcd941e166412aa53f3dd36b409e3b38bf900d4f007e607f56236ee3ce0eef diff --git a/dev-python/botocore/botocore-1.34.126.ebuild b/dev-python/botocore/botocore-1.34.126.ebuild new file mode 100644 index 000000000000..857224b496b7 --- /dev/null +++ b/dev-python/botocore/botocore-1.34.126.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + <dev-python/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +# unbundled packages +RDEPEND+=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/cli-helpers/cli-helpers-9999.ebuild b/dev-python/cli-helpers/cli-helpers-9999.ebuild index 5b899e5cdb95..03c3ef102b05 100644 --- a/dev-python/cli-helpers/cli-helpers-9999.ebuild +++ b/dev-python/cli-helpers/cli-helpers-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/coverage/coverage-7.5.3.ebuild b/dev-python/coverage/coverage-7.5.3.ebuild index 7577803bd732..838a273e543e 100644 --- a/dev-python/coverage/coverage-7.5.3.ebuild +++ b/dev-python/coverage/coverage-7.5.3.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" RDEPEND=" $(python_gen_cond_dep ' diff --git a/dev-python/csscompressor/csscompressor-0.9.5-r2.ebuild b/dev-python/csscompressor/csscompressor-0.9.5-r2.ebuild index a4729cd56742..ec5a68606f3a 100644 --- a/dev-python/csscompressor/csscompressor-0.9.5-r2.ebuild +++ b/dev-python/csscompressor/csscompressor-0.9.5-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/fonttools/fonttools-4.53.0.ebuild b/dev-python/fonttools/fonttools-4.53.0.ebuild index 85d527e429b8..9e8761cd5e7d 100644 --- a/dev-python/fonttools/fonttools-4.53.0.ebuild +++ b/dev-python/fonttools/fonttools-4.53.0.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" IUSE="+native-extensions" RDEPEND=" diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index a11d7c268c91..37a64204a00a 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1 +1,3 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db +EBUILD langdetect-1.0.9.ebuild 494 BLAKE2B 9b3521c5721afa49a58e0c35267f7d82bb56bd7e1d6d3152be0d36cd220180a526cb20b90b1113fbf0fff4a512137570f0b3bcf864498b7b7cc00403cb61ca27 SHA512 16d311400bf84a5f04e15f3da4b68b2810e4b005009f4d03dc8a487176dfc294403c976c412c83dcfa8084a49ef7b7d5389b43fb2ba446ce107ce4595e3558c6 +MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch deleted file mode 100644 index 637368d2f237..000000000000 --- a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch +++ /dev/null @@ -1,13 +0,0 @@ -Fix "Package 'langdetect.profiles' is absent from the `packages` configuration." - ---- a/setup.py -+++ b/setup.py -@@ -18,7 +18,7 @@ setup( - author_email='michal.danilak@gmail.com', - url='https://github.com/Mimino666/langdetect', - keywords='language detection library', -- packages=['langdetect', 'langdetect.utils', 'langdetect.tests'], -+ packages=['langdetect', 'langdetect.utils', 'langdetect.tests', 'langdetect.profiles'], - include_package_data=True, - install_requires=['six'], - license='MIT', diff --git a/dev-python/langdetect/langdetect-1.0.9.ebuild b/dev-python/langdetect/langdetect-1.0.9.ebuild index 630fe63c6f53..c09b7356f549 100644 --- a/dev-python/langdetect/langdetect-1.0.9.ebuild +++ b/dev-python/langdetect/langdetect-1.0.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2024 Gentoo Authors +# Copyright 2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,6 +19,4 @@ KEYWORDS="~amd64" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" -PATCHES=( "${FILESDIR}/${P}-explicit-config.patch" ) - distutils_enable_tests unittest diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index 736a1167c898..020e07f2a3dd 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -1,6 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> - - <origin>gentoo-guru-overlay</origin> + <maintainer type="person"> + <email>marcin.deranek@slonko.net</email> + <name>Marcin Deranek</name> + </maintainer> + <upstream> + <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> + </upstream> + <origin>slonko-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/matplotlib/matplotlib-3.9.0-r1.ebuild b/dev-python/matplotlib/matplotlib-3.9.0-r1.ebuild index 780e29139b1b..52367ef832bb 100644 --- a/dev-python/matplotlib/matplotlib-3.9.0-r1.ebuild +++ b/dev-python/matplotlib/matplotlib-3.9.0-r1.ebuild @@ -29,7 +29,7 @@ SRC_URI+=" # Fonts: BitstreamVera, OFL-1.1 LICENSE="BitstreamVera BSD matplotlib MIT OFL-1.1" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" IUSE="cairo excel gtk3 latex qt5 tk webagg wxwidgets" DEPEND=" diff --git a/dev-python/orjson/Manifest b/dev-python/orjson/Manifest index e6d73c680055..ad389002ae8d 100644 --- a/dev-python/orjson/Manifest +++ b/dev-python/orjson/Manifest @@ -30,6 +30,7 @@ DIST num-traits-0.2.19.crate 51631 BLAKE2B 78637360cbf32d172510a62bd9442708af973 DIST once_cell-1.19.0.crate 33046 BLAKE2B c14b374eaf4ac0f60acc2e02f7bba270a0e8e0a6978d749cd3cb0ab3eb26907e4fbea70dd5132982f90290381ed18ff8a87fd530f1415fabffac864f157ea380 SHA512 4154876afd34a699ee650d1a8a1c5ee5a25f0ebd9388b8bef2564e33629fae68f113d7507488c68abbe7ea1acf9bbc41813cbbf3ef3e464e3f3b9cc7a51d870c DIST orjson-3.10.3.tar.gz 4930028 BLAKE2B a4ed1bad539d21647ef36a4e72ba1444f57d9b6b1292f6972b62de413bab7668396be5479b384e897bf88a397e7089f4e75e2ecb945ba561bbac5fe602f23faf SHA512 7c29ca375e18170088bfbd0adf58be0291668c77bdae30f74568731350ac384f70430fe3e52ff29733959685cd02bac33ddaae035b9f35824c8daf3c80419506 DIST orjson-3.10.4.tar.gz 5248719 BLAKE2B b22804038f21d33e46d12df0d98bf6c564d8b5f23424b9ed64f3a6fbfc77c895126dbaeb114aeadad521a3835218d0a5049dbf074fa2a99aa88b5c38640bcb5e SHA512 5dae3b877a64fa1a2ad162c000e960a264a8c157b72bfce8bb17fdd46fd07c0bacfea611c2fff01878f9d98b875fa03ec9fee48ebba5e45256df217aa394a3e4 +DIST orjson-3.10.5.tar.gz 5249974 BLAKE2B d2f29bf4ce09e8aae3a688527818d26b00b3112b29ca8420f3f4561f7358e15e2be82d8f3156753a81c7fb780383daaec0e878c90082d06db5c9e3d115f53b8f SHA512 45a2db6955f3891d3bb4b0b16e5e023a9b9533179011f530d1d1c73dd6371b561680d91226993a93a67ac95cff5122d459c70ea69b386a80826f8a767e08a4ab DIST proc-macro2-1.0.81.crate 48233 BLAKE2B 94319064772c757b6bf57eb9e759e827454f719d82210271ebab9c6ee4ecfddc9099522cdc8595123efe2efb64fd50eadd7e31419c5842ff1cb8fdd32e8daa0c SHA512 7edec4b786d9fe076ced4fa5c0d369c163fd1c27c895431245a8268ab2e16665b7c0a585552d46ceee6b8103979a4201f92abb381f0e678128abed359f514de7 DIST proc-macro2-1.0.85.crate 48988 BLAKE2B 236f2a07c758d0d8628f003b70d4b25d5f0d2bd8cbd3955fc4262d7d9b271c6571eb0fc45c95fd816b426a84ed5ec5dfeb81d8041d4de955cce6f3b9fceda1f1 SHA512 54c61dd0581bb5802e077a58fa41f113aa1fab59026478268ece293f2643921b7649844c1675a21a3a21674cdb3ccf94928e5bd069a02bf6813ccc1114d37262 DIST pyo3-build-config-0.21.2.crate 30581 BLAKE2B 993c1f7f15124336b70570ed3949cc0873c2b883e81dd3a350f347cf014fb9a82d487197fdaf475989b727b7ee8d9a5511a72422f76126b8788c4f40831baed8 SHA512 8b6bedb31235de3dd95bca6e19ea4eb7752227ceb9f1c928c4df2b277df5ee443e5c262e448012e4e54e3104213db4d745c9c42f79ab3029dee68f48ec3a2795 diff --git a/dev-python/orjson/orjson-3.10.5.ebuild b/dev-python/orjson/orjson-3.10.5.ebuild new file mode 100644 index 000000000000..a03747222fde --- /dev/null +++ b/dev-python/orjson/orjson-3.10.5.ebuild @@ -0,0 +1,99 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +CRATES=" + ahash@0.8.11 + arrayvec@0.7.4 + associative-cache@2.0.0 + autocfg@1.3.0 + beef@0.5.2 + bytecount@0.6.8 + castaway@0.2.2 + cc@1.0.99 + cfg-if@1.0.0 + chrono@0.4.34 + compact_str@0.7.1 + const-random-macro@0.1.16 + const-random@0.1.18 + crunchy@0.2.2 + encoding_rs@0.8.34 + getrandom@0.2.15 + gimli@0.28.1 + half@2.4.1 + itoa@1.0.11 + itoap@1.0.1 + libc@0.2.155 + no-panic@0.1.30 + num-traits@0.2.19 + once_cell@1.19.0 + proc-macro2@1.0.85 + pyo3-build-config@0.21.2 + pyo3-ffi@0.21.2 + quote@1.0.36 + rustversion@1.0.17 + ryu@1.0.18 + serde@1.0.203 + serde_derive@1.0.203 + serde_json@1.0.117 + simdutf8@0.1.4 + smallvec@1.13.2 + static_assertions@1.1.0 + syn@2.0.66 + target-lexicon@0.12.14 + tiny-keccak@2.0.2 + unicode-ident@1.0.12 + unwinding@0.2.1 + version_check@0.9.4 + wasi@0.11.0+wasi-snapshot-preview1 + zerocopy-derive@0.7.34 + zerocopy@0.7.34 +" + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy" +HOMEPAGE=" + https://github.com/ijl/orjson/ + https://pypi.org/project/orjson/ +" +SRC_URI+=" + ${CARGO_CRATE_URIS} +" + +LICENSE="|| ( Apache-2.0 MIT )" +# Dependent crate licenses +LICENSE+=" + Apache-2.0-with-LLVM-exceptions BSD CC0-1.0 MIT Unicode-DFS-2016 + || ( Apache-2.0 Boost-1.0 ) +" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + >=virtual/rust-1.72 + test? ( + dev-python/arrow[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/numpy[${PYTHON_USEDEP}] + ' 'python3*') + ) +" + +QA_FLAGS_IGNORED=".*" + +distutils_enable_tests pytest + +export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/pydantic-core/pydantic-core-2.18.3.ebuild b/dev-python/pydantic-core/pydantic-core-2.18.3.ebuild index fbc736389bcb..2390b4e8f666 100644 --- a/dev-python/pydantic-core/pydantic-core-2.18.3.ebuild +++ b/dev-python/pydantic-core/pydantic-core-2.18.3.ebuild @@ -107,7 +107,7 @@ LICENSE+=" || ( Apache-2.0 Boost-1.0 ) " SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" >=dev-python/typing-extensions-4.7.1[${PYTHON_USEDEP}] diff --git a/dev-python/pydantic/pydantic-2.7.2.ebuild b/dev-python/pydantic/pydantic-2.7.2.ebuild index c4566a1a89b0..28c9cc2ceb7d 100644 --- a/dev-python/pydantic/pydantic-2.7.2.ebuild +++ b/dev-python/pydantic/pydantic-2.7.2.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" >=dev-python/annotated-types-0.4.0[${PYTHON_USEDEP}] diff --git a/dev-python/rapidfuzz/Manifest b/dev-python/rapidfuzz/Manifest index 03fd273dd993..e8acb76de595 100644 --- a/dev-python/rapidfuzz/Manifest +++ b/dev-python/rapidfuzz/Manifest @@ -1,4 +1,2 @@ -DIST rapidfuzz-3.9.0.tar.gz 1591028 BLAKE2B 84b8e4572a596c291d6579cfdffd0d624e00ca1f93a38337ba6ad543d346fea0b9a636cd3814724073588b3cd2e61dea9b8c0527b1630f8f06ea6593537bbde6 SHA512 bfd0d399dc75c6654d5e66522a057298d3914f8b74955e873034b314926127971f1bf4ddca0c2c92e81ba5bae79caf249303b169805d48ef3d6c64fb706c9547 DIST rapidfuzz-3.9.1.tar.gz 1595099 BLAKE2B 491eb1dd3ea64f361e15e6f828d162b383f2cbe068331c6001fb112966b599199870013bc2e10b5e8dfe1d7c6f676a6d577d9d43b6054874a3b721233d17ba77 SHA512 f8efcc271a823c957b2a00f78ab7bf37133a87027fcb75d9e24cf1629b776d3f970ebe4f596e6685013408637e2e2b3713680c7716e9adb505241b61decee18b -DIST rapidfuzz-3.9.2.tar.gz 1595571 BLAKE2B 47af3ce0a75eaf308e9ac3b00377f043f81fdd8687fc2b2278bc07cf8d1ec0f2734ddc3451867378a6018e09c74aa0048bed621f91be4dfafbe7d3f22c179269 SHA512 a8790205534f6de41cb527fb4d8697f51104ae13686bed3644752b50952c36e017892705200c4fff65ecc892894149b76a7b3588eab209bcec11866ed0ec40ff DIST rapidfuzz-3.9.3.tar.gz 1595645 BLAKE2B 1e7400ba3dea0a4c90939503d4f50e963d0241f40ce207d53ab4aa421f51ffa20ff574ad5363e4a21dc3482f764731dfe7726bfaaee873f3d9674efbd5dc3108 SHA512 730569e14bf512a2e90039a937006eb7d26ffb4dfb5e926e8277d1048b9a520fe970c9fa908d1f330eb37030b1053541845175eceac8b651863b59b76ec387f5 diff --git a/dev-python/rapidfuzz/rapidfuzz-3.9.0.ebuild b/dev-python/rapidfuzz/rapidfuzz-3.9.0.ebuild deleted file mode 100644 index c324fc05c77b..000000000000 --- a/dev-python/rapidfuzz/rapidfuzz-3.9.0.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -# custom wrapper over setuptools -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Rapid fuzzy string matching in Python using various string metrics" -HOMEPAGE=" - https://github.com/rapidfuzz/RapidFuzz/ - https://pypi.org/project/rapidfuzz/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -# all these are header-only libraries -DEPEND=" - >=dev-cpp/taskflow-3.0.0 - >=dev-cpp/rapidfuzz-cpp-3.0.4 - dev-python/numpy[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/cython-3[${PYTHON_USEDEP}] - >=dev-python/scikit-build-0.16.2[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - # sterilize build flags - sed -i -e '/CMAKE_INTERPROCEDURAL_OPTIMIZATION/d' CMakeLists.txt || die - # remove bundled libraries - rm -r extern || die - # force recythonization - find src -name '*.cxx' -delete || die - # do not require exact taskflow version - sed -i -e '/Taskflow/s:3\.3\.0::' CMakeLists.txt || die - - distutils-r1_src_prepare - - export RAPIDFUZZ_BUILD_EXTENSION=1 -} - -python_compile() { - distutils-r1_python_compile - - # scikit-build is broken and reuses the same build - # https://github.com/scikit-build/scikit-build/issues/633 - rm -r _skbuild || die -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/rapidfuzz/rapidfuzz-3.9.1.ebuild b/dev-python/rapidfuzz/rapidfuzz-3.9.1.ebuild index 15d991547071..c324fc05c77b 100644 --- a/dev-python/rapidfuzz/rapidfuzz-3.9.1.ebuild +++ b/dev-python/rapidfuzz/rapidfuzz-3.9.1.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" # all these are header-only libraries DEPEND=" diff --git a/dev-python/rapidfuzz/rapidfuzz-3.9.2.ebuild b/dev-python/rapidfuzz/rapidfuzz-3.9.2.ebuild deleted file mode 100644 index 07799bef55b1..000000000000 --- a/dev-python/rapidfuzz/rapidfuzz-3.9.2.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -# custom wrapper over setuptools -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Rapid fuzzy string matching in Python using various string metrics" -HOMEPAGE=" - https://github.com/rapidfuzz/RapidFuzz/ - https://pypi.org/project/rapidfuzz/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -# all these are header-only libraries -DEPEND=" - >=dev-cpp/taskflow-3.0.0 - >=dev-cpp/rapidfuzz-cpp-3.0.4 - dev-python/numpy[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/cython-3[${PYTHON_USEDEP}] - >=dev-python/scikit-build-0.16.2[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - # sterilize build flags - sed -i -e '/CMAKE_INTERPROCEDURAL_OPTIMIZATION/d' CMakeLists.txt || die - # remove bundled libraries - rm -r extern || die - # force recythonization - find src -name '*.cxx' -delete || die - # do not require exact taskflow version - sed -i -e '/Taskflow/s:3\.7\.0::' CMakeLists.txt || die - - distutils-r1_src_prepare - - export RAPIDFUZZ_BUILD_EXTENSION=1 -} - -python_compile() { - distutils-r1_python_compile - - # scikit-build is broken and reuses the same build - # https://github.com/scikit-build/scikit-build/issues/633 - rm -r _skbuild || die -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/redis/Manifest b/dev-python/redis/Manifest index 7febb0fbbae1..6dc6cc08bb08 100644 --- a/dev-python/redis/Manifest +++ b/dev-python/redis/Manifest @@ -1,2 +1,3 @@ DIST redis-py-5.0.4.gh.tar.gz 4774815 BLAKE2B a6f3b678f217a7938d1a2ecbe24058994e33a7985faf0d4b6664aa08d5095c71dc9cd1d98ee327d6ff31589795eed29ece4cdd3ce914a782e60d3ac3f44ab962 SHA512 3c4893e348632d52215096358e5b4a86b3cf5e0153e4d218c46fe77fbb61df116fc98f477f4e8ba94fe7e9bb6f964f478b1187c8b7983a71fc206f14b643965c DIST redis-py-5.0.5.gh.tar.gz 4775177 BLAKE2B e092692ca8070d811ccd953be2749859094baef610858fcc7f28fd18ec51e643cb0a003ddb5734e8066252e9beb49bdf633983906bb4615c0e8309389343aa2f SHA512 014c5bd9e7604cf757d990b1a0ad2d3c876822b1ee5b372eaa18cf26b5bf61bcdf6bd2d5e3f5eaa9e73de5dcc6a7ad11835856cb12c995a539961244e54c16fc +DIST redis-py-5.0.6.gh.tar.gz 4775649 BLAKE2B 7d6a7c10da592aed05fe70b1f0001697984c34244c29567755a13f0cb0d61db927f1392dd100212c88c63de52afbad2a9f17024d9af11f500db13386d080be2a SHA512 ae430e3c261bd8240bf1c736e28d066c685bb674dd6c2aabbf57bfa436027af31e59c2583777625ab3e1aa94f9b55a8e6513a94399c3aaec7e46b1128de8dd42 diff --git a/dev-python/redis/redis-5.0.6.ebuild b/dev-python/redis/redis-5.0.6.ebuild new file mode 100644 index 000000000000..0ebac27e07d2 --- /dev/null +++ b/dev-python/redis/redis-5.0.6.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 + +MY_P=redis-py-${PV} +DESCRIPTION="Python client for Redis key-value store" +HOMEPAGE=" + https://github.com/redis/redis-py/ + https://pypi.org/project/redis/ +" +SRC_URI=" + https://github.com/redis/redis-py/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + $(python_gen_cond_dep ' + >=dev-python/async-timeout-4.0.2[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + dev-db/redis + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # Flaky test + tests/test_pubsub.py::TestPubSubDeadlock::test_pubsub_deadlock + # require extra redis modules that apparently aren't packaged + # on Gentoo + tests/{,test_asyncio/}test_bloom.py + tests/{,test_asyncio/}test_graph.py + tests/{,test_asyncio/}test_json.py + tests/{,test_asyncio/}test_timeseries.py + # apparently available only in "Redis Stack 7.2 RC3 or later" + tests/test_commands.py::TestRedisCommands::test_tfunction_load_delete + tests/test_commands.py::TestRedisCommands::test_tfunction_list + tests/test_commands.py::TestRedisCommands::test_tfcall + # TODO + tests/test_commands.py::TestRedisCommands::test_zrank_withscore + tests/test_commands.py::TestRedisCommands::test_zrevrank_withscore + tests/test_commands.py::TestRedisCommands::test_xinfo_consumers + tests/test_asyncio/test_commands.py::TestRedisCommands::test_zrank_withscore + tests/test_asyncio/test_commands.py::TestRedisCommands::test_zrevrank_withscore + tests/test_asyncio/test_commands.py::TestRedisCommands::test_xinfo_consumers + tests/test_asyncio/test_pubsub.py::TestPubSubAutoReconnect::test_reconnect_socket_error[pool-hiredis-listen] + ) + + # TODO: try to run more servers? + epytest -m "not redismod and not onlycluster and not replica and not ssl" +} + +src_test() { + local redis_pid="${T}"/redis.pid + local redis_port=6379 + + if has_version ">=dev-db/redis-7"; then + local extra_conf=" + enable-debug-command yes + enable-module-command yes + " + fi + + # Spawn Redis itself for testing purposes + einfo "Spawning Redis" + einfo "NOTE: Port ${redis_port} must be free" + "${EPREFIX}"/usr/sbin/redis-server - <<- EOF || die "Unable to start redis server" + daemonize yes + pidfile ${redis_pid} + port ${redis_port} + bind 127.0.0.1 ::1 + ${extra_conf} + EOF + + # Run the tests + distutils-r1_src_test + + # Clean up afterwards + kill "$(<"${redis_pid}")" || die +} diff --git a/dev-python/sqlalchemy/sqlalchemy-2.0.30-r1.ebuild b/dev-python/sqlalchemy/sqlalchemy-2.0.30-r1.ebuild index 691b86fce1d7..0b6e7a76ac15 100644 --- a/dev-python/sqlalchemy/sqlalchemy-2.0.30-r1.ebuild +++ b/dev-python/sqlalchemy/sqlalchemy-2.0.30-r1.ebuild @@ -22,7 +22,7 @@ S="${WORKDIR}/${MY_PN}-${PV}" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" IUSE="examples +sqlite test" RDEPEND=" diff --git a/dev-python/stripe/Manifest b/dev-python/stripe/Manifest index 1c7d5a084942..1f1e0be3d7f3 100644 --- a/dev-python/stripe/Manifest +++ b/dev-python/stripe/Manifest @@ -1,2 +1,3 @@ DIST stripe-9.10.0.tar.gz 1273670 BLAKE2B ebe42096846a124dea93744b26103dfc0a82f51191be612962258d7ab8c903e3da707dad3e35bafaa7431dd65a08234d9df5f9a614ff1959d86dc2d992ae7ad0 SHA512 f2a22534703add04512fa5ee124bd0ac48dd8a69dd19438260e9fce2cd00b659b9b014f76e325b6b0e51c79c157d15acb775d4ee4e1401a837d7e7dd81e81191 +DIST stripe-9.11.0.tar.gz 1276871 BLAKE2B 82d02301e4e08c98593631c16b44de5b8481f918839f2839575c8fb8a89a4245436950406e1cf13cb78999a965e8f085bd49821f5214341928be1d3cadd40563 SHA512 2f4878c704ef7b1e782b8264a47c7151d6bd9e7ad4b2799f97a753c00e3ae18c7f4425bdab7d58443bf0111e9da90eb577e047551682132f0682782556c5c1fa DIST stripe-9.8.0.tar.gz 1268721 BLAKE2B 12eeb333a51e71f39c366dda1a4bf82c15f7c3673fc4d27c0e25b978a19902b722d44d5b0f17c017638740cb95f353a024f5012ad70b13c0ac7f7b420df4b082 SHA512 3b19ba9709818af12ba2110b32232c9a33f3a43ce33dfeb8a1e0a7c8a2d643f96795ef474ccdef9e780c1ab58bfa3e687105311cc1d5d24c2984d442d539706b diff --git a/dev-python/stripe/stripe-9.11.0.ebuild b/dev-python/stripe/stripe-9.11.0.ebuild new file mode 100644 index 000000000000..27387de014be --- /dev/null +++ b/dev-python/stripe/stripe-9.11.0.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Stripe python bindings" +HOMEPAGE=" + https://github.com/stripe/stripe-python/ + https://pypi.org/project/stripe/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="telemetry" + +RDEPEND=" + >=dev-python/requests-2.20[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.5.0[${PYTHON_USEDEP}] +" +# please bump dev-util/stripe-mock dep to the latest version on every bump +BDEPEND=" + test? ( + >=dev-util/stripe-mock-0.186.0 + dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/anyio[${PYTHON_USEDEP}] + dev-python/httpx[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/trio[${PYTHON_USEDEP}] + net-misc/curl + ) +" + +distutils_enable_tests pytest + +DOCS=( LONG_DESCRIPTION.rst CHANGELOG.md README.md ) + +src_prepare() { + if ! use telemetry; then + sed -i -e '/enable_telemetry/s:True:False:' stripe/__init__.py || die + fi + # https://github.com/stripe/stripe-python/pull/1297 + sed -e 's:from mock:from unittest.mock:' \ + -i tests/test_http_client.py || die + distutils-r1_src_prepare +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests -p anyio -p pytest_mock +} + +src_test() { + local stripe_mock_port=12111 + local stripe_mock_max_port=12121 + local stripe_mock_logfile="${T}/stripe_mock_${EPYTHON}.log" + # Try to start stripe-mock until we find a free port + while [[ ${stripe_mock_port} -le ${stripe_mock_max_port} ]]; do + ebegin "Trying to start stripe-mock on port ${stripe_mock_port}" + stripe-mock --http-port "${stripe_mock_port}" &> "${stripe_mock_logfile}" & + local stripe_mock_pid=${!} + sleep 2 + # Did stripe-mock start? + curl --fail -u "sk_test_123:" \ + "http://127.0.0.1:${stripe_mock_port}/v1/customers" &> /dev/null + eend ${?} "Port ${stripe_mock_port} unavailable" + if [[ ${?} -eq 0 ]]; then + einfo "stripe-mock running on port ${stripe_mock_port}" + break + fi + (( stripe_mock_port++ )) + done + if [[ ${stripe_mock_port} -gt ${stripe_mock_max_port} ]]; then + eerror "Unable to start stripe-mock for tests" + die "Please see the logfile located at: ${stripe_mock_logfile}" + fi + + local -x STRIPE_MOCK_PORT=${stripe_mock_port} + distutils-r1_src_test + + # Tear down stripe-mock + kill "${stripe_mock_pid}" || die "Unable to stop stripe-mock" +} diff --git a/dev-python/structlog/Manifest b/dev-python/structlog/Manifest index adae347c2fd9..cba04f37c415 100644 --- a/dev-python/structlog/Manifest +++ b/dev-python/structlog/Manifest @@ -1,2 +1 @@ -DIST structlog-24.1.0.tar.gz 1340948 BLAKE2B ad92e145a8a45f7aaf08f26e637b4de42e56d3c5931f022b4524126a5650f30a8e7185ce87bd7e2c91fd48853dfc94585c13184bded1792d2c50153625379c3b SHA512 bb64d8d4ab9afe7482bdaafc3efae833426a256575ff99d013ae1438f3d5d0261842e598028ea644824577f579c5c4704108ce597de0a2eab5ffc1615a609ea6 DIST structlog-24.2.0.tar.gz 1346958 BLAKE2B d47e78ec3c55048460a32a860ac2e5ebed9e49f546277e562104fec66e73e25702b61c2b8a250a9729c0c774e7c0c1492733957a9a551328267533187e63972e SHA512 df470f292bbf1de6a4a509f034c3bccb87e21afc31cf31a0ef998485a4b69e5bf6ec46d90236d556c876aa96e5a3dcb323d0bfe9bd8ac63a47b527a747af73c8 diff --git a/dev-python/structlog/structlog-24.1.0.ebuild b/dev-python/structlog/structlog-24.1.0.ebuild deleted file mode 100644 index d0874c84e81c..000000000000 --- a/dev-python/structlog/structlog-24.1.0.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Structured Logging for Python" -HOMEPAGE=" - https://github.com/hynek/structlog/ - https://pypi.org/project/structlog/ -" - -LICENSE="|| ( Apache-2.0 MIT )" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" - -BDEPEND=" - dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] - dev-python/hatch-vcs[${PYTHON_USEDEP}] - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/pretend[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/structlog/structlog-24.2.0.ebuild b/dev-python/structlog/structlog-24.2.0.ebuild index 055557106e87..d0874c84e81c 100644 --- a/dev-python/structlog/structlog-24.2.0.ebuild +++ b/dev-python/structlog/structlog-24.2.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="|| ( Apache-2.0 MIT )" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" BDEPEND=" dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] diff --git a/dev-python/watchdog/watchdog-4.0.1.ebuild b/dev-python/watchdog/watchdog-4.0.1.ebuild index 8c8b69349472..92d1b2cdbc2b 100644 --- a/dev-python/watchdog/watchdog-4.0.1.ebuild +++ b/dev-python/watchdog/watchdog-4.0.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" dev-python/pyyaml[${PYTHON_USEDEP}] diff --git a/dev-python/xarray/Manifest b/dev-python/xarray/Manifest index ae5a3981cb32..133f894540fd 100644 --- a/dev-python/xarray/Manifest +++ b/dev-python/xarray/Manifest @@ -2,3 +2,4 @@ DIST xarray-2024.03.0.gh.tar.gz 3722922 BLAKE2B 52025d8ba196500ac989fc8ff85ae757 DIST xarray-2024.1.1.tar.gz 3614037 BLAKE2B cc50fbfa19a2c9229b85b8c7d5d0e7e7f6d3e5a484955fcc81aa0b37839a0b992d2c2f928e4097ca05c7b8294ed1061fbd0c1b7e7c65c9087a940dab97c520ce SHA512 b6447ca2c80b3a3091ac2baba648fef4faa79ffff272360e9726b318b517ede9d2717d1b6f77f03fdacf55527233f1a37c0d114901fe1a265d3e435cf293a487 DIST xarray-2024.2.0.tar.gz 3634288 BLAKE2B 8d1165360300da5af6d670947e5280052a3d8915768e02448b86ab38283d6d45258a2c4eb91982ba732ccedb3a7afc5f274116c9ee0072d35cdc5631b8a2ca50 SHA512 dcfe6d1f0edab8659664c5399b96d622d2e3df2f85bb7672d9afab6f74294a6449772efde080aaa7323f733c09cbd0f6f037e547be0afa79f39450eead777828 DIST xarray-2024.5.0.tar.gz 3710689 BLAKE2B 04d2d9c70c90bccd0f269dde91be8a3f213b2dfe2d380b041abe946d118e80d0816ef09ed7e225b7bb164902c1943c1be335f1cac815d12c4aace6a0217379bb SHA512 d3aa6ef73afd2fd8a5c5551631ca5385d14221474bdab4c404cee1405b370c2f998c895bfd3506e6ccc1b2f511996b0eebefb331768df047d5e8b398ad2f9199 +DIST xarray-2024.6.0.tar.gz 3715179 BLAKE2B 42fa46883d27f656dca9b82e1647bd94a62a427582cd52d847131a8e01caf77a597fcc128453fee1f68c38897a9f995dd4c644e9b68b551ee1c28bc0d48e9465 SHA512 b6f24f834d71cca84f6a485858571a17bcb250915d4f84c886c9e16fc240ae3c3e91d573726e8a09f1dbe269abbfae97498868476eef1a90813ddb29c6a6db62 diff --git a/dev-python/xarray/xarray-2024.6.0.ebuild b/dev-python/xarray/xarray-2024.6.0.ebuild new file mode 100644 index 000000000000..e6305d89e867 --- /dev/null +++ b/dev-python/xarray/xarray-2024.6.0.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="N-D labeled arrays and datasets in Python" +HOMEPAGE=" + https://xarray.pydata.org/ + https://github.com/pydata/xarray/ + https://pypi.org/project/xarray/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86" +IUSE="big-endian" + +RDEPEND=" + <dev-python/numpy-2[${PYTHON_USEDEP}] + >=dev-python/numpy-1.23[${PYTHON_USEDEP}] + >=dev-python/pandas-2.0[${PYTHON_USEDEP}] + >=dev-python/packaging-23.1[${PYTHON_USEDEP}] +" +# note: most of the test dependencies are optional +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/bottleneck[${PYTHON_USEDEP}] + dev-python/cftime[${PYTHON_USEDEP}] + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/toolz[${PYTHON_USEDEP}] + !hppa? ( >=dev-python/scipy-1.4[${PYTHON_USEDEP}] ) + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=() + if ! has_version ">=dev-python/scipy-1.4[${PYTHON_USEDEP}]" ; then + EPYTEST_DESELECT+=( + 'xarray/tests/test_missing.py::test_interpolate_na_2d[coords1]' + ) + + if ! has_version "dev-python/scipy[${PYTHON_USEDEP}]" ; then + EPYTEST_DESELECT+=( + xarray/tests/test_calendar_ops.py::test_interp_calendar + ) + fi + fi + + if use big-endian ; then + EPYTEST_DESELECT+=( + # Appears to be a numpy issue in display? See bug #916460. + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:12:43.145224193-ns-int64-20-True]' + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1970-09-21T00:12:44.145224808-ns-float64-1e+30-True]' + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:12:43.145225216-ns-float64--9.223372036854776e+18-True]' + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:12:43.145224193-ns-int64-None-False]' + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:12:43.145225-us-int64-None-False]' + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1970-01-01T00:00:01.000001-us-int64-None-False]' + 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:21:52.901038080-ns-float32-20.0-True]' + ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} |
