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-1.17.1.ebuild40
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/wrapt/Manifest b/dev-python/wrapt/Manifest
index 1af29dbc36df..587331ea2a38 100644
--- a/dev-python/wrapt/Manifest
+++ b/dev-python/wrapt/Manifest
@@ -1,3 +1,5 @@
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
EBUILD wrapt-1.17.0.ebuild 971 BLAKE2B 507a4169894bd899efc5c925fc53b476b8f2db477f40e6e620ef0255034394ca9043ee407b82026eb5081af69bc47bad7462911bda68ecde97df82b193802d3a SHA512 4487a0fd0a971f5853d6ce4bb98514d49303fb457c73e6ddeaf2039adc504c95ddc159b6aa721d3b9d17c140ea7c597f8c852efcb4ea8cf00657ffe499064d6e
+EBUILD wrapt-1.17.1.ebuild 979 BLAKE2B 26acc921b47f5acd1c7f5c42950098be24168e527b2ca6e446c60a25606b388dd2995a79a1890f0959320302a95e8991610b50f0f26e245a8451d96711f6db83 SHA512 2d7f8b26b7a5ee1570019d478093e28ba0e14fca106675e9d7fb5422ea1f08b5b38579ea296721f0d3b37f02d3784d9d803f9e3e988c979e07bd365960424117
MISC metadata.xml 515 BLAKE2B 9a7eb633f7a52c3bb378854a89d8b529adfb09f4db96502875da844c4d256aa1ca2346831be3f7949894045d9185df284a7b50c142a22b1340676d079913abf6 SHA512 f260a2482e32147b1a052b949f1b438efcb406b52caad79951b60cd79c330dacc5c612269b80c730c489a9b2896c4d91572796409bbceabc36a83c056522cac2
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
+}