mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-03 11:32:02 +02:00
dev-python/lazy-object-proxy: Sync with Gentoo
It's from Gentoo commit d2a4c233579408009771ce46389b45e47c5cfca5. Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
This commit is contained in:
parent
32662bb0ac
commit
4c7ae9341b
@ -1,2 +1 @@
|
||||
DIST lazy-object-proxy-1.10.0.tar.gz 43271 BLAKE2B f2146db4ebb3e48b4af36fa56a1656c3316896eab9e9b9c5450106b18df27a48a04c7ab8609384caf81899f956a20990e54818c836bd20b607766652d9797eca SHA512 0693a2b6d13909580e7b568a030b884f84fc1578b17e49ac4246572e3e8b18c05a2613572f24b908630528ecb606d149a106b46d079f2c42ced5172146e413c5
|
||||
DIST lazy_object_proxy-1.11.0.tar.gz 44736 BLAKE2B e620131e34a6862af34aa0bda58f201b0db4a9b94785a4f2f1b27900ce93cce9539c52ac6f8488c94672b7fe3e09965467b568fd596ee4e32b6a88d4763af632 SHA512 1c0fe6a5c8fc549e706109235fc380e45d0ff706d7f0915780f93d1ce19be800bb68983baca9959a80679d10d95e24823ffbd66062f64065364a764737d691d7
|
||||
|
@ -1,50 +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
|
||||
PYPI_NO_NORMALIZE=1
|
||||
PYTHON_COMPAT=( python3_{10..13} pypy3 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}]
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
PATCHES=(
|
||||
# https://github.com/ionelmc/python-lazy-object-proxy/pull/79
|
||||
"${FILESDIR}/${P}-pure-tests.patch"
|
||||
)
|
||||
|
||||
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
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
|
||||
if use native-extensions; then
|
||||
unset SETUPPY_FORCE_PURE
|
||||
else
|
||||
export SETUPPY_FORCE_PURE=1
|
||||
fi
|
||||
}
|
@ -18,7 +18,7 @@ HOMEPAGE="
|
||||
|
||||
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"
|
||||
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="
|
||||
|
Loading…
x
Reference in New Issue
Block a user