1 |
commit: 590283e189d539f8ba51d6535026cb2217714614 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 7 04:37:51 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 7 04:37:51 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=590283e1 |
7 |
|
8 |
dev-python/parso: Switch to PEP517 build |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/parso/parso-0.8.3-r1.ebuild | 31 +++++++++++++++++++++++++++++++ |
13 |
1 file changed, 31 insertions(+) |
14 |
|
15 |
diff --git a/dev-python/parso/parso-0.8.3-r1.ebuild b/dev-python/parso/parso-0.8.3-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 000000000000..e2527b1ee829 |
18 |
--- /dev/null |
19 |
+++ b/dev-python/parso/parso-0.8.3-r1.ebuild |
20 |
@@ -0,0 +1,31 @@ |
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="A python parser that supports error recovery and round-trip parsing" |
32 |
+HOMEPAGE=" |
33 |
+ https://github.com/davidhalter/parso/ |
34 |
+ https://pypi.org/project/parso/ |
35 |
+" |
36 |
+SRC_URI=" |
37 |
+ https://github.com/davidhalter/${PN}/archive/v${PV}.tar.gz |
38 |
+ -> ${P}.tar.gz |
39 |
+" |
40 |
+ |
41 |
+LICENSE="MIT" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
44 |
+ |
45 |
+distutils_enable_sphinx docs |
46 |
+distutils_enable_tests pytest |
47 |
+ |
48 |
+EPYTEST_DESELECT=( |
49 |
+ # py3.10 changed exception messages |
50 |
+ test/test_python_errors.py::test_python_exception_matches |
51 |
+) |