diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-10-23 14:19:39 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-10-23 14:34:46 +0200 |
commit | e555e59e460570359bb83ed816c0230ee2c5857a (patch) | |
tree | 934b410179eeb1978ab0131d3d45fc7ff7008fe1 /dev-python/lark | |
parent | dev-python/hcloud: Bump to 1.31.0 (diff) | |
download | gentoo-e555e59e460570359bb83ed816c0230ee2c5857a.tar.gz gentoo-e555e59e460570359bb83ed816c0230ee2c5857a.tar.bz2 gentoo-e555e59e460570359bb83ed816c0230ee2c5857a.zip |
dev-python/lark: Bump to 1.1.8
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/lark')
-rw-r--r-- | dev-python/lark/Manifest | 1 | ||||
-rw-r--r-- | dev-python/lark/lark-1.1.8.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/lark/Manifest b/dev-python/lark/Manifest index 2a88b04f22b8..847026a224b4 100644 --- a/dev-python/lark/Manifest +++ b/dev-python/lark/Manifest @@ -1 +1,2 @@ DIST lark-1.1.7.tar.gz 251290 BLAKE2B c6f19eadf29c75257e0b49231e621bffd27ff6c569a07159e9f4934d0bf74abb6df9425fdd971392b415fc19d12421abc67186d844f2ef1c294205a25f4e263a SHA512 59e5567ebff173a25caa2ea4db3ff3f284bd580ce68a6a3ca27ceff34158a9b56fc404ebf3016e2bbb074fd19286a0d511ffaadf2f157185f45b10305c3c8474 +DIST lark-1.1.8.tar.gz 255316 BLAKE2B 40f0590ee313e5da57e593fe1cd311dfe1222cea1be83c5d1686d9a74983c8abc4f4f913f456993c51df4ce79eced10412ff9bf3dfafbeaa30f11e1301c84f60 SHA512 e51ecb38d9e7c25cca2845c56cd3cce1b1b3940ec8f0e135373726ffb23bda46f750b03f0f0b8edc750794c2b2aab9c327ff9f381faaabd53f09e76760548957 diff --git a/dev-python/lark/lark-1.1.8.ebuild b/dev-python/lark/lark-1.1.8.ebuild new file mode 100644 index 000000000000..f65a5584bcd8 --- /dev/null +++ b/dev-python/lark/lark-1.1.8.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 +} |