Blame SPECS/python-vine.spec

1a83f5
%global pypi_name vine
1a83f5
1a83f5
# Enable tests by default
1a83f5
%bcond_without tests
1a83f5
1a83f5
# docs depend on package sphinx_celery
1a83f5
# https://github.com/celery/sphinx_celery
1a83f5
%bcond_with docs
1a83f5
1a83f5
Name:           python-%{pypi_name}
1a83f5
Version:        5.0.0
1a83f5
Release:        3%{?dist}
1a83f5
Summary:        Promises, promises, promises
1a83f5
1a83f5
License:        BSD
1a83f5
URL:            http://github.com/celery/vine
1a83f5
Source0:        https://files.pythonhosted.org/packages/source/v/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
1a83f5
BuildArch:      noarch
1a83f5
1a83f5
%if %{with docs}
1a83f5
BuildRequires:  python3-sphinx
1a83f5
%endif
1a83f5
1a83f5
1a83f5
%description
1a83f5
%{summary}
1a83f5
1a83f5
1a83f5
%package -n     python3-%{pypi_name}
1a83f5
Summary:        Promises, promises, promises
1a83f5
1a83f5
BuildRequires:  python3-devel
1a83f5
BuildRequires:  python3-setuptools
1a83f5
%if %{with tests}
1a83f5
BuildRequires:  python3-pytest
1a83f5
BuildRequires:  python3-pytest-cov
1a83f5
BuildRequires:  python3-case
1a83f5
BuildRequires:  python3-mock
1a83f5
%endif
1a83f5
1a83f5
1a83f5
%description -n python3-%{pypi_name}
1a83f5
%{summary}
1a83f5
1a83f5
%if %{with docs}
1a83f5
%package -n python-%{pypi_name}-doc
1a83f5
Summary:        vine documentation
1a83f5
%description -n python-%{pypi_name}-doc
1a83f5
Documentation for vine
1a83f5
%endif
1a83f5
1a83f5
%prep
1a83f5
%autosetup -n %{pypi_name}-%{version}
1a83f5
# Remove bundled egg-info
1a83f5
rm -rf %{pypi_name}.egg-info
1a83f5
1a83f5
%build
1a83f5
%py3_build
1a83f5
1a83f5
# docs depend on sphinx-celery
1a83f5
%if %{with docs}
1a83f5
# generate html docs
1a83f5
1a83f5
sphinx-build docs html
1a83f5
# remove the sphinx-build leftovers
1a83f5
rm -rf html/.{doctrees,buildinfo}
1a83f5
%endif
1a83f5
1a83f5
%install
1a83f5
%py3_install
1a83f5
1a83f5
1a83f5
%if %{with tests}
1a83f5
%check
1a83f5
py.test-3 -xv --cov=vine --cov-report=xml --no-cov-on-fail
1a83f5
%endif
1a83f5
1a83f5
%files -n python3-%{pypi_name}
1a83f5
%license LICENSE
1a83f5
%doc docs/templates/readme.txt README.rst
1a83f5
%{python3_sitelib}/%{pypi_name}
1a83f5
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
1a83f5
1a83f5
%if %{with docs}
1a83f5
%files -n python-%{pypi_name}-doc
1a83f5
%doc html
1a83f5
%endif
1a83f5
1a83f5
%changelog
1a83f5
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.0-3
1a83f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
1a83f5
1a83f5
* Wed Sep 30 2020 Frantisek Zatloukal <fzatlouk@redhat.com> - 5.0.0-2
1a83f5
- Enable tests
1a83f5
1a83f5
* Tue Sep 29 2020 Frantisek Zatloukal <fzatlouk@redhat.com> - 5.0.0-1
1a83f5
- python-vine 5.0.0
1a83f5
1a83f5
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-7
1a83f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
1a83f5
1a83f5
* Mon May 25 2020 Miro Hrončok <mhroncok@redhat.com> - 1.3.0-6
1a83f5
- Rebuilt for Python 3.9
1a83f5
1a83f5
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-5
1a83f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
1a83f5
1a83f5
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.3.0-4
1a83f5
- Rebuilt for Python 3.8.0rc1 (#1748018)
1a83f5
1a83f5
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.3.0-3
1a83f5
- Rebuilt for Python 3.8
1a83f5
1a83f5
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-2
1a83f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
1a83f5
1a83f5
* Tue Jul 02 2019 Nils Philippsen <nils@redhat.com> - 1.3.0-1
1a83f5
- Update to 1.3.0
1a83f5
1a83f5
* Fri Jun 28 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.0-3
1a83f5
- Subpackage python2-vine has been removed
1a83f5
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
1a83f5
1a83f5
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2
1a83f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
1a83f5
1a83f5
* Sat Jan 26 2019 Neal Gompa <ngompa13@gmail.com> - 1.2.0-1
1a83f5
- Update to 1.2.0
1a83f5
- Switch to using bconds for controlling build behaviors
1a83f5
1a83f5
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-2
1a83f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
1a83f5
1a83f5
* Mon Jul 09 2018 Matthias Runge <mrunge@redhat.com> - 1.1.4-1
1a83f5
- update to 1.1.4 (rhbz#1471577)
1a83f5
1a83f5
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.1.3-6
1a83f5
- Rebuilt for Python 3.7
1a83f5
1a83f5
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-5
1a83f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
1a83f5
1a83f5
* Wed Jan 31 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.1.3-4
1a83f5
- Update Python 2 dependency declarations to new packaging standards
1a83f5
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
1a83f5
1a83f5
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-3
1a83f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
1a83f5
1a83f5
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-2
1a83f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
1a83f5
1a83f5
* Tue Dec 27 2016 Matthias Runge <mrunge@redhat.com> - 1.1.3-1
1a83f5
- Initial package. (rhbz#1408869)