Merge updates from master

This commit is contained in:
Repository mirror & CI 2025-12-02 04:45:52 +00:00
commit bb5bf2c2ee
No known key found for this signature in database
GPG Key ID: 7C2AC09CD98F2EDF
7 changed files with 0 additions and 225 deletions

View File

@ -1,5 +1,2 @@
DIST grpc-1.73.1.gh.tar.gz 14876868 BLAKE2B 6321e16b4ebee97c8482be8756700de6409bcaf3eac5be0765b021672560fd9d063385fd6c3c03855134dd26157b1183efe38e99acdab72b31e149478b52c4de SHA512 66e66828de7c95d3eb83bcba369f9c73be89044a5a755f99132de1694b08b72ebc848b33c73fdeed816174f1fc44e407be094237fcb4c5bc9732019cb3fae1b5
DIST grpc-1.74.0.gh.tar.gz 15014902 BLAKE2B 1c024dd44053cc076d8c3d42b9aa642120222ba36fb816a7be31b9e72b12fe1c14e2d8d81db38c1ea89a57589ebc6153d6089b32c0cbc4100d8b70b579bb42fe SHA512 2b8e726743336ad33157705761159ae4f096209781d7c05cf0b2699852604dde28878f60f3028e08f19db7d8f7c003dc342594a387a9da55db67d39180fdc010
DIST grpc-1.75.0.gh.tar.gz 15248921 BLAKE2B 4f26e82e2af806545622d45efaac07e1cb271edb6335fc6a1a968f0f2789a82c4c1713ad11ff61a0abf72b5fe9e91ab671c457e5c650d877c8a57d2fd2e11be7 SHA512 8cd7854185e2b8156860ed6f652b81041986fb7aee6cfb4cc35a9b63a218ae849c79a7de4fa003e89b1aa4e0e0a89f01630ab5f259ee34e4e1882d8d9c4cd4b0
DIST grpc-1.75.1.gh.tar.gz 15252613 BLAKE2B 5919ed80a7d723875b586ec9ed46e9f2921223dc459403184c35502a7768d9d7ead978a302b4b9d15fa3645c088a6344c6488d519ea7e9f9a7889465264a0467 SHA512 ffc3fde817f60e151cb2d2c0980485faf15270c12f2ec5f1228ef595d019ddf3c5e977f974cb8d5911010e0083652edddade1e999155a2fa2e72c3fd3a1aefb2
DIST grpc-1.76.0.gh.tar.gz 15387277 BLAKE2B 529effe73d8a8f0a07b18127c05f3d9752294ffbba9b44470974905ce6a458bd2d7cbb70be59c1c22d32b56151a3f2c891b815b5eb0d8a381bf7744ceb513d0a SHA512 6338448d7c0fc78c38480f1fafd7605d031b600a702df3771a9d1b1236da7bf97a93dbdbc2d93d12d395411dc2f2ac57587ad1b697c4b2a5ac56fb8af1184501

View File

