commit:     4c8b1568817a49911970613a11121f58d9b8c4d1
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 11 05:46:59 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jan 11 06:52:03 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c8b1568

dev-python/wrapt: Bump to 1.17.1

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/wrapt/Manifest            |  1 +
 dev-python/wrapt/wrapt-1.17.1.ebuild | 40 ++++++++++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+)

diff --git a/dev-python/wrapt/Manifest b/dev-python/wrapt/Manifest
index dc97755e67c4..6f25a321b97d 100644
--- a/dev-python/wrapt/Manifest
+++ b/dev-python/wrapt/Manifest
@@ -1 +1,2 @@
 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

diff --git a/dev-python/wrapt/wrapt-1.17.1.ebuild 
b/dev-python/wrapt/wrapt-1.17.1.ebuild
new file mode 100644
index 000000000000..8928c246da61
--- /dev/null
+++ b/dev-python/wrapt/wrapt-1.17.1.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
+}

Reply via email to