diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-04-04 19:14:59 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-04-04 19:14:59 +0000 |
| commit | eb879137397b2780739bdbeddd7ea01439186c1c (patch) | |
| tree | ba318372285287dd4fa2c6661bc832810bd34b26 /dev-python/lazy-object-proxy | |
| parent | 50a73c5441045f14bdb49aededf33cd7f23ff891 (diff) | |
| download | baldeagleos-repo-eb879137397b2780739bdbeddd7ea01439186c1c.tar.gz baldeagleos-repo-eb879137397b2780739bdbeddd7ea01439186c1c.tar.xz baldeagleos-repo-eb879137397b2780739bdbeddd7ea01439186c1c.zip | |
Adding metadata
Diffstat (limited to 'dev-python/lazy-object-proxy')
4 files changed, 0 insertions, 120 deletions
diff --git a/dev-python/lazy-object-proxy/Manifest b/dev-python/lazy-object-proxy/Manifest index b38e2e1780b0..f5ed416ad1df 100644 --- a/dev-python/lazy-object-proxy/Manifest +++ b/dev-python/lazy-object-proxy/Manifest @@ -1,2 +1 @@ -DIST lazy_object_proxy-1.11.0.tar.gz 44736 BLAKE2B e620131e34a6862af34aa0bda58f201b0db4a9b94785a4f2f1b27900ce93cce9539c52ac6f8488c94672b7fe3e09965467b568fd596ee4e32b6a88d4763af632 SHA512 1c0fe6a5c8fc549e706109235fc380e45d0ff706d7f0915780f93d1ce19be800bb68983baca9959a80679d10d95e24823ffbd66062f64065364a764737d691d7 DIST lazy_object_proxy-1.12.0.tar.gz 43681 BLAKE2B 6c3985743ad33cc13ac2a50b36bd00f24c2f72ed715313594edaa2123905c088d5479fc15d6449c275856a080e8066c0ff5c6b01e41920d113dc0fff01a91fa0 SHA512 af1baef392793d5bcfe8cb94237516a66f63784faad1f70b46f5fed697579ea659afa0843e48b33b85dfaa2c45b6e549768695479235df56981398439b046f45 diff --git a/dev-python/lazy-object-proxy/files/lazy-object-proxy-1.10.0-pure-tests.patch b/dev-python/lazy-object-proxy/files/lazy-object-proxy-1.10.0-pure-tests.patch deleted file mode 100644 index c7806c68bb7a..000000000000 --- a/dev-python/lazy-object-proxy/files/lazy-object-proxy-1.10.0-pure-tests.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 25decee2bd5a68d290dd3349aa9a72ce41b398b6 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Fri, 15 Dec 2023 17:45:42 +0100 -Subject: [PATCH] Support SETUPPY_FORCE_PURE in tests - -Support testing without the C extension if SETUPPY_FORCE_PURE is set. -This makes the test suite behavior consistent with setup.py behavior. ---- - tests/conftest.py | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/tests/conftest.py b/tests/conftest.py -index 11d0379..2ba3209 100644 ---- a/tests/conftest.py -+++ b/tests/conftest.py -@@ -1,3 +1,4 @@ -+import os - import sys - - import pytest -@@ -19,7 +20,7 @@ class FakeModule: - try: - from lazy_object_proxy.cext import Proxy - except ImportError: -- if PYPY: -+ if PYPY or os.environ.get('SETUPPY_FORCE_PURE'): - pytest.skip(reason='C Extension not available.') - else: - raise diff --git a/dev-python/lazy-object-proxy/files/lazy-object-proxy-1.11.0-py314.patch b/dev-python/lazy-object-proxy/files/lazy-object-proxy-1.11.0-py314.patch deleted file mode 100644 index ae80997a4165..000000000000 --- a/dev-python/lazy-object-proxy/files/lazy-object-proxy-1.11.0-py314.patch +++ /dev/null @@ -1,39 +0,0 @@ -From daba375a4c424ee114123122e5c1285e3db4d62e Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Sat, 31 May 2025 10:52:38 +0200 -Subject: [PATCH 1/5] Loosen exception regexps for Python 3.14 - -Python 3.14 changes the exception message for passing wrong types -to `await` to: - - TypeError: 'int' object can't be awaited - -Loosen the regular expression to accept both the old and the new -exception message. ---- - tests/test_async_py3.py | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/tests/test_async_py3.py b/tests/test_async_py3.py -index 0d9450b..3fbba18 100644 ---- a/tests/test_async_py3.py -+++ b/tests/test_async_py3.py -@@ -498,7 +498,7 @@ def test_await_1(lop): - async def foo(): - await 1 - -- with pytest.raises(TypeError, match='object int can.t.*await'): -+ with pytest.raises(TypeError, match='int.*can.t.*await'): - run_async(lop.Proxy(foo)) - - -@@ -506,7 +506,7 @@ def test_await_2(lop): - async def foo(): - await [] - -- with pytest.raises(TypeError, match='object list can.t.*await'): -+ with pytest.raises(TypeError, match='list.*can.t.*await'): - run_async(lop.Proxy(foo)) - - - diff --git a/dev-python/lazy-object-proxy/lazy-object-proxy-1.11.0.ebuild b/dev-python/lazy-object-proxy/lazy-object-proxy-1.11.0.ebuild deleted file mode 100644 index 763c17e37003..000000000000 --- a/dev-python/lazy-object-proxy/lazy-object-proxy-1.11.0.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# 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_{10..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A fast and thorough lazy object proxy" -HOMEPAGE=" - https://github.com/ionelmc/python-lazy-object-proxy/ - https://pypi.org/project/lazy-object-proxy/ - https://python-lazy-object-proxy.readthedocs.io/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos" -IUSE="+native-extensions" - -BDEPEND=" - >=dev-python/setuptools-scm-8[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -PATCHES=( - # https://github.com/ionelmc/python-lazy-object-proxy/pull/79 - "${FILESDIR}/${PN}-1.10.0-pure-tests.patch" - # https://github.com/ionelmc/python-lazy-object-proxy/pull/88 - "${FILESDIR}/${P}-py314.patch" -) - -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 -} |
