1 |
commit: 7a5bd5f562823f52e6176189ede3703d52c52638 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 10 16:41:43 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 10 16:48:57 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a5bd5f5 |
7 |
|
8 |
dev-python/characteristic: EAPI 8, PEP517 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
.../characteristic/characteristic-14.3.0-r4.ebuild | 29 ++++++++++++++++++++++ |
13 |
1 file changed, 29 insertions(+) |
14 |
|
15 |
diff --git a/dev-python/characteristic/characteristic-14.3.0-r4.ebuild b/dev-python/characteristic/characteristic-14.3.0-r4.ebuild |
16 |
new file mode 100644 |
17 |
index 000000000000..ed2a14b90f2a |
18 |
--- /dev/null |
19 |
+++ b/dev-python/characteristic/characteristic-14.3.0-r4.ebuild |
20 |
@@ -0,0 +1,29 @@ |
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=( python3_{8..10} pypy3 ) |
28 |
+ |
29 |
+inherit distutils-r1 |
30 |
+ |
31 |
+DESCRIPTION="Python attributes without the boilerplate" |
32 |
+HOMEPAGE=" |
33 |
+ https://characteristic.readthedocs.io/ |
34 |
+ https://github.com/hynek/characteristic/ |
35 |
+ https://pypi.org/project/characteristic/ |
36 |
+" |
37 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
38 |
+ |
39 |
+LICENSE="MIT" |
40 |
+SLOT="0" |
41 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" |
42 |
+ |
43 |
+distutils_enable_tests pytest |
44 |
+distutils_enable_sphinx docs |
45 |
+ |
46 |
+python_prepare_all() { |
47 |
+ sed -e 's|\[pytest\]|\[tool:pytest\]|' -i setup.cfg || die |
48 |
+ distutils-r1_python_prepare_all |
49 |
+} |