dev-python/zake: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-03-10 01:57:21 +01:00
parent e1520787bc
commit 52a89e49fc
3 changed files with 58 additions and 0 deletions

1
dev-python/zake/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST zake-0.2.2.tar.gz 13544 BLAKE2B 622f56430a2451c24f687d319188d35cef62059a4bfd9983be323184de6f7b346d236e1fec8922a130b263296e3a1569aa1dc4f6dacbceff68c1dcba81401181 SHA512 40da54970553e2e560de2f76c54ab55287e29f99c53c41c2c50fa8642855f1632319aa80e77f4f2ae0a776b94667839385e6323a174cd76219420be71adf7484

View File

@@ -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>lssndrbarbieri@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>

View File

@@ -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