Skip to content

Commit

Permalink
Merge pull request #2195 from blshkv/master
Browse files Browse the repository at this point in the history
grpcio-tools
  • Loading branch information
github-actions[bot] authored Jan 10, 2025
2 parents 9f10d9f + 2993098 commit a614321
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 262 deletions.
3 changes: 1 addition & 2 deletions dev-python/grpcio-tools/Manifest
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
DIST grpcio-tools-1.62.0.tar.gz 4613875 BLAKE2B 60c8d7c38f10a80ed5b420ecab312ea6f5ad384245194c4f6726783385d443c6354306bbef604230d3a81e9f2cc6885f76eb6a5beae4733279d6210c3fe6603d SHA512 c1691a705cea54056850e98caff37025e551b165b4042f6cab856319805e9507b9aaac5ceea35641f62ce619274faac735e4d2002d36e22b1ce22cf96269dc58
DIST grpcio_tools-1.65.2.tar.gz 5028990 BLAKE2B 96e141c620c6c7819dd9889263b0fe08f4abc93bbad50863e0513f85c4a140539e8aaef923fe502098234f1426a348c4b5b211998c7fcd952d280239a760ff8a SHA512 2b08fadaac4efda63bec88e1575062a6e88d2a187ee23cbad58eeed41612660dc9a2abfd37cf9b8025a287bdb5c7a82fb59d652391d6f026ac31d1a7487f0282
DIST grpcio_tools-1.67.0.tar.gz 5159163 BLAKE2B 54a7db77514033c4747d20a13fded114828fed23f649587c649f5ad2716d4bb31b80eeda560d55ae087a564cb9d34563a612cc91df581ae6b9a761f307828397 SHA512 f9644b4424aa68f1ae4d679c7b635db9bbfc0b493c76caf7d2e9fe0a49e5e81b6f146666c8dba3fc1d1c0db141f8fb362dd0ede0842c34cb178009412a672ec5
37 changes: 0 additions & 37 deletions dev-python/grpcio-tools/grpcio-tools-1.62.0.ebuild

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ HOMEPAGE="https://grpc.io"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
KEYWORDS="amd64 ~arm ~arm64 ~x86"

RDEPEND="
~dev-python/grpcio-${PV}[${PYTHON_USEDEP}]
Expand All @@ -32,16 +32,24 @@ python_prepare_all() {
distutils-r1_python_prepare_all
hprefixify setup.py

#absl/base/config.h ABSL_LTS_RELEASE_VERSION
# system: 20240722
#google/protobuf/wrappers.pb.h
# Protobuf C++ Version: 5.28.0
# PROTOBUF_VERSION
# protobuf/compiler/versions.h
# #define PROTOBUF_CPP_VERSION_STRING

# 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
# 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

# fix the include path
ln -s ../../../.. grpc_root
# ln -s ../../../.. grpc_root
}

python_configure_all() {
Expand Down
2 changes: 0 additions & 2 deletions dev-python/grpcio/Manifest

This file was deleted.

107 changes: 0 additions & 107 deletions dev-python/grpcio/files/1.62.0-cython3.patch

This file was deleted.

50 changes: 0 additions & 50 deletions dev-python/grpcio/grpcio-1.62.0.ebuild

This file was deleted.

47 changes: 0 additions & 47 deletions dev-python/grpcio/grpcio-1.65.2.ebuild

This file was deleted.

9 changes: 0 additions & 9 deletions dev-python/grpcio/metadata.xml

This file was deleted.

0 comments on commit a614321

Please sign in to comment.