dev-python/etcd3: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2021-11-11 18:48:45 +01:00
parent 867f3d89ad
commit 497aee6557
3 changed files with 49 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_8 )
inherit distutils-r1
DESCRIPTION="Python client for the etcd API v3"
HOMEPAGE="
https://pypi.org/project/etcd3
https://github.com/kragniz/python-etcd3
"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
>=dev-python/grpcio-1.2.0[${PYTHON_USEDEP}]
>=dev-python/tenacity-5.0.2[${PYTHON_USEDEP}]
>=dev-python/protobuf-python-3.6.1[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
BDEPEND="
test? (
>=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
>=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
dev-python/grpcio-tools[${PYTHON_USEDEP}]
dev-python/hypothesis[${PYTHON_USEDEP}]
dev-python/pifpaf[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest