dev-python/grpcio: readd py2

This commit is contained in:
nemunaire 2020-05-16 23:45:20 +02:00
parent 3fd25da589
commit 4e3050369e
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST grpcio-1.28.1.tar.gz 19511346 BLAKE2B 01ebdeddcba5efbb67880693ede04ccd828771fe73def24a91d882c28f5cf6f14215daca212df1d8bb9372f385aff1e31418870437c87343f218e7b78a06b04c SHA512 12feaee3816a5e7b20b648a144d37f7e550a057112f5460bc4ec016885461951148cd4d2900fbfc905f76059ef29ae4c4d1d5a3216e5e3a2d17048c8b45f394f
EBUILD grpcio-1.28.1.ebuild 982 BLAKE2B f950926f6931bd43d968f0d51be8d4d8fad6e2cf39e9983e0475afa740e0f560f8ea7a873f2c044dd993addcf42a45af53618547fd4e04c0a43ea5193549d7ff SHA512 2f70766fd32f8696353450ab7beeef34cc62b4725111960a33beddced3fa82f8c7415d6da4707b75e3f2fcb59c4be69970f50556851b3addf4620bbc2f694bea

View File

@ -0,0 +1,35 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
inherit distutils-r1 multiprocessing
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 ~arm64 ~ppc64 ~x86"
RDEPEND=">=dev-libs/openssl-1.0.2:0=[-bindist]
>=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}
dev-python/setuptools[${PYTHON_USEDEP}]
"
python_configure_all() {
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_SYSTEM_ZLIB=1
export GRPC_PYTHON_BUILD_WITH_CYTHON=1
export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="$(makeopts_jobs)"
}