diff options
Diffstat (limited to 'python-cylc-flow.spec')
-rw-r--r-- | python-cylc-flow.spec | 522 |
1 files changed, 522 insertions, 0 deletions
diff --git a/python-cylc-flow.spec b/python-cylc-flow.spec new file mode 100644 index 0000000..2ec58a6 --- /dev/null +++ b/python-cylc-flow.spec @@ -0,0 +1,522 @@ +%global _empty_manifest_terminate_build 0 +Name: python-cylc-flow +Version: 8.1.4 +Release: 1 +Summary: A workflow engine for cycling systems +License: GPL +URL: https://cylc.org/ +Source0: https://mirrors.aliyun.com/pypi/web/packages/57/45/7c6fb9af93cbd339991b657f3702add105b4ca04495fb040d21a49d43332/cylc-flow-8.1.4.tar.gz +BuildArch: noarch + +Requires: python3-aiofiles +Requires: python3-ansimarkup +Requires: python3-async-timeout +Requires: python3-colorama +Requires: python3-graphene +Requires: python3-jinja2 +Requires: python3-metomi-isodatetime +Requires: python3-protobuf +Requires: python3-psutil +Requires: python3-pyzmq +Requires: python3-setuptools +Requires: python3-urwid +Requires: python3-rx +Requires: python3-promise +Requires: python3-tomli +Requires: python3-importlib-metadata +Requires: python3-EmPy +Requires: python3-pillow +Requires: python3-pympler +Requires: python3-matplotlib +Requires: python3-sqlparse +Requires: python3-pandas +Requires: python3-async-generator +Requires: python3-bandit +Requires: python3-coverage +Requires: python3-flake8-broken-line +Requires: python3-flake8-bugbear +Requires: python3-flake8-builtins +Requires: python3-flake8-comprehensions +Requires: python3-flake8-debugger +Requires: python3-flake8-mutable +Requires: python3-flake8-simplify +Requires: python3-flake8 +Requires: python3-mypy +Requires: python3-pytest-asyncio +Requires: python3-pytest-cov +Requires: python3-pytest-xdist +Requires: python3-pytest-env +Requires: python3-pytest-mock +Requires: python3-pytest +Requires: python3-testfixtures +Requires: python3-types-aiofiles +Requires: python3-types-Jinja2 +Requires: python3-types-aiofiles +Requires: python3-types-pkg-resources +Requires: python3-types-protobuf +Requires: python3-types-six +Requires: python3-typing-extensions +Requires: python3-requests +Requires: python3-EmPy +Requires: python3-pillow +Requires: python3-pympler +Requires: python3-matplotlib +Requires: python3-sqlparse +Requires: python3-matplotlib +Requires: python3-pympler +Requires: python3-matplotlib +Requires: python3-pandas +Requires: python3-matplotlib +Requires: python3-async-generator +Requires: python3-bandit +Requires: python3-coverage +Requires: python3-flake8-broken-line +Requires: python3-flake8-bugbear +Requires: python3-flake8-builtins +Requires: python3-flake8-comprehensions +Requires: python3-flake8-debugger +Requires: python3-flake8-mutable +Requires: python3-flake8-simplify +Requires: python3-flake8 +Requires: python3-mypy +Requires: python3-pytest-asyncio +Requires: python3-pytest-cov +Requires: python3-pytest-xdist +Requires: python3-pytest-env +Requires: python3-pytest-mock +Requires: python3-pytest +Requires: python3-testfixtures +Requires: python3-types-aiofiles +Requires: python3-types-Jinja2 +Requires: python3-types-aiofiles +Requires: python3-types-pkg-resources +Requires: python3-types-protobuf +Requires: python3-types-six +Requires: python3-typing-extensions +Requires: python3-pillow +Requires: python3-requests + +%description +<div + align="center" +> +<img + src="https://raw.githubusercontent.com/cylc/cylc-admin/master/docs/img/cylc-logo.svg" + width="50%" +/> + +[](https://pypi.org/project/cylc-flow/) +[](https://anaconda.org/conda-forge/cylc-flow) +[](https://matrix.to/#/#cylc-general:matrix.org) +[](https://cylc.discourse.group/) +[](https://cylc.github.io/cylc-doc/stable/html/index.html) + +</div> + +Cylc (pronounced silk) is a general purpose workflow engine that also +manages cycling systems very efficiently. It is used in production weather, +climate, and environmental forecasting on HPC, but is not specialized to those +domains. + +### Quick Start + + +[Installation](https://cylc.github.io/cylc-doc/stable/html/installation.html) | +[Documentation](https://cylc.github.io/cylc-doc/stable/html/index.html) + +```bash +# install cylc +conda install cylc-flow + +# write your first workflow +mkdir -p ~/cylc-src/example +cat > ~/cylc-src/example/flow.cylc <<__CONFIG__ +[scheduling] + initial cycle point = 1 + cycling mode = integer + [[graph]] + P1 = """ + a => b => c & d + b[-P1] => b + """ +[runtime] + [[a, b, c, d]] + script = echo "Hello $CYLC_TASK_NAME" +__CONFIG__ + +# install and run it +cylc install example +cylc play example + +# watch it run +cylc tui example +``` + +### Migrating From Cylc 7 + +[Migration Guide](https://cylc.github.io/cylc-doc/stable/html/7-to-8/index.html) +| [Migration Support](https://cylc.discourse.group/c/cylc/7-to-8/13) + +Cylc 8 can run most Cylc 7 workflows in compatibility mode with little to no +changes, go through the +[migration guide](https://cylc.github.io/cylc-doc/stable/html/7-to-8/index.html) +for more details. + +Quick summary of major changes: + +* Python 2 -> 3. +* Internal communications converted from HTTPS to ZMQ (TCP). +* PyGTK GUIs replaced by: + * Terminal user interface (TUI) included in cylc-flow. + * Web user interface provided by the cylc-uiserver package. +* A new scheduling algorithm with support for branched workflows. +* Command line changes: + * `cylc run <id>` -> `cylc play <id>` + * `cylc restart <id>` -> `cylc play <id>` + * `rose suite-run` -> `cylc install; cylc play <id>` +* The core package containing Cylc scheduler program has been renamed cylc-flow. +* Cylc review has been removed, the Cylc 7 version remains Cylc 8 compatible. + + +### Citations & Publications + +[](https://zenodo.org/badge/latestdoi/1836229) +[](https://doi.org/10.21105/joss.00737) +[](https://ieeexplore.ieee.org/document/8675433) + +### Copyright and Terms of Use + +[](https://github.com/cylc/cylc-flow/blob/master/COPYING) + +Copyright (C) 2008-<span actions:bind='current-year'>2023</span> NIWA & British Crown (Met Office) & Contributors. + +Cylc is free software: you can redistribute it and/or modify it under the terms +of the GNU General Public License as published by the Free Software Foundation, +either version 3 of the License, or (at your option) any later version. + +Cylc is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +PARTICULAR PURPOSE. See the GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along with +Cylc. If not, see [GNU licenses](http://www.gnu.org/licenses/). + +### Contributing + +[](https://github.com/cylc/cylc-flow/graphs/contributors) +[](https://github.com/cylc/cylc-flow/commits/master) +[](https://github.com/cylc/cylc-flow/commits/master) + +Contributions welcome: + +* Read the [contributing](CONTRIBUTING.md) page. +* Development setup instructions are in the + [developer docs](https://cylc.github.io/cylc-admin/#cylc-8-developer-docs). +* Involved change proposals can be found in the + [admin pages](https://cylc.github.io/cylc-admin/#change-proposals). +* Touch base in the + [developers chat](https://matrix.to/#/#cylc-general:matrix.org). + + + + +%package -n python3-cylc-flow +Summary: A workflow engine for cycling systems +Provides: python-cylc-flow +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-cylc-flow +<div + align="center" +> +<img + src="https://raw.githubusercontent.com/cylc/cylc-admin/master/docs/img/cylc-logo.svg" + width="50%" +/> + +[](https://pypi.org/project/cylc-flow/) +[](https://anaconda.org/conda-forge/cylc-flow) +[](https://matrix.to/#/#cylc-general:matrix.org) +[](https://cylc.discourse.group/) +[](https://cylc.github.io/cylc-doc/stable/html/index.html) + +</div> + +Cylc (pronounced silk) is a general purpose workflow engine that also +manages cycling systems very efficiently. It is used in production weather, +climate, and environmental forecasting on HPC, but is not specialized to those +domains. + +### Quick Start + + +[Installation](https://cylc.github.io/cylc-doc/stable/html/installation.html) | +[Documentation](https://cylc.github.io/cylc-doc/stable/html/index.html) + +```bash +# install cylc +conda install cylc-flow + +# write your first workflow +mkdir -p ~/cylc-src/example +cat > ~/cylc-src/example/flow.cylc <<__CONFIG__ +[scheduling] + initial cycle point = 1 + cycling mode = integer + [[graph]] + P1 = """ + a => b => c & d + b[-P1] => b + """ +[runtime] + [[a, b, c, d]] + script = echo "Hello $CYLC_TASK_NAME" +__CONFIG__ + +# install and run it +cylc install example +cylc play example + +# watch it run +cylc tui example +``` + +### Migrating From Cylc 7 + +[Migration Guide](https://cylc.github.io/cylc-doc/stable/html/7-to-8/index.html) +| [Migration Support](https://cylc.discourse.group/c/cylc/7-to-8/13) + +Cylc 8 can run most Cylc 7 workflows in compatibility mode with little to no +changes, go through the +[migration guide](https://cylc.github.io/cylc-doc/stable/html/7-to-8/index.html) +for more details. + +Quick summary of major changes: + +* Python 2 -> 3. +* Internal communications converted from HTTPS to ZMQ (TCP). +* PyGTK GUIs replaced by: + * Terminal user interface (TUI) included in cylc-flow. + * Web user interface provided by the cylc-uiserver package. +* A new scheduling algorithm with support for branched workflows. +* Command line changes: + * `cylc run <id>` -> `cylc play <id>` + * `cylc restart <id>` -> `cylc play <id>` + * `rose suite-run` -> `cylc install; cylc play <id>` +* The core package containing Cylc scheduler program has been renamed cylc-flow. +* Cylc review has been removed, the Cylc 7 version remains Cylc 8 compatible. + + +### Citations & Publications + +[](https://zenodo.org/badge/latestdoi/1836229) +[](https://doi.org/10.21105/joss.00737) +[](https://ieeexplore.ieee.org/document/8675433) + +### Copyright and Terms of Use + +[](https://github.com/cylc/cylc-flow/blob/master/COPYING) + +Copyright (C) 2008-<span actions:bind='current-year'>2023</span> NIWA & British Crown (Met Office) & Contributors. + +Cylc is free software: you can redistribute it and/or modify it under the terms +of the GNU General Public License as published by the Free Software Foundation, +either version 3 of the License, or (at your option) any later version. + +Cylc is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +PARTICULAR PURPOSE. See the GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along with +Cylc. If not, see [GNU licenses](http://www.gnu.org/licenses/). + +### Contributing + +[](https://github.com/cylc/cylc-flow/graphs/contributors) +[](https://github.com/cylc/cylc-flow/commits/master) +[](https://github.com/cylc/cylc-flow/commits/master) + +Contributions welcome: + +* Read the [contributing](CONTRIBUTING.md) page. +* Development setup instructions are in the + [developer docs](https://cylc.github.io/cylc-admin/#cylc-8-developer-docs). +* Involved change proposals can be found in the + [admin pages](https://cylc.github.io/cylc-admin/#change-proposals). +* Touch base in the + [developers chat](https://matrix.to/#/#cylc-general:matrix.org). + + + + +%package help +Summary: Development documents and examples for cylc-flow +Provides: python3-cylc-flow-doc +%description help +<div + align="center" +> +<img + src="https://raw.githubusercontent.com/cylc/cylc-admin/master/docs/img/cylc-logo.svg" + width="50%" +/> + +[](https://pypi.org/project/cylc-flow/) +[](https://anaconda.org/conda-forge/cylc-flow) +[](https://matrix.to/#/#cylc-general:matrix.org) +[](https://cylc.discourse.group/) +[](https://cylc.github.io/cylc-doc/stable/html/index.html) + +</div> + +Cylc (pronounced silk) is a general purpose workflow engine that also +manages cycling systems very efficiently. It is used in production weather, +climate, and environmental forecasting on HPC, but is not specialized to those +domains. + +### Quick Start + + +[Installation](https://cylc.github.io/cylc-doc/stable/html/installation.html) | +[Documentation](https://cylc.github.io/cylc-doc/stable/html/index.html) + +```bash +# install cylc +conda install cylc-flow + +# write your first workflow +mkdir -p ~/cylc-src/example +cat > ~/cylc-src/example/flow.cylc <<__CONFIG__ +[scheduling] + initial cycle point = 1 + cycling mode = integer + [[graph]] + P1 = """ + a => b => c & d + b[-P1] => b + """ +[runtime] + [[a, b, c, d]] + script = echo "Hello $CYLC_TASK_NAME" +__CONFIG__ + +# install and run it +cylc install example +cylc play example + +# watch it run +cylc tui example +``` + +### Migrating From Cylc 7 + +[Migration Guide](https://cylc.github.io/cylc-doc/stable/html/7-to-8/index.html) +| [Migration Support](https://cylc.discourse.group/c/cylc/7-to-8/13) + +Cylc 8 can run most Cylc 7 workflows in compatibility mode with little to no +changes, go through the +[migration guide](https://cylc.github.io/cylc-doc/stable/html/7-to-8/index.html) +for more details. + +Quick summary of major changes: + +* Python 2 -> 3. +* Internal communications converted from HTTPS to ZMQ (TCP). +* PyGTK GUIs replaced by: + * Terminal user interface (TUI) included in cylc-flow. + * Web user interface provided by the cylc-uiserver package. +* A new scheduling algorithm with support for branched workflows. +* Command line changes: + * `cylc run <id>` -> `cylc play <id>` + * `cylc restart <id>` -> `cylc play <id>` + * `rose suite-run` -> `cylc install; cylc play <id>` +* The core package containing Cylc scheduler program has been renamed cylc-flow. +* Cylc review has been removed, the Cylc 7 version remains Cylc 8 compatible. + + +### Citations & Publications + +[](https://zenodo.org/badge/latestdoi/1836229) +[](https://doi.org/10.21105/joss.00737) +[](https://ieeexplore.ieee.org/document/8675433) + +### Copyright and Terms of Use + +[](https://github.com/cylc/cylc-flow/blob/master/COPYING) + +Copyright (C) 2008-<span actions:bind='current-year'>2023</span> NIWA & British Crown (Met Office) & Contributors. + +Cylc is free software: you can redistribute it and/or modify it under the terms +of the GNU General Public License as published by the Free Software Foundation, +either version 3 of the License, or (at your option) any later version. + +Cylc is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +PARTICULAR PURPOSE. See the GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along with +Cylc. If not, see [GNU licenses](http://www.gnu.org/licenses/). + +### Contributing + +[](https://github.com/cylc/cylc-flow/graphs/contributors) +[](https://github.com/cylc/cylc-flow/commits/master) +[](https://github.com/cylc/cylc-flow/commits/master) + +Contributions welcome: + +* Read the [contributing](CONTRIBUTING.md) page. +* Development setup instructions are in the + [developer docs](https://cylc.github.io/cylc-admin/#cylc-8-developer-docs). +* Involved change proposals can be found in the + [admin pages](https://cylc.github.io/cylc-admin/#change-proposals). +* Touch base in the + [developers chat](https://matrix.to/#/#cylc-general:matrix.org). + + + + +%prep +%autosetup -n cylc-flow-8.1.4 + +%build +%py3_build + +%install +%py3_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 +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "\"/%h/%f\"\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-cylc-flow -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 8.1.4-1 +- Package Spec generated |