@ -1,46 +0,0 @@
# Copyright 2024-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..14} )
inherit distutils-r1
MY_P=grpc-${PV}
DESCRIPTION="Reference package for GRPC Python status proto mapping"
HOMEPAGE="
https://grpc.io/
https://github.com/grpc/grpc/
https://pypi.org/project/grpcio-status/
"
SRC_URI="
https://github.com/grpc/grpc/archive/v${PV}.tar.gz
-> ${MY_P}.gh.tar.gz
"
S=${WORKDIR}/${MY_P}/src/python/grpcio_status
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm64 x86"
RDEPEND="
>=dev-python/grpcio-${PV}[${PYTHON_USEDEP}]
>=dev-python/googleapis-common-protos-1.5.5[${PYTHON_USEDEP}]
<dev-python/protobuf-7[${PYTHON_USEDEP}]
>=dev-python/protobuf-6.30.0[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/coverage[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
python_test() {
cd "${WORKDIR}/${MY_P}/src/python/grpcio_tests" || die
epytest tests{,_aio}/status
}

View File

@ -1,46 +0,0 @@
# Copyright 2024-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..14} )
inherit distutils-r1
MY_P=grpc-${PV}
DESCRIPTION="Reference package for GRPC Python status proto mapping"
HOMEPAGE="
https://grpc.io/
https://github.com/grpc/grpc/
https://pypi.org/project/grpcio-status/
"
SRC_URI="
https://github.com/grpc/grpc/archive/v${PV}.tar.gz
-> ${MY_P}.gh.tar.gz
"
S=${WORKDIR}/${MY_P}/src/python/grpcio_status
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm64 x86"
RDEPEND="
>=dev-python/grpcio-${PV}[${PYTHON_USEDEP}]
>=dev-python/googleapis-common-protos-1.5.5[${PYTHON_USEDEP}]
<dev-python/protobuf-7[${PYTHON_USEDEP}]
>=dev-python/protobuf-6.31.1[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/coverage[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
python_test() {
cd "${WORKDIR}/${MY_P}/src/python/grpcio_tests" || die
epytest tests{,_aio}/status
}

View File

@ -1,46 +0,0 @@
# Copyright 2024-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..14} )
inherit distutils-r1
MY_P=grpc-${PV}
DESCRIPTION="Reference package for GRPC Python status proto mapping"
HOMEPAGE="
https://grpc.io/
https://github.com/grpc/grpc/
https://pypi.org/project/grpcio-status/
"
SRC_URI="
https://github.com/grpc/grpc/archive/v${PV}.tar.gz
-> ${MY_P}.gh.tar.gz
"
S=${WORKDIR}/${MY_P}/src/python/grpcio_status
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
RDEPEND="
>=dev-python/grpcio-${PV}[${PYTHON_USEDEP}]
>=dev-python/googleapis-common-protos-1.5.5[${PYTHON_USEDEP}]
<dev-python/protobuf-7[${PYTHON_USEDEP}]
>=dev-python/protobuf-6.31.1[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/coverage[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
python_test() {
cd "${WORKDIR}/${MY_P}/src/python/grpcio_tests" || die
epytest tests{,_aio}/status
}

View File

@ -1,3 +1,2 @@
DIST lark-1.2.2.tar.gz 252132 BLAKE2B 175f51930972f17051af6fefdf71ef4602f126d373888f30a630a703d038abe9bb2706da80564c72f19273f7d0bfbe351ab34e9d72fa1ad9dd7181232eefe61e SHA512 77cf3abf26b827cb60eae4c193de0c98780df7dfa3daa1c21ca5d73bc16387d77561d57e8a20c69ceaeb35531b7191fe765b9834587972e2697f3f07def96b6c
DIST lark-1.3.0.tar.gz 259551 BLAKE2B 0df524ef483efeb7ab42973a1c06146e4e50fb59c489606498cc7dd8db61be76c7cf12062981cdbe9121ad98a1f892940d0b4d592d63c7d8d1563de4feab2f65 SHA512 d20191bb98e823f078359ccf2f391f9d01c80d7481d3c8061f8a6a8083f069e11029017158f773683b8e662f6cc81075f5cb4965c5fecde3956f131e3938af3d
DIST lark-1.3.1.tar.gz 382732 BLAKE2B d08d8f73d79699f33795a46d1e8ae4aa86425e63df4dea19ce9aefaa18749bed5505f5dd657313e4d0463cd217f851494b939da7e134557f4a8f6c26321d7f42 SHA512 aee4ec6a6dd2e25801c66688861d0b25b68b7b916492764b3f8621dd70c33a93b364cb70d84ccac645cb7156892b90b503d6c79dedb9f656830c70a9b43549d0

View File

@ -1,38 +0,0 @@
https://github.com/lark-parser/lark/issues/1480
https://github.com/lark-parser/lark/pull/1483
From 4809ce89ca005b71f6db930c4aabf6496a502795 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hrn=C4=8Diar?= <thrnciar@redhat.com>
Date: Wed, 6 Nov 2024 16:47:11 +0100
Subject: [PATCH] Wrap functools.partial in staticmethod() to add compatibility
with Python 3.14
Fixes: #1480
---
tests/test_trees.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/test_trees.py b/tests/test_trees.py
index 1f69869e..07687ac0 100644
--- a/tests/test_trees.py
+++ b/tests/test_trees.py
@@ -254,7 +254,7 @@ def ab_method(self, a, b):
ab_partialmethod = partialmethod(ab_for_partialmethod, 1)
set_union = set(["a"]).union
static_add = staticmethod(add)
- partial_reduce_mul = partial(reduce, mul)
+ partial_reduce_mul = staticmethod(partial(reduce, mul))
custom_callable = CustomCallable()
@@ -355,8 +355,8 @@ def test(prefix, s, postfix):
@v_args(inline=True)
class T(Transformer):
- a = functools.partial(test, "@", postfix="!")
- b = functools.partial(lambda s: s + "!")
+ a = staticmethod(functools.partial(test, "@", postfix="!"))
+ b = staticmethod(functools.partial(lambda s: s + "!"))
res = T().transform(tree)
assert res.children == ["@TEST1!", "test2!"]

View File

@ -1,45 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
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 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos"
# dev-python/regex doesn't support pypy
BDEPEND="
test? (
dev-python/atomicwrites[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
dev-python/regex[${PYTHON_USEDEP}]
' 'python*')
)
"
PATCHES=(
# https://github.com/lark-parser/lark/pull/1483
"${FILESDIR}"/${P}-py314.patch
)
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
)
epytest
}