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 B9FAE158020 for ; Wed, 2 Nov 2022 07:37:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D107DE0934; Wed, 2 Nov 2022 07:37:36 +0000 (UTC) Received: from smtp.gentoo.org (dev.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BA580E0934 for ; Wed, 2 Nov 2022 07:37:36 +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 C3EA6340FAF for ; Wed, 2 Nov 2022 07:37:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 281476DB for ; Wed, 2 Nov 2022 07:37:34 +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: <1667374632.415c25da352f39b8477ce9a75ddeba5ea775dd78.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.4.ebuild X-VCS-Directories: dev-python/lark/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 415c25da352f39b8477ce9a75ddeba5ea775dd78 X-VCS-Branch: master Date: Wed, 2 Nov 2022 07:37:34 +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: a7ce1590-a179-4b96-b577-f6f29ee36b37 X-Archives-Hash: a88fe982d16323e89cbc5c4170ee7d4f commit: 415c25da352f39b8477ce9a75ddeba5ea775dd78 Author: Michał Górny gentoo org> AuthorDate: Wed Nov 2 06:22:48 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Nov 2 07:37:12 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=415c25da dev-python/lark: Bump to 1.1.4 Signed-off-by: Michał Górny gentoo.org> dev-python/lark/Manifest | 1 + dev-python/lark/lark-1.1.4.ebuild | 45 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/dev-python/lark/Manifest b/dev-python/lark/Manifest index 79fe7deabe7e..660b57ec424f 100644 --- a/dev-python/lark/Manifest +++ b/dev-python/lark/Manifest @@ -1,2 +1,3 @@ DIST lark-1.1.2.tar.gz 243201 BLAKE2B 0f1b51b0276ad893f29d0afa6c3e18211b0b92832c8c6f5cba6bbe9e03486b5598f55fa7c6f4d77798ed070decd902d01faa4df62039031fe21d392d29122125 SHA512 fc797c263410f461e1ef28fbbba526472b9c4d8dbb296b309e59daa5945fdcc0c2f9347b3b4bf78e189c6a3d8f1333c74a5f3d80b82ee54867181b84ba263c00 DIST lark-1.1.3.tar.gz 245913 BLAKE2B 4c7b53d123aa7cdffcb16027921fced2f94dc0e5b9b816825f297629a9ff446758d9a700dc0f243f3d4c478fc992bbf5bfb38c51c2be3c8379df06b41044c624 SHA512 5359a29852554049ecee77a4151a2c64c5af72eccf5c2bb07926b0c131caac15cc51777c2df1d2c736e9e2b45d59543aa8a6d16ef2cb92ea7f8564c7ac06edb2 +DIST lark-1.1.4.tar.gz 246520 BLAKE2B 08073f89a3403d5e722b3af4d9226ea4ca890a7ad9978fb69f023f1219bb2d148533a68810188d3af35770cc36d29629a1c57a3fbab4098e9ec3d4e73f68ffe8 SHA512 32498f8c387320dce89ebab66e9eed49dc83b855060a8fb9459e6323d0d783ff7184ac997ff095fead09766c00f28c12ccbcd614effb8344ba49df51f7b5a566 diff --git a/dev-python/lark/lark-1.1.4.ebuild b/dev-python/lark/lark-1.1.4.ebuild new file mode 100644 index 000000000000..48eebe3a0446 --- /dev/null +++ b/dev-python/lark/lark-1.1.4.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} pypy3 ) + +inherit distutils-r1 + +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/ +" +SRC_URI="mirror://pypi/${PN:0:1}/lark/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +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 +}