From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id ECC9A158087 for ; Wed, 6 Oct 2021 12:16:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 32555E094F; Wed, 6 Oct 2021 12:16:01 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 18F7AE094F for ; Wed, 6 Oct 2021 12:16:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 35790342AC5 for ; Wed, 6 Oct 2021 12:16:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B87F2DC for ; Wed, 6 Oct 2021 12:15:58 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1633522538.b1285363d5455d15dcd837700a6f45338b0b2b57.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/grpcio/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/grpcio/Manifest dev-python/grpcio/grpcio-1.41.0.ebuild X-VCS-Directories: dev-python/grpcio/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: b1285363d5455d15dcd837700a6f45338b0b2b57 X-VCS-Branch: master Date: Wed, 6 Oct 2021 12:15:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8a1cb6b8-cea2-4a0b-91b9-4cf34436fda1 X-Archives-Hash: c5e0f2003e3cdc2dd3887f11e1249fea commit: b1285363d5455d15dcd837700a6f45338b0b2b57 Author: Arthur Zamarin gentoo org> AuthorDate: Wed Oct 6 12:08:09 2021 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Wed Oct 6 12:15:38 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1285363 dev-python/grpcio: add 1.41.0, enable py3.10 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/grpcio/Manifest | 1 + dev-python/grpcio/grpcio-1.41.0.ebuild | 47 ++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/dev-python/grpcio/Manifest b/dev-python/grpcio/Manifest index 4da9bd27415..a17d9904222 100644 --- a/dev-python/grpcio/Manifest +++ b/dev-python/grpcio/Manifest @@ -1 +1,2 @@ DIST grpcio-1.38.1.tar.gz 21392075 BLAKE2B 92f1ad9e119fe346bc1f8f10ffe7067fb736c975ecd276eb8ab37a3b25d0a818fff76cec164db5745ac157ba7b94b841c6e66bb332d9f3b2c08974cab415a973 SHA512 c4f831ee654eec78f01c099fa5a6d9dc7e9551b1db5e5c89e3b8bd4e5c3bae622aee32cac9212bb60bc1baec98e4a49f8e18c0043bc90d1144729dee337072f9 +DIST grpcio-1.41.0.tar.gz 21214188 BLAKE2B ac534e34cc5ccf810c1d2006d11d18dd067f0eff68724375f68710dcfe63f016adc467d2c1453e310ac531ec03f2dfd5b0dd8ccc14a6dab94b1c5815b6e3a0ee SHA512 714c1da865864df994540ccc48e73e709f63ceb8617119e67b463f647783d65222b8ef760e2ac1ebaab0fe43442382c2859d796c8a30d6e1eaf511b7dac515a7 diff --git a/dev-python/grpcio/grpcio-1.41.0.ebuild b/dev-python/grpcio/grpcio-1.41.0.ebuild new file mode 100644 index 00000000000..cf5915184db --- /dev/null +++ b/dev-python/grpcio/grpcio-1.41.0.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)" +}