commit: 858a48f78ebd301b9d767f826e8641d27758210e
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 15 05:07:30 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jan 15 05:30:12 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=858a48f7
dev-python/wrapt: Bump to 1.17.2
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/wrapt/Manifest | 1 +
dev-python/wrapt/wrapt-1.17.2.ebuild | 40 ++++++++++++++++++++++++++++++++++++
2 files changed, 41 insertions(+)
diff --git a/dev-python/wrapt/Manifest b/dev-python/wrapt/Manifest
index 6f25a321b97d..03c8ffe64f7b 100644
--- a/dev-python/wrapt/Manifest
+++ b/dev-python/wrapt/Manifest
@@ -1,2 +1,3 @@
DIST wrapt-1.17.0.gh.tar.gz 140517 BLAKE2B
0aa883d31cac6a72c18b48a03e3ba18326d2b6f71ab241a9c772a58662011c706db2526d3459b4d5c7017f911cdc9e2518b52abefae7239cc38ee635d47a46ba
SHA512
b552676a9c41c2feadf9eeab78c011bcc068f6b160d5d91aa6afc8b880abaaf8f170071e8eb03811959d3510cb19cb8fcc0db41a3c4e7eb6c92cf04882d9c0d2
DIST wrapt-1.17.1.gh.tar.gz 140610 BLAKE2B
9e556a06094eb81853685632a311b9accf05d39979e4bdc66eb7a4560dad7ffb253239eb51ef9545f689e6eec6c80de2e6ee12747068c28dd3dae1a9b4bf6784
SHA512
b73f60c9ea0dae9bb0009b2f0d4149001645e4e2940bcd36d867fb44cb9b68cd7e726fb3c2d8d4345da44ff626dd2a457edbd527d46291ea030e13828fe68506
+DIST wrapt-1.17.2.gh.tar.gz 140660 BLAKE2B
58e9da7bb250a614717d18a20c61a0f6f45e77aa9c90e13be21e8e4094a1d24516d6388e15997cbbca296abb976bac0ce42f720f74fe4946d000dd570bca0da4
SHA512
12a6e610f180ce34a7edad39225b54f62d58d487e8b3379321e00e0d0c1b265a5a570de15ec5e5a6b38748052617dbb486f802ae924ab48b51b3ccd40d1170bf
diff --git a/dev-python/wrapt/wrapt-1.17.2.ebuild
b/dev-python/wrapt/wrapt-1.17.2.ebuild
new file mode 100644
index 000000000000..8928c246da61
--- /dev/null
+++ b/dev-python/wrapt/wrapt-1.17.2.ebuild
@@ -0,0 +1,40 @@
+# 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_{10..13} pypy3 )
+
+inherit distutils-r1
+
+MY_P=${P/_}
+DESCRIPTION="Module for decorators, wrappers and monkey patching"
+HOMEPAGE="
+ https://github.com/GrahamDumpleton/wrapt/
+ https://pypi.org/project/wrapt/
+"
+SRC_URI="
+ https://github.com/GrahamDumpleton/wrapt/archive/${PV/_}.tar.gz
+ -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+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"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs dev-python/sphinx-rtd-theme
+
+python_compile() {
+ local -x WRAPT_INSTALL_EXTENSIONS=$(usex native-extensions true false)
+ distutils-r1_python_compile
+}
+
+python_test() {
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest
+}