# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{12..14} ) inherit distutils-r1 flag-o-matic multiprocessing pypi MY_P=grpc-${PV} DESCRIPTION="HTTP/2-based RPC framework" HOMEPAGE=" https://grpc.io/ https://github.com/grpc/grpc/ https://pypi.org/project/grpcio/ " # Tests need other packages from the source tree, so use a GitHub # archive. sdist provides bundled library sources (git submodules). SRC_URI+=" test? ( https://github.com/grpc/grpc/archive/v${PV}.tar.gz -> ${MY_P}.gh.tar.gz $(pypi_sdist_url grpcio_tools) ) " LICENSE="Apache-2.0" SLOT="0" KEYWORDS="amd64 arm arm64 x86" DEPEND=" dev-libs/openssl:= net-dns/c-ares:= sys-libs/zlib:= " RDEPEND=" ${DEPEND} >=dev-python/typing-extensions-4.12[${PYTHON_USEDEP}]