dev-python/wrapt: Bump to 2.2.2

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-06-21 04:44:03 +02:00
parent 4e7a6c232d
commit f95cd970c6
2 changed files with 42 additions and 0 deletions

View File

@@ -1,2 +1,4 @@
DIST wrapt-2.2.1.tar.gz 127620 BLAKE2B ff7bc0478d1e780ed059eba5af5f2c40c2399dcfbb331850ed2c19ed516a5753a273e0b50bc4a05f95efd3a0ba36743455d38a0744893e4b4c76c8d1150b232d SHA512 fb7952f8931b28dcfe7c10d545657af9f369f60b96defbeb0bcda0fc2b17068fbeb38fc5395d1908091c2ebf392467b42285dfc28355b8fe92d8865515590915
DIST wrapt-2.2.1.tar.gz.provenance 9958 BLAKE2B 2115dcad4d151dc9d10a2f8a0c16c9cf2ef94ebedc1d44c680019b8ad099f9fb14cc88624a01222809f8e416bcd56ad5478c6b450480881dfce95d50daaf4e2a SHA512 2efed0a393170f9520507ecf57ec5877fb1bc2ff8f783e81d259d1711e480dd827cc4717686b269bc4f3a1a59c7522bf7c0f85e94ddcfed5683497525821f9f8
DIST wrapt-2.2.2.tar.gz 129068 BLAKE2B 6883abedc321b7ec047e0a31ffd78b8a297be4db7ab4cb1ca98a4f73b1021707a5c0c0e3c7166f29b7add693b298215e197c056d5ea9dd37c9e8e6ce5fc81ffd SHA512 2b9865d1d54c3e58191220e08a83eb7bd1739c9779b17f3bd4101489f02ffb6c6d4ab9abfa7cdb7c621b35d90e24e648254737f0046f2019755c5b29978b1bb6
DIST wrapt-2.2.2.tar.gz.provenance 10194 BLAKE2B a001104495c74bf3f5644753a7c509e1144945030f9ed4f25c0d7daf158fd625c2f2ef449f86597e40c9b1285591eb8ea99c68b9a2e7b42bc39a79fef04eb3ea SHA512 24b82551e3624fbbfcde21b97d7ade1fb7e29406f55c18522b5f41723ab22a3f9cfd7f142ae85dee8fb0aa1bc3ded9dbe14e0fe6b5e38c447c529b9c6319c47f

View File

@@ -0,0 +1,40 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYPI_VERIFY_REPO=https://github.com/GrahamDumpleton/wrapt
PYTHON_COMPAT=( python3_{12..15} )
inherit distutils-r1 pypi
MY_P=${P/_}
DESCRIPTION="Module for decorators, wrappers and monkey patching"
HOMEPAGE="
https://github.com/GrahamDumpleton/wrapt/
https://pypi.org/project/wrapt/
"
LICENSE="BSD"
SLOT="0"
if [[ ${PV} != *_rc* ]]; then
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
fi
IUSE="+native-extensions"
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
src_prepare() {
distutils-r1_src_prepare
# skip mypy tests, they are fragile
rm -r tests/mypy || die
}
python_compile() {
local -x WRAPT_INSTALL_EXTENSIONS=$(usex native-extensions true false)
distutils-r1_python_compile
}