summaryrefslogtreecommitdiff
path: root/dev-python/lark
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-07-21 10:04:00 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-07-21 10:04:00 +0100
commit7c334a9594ae315e537bf98259b95bafc60d479c (patch)
treefc41ac024e70df2bad3160b2d02fd5a01adde46b /dev-python/lark
parentd1849ceeb9c09150c11cc0d112883cfba503af27 (diff)
gentoo auto-resync : 21:07:2023 - 10:04:00
Diffstat (limited to 'dev-python/lark')
-rw-r--r--dev-python/lark/Manifest2
-rw-r--r--dev-python/lark/lark-1.1.7.ebuild44
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/lark/Manifest b/dev-python/lark/Manifest
index 3427b2d52262..e414edc6d12c 100644
--- a/dev-python/lark/Manifest
+++ b/dev-python/lark/Manifest
@@ -1,5 +1,7 @@
DIST lark-1.1.5.tar.gz 246737 BLAKE2B 2111bb6c2f6eaa05b803daf11f0f55641c9b3943a97f943fd27b5dd33f8b511e3b0fc4fb335edbb3926ad19da6cb2696b7f87003b7def068cae1d805b3feb8d9 SHA512 8103e050745c83c99b077667aa8b1d4dfad28f5554d2381534b3518d8d3e8adb70f0304fdc7e1c762d3ea26089181d9632dea155b6cd97237078b89330a6711e
DIST lark-1.1.6.tar.gz 251270 BLAKE2B 2f2b81eef82ba2cb774e3aab448a092256a714e7118da08e1e25297c1573d0b833231e6b6158dc88fb19c80af370b1e72946dc929f6379408a9aea6c596f3605 SHA512 347ba7423f15fe38c97446991b4d2d0d6edd50bc656aa9a67c8b6d94b8cdbf2b006f3391c6c06fe000fc4b2657480e6a66a9580ebb0440eeef2b5a6a5418567b
+DIST lark-1.1.7.tar.gz 251290 BLAKE2B c6f19eadf29c75257e0b49231e621bffd27ff6c569a07159e9f4934d0bf74abb6df9425fdd971392b415fc19d12421abc67186d844f2ef1c294205a25f4e263a SHA512 59e5567ebff173a25caa2ea4db3ff3f284bd580ce68a6a3ca27ceff34158a9b56fc404ebf3016e2bbb074fd19286a0d511ffaadf2f157185f45b10305c3c8474
EBUILD lark-1.1.5.ebuild 976 BLAKE2B 27eadd92cd8da5f9fd086223ab7d3fcc217a456e4bc7bc2004cf60596ec41d4a8fab38a1784e68418e56fc9881f3e51650317704344a391d9148435469bffe9a SHA512 3a7416443f30db7aed7c1f7cba9d83c29179b93b230ae1310acbe61c7c349d65e12739e3d8193ea13911eb7a7a4d28611133df244b0a7085ae4f8f28ac53bf50
EBUILD lark-1.1.6.ebuild 984 BLAKE2B d705f41abb9f132717974faff1b5c5610f4ed61b92bc5aeab945883fc6f5e42bc5bc405ded31592e21a4409bf6206860157537da2cdea4f3612225e15be55423 SHA512 d703039f124770e79b8dc111f26c757a6def89ff198318e31d220a4c222c3faffdfe4b3d97d69b8f7b3c06a550b7b01b363b8cce3d541488b267b5d1ff6c336d
+EBUILD lark-1.1.7.ebuild 984 BLAKE2B d705f41abb9f132717974faff1b5c5610f4ed61b92bc5aeab945883fc6f5e42bc5bc405ded31592e21a4409bf6206860157537da2cdea4f3612225e15be55423 SHA512 d703039f124770e79b8dc111f26c757a6def89ff198318e31d220a4c222c3faffdfe4b3d97d69b8f7b3c06a550b7b01b363b8cce3d541488b267b5d1ff6c336d
MISC metadata.xml 388 BLAKE2B 705a273d593a97c10e06cf04bf146864ff3a5d955f30d0094ab6869fd12e6033612e361e55b9e934f052ab29de7beef928293a377d0f1abb917f9715e111cdd6 SHA512 76a47597d5a6f2a71907701dc53837b1fb175be2b2fb0e70a03dacd17974f4dbaf3caa56f5e4be07c6847245c313bc3911ae949c689056082edda7993405cc32
diff --git a/dev-python/lark/lark-1.1.7.ebuild b/dev-python/lark/lark-1.1.7.ebuild
new file mode 100644
index 000000000000..f65a5584bcd8
--- /dev/null
+++ b/dev-python/lark/lark-1.1.7.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Python module to propose a modern general-purpose parsing library for Python"
+HOMEPAGE="
+ https://github.com/lark-parser/lark/
+ https://pypi.org/project/lark/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
+
+BDEPEND="
+ test? (
+ dev-python/atomicwrites[${PYTHON_USEDEP}]
+ dev-python/regex[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+ local EPYTEST_IGNORE=(
+ # require dev-python/js2py which is a really bad quality package
+ tests/test_nearley/test_nearley.py
+ )
+
+ if has "${EPYTHON}" pypy3 python3.{8,9}; then
+ EPYTEST_IGNORE+=(
+ # test using Python 3.10+ syntax
+ tests/test_pattern_matching.py
+ )
+ fi
+
+ epytest
+}