From 52a89e49fcb25d62196aa9ec5894d812bac838da Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Thu, 10 Mar 2022 01:57:21 +0100 Subject: [PATCH] dev-python/zake: initial import Signed-off-by: Alessandro Barbieri --- 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(+) create mode 100644 dev-python/zake/Manifest create mode 100644 dev-python/zake/metadata.xml create mode 100644 dev-python/zake/zake-0.2.2.ebuild diff --git a/dev-python/zake/Manifest b/dev-python/zake/Manifest new file mode 100644 index 0000000000..ff57035421 --- /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 0000000000..6989d6f6e8 --- /dev/null +++ b/dev-python/zake/metadata.xml @@ -0,0 +1,25 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + +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). + + + yahoo/Zake + zake + + 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 0000000000..3ce6fb10a3 --- /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