commit: 34366390abe503c4945e1c146c4d67d16a98e811 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> AuthorDate: Sun Nov 14 01:26:04 2021 +0000 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> CommitDate: Sun Nov 14 01:28:49 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34366390
dev-python/grpcio: add 1.41.1 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> dev-python/grpcio/Manifest | 1 + dev-python/grpcio/grpcio-1.41.1.ebuild | 47 ++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/dev-python/grpcio/Manifest b/dev-python/grpcio/Manifest index 6f5c5f725b3..0230ea85f95 100644 --- a/dev-python/grpcio/Manifest +++ b/dev-python/grpcio/Manifest @@ -1 +1,2 @@ DIST grpcio-1.41.0.tar.gz 21214188 BLAKE2B ac534e34cc5ccf810c1d2006d11d18dd067f0eff68724375f68710dcfe63f016adc467d2c1453e310ac531ec03f2dfd5b0dd8ccc14a6dab94b1c5815b6e3a0ee SHA512 714c1da865864df994540ccc48e73e709f63ceb8617119e67b463f647783d65222b8ef760e2ac1ebaab0fe43442382c2859d796c8a30d6e1eaf511b7dac515a7 +DIST grpcio-1.41.1.tar.gz 21241107 BLAKE2B 28600650352c92e215c9cfa150e73835b4dff3946628192bff7f5848c5e2600c37f563c7d1403fb119bebbdcaef4f5e36ac43c4f8609a8338983978501bc21f9 SHA512 555ab9e2524108efb60ec957d419e80e4abc07752bbd265cd1dee5ccd7c55141d9f2f88db6ba5c03d606e266cd72e4650d38316215da8d70358dad971be52fff diff --git a/dev-python/grpcio/grpcio-1.41.1.ebuild b/dev-python/grpcio/grpcio-1.41.1.ebuild new file mode 100644 index 00000000000..cf5915184db --- /dev/null +++ b/dev-python/grpcio/grpcio-1.41.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 multiprocessing prefix + +DESCRIPTION="High-performance RPC framework (python libraries)" +HOMEPAGE="https://grpc.io" +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-libs/openssl-1.0.2:0=[-bindist(-)] + >=dev-libs/re2-0.2021.04.01:= + >=dev-python/cython-0.28.3[${PYTHON_USEDEP}] + dev-python/protobuf-python[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + net-dns/c-ares:= + sys-libs/zlib:= +" + +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}/1.37.1-cc-flag-test-fix.patch" ) + +python_prepare_all() { + distutils-r1_python_prepare_all + hprefixify setup.py +} + +python_configure_all() { + # os.environ.get('GRPC_BUILD_WITH_BORING_SSL_ASM', True) + export GRPC_BUILD_WITH_BORING_SSL_ASM= + export GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY=1 + export GRPC_PYTHON_BUILD_SYSTEM_CARES=1 + export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1 + export GRPC_PYTHON_BUILD_WITH_SYSTEM_RE2=1 + export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1 + export GRPC_PYTHON_BUILD_WITH_CYTHON=1 + export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="$(makeopts_jobs)" +}