From 604283e443e1757784c6b30b87e4fa4f3a06f536 Mon Sep 17 00:00:00 2001 From: Alfredo Moralejo Date: Sep 08 2021 23:37:31 +0000 Subject: Import python-daiquiri-1.5.0-10.el9 in CloudSIG xena --- diff --git a/.python-daiquiri.metadata b/.python-daiquiri.metadata new file mode 100644 index 0000000..fe05abd --- /dev/null +++ b/.python-daiquiri.metadata @@ -0,0 +1 @@ +288186953c862d11ec84e1cd4583dc3208c37cd1 SOURCES/daiquiri-1.5.0.tar.gz diff --git a/SPECS/python-daiquiri.spec b/SPECS/python-daiquiri.spec new file mode 100644 index 0000000..e6397b9 --- /dev/null +++ b/SPECS/python-daiquiri.spec @@ -0,0 +1,128 @@ +%global pypi_name daiquiri + +# Tests require python-json-logger package +# https://bugzilla.redhat.com/show_bug.cgi?id=1460757 + +Name: python-%{pypi_name} +Version: 1.5.0 +Release: 10%{?dist} +Summary: Library to configure Python logging easily + +License: ASL 2.0 +URL: https://github.com/jd/daiquiri +Source0: https://files.pythonhosted.org/packages/source/d/%{pypi_name}/%{pypi_name}-%{version}.tar.gz +BuildArch: noarch + + +%description +The %{pypi_name} library provides an easy way to configure Python logging. +It also provides some custom formatters and handlers. + +%package -n python3-%{pypi_name} +Summary: Library to configure Python logging easily + +BuildRequires: python3-devel +BuildRequires: python3-pbr +BuildRequires: python3-setuptools +BuildRequires: python3-testrepository +BuildRequires: python3-testtools +BuildRequires: python3-six >= 1.9.0 +BuildRequires: python3-json-logger +Requires: python3-json-logger +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +The %{pypi_name} library provides an easy way to configure Python logging. +It also provides some custom formatters and handlers. + + +%package -n python-%{pypi_name}-doc +Summary: daiquiri documentation + +BuildRequires: python3-sphinx + +%description -n python-%{pypi_name}-doc +Documentation for daiquiri + + +%prep +%autosetup -n %{pypi_name}-%{version} +# Remove bundled egg-info +rm -rf %{pypi_name}.egg-info + +%build +%py3_build +# generate html docs +sphinx-build doc/source html +# remove the sphinx-build leftovers +rm -rf html/.{doctrees,buildinfo} + +%install +%py3_install + +%check +PYTHON=python3 %{__python3} setup.py test + +%files -n python3-%{pypi_name} +%license LICENSE +%doc README.rst +%{python3_sitelib}/%{pypi_name} +%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info + +%files -n python-%{pypi_name}-doc +%doc html + +%changelog +* Wed Jan 27 2021 Fedora Release Engineering - 1.5.0-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 1.5.0-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue May 26 2020 Miro Hrončok - 1.5.0-8 +- Rebuilt for Python 3.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 1.5.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Oct 03 2019 Miro Hrončok - 1.5.0-6 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Mon Aug 19 2019 Miro Hrončok - 1.5.0-5 +- Rebuilt for Python 3.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 1.5.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Feb 02 2019 Fedora Release Engineering - 1.5.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Wed Oct 17 2018 Zbigniew Jędrzejewski-Szmek - 1.5.0-2 +- Subpackage python2-daiquiri has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + +* Sun Sep 16 2018 Haïkel Guémar - 1.5.0-1 +- Upstream 1.5.0 +- Fix FTFBS (RHBZ#1605649) + +* Fri Jul 13 2018 Fedora Release Engineering - 1.2.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 19 2018 Miro Hrončok - 1.2.1-4 +- Rebuilt for Python 3.7 + +* Fri Feb 09 2018 Fedora Release Engineering - 1.2.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jan 25 2018 Iryna Shcherbina - 1.2.1-2 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + +* Wed Jul 26 2017 Pradeep Kilambi - 1.2.1-1 +- Rebase to 1.2.1 + +* Mon Jun 12 2017 Haïkel Guémar - 0.1.0-1 +- Upstream 0.1.0 + +* Thu May 25 2017 Haïkel Guémar - 0.0.1-1 +- Initial package.