summaryrefslogtreecommitdiff
path: root/dev-python/wrapt
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/wrapt')
-rw-r--r--dev-python/wrapt/Manifest2
-rw-r--r--dev-python/wrapt/wrapt-2.5.0.ebuild40
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/wrapt/Manifest b/dev-python/wrapt/Manifest
index d604b131f528..e86a913b282f 100644
--- a/dev-python/wrapt/Manifest
+++ b/dev-python/wrapt/Manifest
@@ -4,3 +4,5 @@ DIST wrapt-2.4.0.tar.gz 161179 BLAKE2B 436b7709ba58271889ef7efd76ef52c4b5e0a12e4
DIST wrapt-2.4.0.tar.gz.provenance 10106 BLAKE2B 70d792b847ca5413793015d6596710f729bc52c6b0837504d0416e9272d7d19f2ea9b45fb68b92ec6b3a3eafefa6c0062c80347d508f3f2a3e3a507d7fd75e0d SHA512 4ed5691a21d12fa1262a65f0d9f7759da01990944cdd986e88c7ae583165097ac72bd6944d3847bbc2c9a6d4fe8fec282c309e31989e97d4e68b1cfe5da20170
DIST wrapt-2.4.1.tar.gz 164597 BLAKE2B f57172218de2427dc80de48ee70a80f2494314508c6db94bd61af4042b9e3a26d387b18a8b3b875f4d92fd69d85d61f55b00b01755bd508b0b19ebecdccb81e3 SHA512 c996422b1dd73687609cfae475cf32d4ba2960686fb6a7ad28edd5314d62d944c13f4ec83e1cd6daa2542aac0d2b9e3fadaa1718da753dce4a8486a92688f880
DIST wrapt-2.4.1.tar.gz.provenance 10200 BLAKE2B 87a295822dc8b22c80f67adba6c2e0edb916062fe9a8a32b2ddca918d3fb6ac7b88a00a91c47a070a8a9939489129d3a52368d2186e42331e64a61f90acd433b SHA512 81db83085d80fa25dc8bb848dc196b3f1644734c24e4c050f6a2b5ced006b3db8890ef7d7887d05574546e2e3f6744d5c72e4ec4780469a574bf33a7c60d940b
+DIST wrapt-2.5.0.tar.gz 183288 BLAKE2B c5390f4fc37cfa960c552b5c71a7053dc86e2b6e8f73caefb9dbb98c43b75a37ffbfbee510a85a0d0b567da2adf68ab6586fb2c15b7375e5ceb8d397337b2dc5 SHA512 6ef568088e7f02bef41648fdd788c29b882526addf03241198d9146da1dcbd201fd9eecea98078b892d54eb6b819b35f4752443f8eca8a4301b6909c65321de9
+DIST wrapt-2.5.0.tar.gz.provenance 10102 BLAKE2B 3750577ff9d659fb7123ebb9f371d238e58d1fb26c95e8bdf3a542170c1d2ce5944786f6b96d09d4888e8b76d0b76a72e89a5679e4e6a19aba8f49b085b2410d SHA512 3934ef0f579f2369f72fac0b354596913d5ac792d30ddaf5aefbca01101a21f64978a4853d99fa4ddc8bb93a6d61c955849767493ffacab8cca0294be63f5b62
diff --git a/dev-python/wrapt/wrapt-2.5.0.ebuild b/dev-python/wrapt/wrapt-2.5.0.ebuild
new file mode 100644
index 000000000000..c0b172cb4e24
--- /dev/null
+++ b/dev-python/wrapt/wrapt-2.5.0.ebuild
@@ -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_{13..14} )
+
+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
+}