From cbf055ae8f2fb67e00df9ea122e64a67f930f576 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 23 Jun 2023 13:24:24 +0100 Subject: gentoo auto-resync : 23:06:2023 - 13:24:24 --- dev-python/cbor2/Manifest | 2 +- dev-python/cbor2/cbor2-5.4.6.ebuild | 12 +++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'dev-python/cbor2') diff --git a/dev-python/cbor2/Manifest b/dev-python/cbor2/Manifest index af4081ec2d40..a86cf540cadd 100644 --- a/dev-python/cbor2/Manifest +++ b/dev-python/cbor2/Manifest @@ -1,3 +1,3 @@ DIST cbor2-5.4.6.tar.gz 86909 BLAKE2B df24c786f32819f9a93a2db28536b78349db6185108188d0a20e7298ff8c083d1feb59110865b4e21190e0363b113201ccddaa0d36b49bd7bbacf9d5ee7695f4 SHA512 44fb3e2e2249c79b1454487670d53eb672ffae4c22374d2a2bb9e314ac15470e4e7913e4eb1981a8bd4d722e6827328dde7e57c5f0556843e951c4723ae5bd8e -EBUILD cbor2-5.4.6.ebuild 718 BLAKE2B 4daa91e58737fc8811e5d58aa67d2b96699b26c01aef7e0da50472e48234ed02d7b06955c3e2a767683d14b306673870837b61d45474dc005c78e10d0267f85e SHA512 38a772a7f6bd7bf3e16b93bff49ca3a1af0ee89cddadee9eb1a5ba3b2864890b799e222a997a512dda4e46bd43096a80d5de1f01fbe7aef6a00d1ab85474f28c +EBUILD cbor2-5.4.6.ebuild 977 BLAKE2B c4dbc230f323fb94e414b55e5d2c9dbef5aaa00a852b1cf91189069c896b6136b6ef17eba7fdea562e149ce98bfcdbc1c9d996e6af502580ced83ad8381e8a92 SHA512 07edc86b1c1050b564e3e2e4305c27ac3f1f184c7cba0327bc6103225504f1d06a8f779c24927fc28b87e0b50e3347f3d4b8afb1ff2b28976dcfbf0d94bccc97 MISC metadata.xml 995 BLAKE2B 8b9c668c2628dc12eab5bc42ca90a5c7e1ed64405b3de54ccca8dca90a974e9e2274b8815bc800d5427c6128c2f369eb5fc1fe17b5f6dbcee242239966dcdb98 SHA512 12f4909783b90ac9eef2ef4141f6f0041c2faed7ccb3d08f64fc8cd4e36e5ad8a3a5068267f6dc02c8d2fca5213d26f28ce468ce4487a0b2d44cdb558d4882c8 diff --git a/dev-python/cbor2/cbor2-5.4.6.ebuild b/dev-python/cbor2/cbor2-5.4.6.ebuild index 8642665e99e9..cc594d29a9ea 100644 --- a/dev-python/cbor2/cbor2-5.4.6.ebuild +++ b/dev-python/cbor2/cbor2-5.4.6.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( pypy3 python3_{10..12} ) inherit distutils-r1 pypi @@ -31,3 +31,13 @@ python_prepare_all() { sed -i -e "s/--cov//" pyproject.toml || die distutils-r1_python_prepare_all } + +python_compile() { + local -x CBOR2_BUILD_C_EXTENSION=1 + # pypy3 not supported upstream + # py3.12: https://github.com/agronholm/cbor2/issues/171 + if has "${EPYTHON}" pypy3 python3.12; then + CBOR2_BUILD_C_EXTENSION=0 + fi + distutils-r1_python_compile +} -- cgit v1.2.3