diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-10 12:51:44 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-10 12:51:44 +0100 |
commit | 9bdccb1eaad0b86fe10772348126c737c1afb4bf (patch) | |
tree | 6478f4525f8c0fdbc210aa2f31a03e1fb20af4e5 /dev-python/grpcio-tools | |
parent | ddb425327d2ab65454ead3c2e54a6bf54f9a27bd (diff) |
dev-python/grpcio{,-tools} : version bump
Diffstat (limited to 'dev-python/grpcio-tools')
-rw-r--r-- | dev-python/grpcio-tools/Manifest | 2 | ||||
-rw-r--r-- | dev-python/grpcio-tools/grpcio-tools-1.66.1.ebuild (renamed from dev-python/grpcio-tools/grpcio-tools-1.62.0.ebuild) | 21 |
2 files changed, 17 insertions, 6 deletions
diff --git a/dev-python/grpcio-tools/Manifest b/dev-python/grpcio-tools/Manifest index 36fc7269..9c2603a4 100644 --- a/dev-python/grpcio-tools/Manifest +++ b/dev-python/grpcio-tools/Manifest @@ -1 +1 @@ -DIST grpcio-tools-1.62.0.tar.gz 4613875 BLAKE2B 60c8d7c38f10a80ed5b420ecab312ea6f5ad384245194c4f6726783385d443c6354306bbef604230d3a81e9f2cc6885f76eb6a5beae4733279d6210c3fe6603d SHA512 c1691a705cea54056850e98caff37025e551b165b4042f6cab856319805e9507b9aaac5ceea35641f62ce619274faac735e4d2002d36e22b1ce22cf96269dc58 +DIST grpcio_tools-1.66.1.tar.gz 5134197 BLAKE2B b55eecb8fef4f529bb1cf616b71fd676d5cef27431d01cb5bc5920664e904c6f0a6b84ffb3ae067eebfc5a964fbe45ff18b89f74786a52c7d6b98232ee1521c3 SHA512 04cb1cd4280e938d9eec8b4c9ddd8d2cb815a6b8785968b6afa305612d60ead90c8162f522287d82a5bb4d335095918e4b2babaa7766db6f8fb821e5fbb07096 diff --git a/dev-python/grpcio-tools/grpcio-tools-1.62.0.ebuild b/dev-python/grpcio-tools/grpcio-tools-1.66.1.ebuild index 3ebdbe20..ac2c3223 100644 --- a/dev-python/grpcio-tools/grpcio-tools-1.62.0.ebuild +++ b/dev-python/grpcio-tools/grpcio-tools-1.66.1.ebuild @@ -3,9 +3,9 @@ EAPI=8 +DISTUTILS_EXT=1 PYTHON_COMPAT=( python3_{9..12} ) DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 inherit distutils-r1 multiprocessing prefix pypi @@ -14,20 +14,31 @@ HOMEPAGE="https://grpc.io" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ~arm64 ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" RDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] ~dev-python/grpcio-${PV}[${PYTHON_USEDEP}] - <dev-python/protobuf-python-5[${PYTHON_USEDEP}] - >=dev-python/protobuf-python-4.21.3[${PYTHON_USEDEP}] + >=dev-python/protobuf-python-5.26.1[${PYTHON_USEDEP}] + <dev-python/protobuf-python-6[${PYTHON_USEDEP}] " DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + dev-python/cython[${PYTHON_USEDEP}] +" python_prepare_all() { distutils-r1_python_prepare_all hprefixify setup.py + + # use system protobuf + sed -r -i \ + -e '/^CC_FILES=\[/,/\]/{/^CC_FILES=\[/n;/\]/!d;}' \ + -e '/^CC_INCLUDES=\[/,/\]/{/^CC_INCLUDES=\[/n;/\]/!d;}' \ + -e "s@^(PROTO_INCLUDE=')[^']+'@\1/usr/include'@" \ + -e '/^PROTOBUF_SUBMODULE_VERSION=/d' \ + protoc_lib_deps.py } python_configure_all() { |