mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-20 11:51:06 +02:00
dev-python/lazy-object-proxy: Sync with Gentoo
It's from Gentoo commit 1ff706e9e4fb731d1d01b255cefe315c43d98159. Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
This commit is contained in:
parent
c30eb2391d
commit
d900778808
@ -1 +1,2 @@
|
|||||||
DIST lazy_object_proxy-1.11.0.tar.gz 44736 BLAKE2B e620131e34a6862af34aa0bda58f201b0db4a9b94785a4f2f1b27900ce93cce9539c52ac6f8488c94672b7fe3e09965467b568fd596ee4e32b6a88d4763af632 SHA512 1c0fe6a5c8fc549e706109235fc380e45d0ff706d7f0915780f93d1ce19be800bb68983baca9959a80679d10d95e24823ffbd66062f64065364a764737d691d7
|
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
|
||||||
|
@ -0,0 +1,45 @@
|
|||||||
|
# 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_{11..14} python3_{13,14}t pypy3_11 )
|
||||||
|
|
||||||
|
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 ~amd64-linux ~x86-linux ~x64-macos"
|
||||||
|
IUSE="+native-extensions"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
>=dev-python/setuptools-scm-8[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
|
||||||
|
EPYTEST_PLUGINS=()
|
||||||
|
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
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user