From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-python/kazoo/Manifest | 5 +++++ dev-python/kazoo/kazoo-2.2.1.ebuild | 43 +++++++++++++++++++++++++++++++++++++ dev-python/kazoo/metadata.xml | 15 +++++++++++++ 3 files changed, 63 insertions(+) create mode 100644 dev-python/kazoo/Manifest create mode 100644 dev-python/kazoo/kazoo-2.2.1.ebuild create mode 100644 dev-python/kazoo/metadata.xml (limited to 'dev-python/kazoo') diff --git a/dev-python/kazoo/Manifest b/dev-python/kazoo/Manifest new file mode 100644 index 000000000000..fc47057fd130 --- /dev/null +++ b/dev-python/kazoo/Manifest @@ -0,0 +1,5 @@ +DIST kazoo-2.2.1.tar.gz 108037 SHA256 525a9959b98a1203530bee01446b365a9f7f1caa69399af0151127178941eb82 SHA512 a2590441a9e3bfb3d14913051453e195d275b82bd6a4ce5e32d0a7bbc09b00e475ffac68fd06cb065aa439ea580b61bbeaa3ccfefa413723e46f4b1d3ce05707 WHIRLPOOL 6e43b27683382f4fb4054b85017e94e4fddd2d1416eea1566b87fc4cbc3edce37093e8c001211d324162d35f4c0f0da3632de1cf543eef2b171971a0f05b7357 +EBUILD kazoo-2.2.1.ebuild 1122 SHA256 a8eb026157dde9fe0ad86d84696319129c3b274017fe1e779ab2ae1f5e95c2b1 SHA512 96521ff62d6dcfea9b143ce292a133a49d407da32029eaf6ac152cbb9c6a7a6b90f61d61340296b204ed1e032ae61e2b5ff148fa50c29d2682fa63c0ca60e282 WHIRLPOOL 20fe33d4983dee79293df43af04db2dcfaa0de44ee82af578e28d1f2349ad35fd3c2368f3ce4f777a05838a2ed2657741dd97646ec917bd0d02e06c2c83d4d55 +MISC ChangeLog 3466 SHA256 c84533d6d80b525719bfea1a1506ffdd22df486e50e00ae2856b95c41843973e SHA512 38d679beff76e969a69893acc628fdbefcfa103a88f84ac98e90e47d6780de0f9d3f6bc9f658a4c4e081936ed11139634e42897acca54962b6e1f3ad11c1037a WHIRLPOOL 9acce96497d9074e27579d302a2cf84d867fb6b242fb5b5c378c8df261c5121553dbad4db4041f28451edcf7e5a8ee188ee466ebd53db0cbcd211b53f1a6a216 +MISC ChangeLog-2015 1275 SHA256 0286650dac18e17c191eb2542057c0a3891f1120ed64670fce0dbef2254286fc SHA512 01dfea962050793cc6fe12dc54661aeb962675e0b5bf74242909d5c25344c985f80841ea654881bb1670a627d6b010ab3374d7a3f110c10bc607da2e6a128698 WHIRLPOOL 6268d7f9ceea66d78585ba57423cbdda1a3601781285f060203bef2643a558ea059b89a00dfb97b6e6899d0aa1224b5262d37560186b8fe263fa2532b2f52285 +MISC metadata.xml 467 SHA256 944c378def6995b6223d1e16eabed35f2d3973d79f28b519409cb89c03dacedf SHA512 3028edb8107a980e1573f283e9f47a408b9c4ef9bea0ee452f25d908665220ea6cd43b70e2d85d339d553e60426f9d45a093eece38cd0a67f2f416db7580a6d6 WHIRLPOOL a211825e2990ba53b9dc009e0fa30d19e1d5cda5ef9449c038e91caf7213df989870bf8e936b0c84d561f4176f6743e05d373d1805b840b9a1e7b4b26bd6ce36 diff --git a/dev-python/kazoo/kazoo-2.2.1.ebuild b/dev-python/kazoo/kazoo-2.2.1.ebuild new file mode 100644 index 000000000000..178fd95b55f0 --- /dev/null +++ b/dev-python/kazoo/kazoo-2.2.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) + +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.python.org/pypi/kazoo/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 ~arm64 x86" +IUSE="doc gevent test" + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + gevent? ( dev-python/gevent[$(python_gen_usedep 'python2*')] ) +" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( dev-python/mock[${PYTHON_USEDEP}] ) +" + +# not all test deps are in the tree +RESTRICT="test" + +python_compile_all() { + use doc && { sphinx-build -b html docs docs/_build/html || die; } +} + +python_test() { + esetup.py test +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + local DOCS=( {CHANGES,CONTRIBUTING,README}.rst ) + distutils-r1_python_install_all +} diff --git a/dev-python/kazoo/metadata.xml b/dev-python/kazoo/metadata.xml new file mode 100644 index 000000000000..a186ebb8fe6e --- /dev/null +++ b/dev-python/kazoo/metadata.xml @@ -0,0 +1,15 @@ + + + + + python@gentoo.org + Python + + + Enable support for the gevent based handler + + + kazoo + python-zk/kazoo + + -- cgit v1.2.3