summaryrefslogtreecommitdiff
path: root/dev-python/kazoo
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/kazoo')
-rw-r--r--dev-python/kazoo/Manifest6
-rw-r--r--dev-python/kazoo/kazoo-2.6.1.ebuild2
-rw-r--r--dev-python/kazoo/kazoo-2.7.0.ebuild49
-rw-r--r--dev-python/kazoo/metadata.xml5
4 files changed, 58 insertions, 4 deletions
diff --git a/dev-python/kazoo/Manifest b/dev-python/kazoo/Manifest
index b6ead59bd93d..0c4216c0a13f 100644
--- a/dev-python/kazoo/Manifest
+++ b/dev-python/kazoo/Manifest
@@ -1,3 +1,5 @@
DIST kazoo-2.6.1.tar.gz 157425 BLAKE2B af05ee5fb1d532ebc3352de004062f1ff976825f564212f2db76efc153566106ffa520745a8e8cc6a78ca2bf0d17556f978a6b462e4153e9b3ee5258e78a1d82 SHA512 613e8271bfd6c8f5ee976b6ee460478c7faad46b32995125a64312208b38755888690cd46b913ff44ba52aeb36de3ec3dd8e222985af77e99f43963a3eb48d48
-EBUILD kazoo-2.6.1.ebuild 1205 BLAKE2B a31aad552b30d5bb64bbc5a3be21fc9c0d9d4d6fdac5ed462df81412bbc92f705b8f468df7553ac86ce3c1886c86782f43d8d9d7f3f8ba29eee4abc914e246ac SHA512 fce59403c22a08333cc0c061366e3529339d735cc8388da19180735e5b9184f8982de97b15cf791bdeabf13e24b0cc1a17790a3fe6b2a8141db0d10787a25a70
-MISC metadata.xml 297 BLAKE2B 9d54836a5d2412aedec43028392651a245bcaf5824e2def08e2d07b660798285db8ec5f0d0d22959b64c1f92f4a3a9cfd42b614cd2699f0bbf235e99e3beb788 SHA512 77fd961f0d5f5914c484bdc8b8995b0bdcd3bd7fc38e9d567e342723386be62f63efeb7e0e322240f20e3457b312c40e7b6a209b960121a80971224079e1dbd9
+DIST kazoo-2.7.0.tar.gz 163552 BLAKE2B d117ef62b324d074afae5d17f12e2740ab26076ce8e9ea5b0ec15400d2a57ac89053c92675c7e82f1b54e33d30d6029765ec29a72ad537b5d5cfdca976803b5b SHA512 04c3acef723ce306537114ed0f67e96d6c4c638d5dad12e38fcbf1b4dc3e7a972ca0c950adfbbbec7deb8da910e03e867e26ccb83d39eb1381daf0cb5dd2ac6b
+EBUILD kazoo-2.6.1.ebuild 1215 BLAKE2B e5c07c8f5101d32555d79865687af23cd1fd64ee201fc56be1a2a9f68a7d8880b98836da2dbc195d05c0b240dab184fab3dbe104bb975b151a338de618bb689e SHA512 1e5ea79ec2afbef232b36a0b6a5cd807e86e86905c1dd40644254816d8c9f7746ef416a47aceb8ca0689fbc7501e4b41d76aacf06f3b224baea4e4d1108c7774
+EBUILD kazoo-2.7.0.ebuild 1217 BLAKE2B e79635c0c2ba16963c7899b73e8f4e960e294ad3729666d0961e031fcbbb7f50edd226d8d05e49e0b6a8f9c3b92ea7f7e4e79375113db932916cc732b91bb899 SHA512 549767e5b8492faae8688722cfabc7192652e358e11fa30c772b2e7f979e34140d80f2e8cbc1487d07759b9dcfc0f64fee67621a28e07cc2d8a2787bd06113bb
+MISC metadata.xml 379 BLAKE2B 4cd47b54e2c56abaa610aea46ff71e832e573fa0938085e0aab255d5e518a72705d019f4dbcbd41fb581773756c0c67764815cb61c56e25a8cbe029e5159a3ef SHA512 cb94df5977e6629916f02303ea83da8d0d556d23c7c2e0fd17c65ed88bce35d7f42d5e9649eba86dc62e222f1bf6aa8d9f65f839c37ef4188a70f18a607bba0e
diff --git a/dev-python/kazoo/kazoo-2.6.1.ebuild b/dev-python/kazoo/kazoo-2.6.1.ebuild
index d2233dcf8c20..1e43f82a01ed 100644
--- a/dev-python/kazoo/kazoo-2.6.1.ebuild
+++ b/dev-python/kazoo/kazoo-2.6.1.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_6 python3_8 )
+PYTHON_COMPAT=( python3_6 python3_7 python3_8 )
inherit distutils-r1
diff --git a/dev-python/kazoo/kazoo-2.7.0.ebuild b/dev-python/kazoo/kazoo-2.7.0.ebuild
new file mode 100644
index 000000000000..5dc5703f6694
--- /dev/null
+++ b/dev-python/kazoo/kazoo-2.7.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_6 python3_7 python3_8 )
+
+inherit distutils-r1
+
+DESCRIPTION="A high-level Python library that makes it easier to use Apache Zookeeper"
+HOMEPAGE="https://kazoo.readthedocs.org/ https://github.com/python-zk/kazoo/ https://pypi.org/project/kazoo/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="doc test"
+
+RDEPEND="
+ dev-python/six[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
+ test? (
+ dev-python/mock[${PYTHON_USEDEP}]
+ dev-python/nose[${PYTHON_USEDEP}]
+ dev-python/graphviz[${PYTHON_USEDEP}]
+ >=dev-python/objgraph-3.4.0[${PYTHON_USEDEP}]
+ )
+"
+
+# requires zookeeper running to test
+RESTRICT="test"
+
+python_compile_all() {
+ if use doc; then
+ sphinx-build -b html docs docs/_build/html || die
+ fi
+}
+
+python_test() {
+ ZOOKEEPER_VERSION="2.6.1" esetup.py test || die
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( docs/_build/html/. )
+ local DOCS=( {CHANGES,CONTRIBUTING,README}.md )
+ distutils-r1_python_install_all
+}
diff --git a/dev-python/kazoo/metadata.xml b/dev-python/kazoo/metadata.xml
index 0ac394c9ef1f..f896e6b8c889 100644
--- a/dev-python/kazoo/metadata.xml
+++ b/dev-python/kazoo/metadata.xml
@@ -1,7 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
+ <maintainer type="person">
+ <email>zmedico@gentoo.org</email>
+ <name>Zac Medico</name>
+ </maintainer>
<upstream>
<remote-id type="pypi">kazoo</remote-id>
<remote-id type="github">python-zk/kazoo</remote-id>