summaryrefslogtreecommitdiff
path: root/dev-python/etcd3
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/etcd3')
-rw-r--r--dev-python/etcd3/Manifest1
-rw-r--r--dev-python/etcd3/etcd3-0.12.0.ebuild44
-rw-r--r--dev-python/etcd3/metadata.xml11
3 files changed, 56 insertions, 0 deletions
diff --git a/dev-python/etcd3/Manifest b/dev-python/etcd3/Manifest
new file mode 100644
index 000000000000..5ffccd96749b
--- /dev/null
+++ b/dev-python/etcd3/Manifest
@@ -0,0 +1 @@
+DIST etcd3-0.12.0.tar.gz 63926 BLAKE2B adf6df5f1ced114387572c6a3361c7c57298b27be173fb91416ff989f7a252c81c1fcbe0bbbda3815102ad06fb2053d0585517ec75457a54e9617e61c6b53969 SHA512 d31cf0059036af91b489d6197fcda71314b5dcd068b6095212e1fec39d55b0bc4e943da3fdda6131fd1a6d48741334f5659e470c3284f0c6ab1a39d662d7d78a
diff --git a/dev-python/etcd3/etcd3-0.12.0.ebuild b/dev-python/etcd3/etcd3-0.12.0.ebuild
new file mode 100644
index 000000000000..ee23cd427f43
--- /dev/null
+++ b/dev-python/etcd3/etcd3-0.12.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+EPYTEST_DESELECT=(
+ tests/test_etcd3.py::TestClient::test_compact
+ tests/test_etcd3.py::TestClient::test_user_pwd_auth
+ tests/test_etcd3.py::TestEtcd3
+ tests/test_etcd3.py::TestAlarms
+)
+PYTHON_COMPAT=( python3_{7,8,9,10} )
+
+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-db/etcd
+ >=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}
+ 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
diff --git a/dev-python/etcd3/metadata.xml b/dev-python/etcd3/metadata.xml
new file mode 100644
index 000000000000..b15a54b02229
--- /dev/null
+++ b/dev-python/etcd3/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>lssndrbarbieri@gmail.com</email>
+ <name>Alessandro Barbieri</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">etcd3</remote-id>
+ </upstream>
+</pkgmetadata>