From f5bab04f483e9b7d056bd9cbb4dc9f0cde4a0e73 Mon Sep 17 00:00:00 2001 From: rdobuilder Date: Jan 22 2024 07:46:13 +0000 Subject: Update to 5.1.0 Related-to: https://review.rdoproject.org/r/q/Iad721ff47846f6abf6cdeb4ce0e383b942ffa1ab --- diff --git a/.python-vine.metadata b/.python-vine.metadata new file mode 100644 index 0000000..e6d0a5d --- /dev/null +++ b/.python-vine.metadata @@ -0,0 +1 @@ +d38ebd756de15443303ba0c7ec0cd1631c18d5cc SOURCES/vine-5.1.0.tar.gz diff --git a/SOURCES/.gitignore b/SOURCES/.gitignore new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/SOURCES/.gitignore diff --git a/SPECS/python-vine.spec b/SPECS/python-vine.spec new file mode 100644 index 0000000..1127753 --- /dev/null +++ b/SPECS/python-vine.spec @@ -0,0 +1,193 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.3.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 1; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + +%global pypi_name vine + +# Enable tests by default +%bcond_without tests + +# docs depend on package sphinx_celery +# https://github.com/celery/sphinx_celery +%bcond_with docs + +Name: python-%{pypi_name} +Version: 5.1.0 +Release: %autorelease +Summary: Promises, promises, promises + +License: BSD +URL: http://github.com/celery/vine +Source0: https://files.pythonhosted.org/packages/source/v/%{pypi_name}/%{pypi_name}-%{version}.tar.gz +BuildArch: noarch + +%if %{with docs} +BuildRequires: python3-sphinx +%endif + + +%description +%{summary} + + +%package -n python3-%{pypi_name} +Summary: Promises, promises, promises + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +%if %{with tests} +BuildRequires: python3-pytest +BuildRequires: python3-pytest-cov +BuildRequires: python3-case +BuildRequires: python3-mock +%endif + + +%description -n python3-%{pypi_name} +%{summary} + +%if %{with docs} +%package -n python-%{pypi_name}-doc +Summary: vine documentation +%description -n python-%{pypi_name}-doc +Documentation for vine +%endif + +%prep +%autosetup -n %{pypi_name}-%{version} +# Remove bundled egg-info +rm -rf %{pypi_name}.egg-info + +%build +%py3_build + +# docs depend on sphinx-celery +%if %{with docs} +# generate html docs + +sphinx-build docs html +# remove the sphinx-build leftovers +rm -rf html/.{doctrees,buildinfo} +%endif + +%install +%py3_install + + +%if %{with tests} +%check +%pytest -xv --cov=vine --cov-report=xml --no-cov-on-fail +%endif + +%files -n python3-%{pypi_name} +%license LICENSE +%doc docs/templates/readme.txt README.rst +%{python3_sitelib}/%{pypi_name} +%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info + +%if %{with docs} +%files -n python-%{pypi_name}-doc +%doc html +%endif + +%changelog +* Mon Dec 04 2023 František Zatloukal - 5.1.0-1 +- python-vine 5.1.0 (Fixes RHBZ#2248068) + +* Fri Jul 21 2023 Fedora Release Engineering - 5.0.0-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue Jun 13 2023 Python Maint - 5.0.0-10 +- Rebuilt for Python 3.12 + +* Fri Jan 20 2023 Fedora Release Engineering - 5.0.0-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Jul 22 2022 Fedora Release Engineering - 5.0.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 13 2022 Python Maint - 5.0.0-7 +- Rebuilt for Python 3.11 + +* Fri Jan 21 2022 Fedora Release Engineering - 5.0.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Tue Jul 27 2021 Fedora Release Engineering - 5.0.0-5 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jun 04 2021 Python Maint - 5.0.0-4 +- Rebuilt for Python 3.10 + +* Wed Jan 27 2021 Fedora Release Engineering - 5.0.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Sep 30 2020 Frantisek Zatloukal - 5.0.0-2 +- Enable tests + +* Tue Sep 29 2020 Frantisek Zatloukal - 5.0.0-1 +- python-vine 5.0.0 + +* Wed Jul 29 2020 Fedora Release Engineering - 1.3.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon May 25 2020 Miro Hrončok - 1.3.0-6 +- Rebuilt for Python 3.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 1.3.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Oct 03 2019 Miro Hrončok - 1.3.0-4 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Mon Aug 19 2019 Miro Hrončok - 1.3.0-3 +- Rebuilt for Python 3.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 1.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Tue Jul 02 2019 Nils Philippsen - 1.3.0-1 +- Update to 1.3.0 + +* Fri Jun 28 2019 Miro Hrončok - 1.2.0-3 +- Subpackage python2-vine has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + +* Sat Feb 02 2019 Fedora Release Engineering - 1.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Jan 26 2019 Neal Gompa - 1.2.0-1 +- Update to 1.2.0 +- Switch to using bconds for controlling build behaviors + +* Sat Jul 14 2018 Fedora Release Engineering - 1.1.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Mon Jul 09 2018 Matthias Runge - 1.1.4-1 +- update to 1.1.4 (rhbz#1471577) + +* Tue Jun 19 2018 Miro Hrončok - 1.1.3-6 +- Rebuilt for Python 3.7 + +* Fri Feb 09 2018 Fedora Release Engineering - 1.1.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jan 31 2018 Iryna Shcherbina - 1.1.3-4 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + +* Thu Jul 27 2017 Fedora Release Engineering - 1.1.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 1.1.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Tue Dec 27 2016 Matthias Runge - 1.1.3-1 +- Initial package. (rhbz#1408869) +