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 BF5F3158042 for ; Sun, 6 Oct 2024 02:30:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 77FD7E29AF; Sun, 6 Oct 2024 02:30:58 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 5DCFBE29AF for ; Sun, 6 Oct 2024 02:30:58 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 48C1A33BED4 for ; Sun, 6 Oct 2024 02:30:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6DFE119CB for ; Sun, 6 Oct 2024 02:30:55 +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: <1728178789.275fdbe0ef0b3d47481a38b39f4bfd1bc5e18fc3.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyparsing/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pyparsing/Manifest dev-python/pyparsing/pyparsing-3.2.0_rc1.ebuild X-VCS-Directories: dev-python/pyparsing/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 275fdbe0ef0b3d47481a38b39f4bfd1bc5e18fc3 X-VCS-Branch: master Date: Sun, 6 Oct 2024 02:30:55 +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: efd31963-679e-41de-999c-ffc96d3ae758 X-Archives-Hash: 50df321978b5ea651aafbe89fab875f8 commit: 275fdbe0ef0b3d47481a38b39f4bfd1bc5e18fc3 Author: Michał Górny gentoo org> AuthorDate: Sun Oct 6 01:39:49 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Oct 6 01:39:49 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=275fdbe0 dev-python/pyparsing: Bump to 3.2.0_rc1 Signed-off-by: Michał Górny gentoo.org> dev-python/pyparsing/Manifest | 1 + dev-python/pyparsing/pyparsing-3.2.0_rc1.ebuild | 58 +++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/dev-python/pyparsing/Manifest b/dev-python/pyparsing/Manifest index 879254bc4ed7..814771af06ea 100644 --- a/dev-python/pyparsing/Manifest +++ b/dev-python/pyparsing/Manifest @@ -1,2 +1,3 @@ DIST pyparsing-3.1.4.tar.gz 900231 BLAKE2B 121092316528a69f79a8fac5e903de513c4193bd00d5ef7e98dfcb09f3a48eb3384217ede39b0f954f58bdade8644931ce8cef41729539fc1be3dfb910b90be7 SHA512 b475e5571510cd7b07fecbc8ae583b1e75a6308b64018d2884570dfa461e0529b96d02d11403cecac41f92b5d802a5dd4bbf9f8321d58ffa2d24cb89b86652e1 DIST pyparsing-3.2.0b3.tar.gz 914295 BLAKE2B d542366991972641d5bda7b2d7c1df7de9239d4f8cfdae5ce68d6e763cbc8d5fe87d0bfea18d2b13a6b53d15fa1e97f0d0a9f73735fcb7599f1514f4e1c0e4a6 SHA512 8d743d79f5b099330c186a8a5671d284254db314648ce4f59ce28795122561489d1015419a8ad14dae46d62d1c0c7ffd72b366320ea1e84d4a13655bc8d62e95 +DIST pyparsing-3.2.0rc1.tar.gz 915074 BLAKE2B fd610f3bbbe4a7e775b028a66fea60457629d9a8e518cf03ad26efe77cd9dcae71a3e8d9406d23d1185c13777298ae42ea84b8f41ab238d30904c84e9a07806b SHA512 9832190566327684390e485d1ce2392e39bcc31f72ab31f0868b9a17c53b5ccafdb6195e985db32180f8e14be18644f5dfb139aea1b23cc4f0ced09168245e4c diff --git a/dev-python/pyparsing/pyparsing-3.2.0_rc1.ebuild b/dev-python/pyparsing/pyparsing-3.2.0_rc1.ebuild new file mode 100644 index 000000000000..bd3fdd7b49b7 --- /dev/null +++ b/dev-python/pyparsing/pyparsing-3.2.0_rc1.ebuild @@ -0,0 +1,58 @@ +# Copyright 2004-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Easy-to-use Python module for text parsing" +HOMEPAGE=" + https://github.com/pyparsing/pyparsing/ + https://pypi.org/project/pyparsing/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="examples" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_IGNORE=( + # railroad-diagrams not packaged (and not suitable for packaging yet) + tests/test_diagram.py + ) + local EPYTEST_DESELECT=( + # also railroad-diagrams + tests/test_examples.py::TestExamples::test_range_check + tests/test_examples.py::TestExamples::test_rosettacode + tests/test_unit.py::Test02_WithoutPackrat::testEmptyExpressionsAreHandledProperly + tests/test_unit.py::Test04_WithPackrat::testEmptyExpressionsAreHandledProperly + tests/test_unit.py::Test06_WithBoundedPackrat::testEmptyExpressionsAreHandledProperly + tests/test_unit.py::Test08_WithUnboundedPackrat::testEmptyExpressionsAreHandledProperly + tests/test_unit.py::Test09_WithLeftRecursionParsing::testEmptyExpressionsAreHandledProperly + tests/test_unit.py::Test10_WithLeftRecursionParsingBoundedMemo::testEmptyExpressionsAreHandledProperly + ) + + if ! has_version "dev-python/matplotlib[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + tests/test_matplotlib_cases.py + ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} + +python_install_all() { + if use examples; then + docompress -x /usr/share/doc/${PF}/examples + dodoc -r examples + fi + distutils-r1_python_install_all +}