Nejc Saje cf49d7e
# Created by pyp2rpm-1.0.1
Nejc Saje cf49d7e
%global pypi_name kazoo
Nejc Saje cf49d7e
Nejc Saje cf49d7e
Name:           python-%{pypi_name}
a1b1155
Version:        2.8.0
75e8c40
Release:        5%{?dist}
Nejc Saje cf49d7e
Summary:        Higher level Python Zookeeper client
Nejc Saje cf49d7e
Nejc Saje cf49d7e
License:        ASL 2.0
Nejc Saje cf49d7e
URL:            https://kazoo.readthedocs.org
Alan Pevec 09f0b55
Source0:        https://pypi.python.org/packages/source/k/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
Nejc Saje cf49d7e
BuildArch:      noarch
Nejc Saje cf49d7e
270cd00
%global _description\
270cd00
Kazoo is a Python library designed to make working with Zookeeper a more\
Nejc Saje cf49d7e
hassle-free experience that is less prone to errors.
Nejc Saje cf49d7e
270cd00
%description %_description
270cd00
Nejc Saje cf49d7e
%package -n python3-%{pypi_name}
Nejc Saje cf49d7e
Summary:        Higher level Python Zookeeper client
Nejc Saje cf49d7e
BuildRequires:  python3-devel
Nejc Saje cf49d7e
BuildRequires:  python3-setuptools
Nejc Saje cf49d7e
# For building documentation
Nejc Saje cf49d7e
BuildRequires:  python3-sphinx
960e36b
Requires:       python3-six
Nejc Saje cf49d7e
Nejc Saje cf49d7e
%description -n python3-%{pypi_name}
Nejc Saje cf49d7e
Kazoo is a Python library designed to make working with Zookeeper a more
Nejc Saje cf49d7e
hassle-free experience that is less prone to errors.
Nejc Saje cf49d7e
Nejc Saje cf49d7e
%package doc
Nejc Saje cf49d7e
Summary:    Documentation for %{name}
Nejc Saje cf49d7e
License:    ASL 2.0
Nejc Saje cf49d7e
Nejc Saje cf49d7e
%description doc
Nejc Saje cf49d7e
Kazoo is a Python library designed to make working with Zookeeper a more
Nejc Saje cf49d7e
hassle-free experience that is less prone to errors.
Nejc Saje cf49d7e
Nejc Saje cf49d7e
This package contains documentation in HTML format.
Nejc Saje cf49d7e
Nejc Saje cf49d7e
%prep
Nejc Saje cf49d7e
%setup -q -n %{pypi_name}-%{version}
Nejc Saje cf49d7e
# Remove bundled egg-info
Nejc Saje cf49d7e
rm -rf %{pypi_name}.egg-info
Nejc Saje cf49d7e
6fecde3
find . -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|'
Nejc Saje cf49d7e
Nejc Saje cf49d7e
# generate html docs
6fecde3
sphinx-build docs html
Nejc Saje cf49d7e
# remove the sphinx-build leftovers
Nejc Saje cf49d7e
rm -rf html/.{doctrees,buildinfo}
Nejc Saje cf49d7e
Nejc Saje cf49d7e
Nejc Saje cf49d7e
%build
960e36b
%py3_build
Nejc Saje cf49d7e
Nejc Saje cf49d7e
Nejc Saje cf49d7e
%install
960e36b
%py3_install
Nejc Saje cf49d7e
Nejc Saje cf49d7e
#delete tests
Nejc Saje cf49d7e
rm -fr %{buildroot}%{python3_sitelib}/%{pypi_name}/tests/
Nejc Saje cf49d7e
Nejc Saje cf49d7e
%files -n python3-%{pypi_name}
Alan Pevec 642811c
%doc README.md LICENSE
Nejc Saje cf49d7e
%{python3_sitelib}/%{pypi_name}
6a77332
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
Nejc Saje cf49d7e
Alan Pevec 78eb114
%files doc
Alan Pevec 78eb114
%doc html
Nejc Saje cf49d7e
Nejc Saje cf49d7e
Nejc Saje cf49d7e
%changelog
75e8c40
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.0-5
75e8c40
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
75e8c40
e15fb88
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.0-4
e15fb88
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
e15fb88
ee544b5
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.8.0-3
ee544b5
- Rebuilt for Python 3.10
ee544b5
b62f881
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.0-2
b62f881
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
b62f881
a1b1155
* Tue Aug 04 2020 Fabien Boucher <fboucher@redhat.com> - 2.8.0-1
a1b1155
- Update to 2.8.0 (#1856000)
a1b1155
47c89f3
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.0-3
47c89f3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
47c89f3
15bf00f
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2.7.0-2
15bf00f
- Rebuilt for Python 3.9
15bf00f
960e36b
* Mon Apr 27 2020 Javier Peña <jpena@redhat.com> - 2.7.0-1
960e36b
- Update to version 2.7.0
960e36b
4ec0603
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.0-8
4ec0603
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
4ec0603
eb7fc1b
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2.5.0-7
eb7fc1b
- Rebuilt for Python 3.8.0rc1 (#1748018)
eb7fc1b
16a1762
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.5.0-6
16a1762
- Rebuilt for Python 3.8
16a1762
3aeae22
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.0-5
3aeae22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
3aeae22
6fecde3
* Thu May 09 2019 Miro Hrončok <mhroncok@redhat.com> - 2.5.0-4
6fecde3
- Subpackage python2-kazoo has been removed
6fecde3
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
6fecde3
18527e0
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.0-3
18527e0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
18527e0
b80cd1b
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.0-2
b80cd1b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
b80cd1b
Alan Pevec 642811c
* Fri Jun 29 2018 Alan Pevec <alan.pevec@redhat.com> 2.5.0-1
Alan Pevec 642811c
- Update to 2.5.0
Alan Pevec 642811c
c60f0fc
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2.2.1-9
c60f0fc
- Rebuilt for Python 3.7
c60f0fc
9106202
* Mon Feb 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.2.1-8
9106202
- Update Python 2 dependency declarations to new packaging standards
9106202
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
9106202
d90d5ab
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.1-7
d90d5ab
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
d90d5ab
270cd00
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.2.1-6
270cd00
- Python 2 binary package renamed to python2-kazoo
270cd00
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
270cd00
03f9382
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.1-5
03f9382
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
03f9382
f88b53c
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.1-4
f88b53c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
f88b53c
8dc7676
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 2.2.1-3
8dc7676
- Rebuild for Python 3.6
8dc7676
f8d3493
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-2
f8d3493
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
f8d3493
Alan Pevec 09f0b55
* Thu Feb 11 2016 Alan Pevec <alan.pevec@redhat.com> - 2.2.1-1
Alan Pevec 09f0b55
- Update to 2.2.1
Alan Pevec 09f0b55
0ae386b
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-5
0ae386b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
0ae386b
4d75a46
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0-4
4d75a46
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
4d75a46
cb26de3
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0-3
cb26de3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
cb26de3
Nejc Saje 016a8a7
* Tue Aug 26 2014 Nejc Saje <nsaje@redhat.com> - 2.0-2
Nejc Saje 016a8a7
- Remove documentation's dependency on the base package.
Nejc Saje 016a8a7
Nejc Saje cf49d7e
* Thu Jul 31 2014 Nejc Saje <nsaje@redhat.com> - 2.0-1
Nejc Saje cf49d7e
- Initial package.
Nejc Saje cf49d7e