From 18fbb1898cd9bcb80f971375469bf47c7745381d Mon Sep 17 00:00:00 2001 From: Arthur Zamarin Date: Wed, 6 Oct 2021 12:59:54 +0300 Subject: [PATCH] dev-python/proto-plus: initial import Signed-off-by: Arthur Zamarin --- dev-python/proto-plus/Manifest | 1 + dev-python/proto-plus/metadata.xml | 13 +++++++ .../proto-plus/proto-plus-1.19.2.ebuild | 34 +++++++++++++++++++ 3 files changed, 48 insertions(+) create mode 100644 dev-python/proto-plus/Manifest create mode 100644 dev-python/proto-plus/metadata.xml create mode 100644 dev-python/proto-plus/proto-plus-1.19.2.ebuild diff --git a/dev-python/proto-plus/Manifest b/dev-python/proto-plus/Manifest new file mode 100644 index 0000000000000..a51ca87dab6cc --- /dev/null +++ b/dev-python/proto-plus/Manifest @@ -0,0 +1 @@ +DIST proto-plus-1.19.2.gh.tar.gz 61183 BLAKE2B 8c1c0a70ae573fc8c64004e4bd923f403bf82dbb3f9aef19239770fcd316e513ba11e6e47c56bda65c88e476072f0d90af02c83eb0fe8a4045cf3ceeccca3fc7 SHA512 c3cfb1b6aabeb4eab7f6c2c16551c1f9fbf29dc3199b496bc4b47b4b80cbe4684e5c97abe26fa4c1afd03c844a2e8f006f16c24932d2a7cf8190452943c2fad0 diff --git a/dev-python/proto-plus/metadata.xml b/dev-python/proto-plus/metadata.xml new file mode 100644 index 0000000000000..8ccb394b4380e --- /dev/null +++ b/dev-python/proto-plus/metadata.xml @@ -0,0 +1,13 @@ + + + + + python@gentoo.org + Python + + + googleapis/proto-plus-python + proto-plus + https://proto-plus-python.readthedocs.io/en/latest/ + + diff --git a/dev-python/proto-plus/proto-plus-1.19.2.ebuild b/dev-python/proto-plus/proto-plus-1.19.2.ebuild new file mode 100644 index 0000000000000..762787eae60de --- /dev/null +++ b/dev-python/proto-plus/proto-plus-1.19.2.ebuild @@ -0,0 +1,34 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..9} ) +inherit distutils-r1 + +DESCRIPTION="Beautiful, Pythonic protocol buffers" +HOMEPAGE="https://pypi.org/project/proto-plus/ https://github.com/googleapis/proto-plus-python" +SRC_URI=" + https://github.com/googleapis/proto-plus-python/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${PN}-python-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/protobuf-python[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/google-api-core[${PYTHON_USEDEP}] + dev-python/grpcio[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs \ + dev-python/sphinx_rtd_theme