diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-08-25 19:08:14 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-08-25 19:08:14 +0000 |
| commit | c1fcf0fcd69f9f8779a698c497df41d32fe3acf3 (patch) | |
| tree | efff8340451c8dc23f0025e269b01a968bafe325 /dev-python | |
| parent | badfd2a6a6b2414848e16b707a301517a366c83f (diff) | |
| download | baldeagleos-repo-c1fcf0fcd69f9f8779a698c497df41d32fe3acf3.tar.gz baldeagleos-repo-c1fcf0fcd69f9f8779a698c497df41d32fe3acf3.tar.xz baldeagleos-repo-c1fcf0fcd69f9f8779a698c497df41d32fe3acf3.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
29 files changed, 596 insertions, 242 deletions
diff --git a/dev-python/beautifulsoup4/Manifest b/dev-python/beautifulsoup4/Manifest index b3fe22fab194..1a5566d62f9a 100644 --- a/dev-python/beautifulsoup4/Manifest +++ b/dev-python/beautifulsoup4/Manifest @@ -1 +1,2 @@ DIST beautifulsoup4-4.13.4.tar.gz 621067 BLAKE2B 7e4cb0156443efc18d11ddb20dfeb5b4e3338ea19d6f90a4e6ebf67d88441552d1b3bf21c51714c50c2c418d93b9a6fc085bbf531dffa35231e6e177dcf9d11c SHA512 7763e7e8528db54c48d29cd300155fc6d5b69785d3ea7d6ca14427b81b384838c4015d952ad6111800aa0b50632e16959cc311f3ff25b3860d7600e3cd3a10d4 +DIST beautifulsoup4-4.13.5.tar.gz 622954 BLAKE2B 4dc86ae7dfd3b9f9f4b3a5b305ee34bbf9ec7f3dcdea2703d4bde274df76137d057dad2c5a49d34a6ee0f7a5f28e48c4aa78b5f5fd1c199d9a33732877a81c09 SHA512 81c0be4e2f228ea11c78540d850ba11e74ebf784460188680d351fbe0f54f4fb9f94e0e7a1a1bfb9e6e5222be6203fbd777aa3483902942dbf9319227ff112bf diff --git a/dev-python/beautifulsoup4/beautifulsoup4-4.13.5.ebuild b/dev-python/beautifulsoup4/beautifulsoup4-4.13.5.ebuild new file mode 100644 index 000000000000..8c4da3acbd87 --- /dev/null +++ b/dev-python/beautifulsoup4/beautifulsoup4-4.13.5.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Pythonic idioms for iterating, searching, and modifying an HTML/XML parse tree" +HOMEPAGE=" + https://www.crummy.com/software/BeautifulSoup/bs4/ + https://pypi.org/project/beautifulsoup4/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + dev-python/html5lib[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + >=dev-python/soupsieve-2.6[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.0.0[${PYTHON_USEDEP}] +" +# bs4 prefers cchardet > chardet > charset-normalizer +# however, charset-normalizer causes test failures, so force the other two +# dev-python/chardet[${PYTHON_USEDEP}] +BDEPEND=" + test? ( + || ( + dev-python/faust-cchardet[${PYTHON_USEDEP}] + dev-python/chardet[${PYTHON_USEDEP}] + ) + dev-python/packaging[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest +distutils_enable_sphinx doc + +EPYTEST_DESELECT=( + # broken by security backports, already skipped on py3.13+ + "bs4/tests/test_fuzz.py::TestFuzz::test_rejected_markup[crash-ffbdfa8a2b26f13537b68d3794b0478a4090ee4a]" +) diff --git a/dev-python/bitarray/Manifest b/dev-python/bitarray/Manifest index 4a65d9a3052a..e24d69ecfed3 100644 --- a/dev-python/bitarray/Manifest +++ b/dev-python/bitarray/Manifest @@ -1,3 +1,3 @@ DIST bitarray-3.5.2.tar.gz 148393 BLAKE2B 8c1b8aff8c30a0178916eee0b74aa8bc3e7b7300d466d8eba2c7295516d97e4860c5ac093009edd716e18b9c5460634b99b37277ef5bf37ed9adfc23799deac7 SHA512 2f730217146e69ff6d8eca3f46c57e43305518a6f263f10acd7302591990f565780747c88f62d0d2b11648f8d35977ec011697088778b02416edf532e7f2770b -DIST bitarray-3.6.0.tar.gz 147946 BLAKE2B e41ed2e177d4ae71c98e05d5456f8599727c80804983cbfb3e362a53d4ae7ab864fce569b16a07f54de24bbeb99a0a7b44877e124deff18fe80a37c0415872ce SHA512 1a46762912f54bc6aa226a53f99a9ede6155168ce145bfee686ba27ea5ddeb608ca2af8a934ccccf1f1b2894d423de49781dfac6c3a07a167b36b7f84e905e34 DIST bitarray-3.6.1.tar.gz 148620 BLAKE2B 16c884f32ac5c1e5a1a258312d50ca3031b2500b23ca0ee34de6b125069c357584b91a997b30cb3ccc63f9dba3608d93b9126db45ae24a10a95ac2fe9caecec0 SHA512 6de261d27ca103195ed76c94a4dccff4cccb84af9d00661131e617ad8e9ba730d012d8ca807a3d02c650eb17e53988c5f54321f4d2efdddc308272e598746bf6 +DIST bitarray-3.7.0.tar.gz 151501 BLAKE2B 114bc9c2654eb4d10cded665da96c4a00de8192e2e291b1a6b0531719c3a6e26eafbdcd4fb6a125061a4e2533c01bf490a11223089d02ebd0bdd8c4d062e7ea3 SHA512 b0c266499ba6be4a28587bee5d91e51c3a53d991cdc780acd45ee73cb40069b308af9ec3d021b63b68644ffcf6635b7fc62d12846a3c452194c96f9a604f119f diff --git a/dev-python/bitarray/bitarray-3.6.0.ebuild b/dev-python/bitarray/bitarray-3.7.0.ebuild index a510687dc8fd..a510687dc8fd 100644 --- a/dev-python/bitarray/bitarray-3.6.0.ebuild +++ b/dev-python/bitarray/bitarray-3.7.0.ebuild diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 9d14dbcdcb8b..1c2b72d3a9d0 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -6,3 +6,4 @@ DIST hypothesis-6.137.1.gh.tar.gz 9604403 BLAKE2B ea59f519a85d47803607c2ff5aa34e DIST hypothesis-6.137.3.gh.tar.gz 9612265 BLAKE2B bc0c98872b08013194a11cad69e07632c04ac8f413a4dedb0a1a8a17112a477baecb2865fe11d189dff6b88d043d58a576e3d5de7edc944624dce680753cfe51 SHA512 6cdbd2d3e3aa69f8888d809fa81191279fa1a6321f6ba108dd8bc9956aab60fe82f22b3b442e561bb88961befc0dcdf3c854696ca979672122bea3285a7c163c DIST hypothesis-6.138.0.gh.tar.gz 9613446 BLAKE2B 3901e6b3b5db7e6a25aab6d90fe798e64e8eb6f50ed506f16f94b44de13b7c1ed563f2483d81677f17a0c22b5524b2d3df2b5f4007256a30e3000765c9aa5f0b SHA512 c29febb646a113ae127655bb20be85daa63724054394c07bf58e5e1379d06a5d8464f6e7f28be3eaf058139ef4df65b49acee2d91e1ba16bbe8ad49d717b74fa DIST hypothesis-6.138.2.gh.tar.gz 9614617 BLAKE2B 04d919541f5146577123014533f84e60b9de71b5337072d97027a12cdd56d181437ccb5de6491c7079d835f26f7f519557c3c7e40d2bd6c1c027ddffd76fa94b SHA512 0c497b6dc9be6e19df1199195a9a83ec8b330b7e9998bb4314fc42898a7cd1fcd7e44c214f64ead78b115ddbbb2ac35c44176bb2969a0bc182e215ca0fe4b4b0 +DIST hypothesis-6.138.3.gh.tar.gz 9614871 BLAKE2B 3eb0a034abb704524240d4f8a01e7ceb58a38517d6bf07789d343372bc079116c7b444ba141e8139afac5fa6cdfbdf907963b6b5a42fe2cb1943b057a5e8a9f9 SHA512 4be1e6c5837322732b30343bc27a02336db25b9796c24966d4bd3d9978d79f588dc95e5529c2f14139d3997e471a4d8650d4717b1f2c8099d00ebe080421d382 diff --git a/dev-python/hypothesis/hypothesis-6.138.3.ebuild b/dev-python/hypothesis/hypothesis-6.138.3.ebuild new file mode 100644 index 000000000000..7a7443937da6 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.138.3.ebuild @@ -0,0 +1,125 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( python3_{11..13} ) +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 optfeature + +TAG=hypothesis-python-${PV} +MY_P=hypothesis-${TAG} +DESCRIPTION="A library for property based testing" +HOMEPAGE=" + https://github.com/HypothesisWorks/hypothesis/ + https://pypi.org/project/hypothesis/ +" +SRC_URI=" + https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}/hypothesis-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="cli" + +RDEPEND=" + >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' "${CLI_COMPAT[@]}") + ) +" +BDEPEND=" + test? ( + dev-python/pexpect[${PYTHON_USEDEP}] + >=dev-python/pytest-8[${PYTHON_USEDEP}] + ) +" +PDEPEND=" + dev-python/hypothesis-gentoo[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGIN_LOAD_VIA_ENV=1 +EPYTEST_PLUGINS=( "${PN}" pytest-xdist ) +EPYTEST_RERUNS=5 +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + # NB: paths need to be relative to pytest.ini, + # i.e. start with hypothesis-python/ + local EPYTEST_DESELECT=() + case ${EPYTHON} in + python3.13t) + EPYTEST_DESELECT+=( + # TODO: missing warning + 'hypothesis-python/tests/cover/test_random_module.py::test_passing_referenced_instance_within_function_scope_warns' + ) + ;; + python3.14*) + EPYTEST_DESELECT+=( + 'hypothesis-python/tests/cover/test_compat.py::test_resolve_fwd_refs[Foo-Union]' + 'hypothesis-python/tests/cover/test_lookup.py::test_builds_suggests_from_type[Union]' + hypothesis-python/tests/cover/test_attrs_inference.py::test_attrs_inference_builds + hypothesis-python/tests/cover/test_lookup.py::test_bytestring_not_treated_as_generic_sequence + hypothesis-python/tests/cover/test_lookup.py::test_issue_4194_regression + hypothesis-python/tests/cover/test_lookup.py::test_resolves_forwardrefs_to_builtin_types + hypothesis-python/tests/cover/test_lookup.py::test_specialised_collection_types + hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_collection_as_generic + hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_container_as_generic + hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_contextmanager_as_generic + hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_iterable_as_generic + hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_reversible_as_generic + hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_sequence_as_generic + hypothesis-python/tests/cover/test_random_module.py::test_evil_prng_registration_nonsense + hypothesis-python/tests/cover/test_random_module.py::test_passing_referenced_instance_within_function_scope_warns + hypothesis-python/tests/cover/test_random_module.py::test_register_random_within_nested_function_scope + hypothesis-python/tests/cover/test_random_module.py::test_registering_a_Random_is_idempotent + hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_missing_dot_access_forward_ref + hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_missing_forward_ref + hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_type_checking_only_forward_ref_wrong_type + hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_type_cheking_only_forward_ref + ) + ;; + esac + + local -x HYPOTHESIS_NO_PLUGINS=1 + epytest -o filterwarnings= tests/{cover,pytest,quality} +} + +src_install() { + local HAD_CLI= + + distutils-r1_src_install + + if [[ ! ${HAD_CLI} ]]; then + rm -r "${ED}/usr/bin" || die + fi +} + +python_install() { + distutils-r1_python_install + if use cli && has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then + HAD_CLI=1 + else + rm -r "${D}$(python_get_scriptdir)" || die + fi +} + +pkg_postinst() { + optfeature "datetime support" dev-python/pytz + optfeature "dateutil support" dev-python/python-dateutil + optfeature "numpy support" dev-python/numpy + optfeature "django support" dev-python/django dev-python/pytz + optfeature "pandas support" dev-python/pandas + optfeature "pytest support" dev-python/pytest +} diff --git a/dev-python/inline-snapshot/Manifest b/dev-python/inline-snapshot/Manifest index 849c88077bbe..ecc64711cb63 100644 --- a/dev-python/inline-snapshot/Manifest +++ b/dev-python/inline-snapshot/Manifest @@ -1,6 +1,3 @@ DIST inline_snapshot-0.24.0.tar.gz 263374 BLAKE2B 4d20f973ceae3f138b5f709cf636c8e82ba7d7e3fa2cb8288729f369ef243e9e8155b30b7b9d52758bc1e76ef91badb264f1b5b5dfcb3d91cbf6d170419d5d2e SHA512 d523f29af2ff6026e21fd3c24a6c222784d0db0983fd4a906b852c3d0ec38016eb1df373b4873ae99cb16e7a5e94d582ed6df6803a83d7da244a895a70f37ba9 -DIST inline_snapshot-0.25.3.tar.gz 343645 BLAKE2B 9605768671431b1dd3b50d85d6a71c5274916c08fa168cef6415a2b8d408d627d39d634abab015e75e8bf6fae7c23124bd108ef65ae9c5ea61f2135d224c9821 SHA512 a9786278f055256fe5f74b8c63e0a696eaef8da6a10d5ef4431285deb138d184de602f0153f429e9ba4270f30a407e0f62295e5610f120df181369acc94eb5f3 -DIST inline_snapshot-0.26.0.tar.gz 344185 BLAKE2B 49921529fe335226ae6dc66d33fc89aa84d6026100af2edee2ea6e2a532717788814b8746c92a462b1bb794cc255eb37f4bef16f99ad6d6d0c422045ec95e335 SHA512 2410f0b6e9b04279ce20459a3d41db42efb97a68d85f72971d700cec7d0f3074961291ab423605ebfcfc515cc6f49912efc593f86e2b4df5500073f1c9fe3944 -DIST inline_snapshot-0.27.0.tar.gz 345721 BLAKE2B c73f566fdbe8c454ffd047f3d5afe32c50db8c8195594243f5758fa17e0f6f705bb0e7aae88f8d32bad8d09b8e987cda1af61e67eec8b2fdfaf473e03a08f350 SHA512 1a48fad492a1da4d1555967a6c99edfaada35a64951c7021ba751f4aaabf7154e5dac30e0cb0cff5dad18c2256da257f7cbfcf90b0e0909890b7308b1384373d -DIST inline_snapshot-0.27.1.tar.gz 345865 BLAKE2B 7919cba6f3f0fc2b14599bed7c5c73181d61ecb48be7b622704966d033b77590612d2cb0f2eef7de3a18e63be5b612c84dc731bcce6a9336069c93eebf7a4c0d SHA512 23f8c11ad8d88945da62a451d54eb26f36c65c64a807c90f08fef4a8fe3a40ce8f6a128b0aab47ea5e2decf95c26fdd28986792efe611c1d90e5fe5b3cbc4ef0 DIST inline_snapshot-0.27.2.tar.gz 347133 BLAKE2B 98d8f295da11139269c97091ca957c9f7b42530d2f712442f37f9ed3eb8d4bb12a8aebc16e413352483235e40fb56d32c2accd528a4ecfce4e9675f2b57de96b SHA512 68e58853236a3a9323873f6f052f5abd06a18a0649eafa73b81c6f6b41b4913fe93dbf4a4355986676d89a0ff03ede3e3891b5daa6cae1b97baf8756ae344033 +DIST inline_snapshot-0.28.0.tar.gz 348554 BLAKE2B 2c475505ee76bc79e04f7b5cd5f3ca09f53858a45f31cbd14c8357c3739a13e96b52a815fd8ee94050b72ce45cc347ecc6512ef008081f20da57efddfd7a59df SHA512 144b7987800485ddcfb03f5ed70eb86fa8cdcd0eef6c1fd17d5be05ffb8c3e2cb3b5c86b9701b1dfb126a07a3146801bd9fd97aedaeda50e368e88d243b2beef diff --git a/dev-python/inline-snapshot/inline-snapshot-0.26.0.ebuild b/dev-python/inline-snapshot/inline-snapshot-0.26.0.ebuild deleted file mode 100644 index dd22ca843ec0..000000000000 --- a/dev-python/inline-snapshot/inline-snapshot-0.26.0.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 2024-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Create and update inline snapshots in your Python tests" -HOMEPAGE=" - https://15r10nk.github.io/inline-snapshot/ - https://github.com/15r10nk/inline-snapshot/ - https://pypi.org/project/inline-snapshot/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -RDEPEND=" - >=dev-python/asttokens-2.0.5[${PYTHON_USEDEP}] - >=dev-python/executing-2.2.0[${PYTHON_USEDEP}] - >=dev-python/pytest-8.3.4[${PYTHON_USEDEP}] - >=dev-python/rich-13.7.1[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/attrs[${PYTHON_USEDEP}] - >=dev-python/black-23.3.0[${PYTHON_USEDEP}] - >=dev-python/dirty-equals-0.7.0[${PYTHON_USEDEP}] - >=dev-python/hypothesis-6.75.5[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/mypy[${PYTHON_USEDEP}] - ' 'python*') - >=dev-python/pydantic-2[${PYTHON_USEDEP}] - >=dev-python/pytest-freezer-0.4.8[${PYTHON_USEDEP}] - >=dev-python/pytest-mock-3.14.0[${PYTHON_USEDEP}] - >=dev-python/pytest-subtests-0.11.0[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGIN_LOAD_VIA_ENV=1 -EPYTEST_PLUGINS=( "${PN}" pytest-{freezer,mock,subtests,xdist} ) -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # requires pyright - 'tests/test_typing.py::test_typing_args[pyright]' - 'tests/test_typing.py::test_typing_call[pyright]' - # TODO - tests/test_formating.py::test_format_command_fail - ) - - local -x COLUMNS=80 - local -x PYTHONPATH=${S}/src - epytest -} diff --git a/dev-python/inline-snapshot/inline-snapshot-0.27.0.ebuild b/dev-python/inline-snapshot/inline-snapshot-0.27.0.ebuild deleted file mode 100644 index dd22ca843ec0..000000000000 --- a/dev-python/inline-snapshot/inline-snapshot-0.27.0.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 2024-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Create and update inline snapshots in your Python tests" -HOMEPAGE=" - https://15r10nk.github.io/inline-snapshot/ - https://github.com/15r10nk/inline-snapshot/ - https://pypi.org/project/inline-snapshot/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -RDEPEND=" - >=dev-python/asttokens-2.0.5[${PYTHON_USEDEP}] - >=dev-python/executing-2.2.0[${PYTHON_USEDEP}] - >=dev-python/pytest-8.3.4[${PYTHON_USEDEP}] - >=dev-python/rich-13.7.1[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/attrs[${PYTHON_USEDEP}] - >=dev-python/black-23.3.0[${PYTHON_USEDEP}] - >=dev-python/dirty-equals-0.7.0[${PYTHON_USEDEP}] - >=dev-python/hypothesis-6.75.5[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/mypy[${PYTHON_USEDEP}] - ' 'python*') - >=dev-python/pydantic-2[${PYTHON_USEDEP}] - >=dev-python/pytest-freezer-0.4.8[${PYTHON_USEDEP}] - >=dev-python/pytest-mock-3.14.0[${PYTHON_USEDEP}] - >=dev-python/pytest-subtests-0.11.0[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGIN_LOAD_VIA_ENV=1 -EPYTEST_PLUGINS=( "${PN}" pytest-{freezer,mock,subtests,xdist} ) -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # requires pyright - 'tests/test_typing.py::test_typing_args[pyright]' - 'tests/test_typing.py::test_typing_call[pyright]' - # TODO - tests/test_formating.py::test_format_command_fail - ) - - local -x COLUMNS=80 - local -x PYTHONPATH=${S}/src - epytest -} diff --git a/dev-python/inline-snapshot/inline-snapshot-0.27.1.ebuild b/dev-python/inline-snapshot/inline-snapshot-0.27.1.ebuild deleted file mode 100644 index dd22ca843ec0..000000000000 --- a/dev-python/inline-snapshot/inline-snapshot-0.27.1.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 2024-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Create and update inline snapshots in your Python tests" -HOMEPAGE=" - https://15r10nk.github.io/inline-snapshot/ - https://github.com/15r10nk/inline-snapshot/ - https://pypi.org/project/inline-snapshot/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -RDEPEND=" - >=dev-python/asttokens-2.0.5[${PYTHON_USEDEP}] - >=dev-python/executing-2.2.0[${PYTHON_USEDEP}] - >=dev-python/pytest-8.3.4[${PYTHON_USEDEP}] - >=dev-python/rich-13.7.1[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/attrs[${PYTHON_USEDEP}] - >=dev-python/black-23.3.0[${PYTHON_USEDEP}] - >=dev-python/dirty-equals-0.7.0[${PYTHON_USEDEP}] - >=dev-python/hypothesis-6.75.5[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/mypy[${PYTHON_USEDEP}] - ' 'python*') - >=dev-python/pydantic-2[${PYTHON_USEDEP}] - >=dev-python/pytest-freezer-0.4.8[${PYTHON_USEDEP}] - >=dev-python/pytest-mock-3.14.0[${PYTHON_USEDEP}] - >=dev-python/pytest-subtests-0.11.0[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGIN_LOAD_VIA_ENV=1 -EPYTEST_PLUGINS=( "${PN}" pytest-{freezer,mock,subtests,xdist} ) -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # requires pyright - 'tests/test_typing.py::test_typing_args[pyright]' - 'tests/test_typing.py::test_typing_call[pyright]' - # TODO - tests/test_formating.py::test_format_command_fail - ) - - local -x COLUMNS=80 - local -x PYTHONPATH=${S}/src - epytest -} diff --git a/dev-python/inline-snapshot/inline-snapshot-0.25.3.ebuild b/dev-python/inline-snapshot/inline-snapshot-0.28.0.ebuild index dd22ca843ec0..dd22ca843ec0 100644 --- a/dev-python/inline-snapshot/inline-snapshot-0.25.3.ebuild +++ b/dev-python/inline-snapshot/inline-snapshot-0.28.0.ebuild diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index a11d7c268c91..d12ab8aeaca8 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1 +1,3 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db +EBUILD langdetect-1.0.9.ebuild 494 BLAKE2B 9cd8a2a93a8d45bf51fe2324402b175d641762ea591fcb99459427f977a95eccffa6ca4777ca4df39814eea6eac62711567faa654456d32f79023a4685804504 SHA512 d973b85ba1a44389a4275f02a779a93a005f7c2e096467b94b072862e4984d5b42cf33f9821ac68aa5b85b12c98983a90b96049989d8c84497969174b6bb838e +MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch deleted file mode 100644 index 637368d2f237..000000000000 --- a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch +++ /dev/null @@ -1,13 +0,0 @@ -Fix "Package 'langdetect.profiles' is absent from the `packages` configuration." - ---- a/setup.py -+++ b/setup.py -@@ -18,7 +18,7 @@ setup( - author_email='michal.danilak@gmail.com', - url='https://github.com/Mimino666/langdetect', - keywords='language detection library', -- packages=['langdetect', 'langdetect.utils', 'langdetect.tests'], -+ packages=['langdetect', 'langdetect.utils', 'langdetect.tests', 'langdetect.profiles'], - include_package_data=True, - install_requires=['six'], - license='MIT', diff --git a/dev-python/langdetect/langdetect-1.0.9.ebuild b/dev-python/langdetect/langdetect-1.0.9.ebuild index 99577c43fc3e..56733bbffc48 100644 --- a/dev-python/langdetect/langdetect-1.0.9.ebuild +++ b/dev-python/langdetect/langdetect-1.0.9.ebuild @@ -1,9 +1,9 @@ -# Copyright 2022-2024 Gentoo Authors +# Copyright 2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 pypi @@ -19,6 +19,4 @@ KEYWORDS="~amd64" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" -PATCHES=( "${FILESDIR}/${P}-explicit-config.patch" ) - distutils_enable_tests unittest diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index c0f74ac187e2..020e07f2a3dd 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,9 +2,11 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>pastalian46@gmail.com</email> - <name>Takuya Wakazono</name> + <email>marcin.deranek@slonko.net</email> + <name>Marcin Deranek</name> </maintainer> - - <origin>gentoo-guru-overlay</origin> + <upstream> + <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> + </upstream> + <origin>slonko-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/moto/Manifest b/dev-python/moto/Manifest index 14a20ec8eb47..8df6db7230dd 100644 --- a/dev-python/moto/Manifest +++ b/dev-python/moto/Manifest @@ -1,4 +1,5 @@ DIST moto-4.2.14.tar.gz 4933741 BLAKE2B 4c50a808dc8f27cfbcd0ba234d268084ee9a32f36cb5d6af61aacc4ee79f7bf5cf1045147c4642472129eee37bef8bc2c1953d140260d39d7f333ae0f5e5cf95 SHA512 d4079118ed1d2eef9134575e33dc0ed749bff0293d753baa63a630dbb987914b9933445027abdc344bb93fa1d6e483baf8a337a444c9dd055dda50b095ff9937 DIST moto-5.1.10.tar.gz 7087004 BLAKE2B f00161e7df7540c9ff569d8833a4d97d6b702b2209e0ea4550dec05135c215c09c38e907fa93ea202597f3ee7272619cbe0c987fba028d4240d4be1195acab43 SHA512 3d4faefa2b23cebe44be1a43f8993a3cb254e976d65b6cc1fe8fbc3239d41d252504ec166c17283ff1067937de5b6220810dee714d9c3071e12ee216c3211bff +DIST moto-5.1.11.tar.gz 7111584 BLAKE2B 1a44247a2611bdf26f08b48ca4f804a405148be78750394c79af6b984ced5a659da5f63da1a1d0a5cb200e15e895e2e2a63829a6c908d0ceb9b9e4b0db8a4286 SHA512 5d790c43ec55e0d3b55a69b8763f3c23154cbf7d1fa7bbb870ecbce4fe2062c69221881852303688a9a30d8decc619f5de8f5cd8aef780e258597e5ba3edd622 DIST moto-5.1.8.tar.gz 7039961 BLAKE2B be2231a13036e2a5c925c7435ebce3adeea6ac03d9806d010d1c067b4e2d008f642a234fb80e082e5053332c6580d130f232ebe0b83d59c55977ea3a38364914 SHA512 fb8ad9ba2ac94a86261e2862d87d9ea632d2275c6cccf7d248ac95db96f615109add8803bf118625c828c7a2615fc6f20bcf682de1e4398f69add5eeb9fe8114 DIST moto-5.1.9.tar.gz 7041662 BLAKE2B 8121c2022e5af70e71b6d4855ca7f964234ef06f14f8b08e80bd3676c26f6e9a06e8f469e610bcf2882b5468d613a17c3108aff3c344c12dc8331a9f9582b87b SHA512 986d41cc9fa875b5ee51723fdd7669b528dacb6136b6ebb3fa72d4efb3bb89f1fbc44aaa06aa154b80d44c87bca2d93cce30ee32c1ab7c3e8d622b53e011167d diff --git a/dev-python/moto/moto-5.1.11.ebuild b/dev-python/moto/moto-5.1.11.ebuild new file mode 100644 index 000000000000..51cda88e2043 --- /dev/null +++ b/dev-python/moto/moto-5.1.11.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi toolchain-funcs + +DESCRIPTION="Mock library for boto" +HOMEPAGE=" + https://github.com/getmoto/moto/ + https://pypi.org/project/moto/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/aws-xray-sdk-0.93[${PYTHON_USEDEP}] + dev-python/boto3[${PYTHON_USEDEP}] + >=dev-python/botocore-1.35.47[${PYTHON_USEDEP}] + >=dev-python/cfn-lint-0.40.0[${PYTHON_USEDEP}] + >=dev-python/cryptography-35.0.0[${PYTHON_USEDEP}] + dev-python/cookies[${PYTHON_USEDEP}] + >=dev-python/docker-3.0.0[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/flask-cors[${PYTHON_USEDEP}] + >=dev-python/idna-2.5[${PYTHON_USEDEP}] + >=dev-python/jinja2-2.10.1[${PYTHON_USEDEP}] + dev-python/jsonpath-ng[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/more-itertools[${PYTHON_USEDEP}] + >=dev-python/pyparsing-3.0.7[${PYTHON_USEDEP}] + >=dev-python/openapi-spec-validator-0.5.0[${PYTHON_USEDEP}] + dev-python/pyaml[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/python-jose[${PYTHON_USEDEP}] + >=dev-python/responses-0.25.6[${PYTHON_USEDEP}] + >=dev-python/requests-2.5[${PYTHON_USEDEP}] + dev-python/sshpubkeys[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + dev-python/xmltodict[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/zipp[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/antlr4-python3-runtime[${PYTHON_USEDEP}] + dev-python/freezegun[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +EPYTEST_RERUNS=5 +: "${EPYTEST_TIMEOUT:=180}" +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # TODO + tests/test_dynamodb/test_dynamodb_import_table.py + # require joserfc + tests/test_apigateway/test_apigateway.py::test_create_authorizer + tests/test_apigateway/test_apigateway.py::test_delete_authorizer + tests/test_apigateway/test_apigateway.py::test_update_authorizer_configuration + tests/test_cognitoidp/test_cognitoidp_exceptions.py::TestCognitoUserDeleter::test_authenticate_with_signed_out_user + tests/test_cognitoidp/test_cognitoidp_exceptions.py::TestCognitoUserPoolDuplidateEmails::test_use_existing_email__when_email_is_ + tests/test_cognitoidp/test_cognitoidp_exceptions.py::TestCognitoUserPoolDuplidateEmails::test_use_existing_email__when_username_ + tests/test_cognitoidp/test_cognitoidp_replay.py::TestCreateUserPoolWithPredeterminedID::test_different_seed + tests/test_cognitoidp/test_cognitoidp_replay.py::TestCreateUserPoolWithPredeterminedID::test_same_seed + tests/test_cognitoidp/test_server.py::test_admin_create_user_without_authentication + tests/test_cognitoidp/test_server.py::test_associate_software_token + tests/test_cognitoidp/test_server.py::test_sign_up_user_without_authentication + # require py_partiql_parser + tests/test_dynamodb/test_dynamodb_statements.py + tests/test_s3/test_s3_select.py + # require graphql + tests/test_appsync/test_appsync_schema.py + # Internet + tests/test_core/test_request_passthrough.py::test_passthrough_calls_for_entire_service + tests/test_core/test_request_passthrough.py::test_passthrough_calls_for_specific_url + tests/test_core/test_request_passthrough.py::test_passthrough_calls_for_wildcard_urls + tests/test_firehose/test_firehose_put.py::test_put_record_http_destination + tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination + ) + local EPYTEST_IGNORE=( + # require joserfc + tests/test_cognitoidp/test_cognitoidp.py + ) + + if ! tc-has-64bit-time_t; then + einfo "time_t is smaller than 64 bits, will skip broken tests" + EPYTEST_DESELECT+=( + tests/test_acm/test_acm.py::test_request_certificate_with_optional_arguments + tests/test_s3/test_multiple_accounts_server.py::TestAccountIdResolution::test_with_custom_request_header + tests/test_s3/test_server.py::test_s3_server_post_cors_multiple_origins + ) + EPYTEST_IGNORE+=( + tests/test_route53domains/test_route53domains_domain.py + ) + fi + + local -x TZ=UTC + local -x AWS_DEFAULT_REGION=us-east-1 + + rm -rf moto || die + epytest -m 'not network and not requires_docker' +} diff --git a/dev-python/pyamg/Manifest b/dev-python/pyamg/Manifest index cfb22e412993..423302dfe0ab 100644 --- a/dev-python/pyamg/Manifest +++ b/dev-python/pyamg/Manifest @@ -1 +1,2 @@ DIST pyamg-5.2.1.gh.tar.gz 4133340 BLAKE2B 04bb2a5bbcd76eed651512634670ea76359fe779c17ea50c2272d7a9656a348c94b6748efaf24f189219bc467c85418e0d6252ac809f4feb269059ee732b2ea6 SHA512 469a5675bb65ff9eadfdbf344c35cb01bebe09c987b493aaeaf5aa98273ebd8071534e25edac82ffc26f39eb3877e1a69cd2a3894de70bcb5396b6cf723aa3b6 +DIST pyamg-5.3.0.gh.tar.gz 4148527 BLAKE2B ee759f86474aab91a7774afade01b4647943a790cf2e1148d24f01e26b9be61c29df29cac2a6b62aa62d2428786f3cfa26c957c0fd5972b4e0c8eab1dad06c1d SHA512 f2e11705cfbcd28a59a7ec226eb9d5f4ef978adb9104953c6f5f01868d82c9e4f7605ecc57664e467cf78733f5ebc2ec80859a7136cd5c1c4351c603a978a5fc diff --git a/dev-python/pyamg/pyamg-5.2.1.ebuild b/dev-python/pyamg/pyamg-5.2.1.ebuild index db795cf20529..33eb51b32863 100644 --- a/dev-python/pyamg/pyamg-5.2.1.ebuild +++ b/dev-python/pyamg/pyamg-5.2.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -11,7 +11,6 @@ inherit distutils-r1 DESCRIPTION="Algebraic multigrid solvers in Python" HOMEPAGE=" - https://www.pyamg.org/ https://github.com/pyamg/pyamg/ https://pypi.org/project/pyamg/ " diff --git a/dev-python/pyamg/pyamg-5.3.0.ebuild b/dev-python/pyamg/pyamg-5.3.0.ebuild new file mode 100644 index 000000000000..0450aa9a6bcf --- /dev/null +++ b/dev-python/pyamg/pyamg-5.3.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2025 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_{9,10,11,12,13} ) + +inherit distutils-r1 + +DESCRIPTION="Algebraic multigrid solvers in Python" +HOMEPAGE=" + https://github.com/pyamg/pyamg/ + https://pypi.org/project/pyamg/ +" +SRC_URI=" + https://github.com/pyamg/pyamg/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + dev-python/pybind11[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] +" +RDEPEND=" + dev-python/cppheaderparser[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + >=dev-python/scipy-1.11.0[${PYTHON_USEDEP}] +" +BDEPEND=" + ${DEPEND} + >=dev-python/setuptools-scm-7.0.0[${PYTHON_USEDEP}] + test? ( + dev-python/matplotlib[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # invalid with >=setuptools-scm-9 + sed -i -e '/version =/d' setup.cfg || die +} + +python_test() { + cd "${T}" || die + epytest --pyargs pyamg +} diff --git a/dev-python/pymysql/Manifest b/dev-python/pymysql/Manifest index 8510d82ebad3..f1a5b264857b 100644 --- a/dev-python/pymysql/Manifest +++ b/dev-python/pymysql/Manifest @@ -1 +1,2 @@ DIST PyMySQL-1.1.1.gh.tar.gz 89986 BLAKE2B 0621a0cdf014418b7eaa7241146a370f91a3163ea9c0f2b5121f979580ae7f960a47aa13c12597c8d2c2ba3c9264914e40a21a96d6473e8ba2d053478a56cf05 SHA512 ef46ab189760b2d68bb7582b20a537bc68c2719241a4939bff9a6311ab64cb2df852d437ab4b8dd41a0fb5ff620a78c67aa96ccd037d44899dc2886d16218e2c +DIST PyMySQL-1.1.2.gh.tar.gz 89950 BLAKE2B 51b0c5f9127ceb850f0241244ab9ccf8eebe26e34df1116f5679bc90a071247a865540b37b190bd88273a6b019c1feb6c429b8102daa45255a0f88932a52836e SHA512 8f524ba1fe860e9052e8a0ce299fca32007440111d90f88760b5ec569497ef6c7840ff8b0927d60161ed503b9f09087bf881b1b79a4a55b4dfd1d9eb1cb2aabe diff --git a/dev-python/pymysql/pymysql-1.1.2.ebuild b/dev-python/pymysql/pymysql-1.1.2.ebuild new file mode 100644 index 000000000000..dfd8993f8cff --- /dev/null +++ b/dev-python/pymysql/pymysql-1.1.2.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 + +MY_P="PyMySQL-${PV}" +DESCRIPTION="Pure-Python MySQL Driver" +HOMEPAGE=" + https://github.com/PyMySQL/PyMySQL/ + https://pypi.org/project/PyMySQL/ +" +SRC_URI=" + https://github.com/PyMySQL/PyMySQL/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# TODO: support other mysql variants +BDEPEND=" + test? ( + dev-db/mariadb[server] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # do not support socket auth + tests/test_auth.py + # require some dialog plugin + pymysql/tests/test_connection.py::TestAuthentication::testDialogAuthThreeAttemptsQuestionsInstallPlugin + pymysql/tests/test_connection.py::TestAuthentication::testDialogAuthTwoQuestionsInstallPlugin +) + +src_test() { + local -x USER=$(whoami) + local -x PATH="${BROOT}/usr/share/mariadb/scripts:${PATH}" + + einfo "Creating mysql test instance ..." + mkdir -p "${T}"/mysql || die + mysql_install_db \ + --no-defaults \ + --auth-root-authentication-method=normal \ + --basedir="${EPREFIX}/usr" \ + --datadir="${T}"/mysql 1>"${T}"/mysqld_install.log || die + + einfo "Starting mysql test instance ..." + # TODO: random port + mysqld \ + --no-defaults \ + --character-set-server=utf8 \ + --bind-address=127.0.0.1 \ + --port=43306 \ + --pid-file="${T}"/mysqld.pid \ + --socket="${T}"/mysqld.sock \ + --datadir="${T}"/mysql 1>"${T}"/mysqld.log 2>&1 & + + # wait for it to start + local i + for (( i = 0; i < 10; i++ )); do + [[ -S ${T}/mysqld.sock ]] && break + sleep 1 + done + [[ ! -S ${T}/mysqld.sock ]] && die "mysqld failed to start" + + einfo "Configuring test mysql instance ..." + + # note: ed25519 was removed since it fails -- upstream README indicates + # it can fail if we used a different server version + mysql -uroot --socket="${T}"/mysqld.sock -s -e ' + CREATE DATABASe test1 DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci; + CREATE DATABASE test2 DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci; + ' || die "Failed to create test databases" + + cat > pymysql/tests/databases.json <<-EOF || die + [{ + "host": "localhost", + "user": "root", + "password": "", + "database": "test1", + "use_unicode": true, + "local_infile": true, + "unix_socket": "${T}/mysqld.sock" + }, { + "host": "localhost", + "user": "root", + "password": "", + "database": "test2", + "unix_socket": "${T}/mysqld.sock" + }] + EOF + + nonfatal distutils-r1_src_test + local ret=${?} + + einfo "Stopping mysql test instance ..." + pkill -F "${T}"/mysqld.pid || die + + [[ ${ret} -ne 0 ]] && die +} diff --git a/dev-python/sphinx-sitemap/Manifest b/dev-python/sphinx-sitemap/Manifest index 852c6b89aa93..46377cc69803 100644 --- a/dev-python/sphinx-sitemap/Manifest +++ b/dev-python/sphinx-sitemap/Manifest @@ -1,3 +1,2 @@ -DIST sphinx-sitemap-2.6.0.gh.tar.gz 27157 BLAKE2B fe9b8b3df5d5ca84a13e7c99adca9e1eda3b2c89135293ebb07f2575c98fdec517f45eaec8429404b7d9b08d43b0d24cd1113a48ec3e12396dce6b3e0979287b SHA512 cfe5f575c77790cf7c5b6a5765d03e39059bce62b3ec0d908a9d2ec2071c3f1d104ee0ab8b1ca77343f327b8cd7c31d4cb5588c92d5ade9ba6f6e44b0fc35c4c -DIST sphinx-sitemap-2.7.1.gh.tar.gz 27616 BLAKE2B 8b84f17d49dee79a7a9712b0a292f5887c2dc71c87c512787c9becbb77882e3bf8f06a1c773a4714d35ed5377b72f45226e9f16541dc91b55c26318880627ff2 SHA512 9c2777111e11bf340079183a022fd3547b9f71c5ba4a69777b1eb0a3d29c436b818ce745a8a5e3afcdfa9c0340a79611e192e23fcc3ec26d01106f148ab0d92a DIST sphinx-sitemap-2.7.2.gh.tar.gz 28215 BLAKE2B b170337d6e3d3d29ecdbc9daaeb6d98dad55f4e70faa9818e883690d1066f9f1d81ef4d096dfdcbf56d6d2ea76321952f6f82e20bce0763604a28ab1b1e155d3 SHA512 4d8e64122f7085c1748f7d86a71f9ecdc5d7e3061dcf223488177939f3fa1f07ace180e58eadff35fe8970f89baf9cfb60ba61ee6fe53193a251095c139fb76f +DIST sphinx-sitemap-2.8.0.gh.tar.gz 29119 BLAKE2B 881772326cf4cf993c58c07e486fa428e53c744178e1f906dece590a4e0c51cb32d661c70b3419376c2485dfefca0761bf8a23cc19e72d9423be1805f90142ab SHA512 6413a12d5777a54181e94b4c7b12291003caa3824573be9b3fcac646669e2074c08973d28a849cf421a38500c2dffb12a0829c4ff4b2b4448db721a13249a29f diff --git a/dev-python/sphinx-sitemap/sphinx-sitemap-2.6.0.ebuild b/dev-python/sphinx-sitemap/sphinx-sitemap-2.6.0.ebuild deleted file mode 100644 index f7993898b583..000000000000 --- a/dev-python/sphinx-sitemap/sphinx-sitemap-2.6.0.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) -DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 - -DESCRIPTION="Sitemap generator for Sphinx" -HOMEPAGE=" - https://pypi.org/project/sphinx-sitemap/ - https://github.com/jdillard/sphinx-sitemap -" -SRC_URI="https://github.com/jdillard/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND="dev-python/sphinx[${PYTHON_USEDEP}]" - -distutils_enable_tests pytest - -#distutils_enable_sphinx docs/source \ - #dev-python/furo \ - #dev-python/sphinxemoji \ - #dev-python/sphinxext-opengraph \ - #dev-python/sphinx-contributors diff --git a/dev-python/sphinx-sitemap/sphinx-sitemap-2.7.1.ebuild b/dev-python/sphinx-sitemap/sphinx-sitemap-2.8.0.ebuild index 681eaff81df8..324869f37383 100644 --- a/dev-python/sphinx-sitemap/sphinx-sitemap-2.7.1.ebuild +++ b/dev-python/sphinx-sitemap/sphinx-sitemap-2.8.0.ebuild @@ -28,6 +28,8 @@ BDEPEND=" DOCS=( {CHANGELOG,README}.rst ) +EPYTEST_PLUGINS=( ) + distutils_enable_tests pytest src_prepare() { diff --git a/dev-python/starlette/Manifest b/dev-python/starlette/Manifest index 5e0d9f2ce596..adb0fcd0694f 100644 --- a/dev-python/starlette/Manifest +++ b/dev-python/starlette/Manifest @@ -1 +1,2 @@ DIST starlette-0.47.2.gh.tar.gz 2583977 BLAKE2B dbb7dbbd8e5b7092c37d5c169d9a82c5739335bcc6766e04f0b639559b1c3b6dd12bebf6feb62fb75f16af4550864e211c9f1fe3982ca115ca8e7d6cd9fbeca0 SHA512 812ac9d3eadd41a729c1b0d3ac1d6b0f369122fed450962280de252c0e8fab73fc5944991a7453ef48f920171849bfcb797d15f64302ee3645a34ae49004ee73 +DIST starlette-0.47.3.gh.tar.gz 2584121 BLAKE2B 95475b30c7ff3c4bffa9740132167aaad6b2f8c3c22e655ab228d626192be10e67013ec02ab3d54950e009ca9c7630eb5a9c0458efe5dd29edbdfd7219b639a0 SHA512 f552f51df4b309578a80bced131adff25505903f9c09dbae3c26112f127b8b29d66ce1853db8dd6438b65b1a4ca72ed3abf1b0ff10870727991329e3b8e26848 diff --git a/dev-python/starlette/starlette-0.47.3.ebuild b/dev-python/starlette/starlette-0.47.3.ebuild new file mode 100644 index 000000000000..bfefa18a13ce --- /dev/null +++ b/dev-python/starlette/starlette-0.47.3.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 + +MY_P=${P/_p/.post} +DESCRIPTION="The little ASGI framework that shines" +HOMEPAGE=" + https://www.starlette.io/ + https://github.com/encode/starlette/ + https://pypi.org/project/starlette/ +" +# no docs or tests in sdist, as of 0.27.0 +SRC_URI=" + https://github.com/encode/starlette/archive/${PV/_p/.post}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + <dev-python/anyio-5[${PYTHON_USEDEP}] + >=dev-python/anyio-3.6.2[${PYTHON_USEDEP}] + <dev-python/httpx-0.29[${PYTHON_USEDEP}] + >=dev-python/httpx-0.22.0[${PYTHON_USEDEP}] + dev-python/itsdangerous[${PYTHON_USEDEP}] + dev-python/jinja2[${PYTHON_USEDEP}] + >=dev-python/python-multipart-0.0.18[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-3.10.0[${PYTHON_USEDEP}] + ' 3.11) +" +BDEPEND=" + test? ( + >=dev-python/pytest-8[${PYTHON_USEDEP}] + dev-python/trio[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( anyio ) +: ${EPYTEST_TIMEOUT:-180} +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # Unpackaged 'databases' dependency + tests/test_database.py +) diff --git a/dev-python/tavern/Manifest b/dev-python/tavern/Manifest index d51cbaa9c362..d65d253ac477 100644 --- a/dev-python/tavern/Manifest +++ b/dev-python/tavern/Manifest @@ -1 +1,2 @@ DIST tavern-2.16.0.gh.tar.gz 241605 BLAKE2B 1c813c80de9680f700668200961a0cbe3a16c0fc9e169fa32724c35ff518e9b337639f493c586bd23f42aa1cff1fcbca64fac8807a1cdb0925c61a738450f736 SHA512 9bf582e2f118630bd036dcf726fafe4a79092981e77631e82e9be3f1504d73f68bf650be2fb815412e2dc1fc4ab63587801bff646dcc4dd503415c139f47f3d7 +DIST tavern-2.17.0.gh.tar.gz 243762 BLAKE2B aca42310622fe769ff6a6201c4fd4faa613ff2a73910044d4eed9ab60f3e731e1614e3cea9deee8a47c553f9156462da5312e358fe58b52beb45fe4a60e847e0 SHA512 33f01a13bf87a6015bb0896bb7184ca584da43b1543a620b0577cfe2f7ebc71c550008e0febd0634e9649394322a41ded32e1b482abfd26fe750a2c46a5a0894 diff --git a/dev-python/tavern/tavern-2.17.0.ebuild b/dev-python/tavern/tavern-2.17.0.ebuild new file mode 100644 index 000000000000..b8b3c343ce0a --- /dev/null +++ b/dev-python/tavern/tavern-2.17.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 + +DESCRIPTION="A tool, library, and Pytest plugin for testing RESTful APIs" +HOMEPAGE=" + https://github.com/taverntesting/tavern/ + https://pypi.org/project/tavern/ +" +SRC_URI=" + https://github.com/taverntesting/tavern/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/jmespath-1[${PYTHON_USEDEP}] + >=dev-python/jsonschema-4[${PYTHON_USEDEP}] + >=dev-python/paho-mqtt-1.3.1[${PYTHON_USEDEP}] + >=dev-python/pyjwt-2.5.0[${PYTHON_USEDEP}] + >=dev-python/pykwalify-1.8.0[${PYTHON_USEDEP}] + >=dev-python/pytest-7[${PYTHON_USEDEP}] + >=dev-python/python-box-6[${PYTHON_USEDEP}] + >=dev-python/pyyaml-6.0.1[${PYTHON_USEDEP}] + >=dev-python/requests-2.22.0[${PYTHON_USEDEP}] + >=dev-python/simpleeval-1.0.3[${PYTHON_USEDEP}] + >=dev-python/stevedore-4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/colorlog[${PYTHON_USEDEP}] + dev-python/faker[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( "${PN}" ) +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # requires grpc + tests/unit/test_extensions.py::TestGrpcCodes + # broken with paho-mqtt-2 + tests/unit/test_mqtt.py::TestClient::test_context_connection_success +) +EPYTEST_IGNORE=( + # require grpc* + tavern/_plugins/grpc + tests/unit/tavern_grpc +) + +src_prepare() { + # strip unnecessary pins, upstream doesn't update them a lot + sed -i -E -e 's:,?<=?[0-9.]+::' pyproject.toml || die + distutils-r1_src_prepare +} |
