diff options
Diffstat (limited to 'dev-python')
32 files changed, 314 insertions, 394 deletions
diff --git a/dev-python/apsw/Manifest b/dev-python/apsw/Manifest index 3902103028fa..d14247d6ccd0 100644 --- a/dev-python/apsw/Manifest +++ b/dev-python/apsw/Manifest @@ -1,3 +1,2 @@ -DIST apsw-3.45.1.0.gh.tar.gz 904083 BLAKE2B 4cf397557bfe36e38fd48d124345de395b77a8dd313ebd77f97624d873123d5ecd82e56b6e134849e00a77f94b0c3ee2fa0cfc888b8fbbddc34b99b3274b8dc8 SHA512 5d754c45881db9e299c70bd0c290211f7e30421da258b25b5aa0d8b3c97a10622f0b75735fc84d687f78403fc257139ffc249d926be611a4101b98caf3c60a3a DIST apsw-3.45.2.0.gh.tar.gz 904263 BLAKE2B 4071e2dc24a304f4f08cefc87cce27d617cab8f2699d134134b2c0c2618422139ebdd38dfafcb17e8a6c515fe5e799d6d827ef5099af23cf628f26c18764aa0a SHA512 864cde25cfd15e3cbddbf1df80dbd861e93c2e8ea458a9f16d0ff4a8ecaf17721321f08bf7ab0659c0a18845be5bcc879b6708175ed971b263a0f274c08b05b9 DIST apsw-3.45.3.0.gh.tar.gz 904570 BLAKE2B 644c884b6f5624c2d8b48f204a43bbb6dd8761979099e1ebad96a30acc7d79f80549e50300279b8d1061f86f8852735fa92c99df4a6c81a364391a3635464ff1 SHA512 73c09aba4ff211e98dfb3365e5f0202f85fa0a05e78f6a35fe08515e84b74ed1576e7bb5c46c77c309ba3e6acacc5681d31e5a4d3d66835d347d82af8feced74 diff --git a/dev-python/apsw/apsw-3.45.1.0.ebuild b/dev-python/apsw/apsw-3.45.1.0.ebuild deleted file mode 100644 index 5d81a128f396..000000000000 --- a/dev-python/apsw/apsw-3.45.1.0.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-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_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="APSW - Another Python SQLite Wrapper" -HOMEPAGE=" - https://github.com/rogerbinns/apsw/ - https://pypi.org/project/apsw/ -" -SRC_URI=" - https://github.com/rogerbinns/apsw/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="ZLIB" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 x86" -IUSE="doc" - -DEPEND=" - >=dev-db/sqlite-${PV%.*}:3 -" -RDEPEND=" - ${DEPEND} -" - -src_configure() { - cat >> setup.cfg <<-EOF || die - [build_ext] - enable=load_extension - use_system_sqlite_config=True - EOF -} - -python_test() { - esetup.py build_test_extension - cd "${T}" || die - "${EPYTHON}" -m apsw.tests -v || die "Tests failed under ${EPYTHON}" -} - -python_install_all() { - use doc && local HTML_DOCS=( doc/. ) - distutils-r1_python_install_all -} diff --git a/dev-python/apsw/apsw-3.45.2.0.ebuild b/dev-python/apsw/apsw-3.45.2.0.ebuild index e1c0accd7401..5d81a128f396 100644 --- a/dev-python/apsw/apsw-3.45.2.0.ebuild +++ b/dev-python/apsw/apsw-3.45.2.0.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="ZLIB" SLOT="0" -KEYWORDS="~amd64 ~arm arm64 ~ppc64 x86" +KEYWORDS="amd64 ~arm arm64 ~ppc64 x86" IUSE="doc" DEPEND=" diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index daed121dc334..f8f482ec2f91 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -3,3 +3,4 @@ DIST boto3-1.34.88.gh.tar.gz 798806 BLAKE2B 2d3e02f0584e138a75acb68593bd88126641 DIST boto3-1.34.93.gh.tar.gz 802078 BLAKE2B 43f19efd6ae42bdb20e8dd79b1735df229ec2f231b5fe05006b26fcd5ddf4796a53fba6011c298fb919ee7b205b4ae3f4b563ad3b5325bdbbdebaeab7be59608 SHA512 4da1d9d7d8648e895f23763e5055a868d05bbfd8eb28d56e716975b3b8349bd1825d703f6fd11c316174004c39e1fca5ddcd8a4ad27a000e1a52f08a36eb4780 DIST boto3-1.34.94.gh.tar.gz 803022 BLAKE2B fcc522fc68e31fae8086e21740e7ac286f4d2b38caa8a970d7c7851288eec35bd05853410bcfe8bd2bd3a0be52b89386b6c600d9c465ce63470fb0cbe863a345 SHA512 d341e3e3720e4c647e1f5ec578b8f55740f21df4430bbe1ff5e6de11c23126ceb68c956570778af03a0703798468733078c929b75612f6143bd24f929e861fb8 DIST boto3-1.34.95.gh.tar.gz 804506 BLAKE2B 81bc8a68138e391dca19894fb42eb9c55b155463bf7baa4dbd5ab876d94e6a4174eefe23938990e64bc0e6391e46ab764436c2ef0debb544f204ac1e5321212a SHA512 efc8df42dc0b65061e564ed60996a750e43feb44ef9c71f58dec04e3c2644172f2fc19f01ed877f8c1a29da2ba367bbfb2d77085e5443e9b84ef003de2bf6e50 +DIST boto3-1.34.96.gh.tar.gz 804809 BLAKE2B 7dfdf70f817d4f0c69f67b96f329ce4cf939f2c5cb87208faecbb160c304ef9bc0342929a336b159331dfb80a68b49e4d07d3324a7df3e60ea33a440483bc9c8 SHA512 4ef57ced14d6a882e2b3358cbedc632a00f1d55a70d831ba597e7ff785e44ab0e37882373d07e0385be830f5c940f7cba6b0f0b6ddeea65640c07d0083ea98e7 diff --git a/dev-python/boto3/boto3-1.34.96.ebuild b/dev-python/boto3/boto3-1.34.96.ebuild new file mode 100644 index 000000000000..509842b2699d --- /dev/null +++ b/dev-python/boto3/boto3-1.34.96.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 fdf8fca8db3f..e2367a16cdb2 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -3,3 +3,4 @@ DIST botocore-1.34.88.gh.tar.gz 12931548 BLAKE2B b3cc4c44ec0fa93798e842226487f29 DIST botocore-1.34.93.gh.tar.gz 12982900 BLAKE2B 3225279b85101e04da3be11f01ac3f4ca74cf77235fcb8878bc12d7aca61472155c8319329beb54ffe335f9da9023fb3ccce99256f3a31c6588389dfa1746de9 SHA512 505e8c9b3915b1c2da3863b62c85c392a58c12376c3e71493025445b7b672ba320474087b446fda876ffee5d6260909bc1d1442ff6dbfeb49fd6661d3d7840a1 DIST botocore-1.34.94.gh.tar.gz 12986670 BLAKE2B 27299e44f2acf9d51c056c3612f60dbb11bacd8411272238fe8ac1c89acd84c1a70594877139a71e2892c152b9902456ed0f9868f82e95366871904aea4d757a SHA512 24b4b5e9a2009a3bc9e14ed04aeb3d7d51c3073b38e1b33f95892ec3bacc94562e1b8c69cf17fff38c4a979d2958cc3a88e9be66e098fcb8f67765d22543e75d DIST botocore-1.34.95.gh.tar.gz 12998063 BLAKE2B 2616d558d82f022393cf267f9131644310d5a406bfcd9374c52640d998671af40d0407a7e23d21f7571dbdb293a44886760059b770f2b589931be476971c9fff SHA512 b2be04b61d27c30b690f5c6e5504670938bd5d2f13ae6e194ecc77b2b15092726f07a7abf0165fad304c919652c36e9defd8383448a6ce916e995327cd145d7f +DIST botocore-1.34.96.gh.tar.gz 12998705 BLAKE2B 5266f479e50b24cdf611634c4d129327dd14cbd08c676fb54861e775e1ba6a767e43c7901a7374602b30a3066eba77a7616e7ff4f0224c1f735f413876ee956a SHA512 174b604d5e80dd211ca9cd1ae3f2635a4c8c6c6b7398943e8d539b960468a79a1c641367a3daee75689f948d37d054b25e3f36d0fd6137545ecda823d0c50606 diff --git a/dev-python/botocore/botocore-1.34.96.ebuild b/dev-python/botocore/botocore-1.34.96.ebuild new file mode 100644 index 000000000000..857224b496b7 --- /dev/null +++ b/dev-python/botocore/botocore-1.34.96.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/cachelib/cachelib-0.13.0.ebuild b/dev-python/cachelib/cachelib-0.13.0.ebuild index 710e37a05170..c20902d0c528 100644 --- a/dev-python/cachelib/cachelib-0.13.0.ebuild +++ b/dev-python/cachelib/cachelib-0.13.0.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="~amd64 ~arm arm64 ~x86" BDEPEND=" test? ( diff --git a/dev-python/clr-loader/clr-loader-0.2.6.ebuild b/dev-python/clr-loader/clr-loader-0.2.6.ebuild index 876cf3f6813e..51f70c6a7aa8 100644 --- a/dev-python/clr-loader/clr-loader-0.2.6.ebuild +++ b/dev-python/clr-loader/clr-loader-0.2.6.ebuild @@ -29,7 +29,7 @@ if [[ "${PV}" == *9999* ]] ; then else inherit pypi - KEYWORDS="~amd64" + KEYWORDS="amd64" fi SRC_URI+=" ${NUGET_URIS} " diff --git a/dev-python/csvkit/Manifest b/dev-python/csvkit/Manifest index 42187e018ee4..fce740dea5e2 100644 --- a/dev-python/csvkit/Manifest +++ b/dev-python/csvkit/Manifest @@ -1,2 +1,2 @@ -DIST csvkit-1.4.0.tar.gz 3796472 BLAKE2B 4501a320ab9b8f9f5642ea3957caddb024301a3a299fce17876562973874bad8305ce5cb8e879c7269d7b57d54e97e70f315728b52605a1059705111192874ad SHA512 5363fe8380c6ad1e44961bd7781feecd6fd19802a1c30144a45bdac364980413be3ac37e564491aca72c33d8b8a08dd5b49cfe2217b02bb5f3083db75996d687 DIST csvkit-1.5.0.tar.gz 3811034 BLAKE2B 4fd22d532803a520f9276e7f6be9068db4dba288582d85848143a6a5c70357a05450f7dcdc7a086949cd6568c62fa79546026a2a2aaa3e7f10985d0177c0a676 SHA512 e8e776419405a0e278f12440ba43e9f9c801673b54a6d2c0d3b543929f7a00fa30e9fc35697398127bdf73984453300ef5cde44355396b549d1a039e4e7c068e +DIST csvkit-2.0.0.tar.gz 3818527 BLAKE2B 87976e5ea703fe16daac48b65f1f4132821e212c90c6f25fecc17f7e8e1c3859d3224e9b1ee77f6f5a39263391535e83a388ccbe4a610a96cec6256b64056b77 SHA512 70b1d8977bbeefd3ae4cfc26149d17527f6ad56b16b5a932d930505ac7b272fcb0ed9080eba33c9c60daa347c1e79c95c6b05c8dded2e0ea5a301335d21f8a88 diff --git a/dev-python/csvkit/csvkit-1.4.0.ebuild b/dev-python/csvkit/csvkit-2.0.0.ebuild index c8607c47c806..8e86894f195a 100644 --- a/dev-python/csvkit/csvkit-1.4.0.ebuild +++ b/dev-python/csvkit/csvkit-2.0.0.ebuild @@ -29,6 +29,7 @@ RDEPEND=" BDEPEND=" test? ( dev-python/lxml[${PYTHON_USEDEP}] + dev-python/zstandard[${PYTHON_USEDEP}] ) " diff --git a/dev-python/marshmallow/Manifest b/dev-python/marshmallow/Manifest index 579d1ab46aef..697bd8b45f51 100644 --- a/dev-python/marshmallow/Manifest +++ b/dev-python/marshmallow/Manifest @@ -1,3 +1,2 @@ -DIST marshmallow-3.20.2.gh.tar.gz 183876 BLAKE2B 84cf8ca23069ad1d2353ffa9299556298457485fa459746b948835f04f92ef3949d5429e8285e084be7398fb294b3d74eba1b38ef21b469daed401f1e6affcdb SHA512 8305693405a976c53333b0c6ef074a12af4736f9620ca37c7c2ec6318fac2b19086426344ce8c2f515e95becdba8b2bb1c20aca5a9dffb4145cb27fee00dc080 -DIST marshmallow-3.21.0.gh.tar.gz 183738 BLAKE2B 9f9b9203be93e6feecbd6b7e1da32f737ba33ca8e386e062d091e20480f5241c1d73f77afd542cb24816a48aa5a948aaa20edcfe9d0fdfa847f6e405e89cff20 SHA512 d08e4eedafc1d6f2bfab463357febc75013e8a548195ab85aac55fa225f2180a4f1646d68f8586d369dd108a793086c5bb8522c7543a51540ec4ee6de5305ad3 DIST marshmallow-3.21.1.gh.tar.gz 183822 BLAKE2B 786287604312b4c54167458c35caf5ac3eb2c9ce63c1b9bd0b8fc33e208e5f694e84842c75c93fd91535bc231ebf703ea3ea0b352d100b59f103e280b840b170 SHA512 6de06ced6a58ef0c312ee4c1edfbe011401bba08c27fcf2dd2c3e44cb072cded1cf5f16a4d4945344d56f0d26b5eb165f6d031b50c215f122c7cc6fe25389318 +DIST marshmallow-3.21.2.gh.tar.gz 183818 BLAKE2B 01e14514d836c36c9f24a6e0a527271bd17ea5ce1ce35cabb6200a886c85ef970e7d54191307d1580568f05b501ec6028c7f126475ac64c160fec75c247a4c20 SHA512 b151f7e712dc5dd5d7f592942a6a4b09d462b684f542406c8bc57237e4b2402eb287d02e4ca2ef65e10dccb1e200b9ff8ae24f69160af1c6aa02fc5dfdc9eeba diff --git a/dev-python/marshmallow/marshmallow-3.20.2.ebuild b/dev-python/marshmallow/marshmallow-3.20.2.ebuild deleted file mode 100644 index dacede842f27..000000000000 --- a/dev-python/marshmallow/marshmallow-3.20.2.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# 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="A library for converting to and from native Python datatypes" -HOMEPAGE=" - https://github.com/marshmallow-code/marshmallow/ - https://pypi.org/project/marshmallow/ -" -SRC_URI=" - https://github.com/marshmallow-code/marshmallow/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" - -RDEPEND=" - >=dev-python/packaging-0.17[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/pytz[${PYTHON_USEDEP}] - dev-python/simplejson[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/marshmallow/marshmallow-3.21.0.ebuild b/dev-python/marshmallow/marshmallow-3.21.2.ebuild index e0cd0f9d1b17..e0cd0f9d1b17 100644 --- a/dev-python/marshmallow/marshmallow-3.21.0.ebuild +++ b/dev-python/marshmallow/marshmallow-3.21.2.ebuild diff --git a/dev-python/paste/Manifest b/dev-python/paste/Manifest index c9dc5abd4300..3162c86ac3e2 100644 --- a/dev-python/paste/Manifest +++ b/dev-python/paste/Manifest @@ -1,2 +1,3 @@ DIST Paste-3.10.0.tar.gz 651790 BLAKE2B a026f1121a0f6532a6afdd3cb87e0ae16437df0b69dccb900293ee7d1e35a56636bdd0fc379a340b63e400323ee9c728bca608a511d529e5457bba2c08e16deb SHA512 52a6b410564417659cb6f49d6e4b91268386f5e9a82be944b3128a11e37424766d42e9a9f082d682605258a96a57cde113f79c40e32fdaff023a04739c91325b DIST Paste-3.9.0.tar.gz 637286 BLAKE2B 8bb21f2f6d46750dfff8d9e6377141ea1bcf12848e070138be76823d4dd2bd6be510e420f6568cdab631ab627d45ef93be9815141c6ce31544c4ed38487875e8 SHA512 a9099b89e17f597e853d82cc5d99aaf84fa71ee25e92a382a47a482982800a7e766d8389530ef2a7ad145771ebbabdb1ae5d8370d9cd30121b94e18bcaef3f81 +DIST paste-3.10.1.tar.gz 652629 BLAKE2B a5589027838cbea6f90f919b94edaaba2f26b827cbf911247ec833fa34a5089ffacbc13f8e5369a80e234506e3450818362f1c63cb76e7cf2f619f922f1a965c SHA512 3d224fc017f8354a4737c83d3dcddd0dfa8baaa80a86f843e817ccba295b8e04d16bb10594f17f010da204a0854cf9d57c03a09d0dacb0e7af305a9b0f86422f diff --git a/dev-python/paste/paste-3.10.1.ebuild b/dev-python/paste/paste-3.10.1.ebuild new file mode 100644 index 000000000000..926508b90d2c --- /dev/null +++ b/dev-python/paste/paste-3.10.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_PN=${PN^} +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Tools for using a Web Server Gateway Interface stack" +HOMEPAGE=" + https://pythonpaste.readthedocs.io/en/latest/ + https://github.com/pasteorg/paste/ + https://pypi.org/project/Paste/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" + +distutils_enable_tests pytest +distutils_enable_sphinx docs + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die +} + +python_test() { + local EPYTEST_DESELECT=( + # Internet + tests/test_proxy.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/plotly/Manifest b/dev-python/plotly/Manifest index 6dbe1a238680..548cf839d364 100644 --- a/dev-python/plotly/Manifest +++ b/dev-python/plotly/Manifest @@ -1,3 +1,2 @@ -DIST plotly.py-5.19.0.gh.tar.gz 30892237 BLAKE2B ef93c54bdc40a5f25448a7e68dc40b3642c8be60945edc39e3e590eb97973896cb0df54cd8ea9928a2553d50de1bf17997b41947711baaedce075e31709581ce SHA512 a97f5d130fd56b49087e7b10c34cfe2aa21f00afd1f252215f7cec2215d9031f5f6204a6445ea7a69d7aed0c6838b3d76f981c076af93fa9406ff37a0020e4e7 -DIST plotly.py-5.20.0.gh.tar.gz 30896587 BLAKE2B ef8deee791b8fdc94dcd3dae1189fc04569d9156593f13bd44715bc4f7b2846642eab19a1bb6084647ed15b1c961ffb207f19369f94cbba3e999e970c0b7cfe7 SHA512 db73334bf32fcd54f717aa0e04378278045fabba3824d645e4e289cfd559655141f350624196d8e55d988befc27a4a64d741b11a84925969aadc720c6c15bee3 DIST plotly.py-5.21.0.gh.tar.gz 30912188 BLAKE2B 2c193cad821a94a58d3c72ade06f8cc752d7490290a9abd44733ca80c38fcf1af94af0d5f76b80f1542e959dd2d8fa02752cebf8aa9ea28abd1a568073683c14 SHA512 38841fae844452550004fd22126c12c19fa65dae8985e8449eb5ff5be53dcb04a20658afc13a675c6086db2c623e0902e4138cd28f3b4c9d0a9a0013c1465c13 +DIST plotly.py-5.22.0.gh.tar.gz 31113116 BLAKE2B 67c0ad0d29b9b5041d1e310336a859c11399cced422f51d9f0906f61474868858f6f62da0172bec3e48f38eb5d1f7c68b497b6014b64f8cf48ef510a41f639ee SHA512 447072a78a5914aea5546edc6c51ea36475d12fd7e4b9f845ebe8396fb531c9b7ba942b6b5f9680f897acd9e2aefb8c09d08aadf106a78531faa8995d5ac218e diff --git a/dev-python/plotly/plotly-5.19.0.ebuild b/dev-python/plotly/plotly-5.19.0.ebuild deleted file mode 100644 index 0743316bfec9..000000000000 --- a/dev-python/plotly/plotly-5.19.0.ebuild +++ /dev/null @@ -1,116 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) -DISTUTILS_USE_PEP517=setuptools - -inherit distutils-r1 - -MY_P=plotly.py-${PV} -DESCRIPTION="Browser-based graphing library for Python" -HOMEPAGE=" - https://plotly.com/python/ - https://github.com/plotly/plotly.py/ - https://pypi.org/project/plotly/ -" -SRC_URI=" - https://github.com/plotly/plotly.py/archive/refs/tags/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S="${WORKDIR}/${MY_P}/packages/python/plotly" -# The tests are not included in the PyPI tarball, to use the GitHub tarball -# we have to skip npm, which means that the resulting install will -# unfortunately lack the jupyterlab extension. - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64" - -RDEPEND=" - dev-python/packaging[${PYTHON_USEDEP}] - >=dev-python/tenacity-6.2.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/ipykernel[${PYTHON_USEDEP}] - dev-python/ipython[${PYTHON_USEDEP}] - dev-python/ipywidgets[${PYTHON_USEDEP}] - dev-python/jupyter[${PYTHON_USEDEP}] - dev-python/jupyterlab[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - dev-python/shapely[${PYTHON_USEDEP}] - dev-python/statsmodels[${PYTHON_USEDEP}] - dev-python/xarray[${PYTHON_USEDEP}] - dev-python/scikit-image[${PYTHON_USEDEP}] - ) -" - -# README ends up a broken symlink -DOCS=() - -PATCHES=( - "${FILESDIR}"/${PN}-5.8.0-fix-versioneer-import.patch -) - -EPYTEST_IGNORE=( - # Needs porting to newer numpy - _plotly_utils/tests/validators/test_integer_validator.py - - # kaleido not packaged - plotly/tests/test_optional/test_kaleido - - # plotly-orca not packaged - plotly/tests/test_orca -) - -EPYTEST_DESELECT=( - # Also needs porting to newer numpy - plotly/tests/test_io/test_to_from_plotly_json.py::test_object_numpy_encoding - - # kaleido not packaged - plotly/tests/test_orca/test_to_image.py::test_bytesio - - # Fails if not already installed - test_init/test_dependencies_not_imported.py::test_dependencies_not_imported - test_init/test_lazy_imports.py::test_lazy_imports - - # Minor matplotlib incompatibility - plotly/matplotlylib/mplexporter/tests/test_basic.py::test_path_collection - plotly/matplotlylib/mplexporter/tests/test_basic.py::test_legend_dots - plotly/matplotlylib/mplexporter/tests/test_utils.py::test_linestyle - - # In python 3.11 the produced error is slightly different - plotly/tests/test_core/test_errors/test_dict_path_errors.py::test_described_subscript_error_on_type_error - - # TODO - plotly/tests/test_io/test_to_from_plotly_json.py - - # two subtests that require 'vaex' and 'polars' respectively - plotly/tests/test_optional/test_px/test_px_input.py::test_build_df_from_vaex_and_polars - plotly/tests/test_optional/test_px/test_px_input.py::test_build_df_with_hover_data_from_vaex_and_polars -) - -# There are sphinx docs but we are missing a bunch of dependencies. -# distutils_enable_sphinx ../../../doc/apidoc -distutils_enable_tests pytest - -python_prepare_all() { - # Do not try to fetch stuff with npm - export SKIP_NPM=1 - distutils-r1_python_prepare_all -} - -python_install_all() { - distutils-r1_python_install_all - - mv "${ED}"/{usr/etc,etc} || die -} diff --git a/dev-python/plotly/plotly-5.20.0.ebuild b/dev-python/plotly/plotly-5.22.0.ebuild index 0743316bfec9..b8f5a5470cf4 100644 --- a/dev-python/plotly/plotly-5.20.0.ebuild +++ b/dev-python/plotly/plotly-5.22.0.ebuild @@ -40,7 +40,7 @@ BDEPEND=" dev-python/jupyter[${PYTHON_USEDEP}] dev-python/jupyterlab[${PYTHON_USEDEP}] dev-python/matplotlib[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] + <dev-python/numpy-2[${PYTHON_USEDEP}] dev-python/pandas[${PYTHON_USEDEP}] dev-python/pillow[${PYTHON_USEDEP}] dev-python/psutil[${PYTHON_USEDEP}] diff --git a/dev-python/pythonnet/pythonnet-3.0.3.ebuild b/dev-python/pythonnet/pythonnet-3.0.3.ebuild index f5c053ae0710..33f91d480f96 100644 --- a/dev-python/pythonnet/pythonnet-3.0.3.ebuild +++ b/dev-python/pythonnet/pythonnet-3.0.3.ebuild @@ -210,7 +210,7 @@ if [[ "${PV}" == *9999* ]] ; then else inherit pypi - KEYWORDS="~amd64" + KEYWORDS="amd64" fi SRC_URI+=" ${NUGET_URIS} " diff --git a/dev-python/pyzmq/Manifest b/dev-python/pyzmq/Manifest index e2c1ab6fa6f6..83a8e3f57467 100644 --- a/dev-python/pyzmq/Manifest +++ b/dev-python/pyzmq/Manifest @@ -1,4 +1,3 @@ DIST pyzmq-25.1.2.gh.tar.gz 391272 BLAKE2B 80814704e7ea08d407859c1d71338f6ea283efcd1f3994155334aa5b60c4b6cd89167de8c78d19f8efdbeb5f4071f7b5954ea911eb6e7fbb48a0087b86579cab SHA512 b146a6dbce7cbbe2eb1da7ebd64e463067354f1566cdb4ff634b59bbb6d65e16263b6acb2d101a4ea53f870be5c753c9a12f9cc37bc5a81236681ea4fda6c56b -DIST pyzmq-26.0.0.gh.tar.gz 267825 BLAKE2B 4a9c85ffded107f4a24f49dcecfd00f0a902021f1921cdd81bf98269ecb19cdd6e4718c6b68ebb9c6d94eb6ba1a2878ea953063b076093b2094849b59977fa44 SHA512 b9ac2a8520bab63035b36ed7e8759d459ad933eb1316a6278b29f413e5655afcca9282bc8ebcfa0f02b893daf344b5b5b5b704cd3089614fd3bdc13ff735db02 -DIST pyzmq-26.0.1.gh.tar.gz 267839 BLAKE2B 01b02a97c6537cb741c5b27f66f5f9d520b605d66f245bbdcc4d0aef3c22b9e2571e0603a9f49099998a2e9e0e2249117bba3c261076646bb250e0db511cf926 SHA512 14623ec0803a8b22c8485388b6ae02a28e7cd0e6d09b8fa148cc47cef38db3cb69aa366c39e47551cd27790b95dec712d3118f0771fffd617e631c07419853af DIST pyzmq-26.0.2.gh.tar.gz 267895 BLAKE2B c71a0149cb6c596dfcbc760376aa14afa69bd927fcc739698f7d2ea44579dc8437ae605745b383a9b317ff66c092a4f963671e7933cf19f3f73acac16ac06daa SHA512 5772743e71810f9a0c332dcf16f04237eeb0a34ef2efdd22b63258ebe93e6b493a79845090e677a33582a9a80e7bee773160ec7ecfdaf240b655f3819e5b67a5 +DIST pyzmq-26.0.3.gh.tar.gz 268927 BLAKE2B 7504a45776e8c618833702563b50f672a3ecabb3353551ea61d2d2343dd9e955d1d2938046c2f90d115255482b9b6b2c0f1817b238e591b9319ac92a4341c04a SHA512 f4a32164daf9d9521be83008a94089406078779b9e0e56812a826df1fb295cc03781566825697313aa0c2b36b85b0bb760b8fb90959a856a0542b9072cde78c9 diff --git a/dev-python/pyzmq/pyzmq-26.0.1.ebuild b/dev-python/pyzmq/pyzmq-26.0.1.ebuild deleted file mode 100644 index b99e7888d20e..000000000000 --- a/dev-python/pyzmq/pyzmq-26.0.1.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=scikit-build-core -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) -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="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" -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} -" -BDEPEND=" - dev-python/packaging[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/cython-3.0.0[${PYTHON_USEDEP}] - ' 'python*') - test? ( - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - >=dev-python/tornado-5.0.2[${PYTHON_USEDEP}] - ) -" - -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 - -src_configure() { - DISTUTILS_ARGS=( - -DZMQ_DRAFT_API="$(usex drafts)" - ) -} - -src_test() { - # need to move them around to make EPYTEST_IGNORE work cleanly - # with tests-in-package and extension modules - mv zmq/tests . || die - rm -r zmq || die - distutils-r1_src_test -} - -python_test() { - local EPYTEST_IGNORE=( - # Avoid dependency on mypy - tests/test_mypy.py - ) - - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - # not implemented in cffi variant? - tests/test_draft.py::TestDraftSockets - ) - esac - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - # avoid large to reduce memory consumption - epytest -p asyncio -p rerunfailures tests -m "not large" -} diff --git a/dev-python/pyzmq/pyzmq-26.0.0.ebuild b/dev-python/pyzmq/pyzmq-26.0.3.ebuild index b99e7888d20e..c32fda5c781c 100644 --- a/dev-python/pyzmq/pyzmq-26.0.0.ebuild +++ b/dev-python/pyzmq/pyzmq-26.0.3.ebuild @@ -23,7 +23,7 @@ SRC_URI=" LICENSE="LGPL-3" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" IUSE="drafts" # There are additional test failures if zeromq has the draft api enabled, but pyzmq has it disabled. diff --git a/dev-python/referencing/Manifest b/dev-python/referencing/Manifest index d09044e60e1d..83f10e56be7d 100644 --- a/dev-python/referencing/Manifest +++ b/dev-python/referencing/Manifest @@ -1,2 +1,3 @@ DIST referencing-0.34.0.tar.gz 62624 BLAKE2B c5e8a5d19121f2d09ea443248690e2fa9069140b027b6fa2f741d5133c931da12ae87d8ac7923bfc52ca3d93c966399cf48c1f31d6f4066b6a44488ec50b5d24 SHA512 97e4cfe0fb306068abfd6c0348d12483cbd3705c0b4c8852c0f0209c4d05be08bf77fa3ec56af77a2815a4ff3294ff06d3f09f213a165ae17bdcab246e47c178 DIST referencing-0.35.0.tar.gz 62860 BLAKE2B 314f98e3c15d384a704def8c1cd62aea9ccfbfb0abce09d27b44062e68e284774314b79c3e9f6b3691f8e8e75e231f9bb0a7bb3c140c05d41f809515f8b4edd0 SHA512 c637a3767a7d03445adb14bcb4c1e9c9a069779d31c5043f300e34398c9c728dfe09cdf9601516a96280d6c095740114e3bd4a6b5103f8a1938b1be6b9cb9cb3 +DIST referencing-0.35.1.tar.gz 62991 BLAKE2B b434d3b24bb01c7ea2b97300408571483ecfaa49b52867374a8734b4dafd06404c8b993757620329668fa01eb791c2a6f938aa4be20ff841fe691a4b47dcf6b3 SHA512 b737afb45bfb1adb91f457b78ab4a31a6f33839ef61095663fd66d91c09fc379d900f778bacaa36722770ce80eccd6a227a074cb44836e69205bed06165d033d diff --git a/dev-python/referencing/referencing-0.35.1.ebuild b/dev-python/referencing/referencing-0.35.1.ebuild new file mode 100644 index 000000000000..83f1fb7d7b51 --- /dev/null +++ b/dev-python/referencing/referencing-0.35.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 2023-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} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Cross-specification JSON referencing (JSON Schema, OpenAPI...)" +HOMEPAGE=" + https://github.com/python-jsonschema/referencing/ + https://pypi.org/project/referencing/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] + >=dev-python/rpds-py-0.7.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pytest-subtests[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/rq/Manifest b/dev-python/rq/Manifest index b2a7c1caa6bb..e03d130ba2cd 100644 --- a/dev-python/rq/Manifest +++ b/dev-python/rq/Manifest @@ -1 +1,2 @@ DIST rq-1.16.1.tar.gz 628089 BLAKE2B 74d57c34f338c8dfe14c921134253618253124fc34b69b78f0526a9c4d08b0d70ed50115658ee275f09b98ca48d7f5334032d81e0e9437184a0d3c4e782645fe SHA512 618f7833724b4bca5509132878d1bb28a25f99299a774709e839ff2b6771e27731330318070f6eb6c4aaced8167aec4ba02a89bf40285a9b16cd04e1935f7428 +DIST rq-1.16.2.tar.gz 629881 BLAKE2B 69ac4ba43ea79ddf998bc9f7cf0fc5fa42acb0315dff663b1c924498ccfabdd37ac6d9613e128b838b9e1f45988632a337fb2fa50f5adcd1b69aa520b5ad33e2 SHA512 1c3162b1acffc9d11292fcbff7177267272a02e752b5839a4004b875bb5bb25af7e61f31041df438ef4e0e47152296c3a2711856c6a36d787848dcb766387d1a diff --git a/dev-python/rq/rq-1.16.2.ebuild b/dev-python/rq/rq-1.16.2.ebuild new file mode 100644 index 000000000000..9b3187fd55e9 --- /dev/null +++ b/dev-python/rq/rq-1.16.2.ebuild @@ -0,0 +1,57 @@ +# 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="Simple, lightweight library for creating and processing background jobs" +HOMEPAGE=" + https://python-rq.org/ + https://github.com/rq/rq/ + https://pypi.org/project/rq/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + >=dev-python/click-5.0[${PYTHON_USEDEP}] + >=dev-python/redis-4.5.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-db/redis + dev-python/psutil[${PYTHON_USEDEP}] + <dev-python/sentry-sdk-2[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_test() { + local redis_pid="${T}"/redis.pid + local redis_port=6379 + local redis_test_config="daemonize yes + pidfile ${redis_pid} + port ${redis_port} + bind 127.0.0.1 + " + + # Spawn Redis itself for testing purposes + # NOTE: On sam@'s machine, spawning Redis can hang in the sandbox. + # I'm not restricting tests yet because this doesn't happen for anyone else AFAICT. + einfo "Spawning Redis" + einfo "NOTE: Port ${redis_port} must be free" + /usr/sbin/redis-server - <<< "${redis_test_config}" || die + + # Run the actual tests + distutils-r1_src_test + + # Clean up afterwards + kill "$(<"${redis_pid}")" || die +} diff --git a/dev-python/stripe/Manifest b/dev-python/stripe/Manifest index 6875ffa96774..fbad27a93fa8 100644 --- a/dev-python/stripe/Manifest +++ b/dev-python/stripe/Manifest @@ -1,4 +1,3 @@ -DIST stripe-8.11.0.tar.gz 1215071 BLAKE2B 7e3eec2008582a7ba52bf6c9a9676f5886cb3a52aed06302f2a21c572db01c759f5a48a743ee32d76cd54d28acb507b46ee556a10b277c6727e0737f055506bf SHA512 9d53ed3e253f18de36dfaf3c28fbcba7ef957f35b6f117c0dcb50040e0484f6fde1f3deb816d51aac62ddad64a20ae344acd25d680ec10c7fa7ddde1cf16c0ec DIST stripe-9.2.0.tar.gz 1221000 BLAKE2B efa869e7f9039fbf5ec2c7308b1f2b098f870289224f5f941ae3555c2f9177cf18210f813e26fb068841855d62697d25302b10dd8db0aa7de2af74b827ea151c SHA512 a579c537b3cfea245638d649734f62f6734e237db4d2bc733f933ecf03ac2576e9fdce2ad1adf5891db72c68e2166907b93e4e5d98b6ef92962423f7d8241ee2 DIST stripe-9.3.0.tar.gz 1257309 BLAKE2B 819f2ece26282020383953b2f9436023796897b7928ac9f07c753a56a79aa8b80cadad9b1f8b1021224f6a4f704a3c2a92aa807d60a6bc769992d7fc6793aecb SHA512 708ffe2b36946de7e5780f582bc0db6a7b3dc82c163a0839491060944e882fa1f7679900d398b87fd2dc336d2e74eccc0f4f821095ce0465affd49b813d2b4fa DIST stripe-9.4.0.tar.gz 1260466 BLAKE2B 77bcca5fa3e514733f3812b738ae1590da641b24e58de4d6e2eb49d45512e6eecc6025912d03e73344645bd86ea14db2673f9fe9c34519520284bdf965c98eae SHA512 6d290c0c0e86c9eac5862bea8918c7f4508049b0f87fca7e087d05678a35eec28acd1304a8a6f32265856baa8992f364c4cb98b85727862989990024a240ba49 diff --git a/dev-python/stripe/stripe-8.11.0.ebuild b/dev-python/stripe/stripe-8.11.0.ebuild deleted file mode 100644 index 298f95a6bce2..000000000000 --- a/dev-python/stripe/stripe-8.11.0.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# 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.183.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/stripe/stripe-9.2.0.ebuild b/dev-python/stripe/stripe-9.2.0.ebuild index 997dc774bc37..3bbf09c71d8f 100644 --- a/dev-python/stripe/stripe-9.2.0.ebuild +++ b/dev-python/stripe/stripe-9.2.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 arm64 x86" IUSE="telemetry" RDEPEND=" diff --git a/dev-python/testfixtures/Manifest b/dev-python/testfixtures/Manifest index 7c17d9ea56ae..2b744a8f6c43 100644 --- a/dev-python/testfixtures/Manifest +++ b/dev-python/testfixtures/Manifest @@ -1 +1,2 @@ DIST testfixtures-8.1.0.tar.gz 134639 BLAKE2B 9f930d15b039a808717e06d86711553c4b165b39927c36901a78a028d227a9aaa39b05091192bcaf15a579f08262e8f9561670e959d6cfa58541f2213f8c15ef SHA512 17aa2be892e8095d2386b72e72daa73689fb44283a168a0cb3fad8c847cd9527e4e273cf0ac527cdd2579f2e0689074de77b26c1124e3ae7aa7efce0f5909fec +DIST testfixtures-8.2.0.tar.gz 136662 BLAKE2B 37dcc8c718a0db51d42f7f7c5b8876e852d4e9ddbd157ce7f278c0ccbd304ce923e41e5126ee9194680059274fad04567de6e56976b281249e85e540b1a984d8 SHA512 a151767ea44a36c244e4c46fc2ce8665ebc64a52159213e5739f78537e684d6760b03a56b393894afabb70a5d777e3b9fbe0aa8acec33c958fc973eda3ec1e5e diff --git a/dev-python/testfixtures/testfixtures-8.2.0.ebuild b/dev-python/testfixtures/testfixtures-8.2.0.ebuild new file mode 100644 index 000000000000..96c5ac6e0ccf --- /dev/null +++ b/dev-python/testfixtures/testfixtures-8.2.0.ebuild @@ -0,0 +1,47 @@ +# 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="A collection of helpers and mock objects for unit tests and doc tests" +HOMEPAGE=" + https://pypi.org/project/testfixtures/ + https://github.com/Simplistix/testfixtures/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +BDEPEND=" + test? ( + $(python_gen_impl_dep sqlite) + dev-python/django[${PYTHON_USEDEP}] + dev-python/pytest-django[${PYTHON_USEDEP}] + >=dev-python/sybil-6[${PYTHON_USEDEP}] + >=dev-python/twisted-18[${PYTHON_USEDEP}] + sys-libs/timezone-data + ) +" + +distutils_enable_sphinx docs \ + dev-python/furo +distutils_enable_tests pytest + +python_test() { + local -x PYTHONPATH="." + local -x DJANGO_SETTINGS_MODULE=testfixtures.tests.test_django.settings + + local EPYTEST_DESELECT=( + # TODO + testfixtures/tests/test_shouldwarn.py::ShouldWarnTests::test_filter_missing + testfixtures/tests/test_shouldwarn.py::ShouldWarnTests::test_filter_present + ) + + epytest +} |
