commit: 75fac43ba39dc6c9746e681843c3ece344c74b83
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 23 03:21:20 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb 23 03:23:18 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75fac43b
dev-python/decorator: Bump to 5.2.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/decorator/Manifest | 1 +
dev-python/decorator/decorator-5.2.0.ebuild | 28 ++++++++++++++++++++++++++++
2 files changed, 29 insertions(+)
diff --git a/dev-python/decorator/Manifest b/dev-python/decorator/Manifest
index d8766686cbb8..4705b6d73673 100644
--- a/dev-python/decorator/Manifest
+++ b/dev-python/decorator/Manifest
@@ -1 +1,2 @@
DIST decorator-5.1.1.tar.gz 35016 BLAKE2B
0e38ee2dea6793d489f5c50692549022f1b252ab3a7b75da5b785f856b7f18faaf5570dde2c68f6936c11460599839063e9eb8a133789a00f683761393a5103d
SHA512
584857ffb0c3e52344b473ceb9e28adfd7d789d480a528471f8ab37be055ebe5feb170f41077010e25350e1c311189d45b90773cf12f0043de98ea8ebcde20ab
+DIST decorator-5.2.0.gh.tar.gz 54313 BLAKE2B
bab7a0dc6b8431893cdf72258a6b6f8f45e2352cd4bf55fc63571e8d7acaa97f3fdc120a996df278b3eee40c3b0f7c4e9914a8a498feef79145a6d4b9ee772b0
SHA512
b50d645acd924b1c0a35ebe6d52f638fe771910e55a925a2cb642aca694d99c9886b7a580b631ee7c8760d485a0924051235d24d0ccc393638ed305694e14e17
diff --git a/dev-python/decorator/decorator-5.2.0.ebuild
b/dev-python/decorator/decorator-5.2.0.ebuild
new file mode 100644
index 000000000000..41b058f0d2d0
--- /dev/null
+++ b/dev-python/decorator/decorator-5.2.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} )
+
+inherit distutils-r1
+
+DESCRIPTION="Simplifies the usage of decorators for the average programmer"
+HOMEPAGE="
+ https://github.com/micheles/decorator/
+ https://pypi.org/project/decorator/
+"
+# https://github.com/micheles/decorator/issues/167
+SRC_URI="
+ https://github.com/micheles/decorator/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos"
+
+python_test() {
+ "${EPYTHON}" tests/test.py -v || die "Tests failed with ${EPYTHON}"
+}