diff --git a/.python-kazoo.metadata b/.python-kazoo.metadata new file mode 100644 index 0000000..bcc0223 --- /dev/null +++ b/.python-kazoo.metadata @@ -0,0 +1 @@ +31b230e155710b218181cc8fc6f4b35271688b29 SOURCES/kazoo-2.8.0.tar.gz diff --git a/SPECS/python-kazoo.spec b/SPECS/python-kazoo.spec new file mode 100644 index 0000000..d6b016e --- /dev/null +++ b/SPECS/python-kazoo.spec @@ -0,0 +1,158 @@ +# Created by pyp2rpm-1.0.1 +%global pypi_name kazoo + +Name: python-%{pypi_name} +Version: 2.8.0 +Release: 2%{?dist} +Summary: Higher level Python Zookeeper client + +License: ASL 2.0 +URL: https://kazoo.readthedocs.org +Source0: https://pypi.python.org/packages/source/k/%{pypi_name}/%{pypi_name}-%{version}.tar.gz +BuildArch: noarch + +%global _description\ +Kazoo is a Python library designed to make working with Zookeeper a more\ +hassle-free experience that is less prone to errors. + +%description %_description + +%package -n python3-%{pypi_name} +Summary: Higher level Python Zookeeper client +BuildRequires: python3-devel +BuildRequires: python3-setuptools +# For building documentation +BuildRequires: python3-sphinx +Requires: python3-six + +%description -n python3-%{pypi_name} +Kazoo is a Python library designed to make working with Zookeeper a more +hassle-free experience that is less prone to errors. + +%package doc +Summary: Documentation for %{name} +License: ASL 2.0 + +%description doc +Kazoo is a Python library designed to make working with Zookeeper a more +hassle-free experience that is less prone to errors. + +This package contains documentation in HTML format. + +%prep +%setup -q -n %{pypi_name}-%{version} +# Remove bundled egg-info +rm -rf %{pypi_name}.egg-info + +find . -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|' + +# generate html docs +sphinx-build docs html +# remove the sphinx-build leftovers +rm -rf html/.{doctrees,buildinfo} + + +%build +%py3_build + + +%install +%py3_install + +#delete tests +rm -fr %{buildroot}%{python3_sitelib}/%{pypi_name}/tests/ + +%files -n python3-%{pypi_name} +%doc README.md LICENSE +%{python3_sitelib}/%{pypi_name} +%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info + +%files doc +%doc html + + +%changelog +* Wed Jan 27 2021 Fedora Release Engineering - 2.8.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Aug 04 2020 Fabien Boucher - 2.8.0-1 +- Update to 2.8.0 (#1856000) + +* Wed Jul 29 2020 Fedora Release Engineering - 2.7.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue May 26 2020 Miro Hrončok - 2.7.0-2 +- Rebuilt for Python 3.9 + +* Mon Apr 27 2020 Javier Peña - 2.7.0-1 +- Update to version 2.7.0 + +* Thu Jan 30 2020 Fedora Release Engineering - 2.5.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Oct 03 2019 Miro Hrončok - 2.5.0-7 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Mon Aug 19 2019 Miro Hrončok - 2.5.0-6 +- Rebuilt for Python 3.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 2.5.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu May 09 2019 Miro Hrončok - 2.5.0-4 +- Subpackage python2-kazoo has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + +* Sat Feb 02 2019 Fedora Release Engineering - 2.5.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Jul 14 2018 Fedora Release Engineering - 2.5.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Jun 29 2018 Alan Pevec 2.5.0-1 +- Update to 2.5.0 + +* Tue Jun 19 2018 Miro Hrončok - 2.2.1-9 +- Rebuilt for Python 3.7 + +* Mon Feb 12 2018 Iryna Shcherbina - 2.2.1-8 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + +* Fri Feb 09 2018 Fedora Release Engineering - 2.2.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 2.2.1-6 +- Python 2 binary package renamed to python2-kazoo + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + +* Thu Jul 27 2017 Fedora Release Engineering - 2.2.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 2.2.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Dec 19 2016 Miro Hrončok - 2.2.1-3 +- Rebuild for Python 3.6 + +* Tue Jul 19 2016 Fedora Release Engineering - 2.2.1-2 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Thu Feb 11 2016 Alan Pevec - 2.2.1-1 +- Update to 2.2.1 + +* Thu Feb 04 2016 Fedora Release Engineering - 2.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Nov 10 2015 Fedora Release Engineering - 2.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 + +* Thu Jun 18 2015 Fedora Release Engineering - 2.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Tue Aug 26 2014 Nejc Saje - 2.0-2 +- Remove documentation's dependency on the base package. + +* Thu Jul 31 2014 Nejc Saje - 2.0-1 +- Initial package. +