Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37722082
en ru br
ALT Linux repos
S:2.9.0-alt1

Group :: Development/Python3
RPM: python3-module-kazoo

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define oname kazoo

%def_disable check

Name: python3-module-kazoo
Version: 2.9.0
Release: alt1

Summary: Higher Level Zookeeper Client

License: ASLv2.0
Group: Development/Python3
Url: https://pypi.python.org/pypi/kazoo/

Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org>

# Source-url: %__pypi_url %oname

Source: %name-%version.tar

BuildArch: noarch

BuildRequires(pre): rpm-build-intro
BuildRequires(pre): rpm-build-python3
BuildRequires(pre): rpm-macros-sphinx3
BuildRequires(pre): python3-module-sphinx

# generated by epm --restore --dry-run from kazoo/setup.py install_requires

%py3_use six

%if_enabled check
# generated by epm --restore --dry-run from kazoo/setup.py tests_require
%py3_buildrequires pytest
%py3_buildrequires pytest-cov
%py3_buildrequires mock
%py3_buildrequires nose
%py3_buildrequires flake8
%py3_buildrequires objgraph
%endif


%description
kazoo implements a higher level API to Apache Zookeeper for Python
clients.

%package tests
Summary: Tests for %oname
Group: Development/Python3
Requires: %name = %EVR

%description tests
kazoo implements a higher level API to Apache Zookeeper for Python
clients.

This package contains tests for %oname.

%package docs
Summary: Documentation for %oname
Group: Development/Documentation
BuildArch: noarch

%description docs
kazoo implements a higher level API to Apache Zookeeper for Python
clients.

This packag contains documentation for %oname.

%prep
%setup

%prepare_sphinx3 .
ln -s ../objects.inv docs/

%build
%python3_build_debug

%install
%python3_install
%python3_prune
%make -C docs html SPHINXBUILD=sphinx-build-3

%check
python3 setup.py test
#nosetests3

%files
%doc *.md
%python3_sitelibdir/*
%if 0
%exclude %python3_sitelibdir/*/test*

%files tests
%python3_sitelibdir/*/test*
%endif

%files docs
%doc docs/_build/html/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin