1 |
commit: cffbdfd3f7d7c75eee1ebc38a4e546979d424c6f |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 2 07:27:57 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 2 08:51:18 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cffbdfd3 |
7 |
|
8 |
dev-python/decorator: Bump to 5.0.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/decorator/Manifest | 1 + |
13 |
dev-python/decorator/decorator-5.0.0.ebuild | 21 +++++++++++++++++++++ |
14 |
2 files changed, 22 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/decorator/Manifest b/dev-python/decorator/Manifest |
17 |
index 9d1118e5284..d66aff68063 100644 |
18 |
--- a/dev-python/decorator/Manifest |
19 |
+++ b/dev-python/decorator/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST decorator-4.4.2.tar.gz 33629 BLAKE2B 5b2c6a1b6aba293d4b93444d4613e3c9af16bd9d6d80ae9eb21112a4a16397ff67e1f648e8118beeb7d17755a2f1bd37b867f73129c42ef7f8654d1c1f609e5f SHA512 c068efd4e70764ac447b772c9c29625c2180dad256b2b4e46a50a8479fc1d7de09b114c2ba11bb37dd58774ed9460d2e0ea9fa76061833a2d3c2676ac91a0db1 |
22 |
+DIST decorator-5.0.0.tar.gz 33099 BLAKE2B c59a02c2a9c27342dcfdc96ecb89bb9d7f91add52a9e823963976d750b0197255e4c68f72b61f940f36fd09c504f7fa75a10c3cf0e17758fe707a79d332070ba SHA512 010e0ac6b8929b73afdfe57d41915cf56db3edcb2759ba6224bf589e5ff1780021ef9f65a628b530422665d3fc2f9b9b48e21db5e0f21053dbb5d0d20e8da194 |
23 |
|
24 |
diff --git a/dev-python/decorator/decorator-5.0.0.ebuild b/dev-python/decorator/decorator-5.0.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..156fd8d9b20 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/decorator/decorator-5.0.0.ebuild |
29 |
@@ -0,0 +1,21 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+PYTHON_COMPAT=( pypy3 python3_{7..9} ) |
35 |
+ |
36 |
+inherit distutils-r1 |
37 |
+ |
38 |
+DESCRIPTION="Simplifies the usage of decorators for the average programmer" |
39 |
+HOMEPAGE="https://github.com/micheles/decorator https://pypi.org/project/decorator/" |
40 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="BSD" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" |
45 |
+ |
46 |
+DOCS=( CHANGES.md ) |
47 |
+ |
48 |
+python_test() { |
49 |
+ "${EPYTHON}" src/tests/test.py -v || die "Tests failed with ${EPYTHON}" |
50 |
+} |