diff --git a/python-taskflow.spec b/python-taskflow.spec index 86153a75adb905d5f774cd3c2f1cb115b89f9995..c6925330d020e57864071982973e17f8e2d5c66f 100644 --- a/python-taskflow.spec +++ b/python-taskflow.spec @@ -1,72 +1,309 @@ %global _empty_manifest_terminate_build 0 Name: python-taskflow -Version: 4.5.0 +Version: 3.1.0 Release: 2 Summary: Taskflow structured state management library. License: Apache-2.0 -URL: https://github.com/openstack/taskflow -Source0: https://files.pythonhosted.org/packages/b0/5f/47fe65a6d42863997b30d49182dfa54d3358411fb8f196a894a85ec9bbca/taskflow-4.5.0.tar.gz +URL: https://docs.openstack.org/taskflow/latest/ +Source0: https://files.pythonhosted.org/packages/7e/d3/a17d21f6478c1a83cd906d5ae7c6889be5703f5c3ca77e49e03747b70aa5/taskflow-3.1.0.tar.gz BuildArch: noarch +%description +======================== +Team and repository tags +======================== -Requires: python3-automaton -Requires: python3-cachetools -Requires: python3-fasteners -Requires: python3-futurist -Requires: python3-jsonschema -Requires: python3-networkx -Requires: python3-pbr -Requires: python3-pydot -Requires: python3-six -Requires: python3-stevedore -Requires: python3-tenacity -Requires: python3-PyMySQL -Requires: python3-SQLAlchemy -Requires: python3-SQLAlchemy-Utils -Requires: python3-alembic -Requires: python3-psycopg2 -Requires: python3-eventlet -Requires: python3-redis -Requires: python3-hacking -Requires: python3-mock -Requires: python3-oslotest -Requires: python3-pydotplus -Requires: python3-stestr -Requires: python3-testscenarios -Requires: python3-testtools -Requires: python3-kombu -Requires: python3-kazoo -Requires: python3-zake +.. image:: http://governance.openstack.org/badges/taskflow.svg + :target: http://governance.openstack.org/reference/tags/index.html -%description -A library to complete workflows/tasks in HA manner +.. Change things from this point on + +TaskFlow +======== + +.. image:: https://img.shields.io/pypi/v/taskflow.svg + :target: https://pypi.python.org/pypi/taskflow/ + :alt: Latest Version + +.. image:: https://img.shields.io/pypi/dm/taskflow.svg + :target: https://pypi.python.org/pypi/taskflow/ + :alt: Downloads + +A library to do [jobs, tasks, flows] in a highly available, easy to understand +and declarative manner (and more!) to be used with OpenStack and other +projects. + +* Free software: Apache license +* Documentation: https://docs.openstack.org/taskflow/latest/ +* Source: https://git.openstack.org/cgit/openstack/taskflow +* Bugs: https://bugs.launchpad.net/taskflow/ + +Join us +------- + +- http://launchpad.net/taskflow + +Testing and requirements +------------------------ + +Requirements +~~~~~~~~~~~~ + +Because this project has many optional (pluggable) parts like persistence +backends and engines, we decided to split our requirements into two +parts: - things that are absolutely required (you can't use the project +without them) are put into ``requirements.txt``. The requirements +that are required by some optional part of this project (you can use the +project without them) are put into our ``test-requirements.txt`` file (so +that we can still test the optional functionality works as expected). If +you want to use the feature in question (`eventlet`_ or the worker based engine +that uses `kombu`_ or the `sqlalchemy`_ persistence backend or jobboards which +have an implementation built using `kazoo`_ ...), you should add +that requirement(s) to your project or environment. + +Tox.ini +~~~~~~~ + +Our ``tox.ini`` file describes several test environments that allow to test +TaskFlow with different python versions and sets of requirements installed. +Please refer to the `tox`_ documentation to understand how to make these test +environments work for you. + +Developer documentation +----------------------- + +We also have sphinx documentation in ``docs/source``. + +*To build it, run:* +:: -%package -n python3-taskflow + $ python setup.py build_sphinx + +.. _kazoo: http://kazoo.readthedocs.org/ +.. _sqlalchemy: http://www.sqlalchemy.org/ +.. _kombu: http://kombu.readthedocs.org/ +.. _eventlet: http://eventlet.net/ +.. _tox: http://tox.testrun.org/ +.. _developer documentation: https://docs.openstack.org/taskflow/latest/ + + + + +%package -n python2-taskflow Summary: Taskflow structured state management library. -Provides: python-taskflow -BuildRequires: python3-devel -BuildRequires: python3-setuptools -BuildRequires: python3-pip -BuildRequires: python3-pbr -%description -n python3-taskflow -A library to complete workflows/tasks in HA manner +Provides: python2-taskflow +BuildRequires: python2-pbr +BuildRequires: python2-devel +BuildRequires: python2-setuptools +Requires: python2-debtcollector +Requires: python2-pbr +Requires: python2-six +Requires: python2-futurist +Requires: python2-fasteners +Requires: python2-networkx +Requires: python2-contextlib2 +Requires: python2-stevedore +Requires: python2-jsonschema +Requires: python2-automaton +Requires: python2-oslo-utils +Requires: python2-oslo-serialization +Requires: python2-tenacity +Requires: python2-cachetools +Requires: python2-enum34 +Requires: python2-futures +Requires: python2-sqlalchemy +Requires: python2-alembic +Requires: python2-SQLAlchemy-Utils +Requires: python2-PyMySQL +Requires: python2-psycopg2 +Requires: python2-eventlet +Requires: python2-redis +Requires: python2-pydotplus +Requires: python2-hacking +Requires: python2-oslotest +Requires: python2-mock +Requires: python2-testtools +Requires: python2-testscenarios +Requires: python2-doc8 +Requires: python2-sphinx +Requires: python2-kombu +Requires: python2-kazoo +Requires: python2-zake +%description -n python2-taskflow +======================== +Team and repository tags +======================== + +.. image:: http://governance.openstack.org/badges/taskflow.svg + :target: http://governance.openstack.org/reference/tags/index.html + +.. Change things from this point on + +TaskFlow +======== + +.. image:: https://img.shields.io/pypi/v/taskflow.svg + :target: https://pypi.python.org/pypi/taskflow/ + :alt: Latest Version + +.. image:: https://img.shields.io/pypi/dm/taskflow.svg + :target: https://pypi.python.org/pypi/taskflow/ + :alt: Downloads + +A library to do [jobs, tasks, flows] in a highly available, easy to understand +and declarative manner (and more!) to be used with OpenStack and other +projects. + +* Free software: Apache license +* Documentation: https://docs.openstack.org/taskflow/latest/ +* Source: https://git.openstack.org/cgit/openstack/taskflow +* Bugs: https://bugs.launchpad.net/taskflow/ + +Join us +------- + +- http://launchpad.net/taskflow + +Testing and requirements +------------------------ + +Requirements +~~~~~~~~~~~~ + +Because this project has many optional (pluggable) parts like persistence +backends and engines, we decided to split our requirements into two +parts: - things that are absolutely required (you can't use the project +without them) are put into ``requirements.txt``. The requirements +that are required by some optional part of this project (you can use the +project without them) are put into our ``test-requirements.txt`` file (so +that we can still test the optional functionality works as expected). If +you want to use the feature in question (`eventlet`_ or the worker based engine +that uses `kombu`_ or the `sqlalchemy`_ persistence backend or jobboards which +have an implementation built using `kazoo`_ ...), you should add +that requirement(s) to your project or environment. + +Tox.ini +~~~~~~~ + +Our ``tox.ini`` file describes several test environments that allow to test +TaskFlow with different python versions and sets of requirements installed. +Please refer to the `tox`_ documentation to understand how to make these test +environments work for you. + +Developer documentation +----------------------- + +We also have sphinx documentation in ``docs/source``. + +*To build it, run:* + +:: + + $ python setup.py build_sphinx + +.. _kazoo: http://kazoo.readthedocs.org/ +.. _sqlalchemy: http://www.sqlalchemy.org/ +.. _kombu: http://kombu.readthedocs.org/ +.. _eventlet: http://eventlet.net/ +.. _tox: http://tox.testrun.org/ +.. _developer documentation: https://docs.openstack.org/taskflow/latest/ + + %package help Summary: Development documents and examples for taskflow -Provides: python3-taskflow-doc +Provides: python2-taskflow-doc %description help -A library to complete workflows/tasks in HA manner +======================== +Team and repository tags +======================== + +.. image:: http://governance.openstack.org/badges/taskflow.svg + :target: http://governance.openstack.org/reference/tags/index.html + +.. Change things from this point on + +TaskFlow +======== + +.. image:: https://img.shields.io/pypi/v/taskflow.svg + :target: https://pypi.python.org/pypi/taskflow/ + :alt: Latest Version + +.. image:: https://img.shields.io/pypi/dm/taskflow.svg + :target: https://pypi.python.org/pypi/taskflow/ + :alt: Downloads + +A library to do [jobs, tasks, flows] in a highly available, easy to understand +and declarative manner (and more!) to be used with OpenStack and other +projects. + +* Free software: Apache license +* Documentation: https://docs.openstack.org/taskflow/latest/ +* Source: https://git.openstack.org/cgit/openstack/taskflow +* Bugs: https://bugs.launchpad.net/taskflow/ + +Join us +------- + +- http://launchpad.net/taskflow + +Testing and requirements +------------------------ + +Requirements +~~~~~~~~~~~~ + +Because this project has many optional (pluggable) parts like persistence +backends and engines, we decided to split our requirements into two +parts: - things that are absolutely required (you can't use the project +without them) are put into ``requirements.txt``. The requirements +that are required by some optional part of this project (you can use the +project without them) are put into our ``test-requirements.txt`` file (so +that we can still test the optional functionality works as expected). If +you want to use the feature in question (`eventlet`_ or the worker based engine +that uses `kombu`_ or the `sqlalchemy`_ persistence backend or jobboards which +have an implementation built using `kazoo`_ ...), you should add +that requirement(s) to your project or environment. + +Tox.ini +~~~~~~~ + +Our ``tox.ini`` file describes several test environments that allow to test +TaskFlow with different python versions and sets of requirements installed. +Please refer to the `tox`_ documentation to understand how to make these test +environments work for you. + +Developer documentation +----------------------- + +We also have sphinx documentation in ``docs/source``. + +*To build it, run:* + +:: + + $ python setup.py build_sphinx + +.. _kazoo: http://kazoo.readthedocs.org/ +.. _sqlalchemy: http://www.sqlalchemy.org/ +.. _kombu: http://kombu.readthedocs.org/ +.. _eventlet: http://eventlet.net/ +.. _tox: http://tox.testrun.org/ +.. _developer documentation: https://docs.openstack.org/taskflow/latest/ + + %prep -%autosetup -n taskflow-4.5.0 +%autosetup -n taskflow-3.1.0 %build -%py3_build +%py2_build %install -%py3_install +%py2_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi @@ -93,14 +330,14 @@ popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . -%files -n python3-taskflow -f filelist.lst -%dir %{python3_sitelib}/* +%files -n python2-taskflow -f filelist.lst +%dir %{python2_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog -* Thu Jan 28 2021 zhangy -- Add buildrequires -* Thu Dec 31 2020 Python_Bot +* Sat May 29 2021 huangtianhua +- Adds BuildRequires python2-pbr to make obs success +* Mon May 10 2021 OpenStack_SIG - Package Spec generated diff --git a/taskflow-3.1.0.tar.gz b/taskflow-3.1.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..c04b618238c1151ae0d8ef0d299baaa1de548319 Binary files /dev/null and b/taskflow-3.1.0.tar.gz differ diff --git a/taskflow-4.5.0.tar.gz b/taskflow-4.5.0.tar.gz deleted file mode 100644 index fbd645f6762cf57aba50885e0c959465cf694e2a..0000000000000000000000000000000000000000 Binary files a/taskflow-4.5.0.tar.gz and /dev/null differ