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