1 |
commit: 482d9bf6208ca2fbbda5710cce48c233cf4e543f |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 5 13:27:32 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 5 13:33:01 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=482d9bf6 |
7 |
|
8 |
dev-python/pyparsing: Enable python3.10 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pyparsing/pyparsing-2.4.7-r1.ebuild | 8 ++------ |
13 |
1 file changed, 2 insertions(+), 6 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/pyparsing/pyparsing-2.4.7-r1.ebuild b/dev-python/pyparsing/pyparsing-2.4.7-r1.ebuild |
16 |
index b6e871b2aee..f570cba32eb 100644 |
17 |
--- a/dev-python/pyparsing/pyparsing-2.4.7-r1.ebuild |
18 |
+++ b/dev-python/pyparsing/pyparsing-2.4.7-r1.ebuild |
19 |
@@ -2,8 +2,7 @@ |
20 |
# Distributed under the terms of the GNU General Public License v2 |
21 |
|
22 |
EAPI=7 |
23 |
-PYTHON_COMPAT=( python3_{7,8,9} pypy3 ) |
24 |
-DISTUTILS_USE_SETUPTOOLS=bdepend |
25 |
+PYTHON_COMPAT=( python3_{7..10} pypy3 ) |
26 |
|
27 |
inherit distutils-r1 |
28 |
|
29 |
@@ -11,8 +10,7 @@ MY_P=${P/-/_} |
30 |
DESCRIPTION="Easy-to-use Python module for text parsing" |
31 |
HOMEPAGE="https://github.com/pyparsing/pyparsing https://pypi.org/project/pyparsing/" |
32 |
SRC_URI="https://github.com/${PN}/${PN}/archive/${MY_P}.tar.gz" |
33 |
-# pypi releases and generated github tarballs lack tests |
34 |
-#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
35 |
+S=${WORKDIR}/${PN}-${MY_P} |
36 |
|
37 |
LICENSE="MIT" |
38 |
SLOT="0" |
39 |
@@ -21,8 +19,6 @@ IUSE="examples" |
40 |
|
41 |
distutils_enable_tests setup.py |
42 |
|
43 |
-S=${WORKDIR}/${PN}-${MY_P} |
44 |
- |
45 |
python_install_all() { |
46 |
if use examples; then |
47 |
docompress -x /usr/share/doc/${PF}/examples |