diff options
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/Manifest.gz | bin | 260262 -> 260247 bytes | |||
-rw-r--r-- | dev-python/pebble/Manifest | 3 | ||||
-rw-r--r-- | dev-python/pebble/files/pebble-5.0.3-backport-pr112.patch | 28 | ||||
-rw-r--r-- | dev-python/pebble/pebble-5.0.3.ebuild | 1 | ||||
-rw-r--r-- | dev-python/pyacoustid/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pyacoustid/pyacoustid-1.2.2-r1.ebuild | 48 | ||||
-rw-r--r-- | dev-python/pytesseract/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pytesseract/pytesseract-0.3.10-r1.ebuild (renamed from dev-python/pytesseract/pytesseract-0.3.10.ebuild) | 2 | ||||
-rw-r--r-- | dev-python/sphinx-prompt/Manifest | 2 | ||||
-rw-r--r-- | dev-python/sphinx-prompt/sphinx-prompt-1.6.0-r1.ebuild (renamed from dev-python/sphinx-prompt/sphinx-prompt-1.6.0.ebuild) | 10 |
10 files changed, 92 insertions, 6 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex 71c4875eae9a..728b65bd3a6e 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/pebble/Manifest b/dev-python/pebble/Manifest index a0055697bbec..0987ee19c626 100644 --- a/dev-python/pebble/Manifest +++ b/dev-python/pebble/Manifest @@ -1,3 +1,4 @@ +AUX pebble-5.0.3-backport-pr112.patch 1192 BLAKE2B 1630a12af47942ebba938b9e0e7fa50d1a3363d2eaa25f98f3adcb5c17823cf2ed0bd1d385c8fab8c776521f270954ba5f1211d04ba4200401de096f96896bb8 SHA512 47c24197b6cfbc6b6474c2f2bf6389d227d618e4610e07e91afed6a29db551ff26e6de89b368ce6486ac3023d702e11abc56d78aabfbf208e4374a2775b7aebe DIST Pebble-5.0.3.tar.gz 29076 BLAKE2B d140cc0abd08cb5d6031a3fb8ba6f573e273f865d23e8854e9e540e115b030cabd07d8517f94b542216294abd742960b3addda592f0e7d31662bd10b224c8d7b SHA512 324cba58905b0be76b2cd56e0ee5d3e51a36d46a7754fbccb1f9307af0747c2f02b81d137e2c4bce1c766706b70ce1a909c3b287676db147c202cab7445fc764 -EBUILD pebble-5.0.3.ebuild 602 BLAKE2B 669b34bc1898746c7e281941e6fbabeba5271b896825687a8faa92de62b4b01f05f95f6df697cd82e052746c5c378049675ee0a366980a422398ece859cfbe6d SHA512 d1f1c65dbb95a4cf2d9d85dd3a08c8e21c0b39a12d91e0a9fc0cd388d4cee3c5b5ff6712f9f41eb38b3fceb7885c3a07c09e3d9665e1880b732ece68d2cb80fd +EBUILD pebble-5.0.3.ebuild 662 BLAKE2B bfc1375705ac4e1bcd5acb9e19bdf10d13c5de250dbd509667c55dc7a783c971a4d14ff435e77923e3a2e140b79f8169448ee7ad93bfd7e79495deb37ffb0fd4 SHA512 bf9e1ede88cef82049820bf6bc8ccff90ac6cab558b7055a28d363ae636520b01aa140a24a81048a0698a76ac5cb7651e7b8f51b39e982fc97424ea1069efb8a MISC metadata.xml 367 BLAKE2B 587e93606cf39400151b413a1d1ee5446e6c6dfbde19bf2b9cd8e9a7226c1d4df53c8849625fba7c61a84ebc8939803cda5c1250c3068cb8cd61ef9db901ab6f SHA512 8f50888f29afc88c791f54078d4120eb26a0217ad76fd72f311bea4bfb769cd37adcf657bff4949fc9360b701b44d0736cd294101ce9838db538b6a34e103dd3 diff --git a/dev-python/pebble/files/pebble-5.0.3-backport-pr112.patch b/dev-python/pebble/files/pebble-5.0.3-backport-pr112.patch new file mode 100644 index 000000000000..be1afee1da64 --- /dev/null +++ b/dev-python/pebble/files/pebble-5.0.3-backport-pr112.patch @@ -0,0 +1,28 @@ +https://bugs.gentoo.org/831219 +https://github.com/noxdafox/pebble/pull/112 + +From cd78923ac2a3de7e2ce248734f10170bf516f5b4 Mon Sep 17 00:00:00 2001 +From: matoro <matoro@users.noreply.github.com> +Date: Sun, 19 Feb 2023 13:36:34 -0500 +Subject: [PATCH] increase attempts for test_process_pool_stop_stopped_callback + +On very slow machines, test_process_pool_stop_stopped_callback fails due +to not raising a RuntimeError. Increasing the number of long_function +instances added to the pool causes it to perform as expected. +--- + test/test_process_pool_spawn.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/test/test_process_pool_spawn.py b/test/test_process_pool_spawn.py +index f839b0a..d734bdf 100644 +--- a/test/test_process_pool_spawn.py ++++ b/test/test_process_pool_spawn.py +@@ -315,7 +315,7 @@ def stop_pool_callback(_): + future = pool.schedule(function, args=[1]) + future.add_done_callback(stop_pool_callback) + with self.assertRaises(RuntimeError): +- for index in range(10): ++ for index in range(30): + time.sleep(0.1) + pool.schedule(long_function, args=[index]) + diff --git a/dev-python/pebble/pebble-5.0.3.ebuild b/dev-python/pebble/pebble-5.0.3.ebuild index 7cdc644aab09..6289e3e819d8 100644 --- a/dev-python/pebble/pebble-5.0.3.ebuild +++ b/dev-python/pebble/pebble-5.0.3.ebuild @@ -21,5 +21,6 @@ S=${WORKDIR}/${P^} LICENSE="LGPL-3+" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 sparc x86" +PATCHES=( "${FILESDIR}/pebble-5.0.3-backport-pr112.patch" ) distutils_enable_tests pytest diff --git a/dev-python/pyacoustid/Manifest b/dev-python/pyacoustid/Manifest index 75b28a6d1726..e4931894ce16 100644 --- a/dev-python/pyacoustid/Manifest +++ b/dev-python/pyacoustid/Manifest @@ -1,3 +1,5 @@ DIST pyacoustid-1.2.2.tar.gz 15869 BLAKE2B 01f327dd640819dd799f48b32e859fe39dccda3fd62714bf324c8219cf7053b36f1399793523634e9d4f3c6405bed5050abb34bdf53c72ff0ee22708fb57225a SHA512 5bcb3f017c3013eb8fc9e335540a1f5e6a52fc2fefa53d5ef246ba16e4ff615dd1d1cf08b5c80b1a38b149e0fa7dc0b15e4890dcc3f5478ef874b4ec22cf0813 +DIST pyacoustid-test.mp3 4507187 BLAKE2B 54494d9f23481f9d1ee77b136ac3e1790e9fb78c782159ad1793dbebf18f694e13f6413a8259bae84c789f73ea8241e590dbd7e30ccb7377b2afa946335da19b SHA512 faa582640e759322d4bd58d85f4aa7d3ef88fd90aa3c67c1390ba6d4c3213278c11fb60c8d6c87a25e82dffcc54986caa4f0e463acfbcd90993166577e5226d8 +EBUILD pyacoustid-1.2.2-r1.ebuild 1187 BLAKE2B 336c5082dc81bd0110080e9e11b8984c187d12203d94b323cae571163f2c0d4c5a6eabdf366fb23b35d516e22734ff0da29b3d6153265ec52d09f72d5fbce340 SHA512 542dfa358ee1480260b1e01edf934f248b24047ec667c8fea321e59c30f74892f0c188a95d545536d32d0816acd2c224982a079ca21439ebd8f7a824e771ac7d EBUILD pyacoustid-1.2.2.ebuild 724 BLAKE2B a13a1d39173b49d6c4da9e67317c1679b214de2fae15f4e53c9262ba5dcbbd80434f3e44371b53902f8c33c4a2daa63b4edaa359873e93521338f49928860bc0 SHA512 87cf32244c3f9892dfbcaf5bd5bb0ec4b11c7d20f575ccf3791c80692952219c30eaa4968a7075bc0e58523d810de6e1486ba88687ddab45300be375f4e6c10c MISC metadata.xml 714 BLAKE2B bc0db30cff6644da34b7944bec3d60b47f394ac854d547fcbbf3ee4d2719edc4cb781a42b3ab266fb7dfb5762679daaa0e382fd0fa8c2cffdd35af4cc55633be SHA512 6b6063bfe7d64d8a053c0e5c1609d8011e8aeeb265a895db88154e246761027ec2ba5fd582fb08b64e5ee09b3a238030415613df9267620936a718b76d6d1692 diff --git a/dev-python/pyacoustid/pyacoustid-1.2.2-r1.ebuild b/dev-python/pyacoustid/pyacoustid-1.2.2-r1.ebuild new file mode 100644 index 000000000000..0b0c3a8fd45f --- /dev/null +++ b/dev-python/pyacoustid/pyacoustid-1.2.2-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) +inherit distutils-r1 + +DESCRIPTION="Python bindings for Chromaprint and the AcoustID web service" +HOMEPAGE="https://pypi.org/project/pyacoustid/" +SRC_URI=" + mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz + test? ( + https://s3.wasabisys.com/blocsonic/releases/maxblocs/bsmx0198/01-Follow_192kb.mp3 + -> ${PN}-test.mp3 + ) +" + +LICENSE="MIT test? ( CC-BY-SA-4.0 )" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples test" + +# Tests fail with network-sandbox, since they need to connect to acoustid.org +PROPERTIES="test_network" +RESTRICT="test" + +RDEPEND=" + dev-python/audioread[${PYTHON_USEDEP},ffmpeg] + dev-python/requests[${PYTHON_USEDEP}] + media-libs/chromaprint +" + +python_test() { + # Working test will print the top metadata match from Acoustid's database. + "${EPYTHON}" aidmatch.py "${DISTDIR}/${PN}-test.mp3" || die "Test failed with ${EPYTHON}" +} + +src_install() { + distutils-r1_src_install + + if use examples ; then + docinto examples + dodoc aidmatch.py fpcalc.py + docompress -x /usr/share/doc/${PF}/examples/ + fi +} diff --git a/dev-python/pytesseract/Manifest b/dev-python/pytesseract/Manifest index 47d22c056288..8f74c5762a80 100644 --- a/dev-python/pytesseract/Manifest +++ b/dev-python/pytesseract/Manifest @@ -1,3 +1,3 @@ DIST pytesseract-0.3.10.tar.gz 1098547 BLAKE2B d89f9082d8c7236b97bb96441809a19f494aacd23d4c02d5b7fb1b742616e7b26c249d49fceecc4f652792cdc3d7f2a79cd580a3360157f81205ff04d65afb10 SHA512 de77f0497c2bf60c1febf439ed13f0a8978aa23df76aadb789f8151177b73f45229799bd6b236aa7356a5145064f892e5b528a2d5a396849348f5b22f4343e16 -EBUILD pytesseract-0.3.10.ebuild 698 BLAKE2B e0d6af367def10fed2940eedfbf1f151e28f4d969bedafcfd79e69d9180b75dc2fb8199cc92840ee6879f44686c79f40d9096c4caa927347c534d12a4a4bafb2 SHA512 f8896bd33725130e2158319c9188fb43fd5aad6fd2d1eb7a9ab9e9abea582c4507a69b690899531e6dbd67654140766dc4e4b30287bdd694493ea745e80c5c41 +EBUILD pytesseract-0.3.10-r1.ebuild 698 BLAKE2B b66a3dd49fb7f845e6babbd9d4073a069ef1d154d071c3308b7d01958d8eee92399008ac0ca2b15367464a126d61c2f09cab34a333742e40c5ad31f7b6de6d8d SHA512 f55056e8b0610dd3312a215afcce8a1c7a9d06aab0ca70135aa86a891b1d12eb7a0a5e7f81b4e88b79c14d8d98adb1d060125925fd4914695afdc34e8e20797c MISC metadata.xml 928 BLAKE2B 69397ac26f64a9c741e906d4ff1f105319cd5baa00ca5bebac019f2f2d0e2f55f6ddb4e55e54f068da58663cef00923b423aa13a460d21c5701d088a97f7b52b SHA512 d566881fe46eae8c9d86bcca464f718db30f7bda710d58acc6563920d07cdeb3be727980dcf1611b3653c9c8ca0b60fb01584efbf84c4b9f9e0287d8db760bc8 diff --git a/dev-python/pytesseract/pytesseract-0.3.10.ebuild b/dev-python/pytesseract/pytesseract-0.3.10-r1.ebuild index 2b03fc11b4a8..b891f475f097 100644 --- a/dev-python/pytesseract/pytesseract-0.3.10.ebuild +++ b/dev-python/pytesseract/pytesseract-0.3.10-r1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{9..10} ) +PYTHON_COMPAT=( python3_{9..11} ) inherit distutils-r1 DESCRIPTION="Optical character recognition (OCR) tool" diff --git a/dev-python/sphinx-prompt/Manifest b/dev-python/sphinx-prompt/Manifest index 47d176e3f751..ac107d6848b7 100644 --- a/dev-python/sphinx-prompt/Manifest +++ b/dev-python/sphinx-prompt/Manifest @@ -1,5 +1,5 @@ DIST sphinx-prompt-1.5.0.tar.gz 21537 BLAKE2B a5bc69797ea526bc3d66b52e98b80cbb9958add084ea6a4d70a85cc06c69271bbe9e658eb517b78dd758178b6f3b93d92ea87e9432e5c28a61307706a3c34ee8 SHA512 b3d023388eb024303e9264e621ad379367916f8e3567192fde90b3f0d96c94c53d783c2e14970ad3d85895053b3aab9ece6d9573d3bab1dc894e0e04757f3a40 DIST sphinx-prompt-1.6.0.gh.tar.gz 38245 BLAKE2B da2ac8564e14a10d5b51ea5ebd2e5578e7c2795ea7f3c5d3f054c621090e4bf634b9a1f578f4c010bbeaa61cc0d18f1a48ce6c0d9a316e34504ada1b4fb61d7b SHA512 a896dad9d333fde843ab90f331be40c533fa32f75f68dfc012a6296d96661e726647250642e1cc4c54125d9acb237add640008671a657a5e47a885450831c21e EBUILD sphinx-prompt-1.5.0.ebuild 595 BLAKE2B befcd1520ca177df2d7dcde61f04f249a9f5c48d038252ba14929ed22fab0e7c9bef3e8c3c007d3caab835e7b1b146eded5528d771d666d67624d77591b538ce SHA512 aba3e5f376f198ca3364e3a84b91fba86b1ab644abfe7616ecec947a0787b65cdf728687db2e34dd6145ba6eca21526743f70a6ce523591249461230664ea067 -EBUILD sphinx-prompt-1.6.0.ebuild 816 BLAKE2B 27fa2583e11c2577c2b15962dc89a0ac21e53e4c0515d4dacc9b0880030a9f8a71e29d569222c5fae01e445f26f0e3c3b608f5773cda54006a98e2ac2be69cf2 SHA512 9df5e0188fc8a50fc1f39cd7734d7eb7ef6a38bf8ce731b860aecfa25fe0813bd0c29d1bea1a31cf9829593321ee797992a72f65afbe7cd07c9150807859288e +EBUILD sphinx-prompt-1.6.0-r1.ebuild 1002 BLAKE2B fcc79721d6becb372ef6191a07789bf88bbcfe9d259e9c497419003a1671a89952c7ed5577d474a8d2488caa2e1276b304147f99bb9717f2d4f712461f271a68 SHA512 fb7f84a9e72e61c400ebdd0c4bc16d397134f9ad25bfac13998b069eb73b9a8f6073ac9fe9d46df0f262f1f4d3e25dc19f63c7d8e8c8584b0df31aa412724c61 MISC metadata.xml 416 BLAKE2B 5c9110bc6a6c0c7acab6e9f10d8d84601a66c7741ba15612eb032272db9517f314eec8f86677e43fd7dfb1b032388b1db3b60c64e0cd9a6943498c4715ebf1e0 SHA512 5d23f08978f7ca0dae7062a4a872f1be37969144c128c4a1f2006798465b5dbf95090e14859eb6c7e1e75649170e40fe156e6b9cd5b1263464e88edffc760a15 diff --git a/dev-python/sphinx-prompt/sphinx-prompt-1.6.0.ebuild b/dev-python/sphinx-prompt/sphinx-prompt-1.6.0-r1.ebuild index 68cf7b066edc..36ba1e1af0e6 100644 --- a/dev-python/sphinx-prompt/sphinx-prompt-1.6.0.ebuild +++ b/dev-python/sphinx-prompt/sphinx-prompt-1.6.0-r1.ebuild @@ -23,7 +23,13 @@ RDEPEND=" distutils_enable_tests pytest python_prepare_all() { - # https://github.com/sbrunner/sphinx-prompt/pull/330 - sed -E -i -e "/^version =/s:([0-9.]+):${PV}:" pyproject.toml || die + # for Version: https://github.com/sbrunner/sphinx-prompt/pull/330 + # for Sphinx dep: https://github.com/sbrunner/sphinx-prompt/issues/174 + # and poetry-plugin-tweak-dependencies-version usage. + sed -E -i \ + -e "/^version =/s:([0-9.]+):${PV}:" \ + -e "/^Sphinx =/s:([0-9.]+):>=5:" \ + pyproject.toml || die + distutils-r1_python_prepare_all } |