1 |
commit: 0e6fc56f9aba9d383b6339bf43c1b518a835a795 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 31 06:51:34 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 31 07:12:30 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e6fc56f |
7 |
|
8 |
dev-python/pyparsing: Bump to 3.0.4 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pyparsing/Manifest | 1 + |
13 |
dev-python/pyparsing/pyparsing-3.0.4.ebuild | 44 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 45 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/pyparsing/Manifest b/dev-python/pyparsing/Manifest |
17 |
index 85230105205..5c9e40950db 100644 |
18 |
--- a/dev-python/pyparsing/Manifest |
19 |
+++ b/dev-python/pyparsing/Manifest |
20 |
@@ -2,3 +2,4 @@ DIST pyparsing_2.4.7.tar.gz 648158 BLAKE2B 24525b4ee7876e245b9eb270f0e3e22fe2d8b |
21 |
DIST pyparsing_3.0.0.tar.gz 935578 BLAKE2B 2932fb8da83f4f7b0ba98057002c870ab54f50bb93cea3f1da1cb9bba87fd8a6066c7bbee700667663285226ad6bf637f340160ccf7b7b06616e1140a7b93ce3 SHA512 1400370a6e7518940b7965645578028588af5a4ec1c379d57c924f036c86e342a9a60f1dd5c700ce8a4dbcd16afb55a2a4c371548c8bac6c53338b5cc349f4d8 |
22 |
DIST pyparsing_3.0.1.tar.gz 936219 BLAKE2B cc7dc4670f37a09e98c8bda785bac4121150f1a48438cc42c6fbf0546531e7fc674f2bfe1c85aba66ac1075b9c086d9ee30672a3eebc60efec21fd51772f577f SHA512 70f2f957c713a88979ae95de8834a79c777196a2a6d47a25bf930cdefdc3120919147a33119ada0d33c53bb215fcddfa969b0d1630d2979c9e685d85e5c57414 |
23 |
DIST pyparsing_3.0.3.tar.gz 938435 BLAKE2B 5237244693759ffc19637b4d8ee52f98b7160160c1f422a1720b9a8848025f37cb8b314aae505acb7696cc1546c495d049a6a93b3824d784b89aee3565001a4a SHA512 19735a3125620716a0a843156e6e9285c7811aa4db876fdc9fed7413dff77c0670fea5a0a16bc074704c6fec45f0129d1a3680b2123abf3c414fa75d73e03d36 |
24 |
+DIST pyparsing_3.0.4.tar.gz 939837 BLAKE2B 27130518d1f3a4e497ecd4fa1fc624516bcb62488baf881ae3c8888bca48c957a4c6f0bf8d29aeeca8b1aa907c04ca41f3a61e876b78f1ea50684e24b12a2422 SHA512 01acf9b7663feae57e82ac3139c35687ea2754874425acfcf29b82595977660dab86ec35665e96400eb92acfbb51fb2326e010b960be7570de7575296078bd31 |
25 |
|
26 |
diff --git a/dev-python/pyparsing/pyparsing-3.0.4.ebuild b/dev-python/pyparsing/pyparsing-3.0.4.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..5e4cb765d6a |
29 |
--- /dev/null |
30 |
+++ b/dev-python/pyparsing/pyparsing-3.0.4.ebuild |
31 |
@@ -0,0 +1,44 @@ |
32 |
+# Copyright 2004-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+# please keep this ebuild at EAPI 7 -- sys-apps/portage dep |
36 |
+EAPI=7 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+MY_P=${P/-/_} |
42 |
+DESCRIPTION="Easy-to-use Python module for text parsing" |
43 |
+HOMEPAGE="https://github.com/pyparsing/pyparsing https://pypi.org/project/pyparsing/" |
44 |
+SRC_URI="https://github.com/${PN}/${PN}/archive/${MY_P}.tar.gz" |
45 |
+S=${WORKDIR}/${PN}-${MY_P} |
46 |
+ |
47 |
+LICENSE="MIT" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
50 |
+IUSE="examples" |
51 |
+ |
52 |
+distutils_enable_tests pytest |
53 |
+ |
54 |
+EPYTEST_IGNORE=( |
55 |
+ # railroad-diagrams not packaged (and not suitable for packaging yet) |
56 |
+ tests/test_diagram.py |
57 |
+) |
58 |
+ |
59 |
+EPYTEST_DESELECT=( |
60 |
+ # also railroad-diagrams |
61 |
+ tests/test_unit.py::Test02_WithoutPackrat::testEmptyExpressionsAreHandledProperly |
62 |
+ tests/test_unit.py::Test04_WithPackrat::testEmptyExpressionsAreHandledProperly |
63 |
+ tests/test_unit.py::Test06_WithBoundedPackrat::testEmptyExpressionsAreHandledProperly |
64 |
+ tests/test_unit.py::Test08_WithUnboundedPackrat::testEmptyExpressionsAreHandledProperly |
65 |
+ tests/test_unit.py::Test09_WithLeftRecursionParsing::testEmptyExpressionsAreHandledProperly |
66 |
+ tests/test_unit.py::Test10_WithLeftRecursionParsingBoundedMemo::testEmptyExpressionsAreHandledProperly |
67 |
+) |
68 |
+ |
69 |
+python_install_all() { |
70 |
+ if use examples; then |
71 |
+ docompress -x /usr/share/doc/${PF}/examples |
72 |
+ dodoc -r examples |
73 |
+ fi |
74 |
+ distutils-r1_python_install_all |
75 |
+} |