From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E3E64158451 for ; Wed, 10 Jan 2024 21:12:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A62E9E2A41; Wed, 10 Jan 2024 21:12:11 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 673D7E2A5C for ; Wed, 10 Jan 2024 21:12:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B08A7343228 for ; Wed, 10 Jan 2024 21:12:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EE25314C3 for ; Wed, 10 Jan 2024 21:12:07 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1704921112.8bbc5ee65d1d4d7ca43e686f004c1a742333b67e.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/lark/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/lark/Manifest dev-python/lark/lark-1.1.9.ebuild X-VCS-Directories: dev-python/lark/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 8bbc5ee65d1d4d7ca43e686f004c1a742333b67e X-VCS-Branch: master Date: Wed, 10 Jan 2024 21:12:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a3f1a610-3305-4d82-bcfd-40b0447497a2 X-Archives-Hash: 5c773f50167d4ae4e5e3e1a3448c5de2 commit: 8bbc5ee65d1d4d7ca43e686f004c1a742333b67e Author: Michał Górny gentoo org> AuthorDate: Wed Jan 10 17:43:46 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Jan 10 21:11:52 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bbc5ee6 dev-python/lark: Bump to 1.1.9 Signed-off-by: Michał Górny gentoo.org> dev-python/lark/Manifest | 1 + dev-python/lark/lark-1.1.9.ebuild | 44 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/dev-python/lark/Manifest b/dev-python/lark/Manifest index 97f0f458e754..9731015499a0 100644 --- a/dev-python/lark/Manifest +++ b/dev-python/lark/Manifest @@ -1 +1,2 @@ DIST lark-1.1.8.tar.gz 255316 BLAKE2B 40f0590ee313e5da57e593fe1cd311dfe1222cea1be83c5d1686d9a74983c8abc4f4f913f456993c51df4ce79eced10412ff9bf3dfafbeaa30f11e1301c84f60 SHA512 e51ecb38d9e7c25cca2845c56cd3cce1b1b3940ec8f0e135373726ffb23bda46f750b03f0f0b8edc750794c2b2aab9c327ff9f381faaabd53f09e76760548957 +DIST lark-1.1.9.tar.gz 255451 BLAKE2B 0bdb34a75c17800cc6819413011de879a163317c7414b260e1a4a0ccc4b40d11636fad1ae84946e0408096525b6cfeb6f725c95caed8043d3dff3e318d15be1f SHA512 4d711451f129312a28cff84239a2928fdff96df1445f77ae7a9d882d13791a58e44663ef70fd064df954094878214611ee1313ce9315c8dcfb0833b003a3774f diff --git a/dev-python/lark/lark-1.1.9.ebuild b/dev-python/lark/lark-1.1.9.ebuild new file mode 100644 index 000000000000..b76ccddaa86d --- /dev/null +++ b/dev-python/lark/lark-1.1.9.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2024 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 +}