commit:     18fbb1898cd9bcb80f971375469bf47c7745381d
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed Oct  6 09:59:54 2021 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed Oct  6 10:31:26 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18fbb189

dev-python/proto-plus: initial import

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/proto-plus/Manifest                 |  1 +
 dev-python/proto-plus/metadata.xml             | 13 ++++++++++
 dev-python/proto-plus/proto-plus-1.19.2.ebuild | 34 ++++++++++++++++++++++++++
 3 files changed, 48 insertions(+)

diff --git a/dev-python/proto-plus/Manifest b/dev-python/proto-plus/Manifest
new file mode 100644
index 00000000000..a51ca87dab6
--- /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 00000000000..8ccb394b438
--- /dev/null
+++ b/dev-python/proto-plus/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="project">
+               <email>[email protected]</email>
+               <name>Python</name>
+       </maintainer>
+       <upstream>
+               <remote-id 
type="github">googleapis/proto-plus-python</remote-id>
+               <remote-id type="pypi">proto-plus</remote-id>
+               <doc>https://proto-plus-python.readthedocs.io/en/latest/</doc>
+       </upstream>
+</pkgmetadata>

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 00000000000..762787eae60
--- /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

Reply via email to