commit:     52a89e49fcb25d62196aa9ec5894d812bac838da
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Thu Mar 10 00:57:21 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Thu Mar 10 01:05:47 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=52a89e49

dev-python/zake: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-python/zake/Manifest          |  1 +
 dev-python/zake/metadata.xml      | 25 +++++++++++++++++++++++++
 dev-python/zake/zake-0.2.2.ebuild | 32 ++++++++++++++++++++++++++++++++
 3 files changed, 58 insertions(+)

diff --git a/dev-python/zake/Manifest b/dev-python/zake/Manifest
new file mode 100644
index 000000000..ff5703542
--- /dev/null
+++ b/dev-python/zake/Manifest
@@ -0,0 +1 @@
+DIST zake-0.2.2.tar.gz 13544 BLAKE2B 
622f56430a2451c24f687d319188d35cef62059a4bfd9983be323184de6f7b346d236e1fec8922a130b263296e3a1569aa1dc4f6dacbceff68c1dcba81401181
 SHA512 
40da54970553e2e560de2f76c54ab55287e29f99c53c41c2c50fa8642855f1632319aa80e77f4f2ae0a776b94667839385e6323a174cd76219420be71adf7484

diff --git a/dev-python/zake/metadata.xml b/dev-python/zake/metadata.xml
new file mode 100644
index 000000000..6989d6f6e
--- /dev/null
+++ b/dev-python/zake/metadata.xml
@@ -0,0 +1,25 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <maintainer type="person">
+    <email>lssndrbarbi...@gmail.com</email>
+    <name>Alessandro Barbieri</name>
+  </maintainer>
+  <longdescription lang="en">
+A python package that works to provide a nice set of testing utilities for the 
kazoo library.
+
+It includes the following functionality:
+
+    Storage access (for viewing what was saved/created).
+    Kazoo mostly compatible client API.
+    Sync/transaction/create/get/delete... commands.
+    Listener support.
+    And more...
+
+It simplifies testing by providing a client that has a similar API as the 
kazoo client so that your tests (or applications/libraries that use kazoo) do 
not require a real zookeeper server to be tested with (since this is not 
available in all testing environments).
+  </longdescription>
+  <upstream>
+    <remote-id type="github">yahoo/Zake</remote-id>
+    <remote-id type="pypi">zake</remote-id>
+  </upstream>
+</pkgmetadata>

diff --git a/dev-python/zake/zake-0.2.2.ebuild 
b/dev-python/zake/zake-0.2.2.ebuild
new file mode 100644
index 000000000..3ce6fb10a
--- /dev/null
+++ b/dev-python/zake/zake-0.2.2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Provide a nice set of testing utilities for the kazoo library"
+HOMEPAGE="
+       https://pypi.org/project/zake/
+       https://github.com/yahoo/Zake
+"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND=">=dev-python/kazoo-1.3.1[${PYTHON_USEDEP}]"
+DEPEND="
+       ${REDEPEND}
+       dev-python/six[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       test? (
+               dev-python/testtools[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests nose

Reply via email to