1 |
commit: 415c25da352f39b8477ce9a75ddeba5ea775dd78 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 2 06:22:48 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 2 07:37:12 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=415c25da |
7 |
|
8 |
dev-python/lark: Bump to 1.1.4 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/lark/Manifest | 1 + |
13 |
dev-python/lark/lark-1.1.4.ebuild | 45 +++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 46 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/lark/Manifest b/dev-python/lark/Manifest |
17 |
index 79fe7deabe7e..660b57ec424f 100644 |
18 |
--- a/dev-python/lark/Manifest |
19 |
+++ b/dev-python/lark/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST lark-1.1.2.tar.gz 243201 BLAKE2B 0f1b51b0276ad893f29d0afa6c3e18211b0b92832c8c6f5cba6bbe9e03486b5598f55fa7c6f4d77798ed070decd902d01faa4df62039031fe21d392d29122125 SHA512 fc797c263410f461e1ef28fbbba526472b9c4d8dbb296b309e59daa5945fdcc0c2f9347b3b4bf78e189c6a3d8f1333c74a5f3d80b82ee54867181b84ba263c00 |
22 |
DIST lark-1.1.3.tar.gz 245913 BLAKE2B 4c7b53d123aa7cdffcb16027921fced2f94dc0e5b9b816825f297629a9ff446758d9a700dc0f243f3d4c478fc992bbf5bfb38c51c2be3c8379df06b41044c624 SHA512 5359a29852554049ecee77a4151a2c64c5af72eccf5c2bb07926b0c131caac15cc51777c2df1d2c736e9e2b45d59543aa8a6d16ef2cb92ea7f8564c7ac06edb2 |
23 |
+DIST lark-1.1.4.tar.gz 246520 BLAKE2B 08073f89a3403d5e722b3af4d9226ea4ca890a7ad9978fb69f023f1219bb2d148533a68810188d3af35770cc36d29629a1c57a3fbab4098e9ec3d4e73f68ffe8 SHA512 32498f8c387320dce89ebab66e9eed49dc83b855060a8fb9459e6323d0d783ff7184ac997ff095fead09766c00f28c12ccbcd614effb8344ba49df51f7b5a566 |
24 |
|
25 |
diff --git a/dev-python/lark/lark-1.1.4.ebuild b/dev-python/lark/lark-1.1.4.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..48eebe3a0446 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/lark/lark-1.1.4.ebuild |
30 |
@@ -0,0 +1,45 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+DISTUTILS_USE_PEP517=setuptools |
37 |
+PYTHON_COMPAT=( python3_{8..11} pypy3 ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Python module to propose a modern general-purpose parsing library for Python" |
42 |
+HOMEPAGE=" |
43 |
+ https://github.com/lark-parser/lark/ |
44 |
+ https://pypi.org/project/lark/ |
45 |
+" |
46 |
+SRC_URI="mirror://pypi/${PN:0:1}/lark/${P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="MIT" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
51 |
+ |
52 |
+BDEPEND=" |
53 |
+ test? ( |
54 |
+ dev-python/atomicwrites[${PYTHON_USEDEP}] |
55 |
+ dev-python/regex[${PYTHON_USEDEP}] |
56 |
+ ) |
57 |
+" |
58 |
+ |
59 |
+distutils_enable_tests pytest |
60 |
+ |
61 |
+python_test() { |
62 |
+ local EPYTEST_IGNORE=( |
63 |
+ # require dev-python/js2py which is a really bad quality package |
64 |
+ tests/test_nearley/test_nearley.py |
65 |
+ ) |
66 |
+ |
67 |
+ if has "${EPYTHON}" pypy3 python3.{8,9}; then |
68 |
+ EPYTEST_IGNORE+=( |
69 |
+ # test using Python 3.10+ syntax |
70 |
+ tests/test_pattern_matching.py |
71 |
+ ) |
72 |
+ fi |
73 |
+ |
74 |
+ epytest |
75 |
+} |