Blame SPECS/python-vine.spec

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