diff options
| author | root <root@alpha.trunkmasters.com> | 2026-07-10 03:04:33 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-07-10 03:04:33 -0500 |
| commit | ed2e0f29bf24219e96271574d9c99c971dff3698 (patch) | |
| tree | aa4cdcbf1a9384d5495104e034018b2d6fadcaac /dev-python/lazy-object-proxy | |
| parent | a96a971c845e2cd3ffad3b8f63558c6408897f0a (diff) | |
| download | baldeagleos-repo-ed2e0f29bf24219e96271574d9c99c971dff3698.tar.gz baldeagleos-repo-ed2e0f29bf24219e96271574d9c99c971dff3698.tar.xz baldeagleos-repo-ed2e0f29bf24219e96271574d9c99c971dff3698.zip | |
Adding metadata
Diffstat (limited to 'dev-python/lazy-object-proxy')
| -rw-r--r-- | dev-python/lazy-object-proxy/lazy-object-proxy-1.12.0.ebuild | 27 |
1 files changed, 20 insertions, 7 deletions
diff --git a/dev-python/lazy-object-proxy/lazy-object-proxy-1.12.0.ebuild b/dev-python/lazy-object-proxy/lazy-object-proxy-1.12.0.ebuild index 174f912e1e99..38970afe2d98 100644 --- a/dev-python/lazy-object-proxy/lazy-object-proxy-1.12.0.ebuild +++ b/dev-python/lazy-object-proxy/lazy-object-proxy-1.12.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -31,15 +31,28 @@ distutils_enable_tests pytest python_prepare_all() { distutils-r1_python_prepare_all - # No need to benchmark - sed \ - -e '/benchmark/s:test_:_&:g' \ - -e '/pytest.mark.benchmark/d' \ - -i tests/test_lazy_object_proxy.py || die - if use native-extensions; then unset SETUPPY_FORCE_PURE else export SETUPPY_FORCE_PURE=1 fi } + +python_test() { + local EPYTEST_DESELECT=( + # benchmarks + tests/test_lazy_object_proxy.py::test_perf + tests/test_lazy_object_proxy.py::test_proto + ) + + case ${EPYTHON} in + python3.15*) + EPYTEST_DESELECT+=( + tests/test_async_py3.py::test_await_12 + tests/test_async_py3.py::test_await_13 + tests/test_async_py3.py::test_await_5 + ) + esac + + epytest -o strict_markers=False +} |
