diff options
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/Manifest.gz | bin | 271767 -> 271781 bytes | |||
-rw-r--r-- | dev-python/Nuitka/Manifest | 2 | ||||
-rw-r--r-- | dev-python/Nuitka/Nuitka-2.1.4.ebuild | 52 | ||||
-rw-r--r-- | dev-python/boto3/Manifest | 2 | ||||
-rw-r--r-- | dev-python/boto3/boto3-1.34.73.ebuild | 58 | ||||
-rw-r--r-- | dev-python/botocore/Manifest | 2 | ||||
-rw-r--r-- | dev-python/botocore/botocore-1.34.73.ebuild | 67 | ||||
-rw-r--r-- | dev-python/build/Manifest | 2 | ||||
-rw-r--r-- | dev-python/build/build-1.2.1.ebuild | 77 | ||||
-rw-r--r-- | dev-python/csvkit/Manifest | 2 | ||||
-rw-r--r-- | dev-python/csvkit/csvkit-1.5.0.ebuild | 45 | ||||
-rw-r--r-- | dev-python/google-api-python-client/Manifest | 2 | ||||
-rw-r--r-- | dev-python/google-api-python-client/google-api-python-client-2.124.0.ebuild | 51 | ||||
-rw-r--r-- | dev-python/requests-mock/Manifest | 2 | ||||
-rw-r--r-- | dev-python/requests-mock/requests-mock-1.12.1.ebuild | 53 | ||||
-rw-r--r-- | dev-python/sqlglot/Manifest | 2 | ||||
-rw-r--r-- | dev-python/sqlglot/sqlglot-23.3.0.ebuild | 121 | ||||
-rw-r--r-- | dev-python/stripe/Manifest | 2 | ||||
-rw-r--r-- | dev-python/stripe/stripe-8.9.0.ebuild | 81 |
19 files changed, 623 insertions, 0 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex 5b9a2777bfb0..9ea4b87ca9ff 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/Nuitka/Manifest b/dev-python/Nuitka/Manifest index e789dcc6e649..820483e03fed 100644 --- a/dev-python/Nuitka/Manifest +++ b/dev-python/Nuitka/Manifest @@ -1,5 +1,7 @@ DIST Nuitka-2.1.2.tar.gz 3633406 BLAKE2B adf3cc4bcf1c5d72223f5709dc0a4cbb6e24a59c36483acf6b6da6949025f9bb37b010dbcf79178f886c2cc8c907c45d47d5b615666b824413463fee08a88a21 SHA512 04403622bb4071afca1357e9b5603914f9a984af8b4f4af06be0bd476956b41e497a718746b9bcf66576490ae7b4bd75c5b7e6ff5f7240d1c66a6c5396d06d32 DIST Nuitka-2.1.3.tar.gz 3636137 BLAKE2B 3842acc34820576e395abbe0c2a76cfffa97f1b2bd28f1d2559a2f89c1fcd14a0edab77e4e05783eb7b8de6daac6328799b124c1fddd5af3e133eaf26799e5c8 SHA512 295e20b844a4ee019fea003bc4455c1751cf39ae3104568914e2a39a3665e024b149df64940f84f5717c4c456212ca87f62c5d1e8064d88e1ddfbefa3943b487 +DIST Nuitka-2.1.4.tar.gz 3636629 BLAKE2B b5a3f3067e12029c9bd1e9ae60d1c6c6370d929ad38a8092f0150078440c50ed925768e132ac18542eaa3ab4f2198f6773cb79cf51dee68b3dff9bec26cb37ad SHA512 bd7e164bed8943c5ea3e7ff30069ef7b9308cd47486fded22cf1f2a37274f0f6274b2af0cb84ca188e961745b93ab085f937e228ce193a1fff953537d5143205 EBUILD Nuitka-2.1.2.ebuild 1110 BLAKE2B 53b492316e8b528c48de76d24ccf053bbde27a95e4a7dbf1af74d52a7c6df963cb12b660d992494ec332d36241051f19cad5ed05bb46f1e2c28922c12e5c1354 SHA512 08cde3d1329276fd4498e46e53056b0dd62169c8ce58ebfd00c927a6fe01149481b4b5faf18059c3026e607183ab7bb3a167d0440f7d43ca6008ff94af8a5761 EBUILD Nuitka-2.1.3.ebuild 1110 BLAKE2B 53b492316e8b528c48de76d24ccf053bbde27a95e4a7dbf1af74d52a7c6df963cb12b660d992494ec332d36241051f19cad5ed05bb46f1e2c28922c12e5c1354 SHA512 08cde3d1329276fd4498e46e53056b0dd62169c8ce58ebfd00c927a6fe01149481b4b5faf18059c3026e607183ab7bb3a167d0440f7d43ca6008ff94af8a5761 +EBUILD Nuitka-2.1.4.ebuild 1110 BLAKE2B 53b492316e8b528c48de76d24ccf053bbde27a95e4a7dbf1af74d52a7c6df963cb12b660d992494ec332d36241051f19cad5ed05bb46f1e2c28922c12e5c1354 SHA512 08cde3d1329276fd4498e46e53056b0dd62169c8ce58ebfd00c927a6fe01149481b4b5faf18059c3026e607183ab7bb3a167d0440f7d43ca6008ff94af8a5761 MISC metadata.xml 943 BLAKE2B d7ab883773e7480dcfb4b79932a3874e2274669169a24a54aa622a2a0ac079e0296da4bd196d166cb11fcff785985da0b10d0fae351032914ccf312c9bb9833c SHA512 625d8760b8e849c6e014856f584cb42f50bb5ebb1fa648cb704a5a1baf175e7d2ce9f43f6f724d11c81a68e364b6ac1c38459540b58f2ccd6a675902af5b1cc9 diff --git a/dev-python/Nuitka/Nuitka-2.1.4.ebuild b/dev-python/Nuitka/Nuitka-2.1.4.ebuild new file mode 100644 index 000000000000..123acd66de1f --- /dev/null +++ b/dev-python/Nuitka/Nuitka-2.1.4.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 flag-o-matic optfeature pypi + +DESCRIPTION="Python to native compiler" +HOMEPAGE=" + https://nuitka.net/ + https://github.com/Nuitka/Nuitka/ + https://pypi.org/project/Nuitka/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~loong ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-build/scons[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( dev-util/ccache ) +" + +distutils-r1_src_prepare() { + # remove vendored version of SCons that is Python2 only + # this should be removed when upstream removes support for Python2 + rm -vR "nuitka/build/inline_copy/lib/scons-2.3.2/SCons" || die + eapply_user +} + +python_install() { + distutils-r1_python_install + doman doc/nuitka.1 doc/nuitka-run.1 +} + +python_test() { + append-ldflags -Wl,--no-warn-search-mismatch + ./tests/basics/run_all.py search || die +} + +pkg_postinst() { + optfeature "support for stand-alone executables" dev-util/patchelf +} diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 30606ba54c89..d6d8601950e0 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -4,10 +4,12 @@ DIST boto3-1.34.69.gh.tar.gz 787293 BLAKE2B 9e46a959f3efdc3e673d38c8e3c30b8ceed1 DIST boto3-1.34.70.gh.tar.gz 787964 BLAKE2B ae08d6acf82fcd038d8fe4a22c65a783d8d85df23c6b224668ee90edf5c7732b434ba8def604b91249e7fc529d15657edd7750e5a7777d96e9df94a637a5fdd1 SHA512 80497171abe3567649416f031e57538ce1fa8490998e038718b7f29ff2362e3f5de6f9b9ea86c0d0ccf9e5e49b5347e736ae086a17b7975175c0a7e89491ada1 DIST boto3-1.34.71.gh.tar.gz 788270 BLAKE2B adeb66e9ce793cec4a205942f2ed8b63fa859d9a7b407573d7cf49d9c96bc059e6a412c306f3125bd9fc1cc5ecfb6824697fbb4250e54a25abd3d32b8a2202fd SHA512 d75e784d42b634f32ac074d2c4c3760a21ef8d470d1637d5c0105e5832e475f68908c6cfc19ba20e7a562528bad1422654129a8d62c6c91b179adf1bc5c77268 DIST boto3-1.34.72.gh.tar.gz 788630 BLAKE2B 8620116eae6daa8b147a62cb811281c0de89fbb759f1fc7a93d55568fb973de764c4d3ade2d246e1796f1e750406fda7bc318635ee8c25d3f59c574daf9deced SHA512 a84932a69f0718481ea3a00cc626f06de0d32f28bd404279a4b0655024fee9f8dc1d8105331fbb6d9049548c9adec05879207fd026cb652cc873b007ffba6f21 +DIST boto3-1.34.73.gh.tar.gz 789543 BLAKE2B 2b8ce097becd19f5a76a9ce8a0ea9a922e8c879b4a489492ce6a7d1c057782802c61d776d00ea24cc65b3341b054a8922e81abff4ced5bf9162c60363444bd03 SHA512 dec8793f4951b49c6a0baeb7b9359a01c21222c1a88ab8fdb984dd8a91ed30a35b9ba7507750c2f5c18f3f68d7543b62ac2b8fb23451164eaa09c0fd8fd1caaf EBUILD boto3-1.34.59.ebuild 1258 BLAKE2B 7f7ba2672f66400a4c2c202847d4bc7b57a0941b51f4f2f725475c38b6092c6a89687476db8bb701688ff47ccce491ffc435968a407ffc30ef860747573a1f43 SHA512 aebf347c928b4364a045a4bfb20edad39f9530fed5dfeef6b7e684feae0a146b71aa53cbb49f0b79e89671b97402aad447e6971df74ee44fef523ebad23f992c EBUILD boto3-1.34.64.ebuild 1265 BLAKE2B ba7f54112a52fbd951c886d41b7deb5820caefe05c87f7cdf2564e8cdab75359bd0dcde93be72c588c3422ef1b69043daa8d9ffee43da72efcc9e522814396da SHA512 0fb5d2d3bd9f8fd424837df59aaaad023777459818141a3171f747bacdae21f81cac690da36af13123f20acf5a46d6edb90f76afe0773915526d4a816dea510d EBUILD boto3-1.34.69.ebuild 1265 BLAKE2B ba7f54112a52fbd951c886d41b7deb5820caefe05c87f7cdf2564e8cdab75359bd0dcde93be72c588c3422ef1b69043daa8d9ffee43da72efcc9e522814396da SHA512 0fb5d2d3bd9f8fd424837df59aaaad023777459818141a3171f747bacdae21f81cac690da36af13123f20acf5a46d6edb90f76afe0773915526d4a816dea510d EBUILD boto3-1.34.70.ebuild 1265 BLAKE2B ba7f54112a52fbd951c886d41b7deb5820caefe05c87f7cdf2564e8cdab75359bd0dcde93be72c588c3422ef1b69043daa8d9ffee43da72efcc9e522814396da SHA512 0fb5d2d3bd9f8fd424837df59aaaad023777459818141a3171f747bacdae21f81cac690da36af13123f20acf5a46d6edb90f76afe0773915526d4a816dea510d EBUILD boto3-1.34.71.ebuild 1265 BLAKE2B ba7f54112a52fbd951c886d41b7deb5820caefe05c87f7cdf2564e8cdab75359bd0dcde93be72c588c3422ef1b69043daa8d9ffee43da72efcc9e522814396da SHA512 0fb5d2d3bd9f8fd424837df59aaaad023777459818141a3171f747bacdae21f81cac690da36af13123f20acf5a46d6edb90f76afe0773915526d4a816dea510d EBUILD boto3-1.34.72.ebuild 1265 BLAKE2B ba7f54112a52fbd951c886d41b7deb5820caefe05c87f7cdf2564e8cdab75359bd0dcde93be72c588c3422ef1b69043daa8d9ffee43da72efcc9e522814396da SHA512 0fb5d2d3bd9f8fd424837df59aaaad023777459818141a3171f747bacdae21f81cac690da36af13123f20acf5a46d6edb90f76afe0773915526d4a816dea510d +EBUILD boto3-1.34.73.ebuild 1265 BLAKE2B ba7f54112a52fbd951c886d41b7deb5820caefe05c87f7cdf2564e8cdab75359bd0dcde93be72c588c3422ef1b69043daa8d9ffee43da72efcc9e522814396da SHA512 0fb5d2d3bd9f8fd424837df59aaaad023777459818141a3171f747bacdae21f81cac690da36af13123f20acf5a46d6edb90f76afe0773915526d4a816dea510d MISC metadata.xml 493 BLAKE2B 7d6324fc877ffe1d20c5369c2af0b09a7028f94d28f1841188913d0d8be7ea699c9d3f92c624992c4c96bd69615d3a1211a2483c76c56b7d3082492e43512523 SHA512 44420d8c03d5986f990b76369edfa8dfd7659b4952db3ad946fd05392ec594628a28745ad888d055d4f074d5214f61fcffafe6c04c4ab54109d45ac0371582bd diff --git a/dev-python/boto3/boto3-1.34.73.ebuild b/dev-python/boto3/boto3-1.34.73.ebuild new file mode 100644 index 000000000000..b64e7191fd19 --- /dev/null +++ b/dev-python/boto3/boto3-1.34.73.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..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}] +" +BDEPEND=" + test? ( + dev-python/mock[${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 6a9770cc9d96..dbf7658a0b63 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -4,10 +4,12 @@ DIST botocore-1.34.69.gh.tar.gz 12790282 BLAKE2B 3d12eb5eb8e85777b43b3774e783c90 DIST botocore-1.34.70.gh.tar.gz 12794510 BLAKE2B 066c560474c32cf8f7fb0b3b1199ee34b57a97684643fdfe2d2c828dd4680dfe4d279fc480bc1b6fcd0694b51335ec167b380a0f9e30fb47f04a3cd045f27323 SHA512 1d3e61891a178ff3b2585e366c1741d8412e8fc2060e2b56fe35ab2c0872933a176bb8efdd18c428c59cbf017db809f9d74eb36c4a8cb9edf4d0bd2edc1ae026 DIST botocore-1.34.71.gh.tar.gz 12795892 BLAKE2B 6047152353feb3321d4a5f7fa52baa0635ec1e25fb24c6b92f74615826c7955fd2f02a1b4ce274e6a0fca07233a3611da398364ef896547504b9dadadca6fa08 SHA512 13d8730b4018c63f42cf8ab4d885cee71b8d9126346aa6bfda9007380edf5bebe983b2e55c4c75c9e59d09a5c0dd9a22ffbabd94a11ccfc6ad920f962b729575 DIST botocore-1.34.72.gh.tar.gz 12804351 BLAKE2B 8231146535b4213d1724f1895db243e1c4ba838dec51cb2a1348d0f712c2d45288bd83503b818ff23f6721aa3f8f7c9f86a3c8115eaf04c28ddec36271eb06d1 SHA512 b99f1954a0e397066687d66e9d0eec64e3ed27c2d6ebc1c504cc7871f5c4a3b19fbe9843f51fd96ee853a304335463d3b01034dd6f4241b454757a8e2f7719d8 +DIST botocore-1.34.73.gh.tar.gz 12806316 BLAKE2B 26efd260c5d93d01c5a3106a121f08c32f5a697f77983b2ad9419bd1ac4076e7121c2c1d44041cbd3ab959d36c8f4c173f8eb355e16bce1c650e812ab305dff0 SHA512 868d7cf19edcb6b6ec5b9b8c30a11e86d59bcb81b539d69cf5312887399f2536f2b197efc34e4cf4c59a324809cfb5a150ec47ac44b27696ba78fc82d672b3d5 EBUILD botocore-1.34.59.ebuild 1477 BLAKE2B 784b43f060f0702808a3894fdab7a15dd4b4feeffc3c1ab2fe24cca762b2dc1310f40ae5b2941db5c4aa9c4ff8b69d858520826027a50ce975d25150132b4d56 SHA512 e86970ec900929641794d61e02f26bc7e7c8af803095dcc5c8fbedac9d79275c596176f2b492061289056c7d29ebbaa6e64344148f22b6349ac4420ab5038dca EBUILD botocore-1.34.64.ebuild 1484 BLAKE2B 30f7e11da3d7c36574e721023e7a0dba6ffe87172afec095dec711b929274a58d6a1352d131df44cd36598f11dda34df8d2e51e723b62e8ac096437360526aa6 SHA512 699735f1b1feb67c3b03d3e3787b45bfa3bc2ac6f639881b9414cdfc4aea5bb022d2e701d09061de5a237dcf3f32be4668b7ebc3f12cd950765b439d1ea4d88c EBUILD botocore-1.34.69.ebuild 1484 BLAKE2B 30f7e11da3d7c36574e721023e7a0dba6ffe87172afec095dec711b929274a58d6a1352d131df44cd36598f11dda34df8d2e51e723b62e8ac096437360526aa6 SHA512 699735f1b1feb67c3b03d3e3787b45bfa3bc2ac6f639881b9414cdfc4aea5bb022d2e701d09061de5a237dcf3f32be4668b7ebc3f12cd950765b439d1ea4d88c EBUILD botocore-1.34.70.ebuild 1484 BLAKE2B 30f7e11da3d7c36574e721023e7a0dba6ffe87172afec095dec711b929274a58d6a1352d131df44cd36598f11dda34df8d2e51e723b62e8ac096437360526aa6 SHA512 699735f1b1feb67c3b03d3e3787b45bfa3bc2ac6f639881b9414cdfc4aea5bb022d2e701d09061de5a237dcf3f32be4668b7ebc3f12cd950765b439d1ea4d88c EBUILD botocore-1.34.71.ebuild 1484 BLAKE2B 30f7e11da3d7c36574e721023e7a0dba6ffe87172afec095dec711b929274a58d6a1352d131df44cd36598f11dda34df8d2e51e723b62e8ac096437360526aa6 SHA512 699735f1b1feb67c3b03d3e3787b45bfa3bc2ac6f639881b9414cdfc4aea5bb022d2e701d09061de5a237dcf3f32be4668b7ebc3f12cd950765b439d1ea4d88c EBUILD botocore-1.34.72.ebuild 1484 BLAKE2B 30f7e11da3d7c36574e721023e7a0dba6ffe87172afec095dec711b929274a58d6a1352d131df44cd36598f11dda34df8d2e51e723b62e8ac096437360526aa6 SHA512 699735f1b1feb67c3b03d3e3787b45bfa3bc2ac6f639881b9414cdfc4aea5bb022d2e701d09061de5a237dcf3f32be4668b7ebc3f12cd950765b439d1ea4d88c +EBUILD botocore-1.34.73.ebuild 1484 BLAKE2B 30f7e11da3d7c36574e721023e7a0dba6ffe87172afec095dec711b929274a58d6a1352d131df44cd36598f11dda34df8d2e51e723b62e8ac096437360526aa6 SHA512 699735f1b1feb67c3b03d3e3787b45bfa3bc2ac6f639881b9414cdfc4aea5bb022d2e701d09061de5a237dcf3f32be4668b7ebc3f12cd950765b439d1ea4d88c MISC metadata.xml 499 BLAKE2B e5aaa7da26f200c09adfdf38b68f656bbccbec627cb5d966b280ac2165334e7eec659c89075bcace748f58e2ec3e7d2998e54a688d56ecea2d30653c67dfd35a SHA512 103c554d5dbd967bf9b6e418b3913d9235e7e910d012160909ce0715134ed2e37b06e6a345395f9d16ce08d1cf51f3ce458bce93c6a978fd3dca6610f2acdbd0 diff --git a/dev-python/botocore/botocore-1.34.73.ebuild b/dev-python/botocore/botocore-1.34.73.ebuild new file mode 100644 index 000000000000..ba6cd2a5d2a2 --- /dev/null +++ b/dev-python/botocore/botocore-1.34.73.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_{10..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/build/Manifest b/dev-python/build/Manifest index 2413ab550763..c0ab2fe07d0d 100644 --- a/dev-python/build/Manifest +++ b/dev-python/build/Manifest @@ -1,5 +1,7 @@ DIST build-1.1.1.gh.tar.gz 44605 BLAKE2B aa1d554d55007e8cb715981938bb8765230ae5ddc6c5bc29efeb52c0e18b6337a13c27f3389772a83cc0ecc9b7d3e889fbc305e91f1290424d7031a1782f683f SHA512 5fa64b07f2c22faca074d1447f5fcb12b7ad40e5fe897f034901d7932d8a9aa2c1dfa806d373503246255d7d9a2429b336384a980376f4ae7c810ae275b735da DIST build-1.2.0.gh.tar.gz 47350 BLAKE2B 874f4871d5b8c22ce1d93a840fd00315cfa3a93b01a44e3c8c3270d2dcb66455e2c44e757d0ae15a58a35ea4ee8679a797191523254c914150d801cf3c0a5fa8 SHA512 aaa4677f8eb04c2872dc0f64287e00cd0aa47b10d3bfd67a63c22db42caef8baae9996c3a6ced3a07cce4a54d6fd52a3f15d167f804f7f518d258aa5da68419c +DIST build-1.2.1.gh.tar.gz 47394 BLAKE2B d38a138dee5065ff0faee453bdc608fc519bc4b4a3cec8b60cf4f745288f8238dd7e9334f75bdd67765037a62b220079ce924c6581f745eb3750e732b2184d48 SHA512 77003e16d3776c3a4be920251bf14650eea112b92d94116cb1893195b8e16aae57321206ae63267119247f2794f220c891b7d913e07a8258b313d34c07d54fe9 EBUILD build-1.1.1.ebuild 1684 BLAKE2B 0dfc43a98f0edb7693d533cd3b75570191e716e87ce00e1255f2d1a3d40fa06bc028f1895535e8eac7f38b0d3c95da057ae9e93cef1eb763043a471441bea5e7 SHA512 b65bacfcde9bc791b724a9e3d461a1398b206117bea5f3aabbfc5ea96c174ba56979903adde1d10734939685b45c2bf91b832036c21e7220186c38173fded8c1 EBUILD build-1.2.0.ebuild 2148 BLAKE2B 5175758b124efc8e6533f47522e00dc72aaf2e10277d4b2c214fea018185fb8e0b7ceeeb2e9efb6963c04bd490df9d7e97715c1a6457dc96cf5ba3367f08075d SHA512 996ff891f39b4d0ce799b378b8639e54db071216ea046fe780d552683e90b5482165fea575509dbc5e1cc651af32d2bdb0f8a7962b3412c362bddcc239a7c5f2 +EBUILD build-1.2.1.ebuild 2184 BLAKE2B c48fde5f0ada32df1e08a9b5ca870872b0d3a894779ba2acbeece362685f9c06f1a243ce69e44e411d3606d388cd510e0feea92f00a802db66e5c5d520ea51a5 SHA512 59c48c70e695b4f345acc185207971cedaba22100da0b92b5e4793f08ff6405addc8f69e77618f682b63856ff64e961d962cbbc0c1817a1a83427d29a4bcd069 MISC metadata.xml 361 BLAKE2B 1c46e1d83bec4a8aaedd932af700865009735ff75e3af63ef7c08f7c00883d5f658f86aec981cd48c8ef0ab0a287250a3a4fdfad42fb434f6c06d9f33f72f7d6 SHA512 89c86db40833c86e25f387c5bfa8952b62e983714be85af1e8ca2a6ef8a402b94cc32dfc18cda8d8850736aaabdb46c153743af9bcb027e86b2c1f085f6f2369 diff --git a/dev-python/build/build-1.2.1.ebuild b/dev-python/build/build-1.2.1.ebuild new file mode 100644 index 000000000000..c50be1f5770d --- /dev/null +++ b/dev-python/build/build-1.2.1.ebuild @@ -0,0 +1,77 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A simple, correct PEP517 package builder" +HOMEPAGE=" + https://pypi.org/project/build/ + https://github.com/pypa/build/ +" +SRC_URI=" + https://github.com/pypa/build/archive/${PV}.tar.gz -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc64 ~sparc" +IUSE="test-rust" + +RDEPEND=" + >=dev-python/packaging-19.1[${PYTHON_USEDEP}] + dev-python/pyproject-hooks[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-1.1.0[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + >=dev-python/filelock-3[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-2[${PYTHON_USEDEP}] + >=dev-python/pytest-rerunfailures-9.1[${PYTHON_USEDEP}] + >=dev-python/pytest-xdist-1.34[${PYTHON_USEDEP}] + >=dev-python/setuptools-56.0.0[${PYTHON_USEDEP}] + >=dev-python/virtualenv-20.0.35[${PYTHON_USEDEP}] + >=dev-python/wheel-0.36.0[${PYTHON_USEDEP}] + test-rust? ( + !sparc? ( dev-python/uv ) + ) + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # broken by the presence of flit_core + tests/test_util.py::test_wheel_metadata_isolation + # broken by the presence of virtualenv (it changes the error + # messages, sic!) + 'tests/test_main.py::test_output[via-sdist-isolation]' + 'tests/test_main.py::test_output[wheel-direct-isolation]' + # broken when built in not normal tty on coloring + tests/test_main.py::test_colors + 'tests/test_main.py::test_output_env_subprocess_error[color]' + # Internet + 'tests/test_main.py::test_verbose_output[False-0]' + 'tests/test_main.py::test_verbose_output[False-1]' + # broken by uv being installed outside venv + tests/test_env.py::test_external_uv_detection_success + ) + + if ! has_version "dev-python/uv"; then + EPYTEST_DESELECT+=( + tests/test_env.py::test_uv_impl_install_cmd_well_formed + 'tests/test_env.py::test_venv_creation[uv-venv+uv-None]' + ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -m "not network" -p pytest_mock -p rerunfailures +} diff --git a/dev-python/csvkit/Manifest b/dev-python/csvkit/Manifest index bf39a7190825..8772482f0fe6 100644 --- a/dev-python/csvkit/Manifest +++ b/dev-python/csvkit/Manifest @@ -1,3 +1,5 @@ DIST csvkit-1.4.0.tar.gz 3796472 BLAKE2B 4501a320ab9b8f9f5642ea3957caddb024301a3a299fce17876562973874bad8305ce5cb8e879c7269d7b57d54e97e70f315728b52605a1059705111192874ad SHA512 5363fe8380c6ad1e44961bd7781feecd6fd19802a1c30144a45bdac364980413be3ac37e564491aca72c33d8b8a08dd5b49cfe2217b02bb5f3083db75996d687 +DIST csvkit-1.5.0.tar.gz 3811034 BLAKE2B 4fd22d532803a520f9276e7f6be9068db4dba288582d85848143a6a5c70357a05450f7dcdc7a086949cd6568c62fa79546026a2a2aaa3e7f10985d0177c0a676 SHA512 e8e776419405a0e278f12440ba43e9f9c801673b54a6d2c0d3b543929f7a00fa30e9fc35697398127bdf73984453300ef5cde44355396b549d1a039e4e7c068e EBUILD csvkit-1.4.0.ebuild 1051 BLAKE2B 099a0d607c58c7b656baf804e6dfe43550f15bdeef4da75840d622080d808a428ea4216a56677b615a51a9a3284765229c0b197487faa673fd88b45c4fc6ce22 SHA512 a624aaf89ebf406283ca2182664aed19e8d281ff570c3928838530be033334dd1dd2f60bca736baa9eca164267f1ee258f0f74788d436b09996c7b05c9afaddd +EBUILD csvkit-1.5.0.ebuild 1092 BLAKE2B df2b3e9a4df1d90b59ec9b9b649f610e7b634b0d9add4a1034c72fde6260c34050fd7f0971d4c5530cbeb8665a22b6b6322d411830023929d6af9570c4853f01 SHA512 84e7857a4b1fee061bd3c8acfd67e7208f4a0b241468908f7173f927aff9555e745f87b94588de83d0a0ec31c1e909a405b3975dd0809ca8a7841a65e1b8b143 MISC metadata.xml 626 BLAKE2B 181917319a1f5bfd6356b2fb06f91892d2432f9ae29a5586c9a6d9579747a676a42d3ee94c1601b53f8ba5c3fc9bbf162b6b3b419ccbc047ead3f1120c2bd056 SHA512 23194fc2a805904809e1df179572fe8e52344b58bda98f064a5221b3637f21f9f8f974e466e65353915b7eb9c66ae23464d1c79e92829147a7c64c6999963f56 diff --git a/dev-python/csvkit/csvkit-1.5.0.ebuild b/dev-python/csvkit/csvkit-1.5.0.ebuild new file mode 100644 index 000000000000..a5dbdb5eae39 --- /dev/null +++ b/dev-python/csvkit/csvkit-1.5.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A suite of utilities for converting to and working with CSV" +HOMEPAGE=" + https://github.com/wireservice/csvkit/ + https://pypi.org/project/csvkit/ +" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64-macos ~x64-macos" + +RDEPEND=" + >=dev-python/agate-1.6.3[${PYTHON_USEDEP}] + >=dev-python/agate-excel-0.2.2[${PYTHON_USEDEP}] + >=dev-python/agate-dbf-0.2.0[${PYTHON_USEDEP}] + >=dev-python/agate-sql-0.5.3[${PYTHON_USEDEP}] + dev-python/openpyxl[${PYTHON_USEDEP}] + dev-python/sqlalchemy[${PYTHON_USEDEP}] + dev-python/xlrd[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/zstandard[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # fails depending on locale, let's not force en_US + tests/test_utilities/test_csvstat.py::TestCSVStat::test_decimal_format + ) + local -x LC_ALL=C.UTF-8 + epytest +} diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest index 2120784250a3..5152d56d1a0b 100644 --- a/dev-python/google-api-python-client/Manifest +++ b/dev-python/google-api-python-client/Manifest @@ -1,7 +1,9 @@ DIST google-api-python-client-2.121.0.tar.gz 11796461 BLAKE2B 178665ad75d5e8fa2437c909b47cf93c566e4f47cfc2e6a0fd74d9f7de29dc4076bf86299c42341e3c32b3ab20723a89fc062629964dfc2cc02a2eeaa0a1fcb0 SHA512 2bb2d02b93656d349ed65ccaa85dc435aae0ebb7d45edf2dd9b6aecb56cd8866421f4359612830e5d32d0609df12252e550ed514bf3c6b63920a67ffe74f6299 DIST google-api-python-client-2.122.0.tar.gz 11884905 BLAKE2B e22e9cc1b7e2afebbf0a1793e4d2c96d7e3d4b38e7266213d57b8db2eeedcc6c37a18bd0cc62c50fa84221dfea2bfc1ebd9c0cbe33fe4921662e50dd26ccde5d SHA512 dc17be212b975d700ca8ea333d0b1b7207f48cd870190154e14b94d5ae3f835c8f1fe63ed1ac267b1a1ab8a6916a6d55c479d5728801bbc74f842231eef71049 DIST google-api-python-client-2.123.0.tar.gz 11923642 BLAKE2B 9379f9c202fae99a787bb1e11c28c5b3e22893ec0a1aafba4321a697091708df79c6690c85091a1b9e644fb7daa5f341bed51a75ef69aa1bc75b1095d8b0a075 SHA512 29ea38055a1d10ad1960fb5f94fbf48178098e8d5f54282239f32570c1ef70079693b55dfdca1ad4517b01b25896e6c6dc945c73a447d435fce5463c6b8b9426 +DIST google-api-python-client-2.124.0.tar.gz 11956565 BLAKE2B efa7273bb4c298804b331ea29218710a7427e614f830fe308763ef226ec392f3f1ea16e4d0f4f5ff98c987eba7c9331f0ff0ed6d32a89e9538d1fa18fcc40399 SHA512 4eacdbe4733a235b5c31c337c8cde18fef88691d55a8b988291dd5ff8cea786f67b4052eb2fb6e7aeb31631311f956e255469c3a1438f137c1eb03b43812f9c9 EBUILD google-api-python-client-2.121.0.ebuild 1313 BLAKE2B 31fc929d21fb567d5d6b9fad785a3881f152e618cd61abe50e834d10c13332a52a6c9990826447b0431b56a246e80e9cf0d3f007b997f2a675fda25f49332bde SHA512 53680ecc0febe6f1747965a70b56242656d4e86216a24e0b3d56c9768f9315594ffcb41558a823f905cb6ea720cf7ece227ecbf0c3141b76d039c3a011b2746f EBUILD google-api-python-client-2.122.0.ebuild 1316 BLAKE2B 74751b9b88bc82209655d3e8932c291cd4cbfe0a20d18ac13e71761f659c3bcd30a9e7e0c51ebf4b4df67fe6fd6dd9db37cf5cbbe2b31a45c628fe6428a48483 SHA512 3d1048fb99429c7b3acc39ee9d65048dc4efc79cdcac2f7a1ecaa69e3cfabddff6b8099c527b8436f6eb5457b795365fb7c2c3951d202aa78288d565001cbf23 EBUILD google-api-python-client-2.123.0.ebuild 1316 BLAKE2B 74751b9b88bc82209655d3e8932c291cd4cbfe0a20d18ac13e71761f659c3bcd30a9e7e0c51ebf4b4df67fe6fd6dd9db37cf5cbbe2b31a45c628fe6428a48483 SHA512 3d1048fb99429c7b3acc39ee9d65048dc4efc79cdcac2f7a1ecaa69e3cfabddff6b8099c527b8436f6eb5457b795365fb7c2c3951d202aa78288d565001cbf23 +EBUILD google-api-python-client-2.124.0.ebuild 1483 BLAKE2B 5ddedf1b929c9fdb108af436d7a99985456d1ee7bc044771ebba57e793adbbfb45a04e4e8f43b7498c8f1829e6be40385c3a71146087210ed96fb755be9b1a24 SHA512 30bae0af2da28d840afd050f4615fe31be6f6aece394e8f1f4d4ea431c18f11b50baefedde5c7a661d06e9804f25bf3110237aa058df86789de470807207070d MISC metadata.xml 538 BLAKE2B bf0b8ab3a89ce9ab1d2159f4c0ebfe3f2646aced20bd2006485510c12d22e83cc130fac979f699ae6431a610c8d2acf86c04b39bc262abaf167c20571a860810 SHA512 30d004d944055660165954f8475e57ba45cef56423c80a324118836d78e5376261409955155a40c9bd988f230f3e2fc44c6aeb6fae3028c78c55a382ccd83bff diff --git a/dev-python/google-api-python-client/google-api-python-client-2.124.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.124.0.ebuild new file mode 100644 index 000000000000..3961663be4b6 --- /dev/null +++ b/dev-python/google-api-python-client/google-api-python-client-2.124.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Google API Client for Python" +HOMEPAGE=" + https://github.com/googleapis/google-api-python-client/ + https://pypi.org/project/google-api-python-client/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + >=dev-python/httplib2-0.15[${PYTHON_USEDEP}] + <dev-python/httplib2-1[${PYTHON_USEDEP}] + >=dev-python/google-api-core-2.3.1[${PYTHON_USEDEP}] + >=dev-python/google-auth-1.35.0[${PYTHON_USEDEP}] + >=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}] + >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}] + <dev-python/uritemplate-5[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/parameterized[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # require Internet access (and credentials) + tests/test_discovery.py::DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive + tests/test_discovery.py::DiscoveryFromDocument::test_api_endpoint_override_from_client_options_mapping_object + tests/test_discovery.py::Universe::test_client_options_universe_configured_with_mtls + tests/test_discovery.py::Universe::test_universe_env_var_configured_with_mtls + ) + + epytest tests +} diff --git a/dev-python/requests-mock/Manifest b/dev-python/requests-mock/Manifest index 0c32941260fd..66d3f987c3ee 100644 --- a/dev-python/requests-mock/Manifest +++ b/dev-python/requests-mock/Manifest @@ -1,6 +1,8 @@ AUX requests-mock-1.12.0-no-pbr.patch 909 BLAKE2B dd03b0d0d5c4bcd1489045d1e4e88c44d85cdc20be3eac260ea16b765fc8ebc81d0031f23cb5c38889b00cbb42fadc0abd41ef7bee04806f64fce85f6fa2026f SHA512 9edfb0d639241340661d9e02649755c5b2c9ed551303d9ef0609ee32d999f73d17cdf9da632112b064f470c91539a58e6e71553a3ee53b93c0dac04425930688 DIST requests-mock-1.11.0.tar.gz 74377 BLAKE2B f871bbd18b42668d9eb693b807a67a33c9fb7c4316966ad2c16800bf562be982c737e1c1a803e3c5b6d3cde8c3d789671b5fce7d54df308dc55b2ef73a641ff4 SHA512 8d161cb0f6183994053d4dd06b801c2614b7ac937798addcdc52ee8e3973a7ef874ca615ca1946ea4bc0e05ce36c5c813460f7a41b3254671095059536fd2961 DIST requests-mock-1.12.0.tar.gz 60874 BLAKE2B 53e0cf6cf25dbfec87e913a9f85c9ad0757e3b071e4c1d66a31810283cd0332a0a8b8317a9da433a2b36f629ff52808a82993126a5f7a9d138c47099072329a3 SHA512 1bc07b5fa90752d73e05de7147f891600fce3041f6b9aaf3ad6be87532b314543340d94087e834801761a7f3aefb0bb1e1bdb717c11b90b940cccf37b2982164 +DIST requests-mock-1.12.1.tar.gz 60901 BLAKE2B 708b19731260b8a1c1334b564c35825a9bceb20b8205ed3ad0f9c778e2c22e3ae4a93fa09cd47e9c745f5a282ebaf83a43be09ee4bd578195b77f69b116e28c6 SHA512 be1f4afa800811025e3c7b14a65759851ef2d56a3e4bf155368dc6772440fe0fcc5d01f62b1b029d0cabd7a57fe35074e3ba0791240f95f43b62109a00f96120 EBUILD requests-mock-1.11.0.ebuild 1353 BLAKE2B ae0f3115c638eddf9104bc9110b0e050429d9faa74cf636b8a76c49f513b56a26820d2180bc665cc645708465e0251df3912453576815138fc0642688081914d SHA512 2a43327d61b514e895bb55d195ab5856c91dc2274bd0b965019fb46f099a58996467e03311d64b5602c4fd0f9ffe912a1a60539b4b476c645f7f12549c76c73b EBUILD requests-mock-1.12.0.ebuild 1443 BLAKE2B 3c4703a4b62c59f84a3d06dc8f0171b57d4dc3e5df260346345cc250704843975c32c5c398f452a6f5d1b29cce5250e78ff6a7227e20164555af870f8170f79c SHA512 6c3f4073c85ac5de5ae00864ede17080f7a91033ed280b757f3ad16eb80a94645add6e8fe9e3037ea6de1f1269c80a6cc9057b8d9f6d5b33311cfc368adb61ef +EBUILD requests-mock-1.12.1.ebuild 1451 BLAKE2B c2a4b06b32ad0e9621d98d2cad9509a67b4a23c6c59fd676c4d3eb639c532e2b7e64276ca060d92faee551d397b7f5305f86cc7591d71d4acceba25e4230aaf9 SHA512 359aec47cbba3563397810980e7274c9e68f415c0e8d11853ec0e321087ed39fff9f365b6dd73e8eeb61405f326e3f51a0153aeabb0ebc3a6b09dc39658d1d04 MISC metadata.xml 479 BLAKE2B ddd64d016f85e6960f2d8a10d53591c6ffa5c0f61ebc4074f5867a03c0d8f533468351b87cb10e662391aa3d8fdd61b07bcf607c1d5b07a13fe85cf600def424 SHA512 341437e0fb7b532b7845d000e0647ed9858efe1336e8b6f57f55f677483eae4985ac0f54016da09d22d007895f3450a5e1fa6cf5d20fa715f74466a4cdf43cfa diff --git a/dev-python/requests-mock/requests-mock-1.12.1.ebuild b/dev-python/requests-mock/requests-mock-1.12.1.ebuild new file mode 100644 index 000000000000..bb051e0ee3b9 --- /dev/null +++ b/dev-python/requests-mock/requests-mock-1.12.1.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 +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Mock out responses from the requests package" +HOMEPAGE=" + https://github.com/jamielennox/requests-mock/ + https://pypi.org/project/requests-mock/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/requests-2.22[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/fixtures[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/requests-futures[${PYTHON_USEDEP}] + dev-python/testtools[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx doc/source +distutils_enable_tests pytest + +python_prepare_all() { + local PATCHES=( + # https://github.com/jamielennox/requests-mock/pull/255 + "${FILESDIR}/${PN}-1.12.0-no-pbr.patch" + ) + + # Disable reno which only works inside a git repository + sed -i "s/'reno.sphinxext',//" doc/source/conf.py || die + # Remove the release notes section which requires reno + rm doc/source/release-notes.rst || die + sed -i '/^=============$/,/release-notes/d' doc/source/index.rst || die + # Disable a test which requires purl (not in the tree) + sed -e "/^import purl$/d" -e "s/test_with_purl/_&/" \ + -i tests/test_adapter.py || die + distutils-r1_python_prepare_all +} diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest index 4e5613161ebe..d4b26251bda5 100644 --- a/dev-python/sqlglot/Manifest +++ b/dev-python/sqlglot/Manifest @@ -21,6 +21,7 @@ DIST scopeguard-1.2.0.crate 11619 BLAKE2B 8b7e9ed6cefef9ee55407fb9690d57a2a98bb9 DIST smallvec-1.11.2.crate 34801 BLAKE2B 58645e99db8f02db64d02c75860c7ea41836c427c03ee3b0b23365e73a406e4fd6ac312bf13fc5faef8bb6111c10fcfd5f839d5b3686e9b34d1626f8469fc327 SHA512 5cfb427c3b99b0dbd71f6154ed899abcde9d7d2992977ac7b2ef3a4c3ff51e4efafd133071a69609b4ed6cb269bdc26b79eb72e1988f10dfcaef8185d950cd1d DIST sqlglot-23.0.5.tar.gz 12856796 BLAKE2B 45379016755817b03b2fc62fa4360d3a5f1313cf0d0206996bee5dd996f7fd848409fd613c45539aee027a3b47263aeb1912832f7d7fc219d8c22a4e7874d3f2 SHA512 424a7ce4654fc72e02269e5a6976279251dcb24ea17e450bf23641e563e5b5675063d80d38b76b9180c828715c6cae59e1cf4146f3d5a985aa9a7871ddf3ccb2 DIST sqlglot-23.2.0.tar.gz 12887764 BLAKE2B b8aa9af7fe52d8318a99aba2407011bb11d2a1604ed6c19147024035bd3899128dffbd7dac8678567b953cc04937576f61966e4b09b329b7713f6a4e70546e2b SHA512 871a6c730ddb709bd9460bb333faaa46d918b1fa038458790b186b00e6e3245eafeee31d36bc25c322eccce4de2723ba2bce37930f36a094b0f258e6d541c186 +DIST sqlglot-23.3.0.tar.gz 12889395 BLAKE2B 269e532708e1d7413f91407676fdbf90a93e22115a497255316ca50a3d864a7c8e99dc6009761ae3db92195f603f9013654269c4277d03f93b3fab9b3e951fe6 SHA512 3040b9dcb8f622c5a5e9b9ecc28f4b07a7e1cc9bce537689325ace3f4d851af168629b489cf245cbfa5e2abfd48df0c98c0e0c46abe0d473a7bc3d3341845ba4 DIST syn-2.0.41.crate 246016 BLAKE2B 9d389f2e2a0acb4c84c309456e8ffcc88c5d4d541535ed136832d7a6054dde45a598bb68e8a6f3062ca2a96e1ceae947d54b3aec9bad65b0c51d6733aa6c80db SHA512 6bbaf69ca783025dfb81ac3612ac60bfbed31b2d87792909b35c12892dadebdaff2ddf9463105e536b671dce5870610ab90fe29471284bbd3014dca8d6993f1a DIST target-lexicon-0.12.12.crate 25156 BLAKE2B f3803596c75f6c89438592a1176c3748fc2c0524d7d50a20056de1cd26d40c572b05bafcdf6dd702752864bea37c8b4f28f96dadc12a5b3bb1d279b25e489f85 SHA512 6147295c43ba1b7b087a3c5ab51534b2985e4e77e5e15687978cfb9d07e21c4fd9bc7191576d6cabd268d08a44dc733c4a957e59dba8b948c2055d8bb433aeca DIST unicode-ident-1.0.12.crate 42168 BLAKE2B 4cede03c08758ccd6bf53a0d0057d7542dfdd0c93d342e89f3b90460be85518a9fd24958d8b1da2b5a09b5ddbee8a4263982194158e171c2bba3e394d88d6dac SHA512 bc1824e1e4452a40732fc69874d7e1a66f7803717a314790dcf48867eba34bc9441331ef031e386912e52c385645c25b6ed39d4f149973b5b97371b1b96b1920 @@ -35,4 +36,5 @@ DIST windows_x86_64_gnullvm-0.48.5.crate 418486 BLAKE2B 12a2199d434617c1df1a839e DIST windows_x86_64_msvc-0.48.5.crate 798412 BLAKE2B 8abc0721e2fb337fe17c91d278947d36122d9045b839ba0cf3e690202d242265b676f23cc301da5f9d98c56ca4ecb76f7d6f072ee71bf986a1deca87020b90e5 SHA512 fa1c5cd14ca2ff0082e2504cf59d317dc4dc6f7138d35c12f95d4476a9c13d8b7f5537d0ee251eee7c99411ad31b22263171b7fbd391daa5d3ea3488ceaa61a0 EBUILD sqlglot-23.0.5.ebuild 2602 BLAKE2B 3bfbd91a9bd26b48f14f4ca2d1143e55e37da4f8c0d893b1a3d4d5853b7959d325669fc46e8f79e5e817b139ccf0684e663456d3b45785195b4e06942522ff08 SHA512 f8c1aa7ea03ed2e0044b6550a13f1e2e40999a16a247cd7206db725c14d3ba06a92cd1909a0126d51ac583ecd8a4825f4da678aab079eb94a7e7cbad16ecafa2 EBUILD sqlglot-23.2.0.ebuild 2602 BLAKE2B 3bfbd91a9bd26b48f14f4ca2d1143e55e37da4f8c0d893b1a3d4d5853b7959d325669fc46e8f79e5e817b139ccf0684e663456d3b45785195b4e06942522ff08 SHA512 f8c1aa7ea03ed2e0044b6550a13f1e2e40999a16a247cd7206db725c14d3ba06a92cd1909a0126d51ac583ecd8a4825f4da678aab079eb94a7e7cbad16ecafa2 +EBUILD sqlglot-23.3.0.ebuild 2602 BLAKE2B 3bfbd91a9bd26b48f14f4ca2d1143e55e37da4f8c0d893b1a3d4d5853b7959d325669fc46e8f79e5e817b139ccf0684e663456d3b45785195b4e06942522ff08 SHA512 f8c1aa7ea03ed2e0044b6550a13f1e2e40999a16a247cd7206db725c14d3ba06a92cd1909a0126d51ac583ecd8a4825f4da678aab079eb94a7e7cbad16ecafa2 MISC metadata.xml 611 BLAKE2B 10bf684677182565c9932d51ed9b3b9c80d376d6db945bd7b0dd0d9a19a85dc0d10cb169ff2048ae5f7f73d0f438d259b6231c13c525b5374ec99377f4ffdd10 SHA512 2b26d0f77962807052b94ad78addcfdce9859042af3be34df267dc6e70b6231dd779563935fd21955cd8646fd0cce3fee8c939387ac8056194a0b777743dd2ae diff --git a/dev-python/sqlglot/sqlglot-23.3.0.ebuild b/dev-python/sqlglot/sqlglot-23.3.0.ebuild new file mode 100644 index 000000000000..058fa81df816 --- /dev/null +++ b/dev-python/sqlglot/sqlglot-23.3.0.ebuild @@ -0,0 +1,121 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +CARGO_OPTIONAL=1 +CRATES=" + autocfg@1.1.0 + bitflags@1.3.2 + cfg-if@1.0.0 + heck@0.4.1 + indoc@2.0.4 + libc@0.2.150 + lock_api@0.4.11 + memoffset@0.9.0 + once_cell@1.19.0 + parking_lot@0.12.1 + parking_lot_core@0.9.9 + proc-macro2@1.0.70 + pyo3-build-config@0.20.0 + pyo3-ffi@0.20.0 + pyo3-macros-backend@0.20.0 + pyo3-macros@0.20.0 + pyo3@0.20.0 + quote@1.0.33 + redox_syscall@0.4.1 + scopeguard@1.2.0 + smallvec@1.11.2 + syn@2.0.41 + target-lexicon@0.12.12 + unicode-ident@1.0.12 + unindent@0.2.3 + windows-targets@0.48.5 + windows_aarch64_gnullvm@0.48.5 + windows_aarch64_msvc@0.48.5 + windows_i686_gnu@0.48.5 + windows_i686_msvc@0.48.5 + windows_x86_64_gnu@0.48.5 + windows_x86_64_gnullvm@0.48.5 + windows_x86_64_msvc@0.48.5 +" + +inherit cargo distutils-r1 pypi optfeature + +DESCRIPTION="An easily customizable SQL parser and transpiler" +HOMEPAGE=" + https://sqlglot.com/ + https://github.com/tobymao/sqlglot/ + https://pypi.org/project/sqlglot/ +" +SRC_URI+=" + native-extensions? ( + ${CARGO_CRATE_URIS} + ) +" + +LICENSE="MIT" +LICENSE+=" native-extensions? (" +# Dependent crate licenses +LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016" +LICENSE+=" )" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="+native-extensions" + +BDEPEND=" + native-extensions? ( + ${RUST_DEPEND} + dev-util/maturin[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/sqlglotrs/sqlglotrs.*.so" + +src_unpack() { + cargo_src_unpack +} + +src_prepare() { + # remove fragile timing check + sed -i -e '/assertLessEqual(time\.time/d' tests/test_parser.py || die + distutils-r1_src_prepare +} + +python_compile() { + distutils-r1_python_compile + + if use native-extensions; then + local DISTUTILS_USE_PEP517=maturin + cd sqlglotrs || die + distutils-r1_python_compile + cd - >/dev/null || die + fi +} + +python_test() { + local EPYTEST_IGNORE=( + # Tests require pyspark or duckdb which aren't in the tree. + # Pandas would be a requirement normally, but it gets ignored by proxy. + "tests/dataframe/integration/test_dataframe.py" + "tests/dataframe/integration/test_grouped_data.py" + "tests/dataframe/integration/test_session.py" + "tests/test_executor.py" + "tests/test_optimizer.py" + ) + + # make sure not to use an earlier installed version + local -x SQLGLOTRS_TOKENIZER=$(usex native-extensions 1 0) + rm -rf sqlglotrs || die + epytest +} + +pkg_postinst() { + optfeature "simplifying timedelta expressions" dev-python/python-dateutil +} diff --git a/dev-python/stripe/Manifest b/dev-python/stripe/Manifest index 40d413342a7f..dec4ed5597e7 100644 --- a/dev-python/stripe/Manifest +++ b/dev-python/stripe/Manifest @@ -1,7 +1,9 @@ DIST stripe-8.6.0.tar.gz 1075310 BLAKE2B cf497317cce5f8525ccc8491ccfe8610f701abc175b9d24099790ab8a5ed7b8c67888960f96d579c7d623162d82e9f26beb09532f84eb7785c93acc3cb516825 SHA512 25fc7396ea0d5cc448a8c9c00f5dfac7ea5181a4c82d7f1b3d81d0e54b55876213ffddcb478391604f228ff5a7bbe6adcfdee0cdfce3ed385be8432c400053bf DIST stripe-8.7.0.tar.gz 1080685 BLAKE2B 0d91f852ad88cf09fb5230a421f9b9b5ade3e7617e95f6f0b5ff3bb14e307d272c1d8600a2673d63a408ca24501e71383fa18f527433e9fbc816f6a48fb9c576 SHA512 977c57a4bad1b572dbee566609f28a9b7e3bffea6516ac48b1f69c51a8ee8fb44d342ce886e2809f6c18b633c30f57e35c565817f2dd67d82c23048dc47d66e5 DIST stripe-8.8.0.tar.gz 1102096 BLAKE2B b8a2696d3f3347afb6ee9b3c6981ac4b2a5a19775d698e1cd12a7042a8373faf1ac132789776f8d5248d7691da9cf21a227916445c72ee172d2928cae3583895 SHA512 7638d49687cf3008828efd75a600ab8319e13bfb77aa4accb919628ca9e7fdd502b28a43b03863bb76d185af3a0521fd775557d72f850bf8b692c0504b7ff7a7 +DIST stripe-8.9.0.tar.gz 1124248 BLAKE2B 158b070256404dfa7f5d2a13f076c08834fc0ec5c3f0564912bcd461276d790faf0530260f291f8681c357de727465ab900339b4d53ddf93972ace7411748ff8 SHA512 e4505262720eaccffd5b5e12858df1ca81117bdb9103ac7f9425ae50f93ac621b13587a314edc80546f1f6c4b28c5908fcd34f31dacc8e2c80b4532bf56fb63e EBUILD stripe-8.6.0.ebuild 2139 BLAKE2B ebca4f16824fb84f12b8a3009d39418bf836d5afe7a7cba989a79e7511cec8e7dd5497c641fc7722a4b91b5b5fd41cc2d66aed9d66c7f85bc0884c66dacdcb61 SHA512 5d06e11939ee3a719576700265c595e974f5b1d4b5b5f3431283e78d6c2eb16dbc9a49e3919e7341e91e00a4130d1345efce1249f098ab27dd7967a32b645094 EBUILD stripe-8.7.0.ebuild 2142 BLAKE2B bcc7dd630341fec24d7a7e6b3898ed74c7e2491698bec62dd4a3f7006a4e25d34a02871820df8b832eeaf0e52ecbe86c247a1c302ca6f31a34433c2969fb9603 SHA512 484aec1eedeb70fc0be89e87eda2ce44a368c2ff9a186957340200a7130ed63d351ad49c4e57685eca1d29ccd5e1f33a61e83c2ab603d081e2edc8d4787f0808 EBUILD stripe-8.8.0.ebuild 2142 BLAKE2B bcc7dd630341fec24d7a7e6b3898ed74c7e2491698bec62dd4a3f7006a4e25d34a02871820df8b832eeaf0e52ecbe86c247a1c302ca6f31a34433c2969fb9603 SHA512 484aec1eedeb70fc0be89e87eda2ce44a368c2ff9a186957340200a7130ed63d351ad49c4e57685eca1d29ccd5e1f33a61e83c2ab603d081e2edc8d4787f0808 +EBUILD stripe-8.9.0.ebuild 2142 BLAKE2B bcc7dd630341fec24d7a7e6b3898ed74c7e2491698bec62dd4a3f7006a4e25d34a02871820df8b832eeaf0e52ecbe86c247a1c302ca6f31a34433c2969fb9603 SHA512 484aec1eedeb70fc0be89e87eda2ce44a368c2ff9a186957340200a7130ed63d351ad49c4e57685eca1d29ccd5e1f33a61e83c2ab603d081e2edc8d4787f0808 MISC metadata.xml 673 BLAKE2B 6b85b1f88713d2365274fcff21648748039b48028b3c34c1192e16ca12d0f3b4d14ab13c7c2a744c381898ea0c1304bda8be52d3fadddc1a1b787f010b001398 SHA512 e3178927a69d14f59673acc5eaedda59db5a07e2145ed6fb0597363b60183cb3e7a7b0feefc1d4c9095d52ed96e0be32ef5dc23ad0c20fd6e6b33c830177c0be diff --git a/dev-python/stripe/stripe-8.9.0.ebuild b/dev-python/stripe/stripe-8.9.0.ebuild new file mode 100644 index 000000000000..c90ac78334f1 --- /dev/null +++ b/dev-python/stripe/stripe-8.9.0.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..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.183.0 + dev-python/pytest-mock[${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 + distutils-r1_src_prepare +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests -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" +} |