diff options
Diffstat (limited to 'dev-python/grpcio-tools')
-rw-r--r-- | dev-python/grpcio-tools/Manifest | 4 | ||||
-rw-r--r-- | dev-python/grpcio-tools/grpcio-tools-1.43.0-r1.ebuild (renamed from dev-python/grpcio-tools/grpcio-tools-1.43.0.ebuild) | 4 | ||||
-rw-r--r-- | dev-python/grpcio-tools/grpcio-tools-1.51.0.ebuild | 36 |
3 files changed, 41 insertions, 3 deletions
diff --git a/dev-python/grpcio-tools/Manifest b/dev-python/grpcio-tools/Manifest index 33a08568d861..6acc465b7acf 100644 --- a/dev-python/grpcio-tools/Manifest +++ b/dev-python/grpcio-tools/Manifest @@ -1,3 +1,5 @@ DIST grpcio-tools-1.43.0.tar.gz 2210483 BLAKE2B 5daab31940dc5a21fbfea0985f6056361375be1b45f1a00e9345dc25808050193e20c9316d2a2a18d9a5f503787506f6d76a3bdf95ac6b3b7525873076b9d1e0 SHA512 60a5fa62fc1a81b5a57b47aca212ed94913ca20c3c1055dac18101776177fc0b18cc480c7356332e3eb4cf7819634ddc53d2e77f7c4b582a0fa53e26053f3ed4 -EBUILD grpcio-tools-1.43.0.ebuild 791 BLAKE2B 04b759212d5f7e62e2fdad154a261cc071895e9bd3bb47ca84d44867a29135e0a234d7e56d5d561568bf964ec8b777f91a2fe9484bd36210fdb9d09b36428529 SHA512 aa28e6ee249ef8bfb85a751bd930aa6a7d0f47baf0e8867eaa4b652e299caa7ccd8ea26c4cb53dbb58dc42d5c7f52180fb2b1e3c93d69f206c48d23ab9ecf8a4 +DIST grpcio-tools-1.51.0.tar.gz 2254565 BLAKE2B 7486c7c62d691cb3cbaf02a68e73d6d94ee48396b26c4d46c22776396ba7d637c9b6738c00e19a99101e189e7092b2240adbf53ae9d32188dc813a9b0a49c25d SHA512 fa76fd970c399aed7639d6ce343834a5e7d76f2247cc99e59d0bf29844fb2f366bc9b8e2124d7c9dd9163953741c06015ded7f400b8e77d0cdad8ac291a7af83 +EBUILD grpcio-tools-1.43.0-r1.ebuild 794 BLAKE2B c63470e9b17d347cccacda2e860764af05504be7a2ce1eeb83649085b163c20e7fdd0e922aff1815c05305cc562acd0b1703d949be2e63eee5a66945d04087d7 SHA512 d0fea2bc1c4299de1ba3a08d38ded5a1fdbee91eaf092a91f438a5f222da4517d87eab874648b60f8c57462496fb28debf87208432598a8b098a717e31d8479d +EBUILD grpcio-tools-1.51.0.ebuild 848 BLAKE2B f297dfc086be476f277dbb71c1669e6b79071c3bab0b7d0bd6062ad352fc78d8c58d76ca81229a7fa6450e0c74fb9bd846f0c6ab5ffc1c8ef516baa2a2465aa1 SHA512 516a01f3759377657ccb5173cbe855213e71eb10d237eedbf9995be84efb8e252914615e1b872d9bfc4560a70eda367e67ab0dcb72f2ccc3c3b980ccb2c3e821 MISC metadata.xml 376 BLAKE2B e5cdaf58121264aa01fca1e7466b497ebdfccebcebef9ff8a6eab4378e5031115c3cf64469dfdd0902b8b1f76ab2ccbe460239627d3d0590e6ddd772c04d7639 SHA512 a55fa742c61014334fb41be9dba20bc42caf767bdddbcc92e227ac643d368668603a3b4f4402cb2393e0ae4af0fcb74fd5a6784c3a7be17afed8c21ab338b0bb diff --git a/dev-python/grpcio-tools/grpcio-tools-1.43.0.ebuild b/dev-python/grpcio-tools/grpcio-tools-1.43.0-r1.ebuild index e37b35397828..f4e92a2243c2 100644 --- a/dev-python/grpcio-tools/grpcio-tools-1.43.0.ebuild +++ b/dev-python/grpcio-tools/grpcio-tools-1.43.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -19,7 +19,7 @@ KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" RDEPEND=" dev-python/cython[${PYTHON_USEDEP}] ~dev-python/grpcio-${PV}[${PYTHON_USEDEP}] - dev-python/protobuf-python[${PYTHON_USEDEP}] + <dev-python/protobuf-python-4[${PYTHON_USEDEP}] " DEPEND="${RDEPEND}" diff --git a/dev-python/grpcio-tools/grpcio-tools-1.51.0.ebuild b/dev-python/grpcio-tools/grpcio-tools-1.51.0.ebuild new file mode 100644 index 000000000000..bb067461a7b0 --- /dev/null +++ b/dev-python/grpcio-tools/grpcio-tools-1.51.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 multiprocessing prefix + +DESCRIPTION="Protobuf code generator for gRPC" +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-python/cython[${PYTHON_USEDEP}] + ~dev-python/grpcio-${PV}[${PYTHON_USEDEP}] + <dev-python/protobuf-python-5[${PYTHON_USEDEP}] + >=dev-python/protobuf-python-4.21.3[${PYTHON_USEDEP}] +" + +DEPEND="${RDEPEND}" + +python_prepare_all() { + distutils-r1_python_prepare_all + hprefixify setup.py +} + +python_configure_all() { + export GRPC_PYTHON_BUILD_WITH_CYTHON=1 + export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="$(makeopts_jobs)" +} |