|
|
18b6553 |
%{!?upstream_version: %global upstream_version %{version}%{?milestone}}
|
|
|
dd7228d |
|
|
|
a0ffdcf |
%global pypi_name taskflow
|
|
|
a0ffdcf |
|
|
|
18b6553 |
%global with_doc 1
|
|
|
18b6553 |
|
|
|
2b1cdd5 |
%global common_desc \
|
|
|
2b1cdd5 |
A library to do [jobs, tasks, flows] in a HA manner using \
|
|
|
2b1cdd5 |
different backends to be used with OpenStack projects.
|
|
|
2b1cdd5 |
|
|
|
a0ffdcf |
Name: python-%{pypi_name}
|
|
|
2fcdb5c |
Version: 4.1.0
|
|
|
883319c |
Release: 3%{?dist}
|
|
|
a0ffdcf |
Summary: Taskflow structured state management library
|
|
|
a0ffdcf |
|
|
|
a0ffdcf |
License: ASL 2.0
|
|
|
a0ffdcf |
URL: https://launchpad.net/taskflow
|
|
|
18b6553 |
Source0: https://tarballs.openstack.org/%{pypi_name}/%{pypi_name}-%{upstream_version}.tar.gz
|
|
|
a0ffdcf |
BuildArch: noarch
|
|
|
a0ffdcf |
|
|
|
dd7228d |
%description
|
|
|
2b1cdd5 |
%{common_desc}
|
|
|
dd7228d |
|
|
|
18b6553 |
|
|
|
2fcdb5c |
%package -n python3-%{pypi_name}
|
|
|
dd7228d |
Summary: Taskflow structured state management library
|
|
|
2fcdb5c |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
2fcdb5c |
BuildRequires: python3-devel
|
|
|
2fcdb5c |
BuildRequires: python3-pbr
|
|
|
18b6553 |
BuildRequires: git
|
|
|
2fcdb5c |
BuildRequires: python3-babel
|
|
|
2fcdb5c |
|
|
|
2fcdb5c |
Requires: python3-cachetools >= 2.0.0
|
|
|
2fcdb5c |
Requires: python3-jsonschema
|
|
|
2fcdb5c |
Requires: python3-six
|
|
|
2fcdb5c |
Requires: python3-stevedore
|
|
|
2fcdb5c |
Requires: python3-oslo-serialization >= 2.18.0
|
|
|
2fcdb5c |
Requires: python3-oslo-utils >= 3.33.0
|
|
|
2fcdb5c |
Requires: python3-automaton >= 1.9.0
|
|
|
2fcdb5c |
Requires: python3-futurist >= 1.2.0
|
|
|
2fcdb5c |
Requires: python3-fasteners >= 0.7.0
|
|
|
2fcdb5c |
Requires: python3-pbr >= 2.0.0
|
|
|
2fcdb5c |
Requires: python3-tenacity >= 4.4.0
|
|
|
2fcdb5c |
Requires: python3-pydot >= 1.2.4
|
|
|
2fcdb5c |
Requires: python3-networkx >= 2.1.0
|
|
|
2fcdb5c |
|
|
|
2fcdb5c |
%description -n python3-%{pypi_name}
|
|
|
2b1cdd5 |
%{common_desc}
|
|
|
a0ffdcf |
|
|
|
18b6553 |
%if 0%{?with_doc}
|
|
|
a0ffdcf |
%package doc
|
|
|
4c3a14a |
Summary: Documentation for Taskflow
|
|
|
2fcdb5c |
BuildRequires: python3-alembic
|
|
|
2fcdb5c |
BuildRequires: python3-cachetools
|
|
|
2fcdb5c |
BuildRequires: python3-jsonschema
|
|
|
2fcdb5c |
BuildRequires: python3-openstackdocstheme
|
|
|
2fcdb5c |
BuildRequires: python3-sphinx
|
|
|
18b6553 |
BuildRequires: graphviz
|
|
|
2fcdb5c |
BuildRequires: python3-oslo-utils
|
|
|
2fcdb5c |
BuildRequires: python3-stevedore
|
|
|
2fcdb5c |
BuildRequires: python3-oslo-serialization
|
|
|
2fcdb5c |
BuildRequires: python3-futurist
|
|
|
2fcdb5c |
BuildRequires: python3-fasteners
|
|
|
2fcdb5c |
BuildRequires: python3-automaton
|
|
|
2fcdb5c |
BuildRequires: python3-kombu
|
|
|
2fcdb5c |
BuildRequires: python3-tenacity
|
|
|
2fcdb5c |
|
|
|
2fcdb5c |
BuildRequires: python3-redis
|
|
|
2fcdb5c |
BuildRequires: python3-kazoo
|
|
|
2fcdb5c |
BuildRequires: python3-networkx
|
|
|
2fcdb5c |
BuildRequires: python3-sqlalchemy-utils
|
|
|
a0ffdcf |
|
|
|
a0ffdcf |
%description doc
|
|
|
2b1cdd5 |
%{common_desc}
|
|
|
a0ffdcf |
|
|
|
2b1cdd5 |
This package contains the associated documentation.
|
|
|
ce9d3b3 |
%endif
|
|
|
ce9d3b3 |
|
|
|
a0ffdcf |
%prep
|
|
|
2b1cdd5 |
%autosetup -n %{pypi_name}-%{upstream_version} -S git
|
|
|
2fd6d04 |
# TODO(apevec) remove once python-networking subpackaging is fixed
|
|
|
2fd6d04 |
sed -i /networkx.drawing/d taskflow/types/graph.py
|
|
|
a5e4898 |
|
|
|
a0ffdcf |
# Remove bundled egg-info
|
|
|
a0ffdcf |
rm -rf %{pypi_name}.egg-info
|
|
|
a0ffdcf |
|
|
|
a0ffdcf |
# Remove the requirements file so that pbr hooks don't add it
|
|
|
a0ffdcf |
# to distutils requires_dist config
|
|
|
18b6553 |
rm -rf *requirements.txt
|
|
|
a0ffdcf |
|
|
|
a0ffdcf |
|
|
|
a0ffdcf |
%build
|
|
|
2fcdb5c |
%{py3_build}
|
|
|
a0ffdcf |
|
|
|
18b6553 |
%if 0%{?with_doc}
|
|
|
18b6553 |
# generate html docs
|
|
|
2fcdb5c |
sphinx-build-3 -b html doc/source doc/build/html
|
|
|
2fcdb5c |
# remove the sphinx-build-3 leftovers
|
|
|
18b6553 |
rm -rf doc/build/html/.{doctrees,buildinfo}
|
|
|
dd7228d |
%endif
|
|
|
dd7228d |
|
|
|
18b6553 |
%install
|
|
|
2fcdb5c |
%{py3_install}
|
|
|
dd7228d |
|
|
|
2fcdb5c |
%files -n python3-%{pypi_name}
|
|
|
dd7228d |
%doc README.rst
|
|
|
dd7228d |
%license LICENSE
|
|
|
2fcdb5c |
%{python3_sitelib}/%{pypi_name}
|
|
|
2fcdb5c |
%{python3_sitelib}/%{pypi_name}-*.egg-info
|
|
|
dd7228d |
|
|
|
18b6553 |
%if 0%{?with_doc}
|
|
|
a0ffdcf |
%files doc
|
|
|
18b6553 |
%doc doc/build/html
|
|
|
dd7228d |
%license LICENSE
|
|
|
ce9d3b3 |
%endif
|
|
|
a0ffdcf |
|
|
|
a0ffdcf |
%changelog
|
|
|
883319c |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0-3
|
|
|
883319c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
883319c |
|
|
|
f3e0ace |
* Mon Jun 15 2020 Eric Harney <eharney@redhat.com> - 4.1.0-2
|
|
|
f3e0ace |
- Remove dependency on python3-networkx-core
|
|
|
f3e0ace |
|
|
|
2fcdb5c |
* Thu Jun 04 2020 Joel Capitao <jcapitao@redhat.com> 4.1.0-1
|
|
|
2fcdb5c |
- Update to upstream version 4.1.0
|
|
|
2fcdb5c |
|
|
|
d3cbd7d |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 3.7.1-4
|
|
|
d3cbd7d |
- Rebuilt for Python 3.9
|
|
|
d3cbd7d |
|
|
|
c9a65c1 |
* Thu Feb 13 2020 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 3.7.1-3
|
|
|
c9a65c1 |
- Upgrade networkx dependency (it no longer provides networkx-core)
|
|
|
c9a65c1 |
|
|
|
f78f245 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.1-2
|
|
|
f78f245 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
f78f245 |
|
|
|
18b6553 |
* Fri Nov 08 2019 Alfredo Moralejo <amoralej@redhat.com> 3.7.1-1
|
|
|
18b6553 |
- Update to upstream version 3.7.1
|
|
|
18b6553 |
|
|
|
bb94803 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 3.7.0-4
|
|
|
bb94803 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
bb94803 |
|
|
|
358ac85 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 3.7.0-3
|
|
|
358ac85 |
- Rebuilt for Python 3.8
|
|
|
358ac85 |
|
|
|
f6f99ae |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.0-2
|
|
|
f6f99ae |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
f6f99ae |
|
|
|
d44cdc8 |
* Tue May 21 2019 Eric Harney <eharney@redhat.com> - 3.6.0-1
|
|
|
d44cdc8 |
- Update to 3.6.0
|
|
|
d44cdc8 |
|
|
|
2b1cdd5 |
* Tue Mar 12 2019 Eric Harney - 3.4.0-1
|
|
|
2b1cdd5 |
- Update to 3.4.0
|
|
|
2b1cdd5 |
|
|
|
f0177cc |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.0-9
|
|
|
f0177cc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
f0177cc |
|
|
|
ce9d3b3 |
* Wed Oct 03 2018 Eric Harney - 2.6.0-8
|
|
|
ce9d3b3 |
- Remove Python 2 package for Fedora
|
|
|
ce9d3b3 |
|
|
|
a3ee542 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.0-7
|
|
|
a3ee542 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
a3ee542 |
|
|
|
75301d4 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2.6.0-6
|
|
|
75301d4 |
- Rebuilt for Python 3.7
|
|
|
75301d4 |
|
|
|
9bab357 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.0-5
|
|
|
9bab357 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
9bab357 |
|
|
|
bf5a157 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.0-4
|
|
|
bf5a157 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
bf5a157 |
|
|
|
dc1e075 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.0-3
|
|
|
dc1e075 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
dc1e075 |
|
|
|
0819754 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 2.6.0-2
|
|
|
0819754 |
- Rebuild for Python 3.6
|
|
|
0819754 |
|
|
|
2fd6d04 |
* Mon Sep 12 2016 Haikel Guemar <hguemar@fedoraproject.org> 2.6.0-1
|
|
|
2fd6d04 |
- Update to 2.6.0
|
|
|
82e7175 |
|