summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-12 02:01:35 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-12 02:01:35 +0000
commitbd9f43c337d9386e7b86052ec06bbc5645eb13f8 (patch)
tree3ca7473b8fa2ad3600287fece7dcbca4331cc759
parent7d7aa044eb4a74074cc27341cfeaecbdf982888d (diff)
automatic import of python-queenbee
-rw-r--r--.gitignore1
-rw-r--r--python-queenbee.spec362
-rw-r--r--sources1
3 files changed, 364 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..ccf1166 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/queenbee-1.26.7.tar.gz
diff --git a/python-queenbee.spec b/python-queenbee.spec
new file mode 100644
index 0000000..0c9dd41
--- /dev/null
+++ b/python-queenbee.spec
@@ -0,0 +1,362 @@
+%global _empty_manifest_terminate_build 0
+Name: python-queenbee
+Version: 1.26.7
+Release: 1
+Summary: Queenbee is a workflow language and a package manager for creating DAG workflows which empowers all workflow libraries in Ladybug Tools!
+License: MIT
+URL: https://github.com/pollination/queenbee
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/10/eb/ef87dc9cab399ee6ec5f2f098d6f7a355dc5aa3a1642a49f8cb5d414d310/queenbee-1.26.7.tar.gz
+BuildArch: noarch
+
+Requires: python3-pydantic
+Requires: python3-PyYAML
+Requires: python3-jsonschema
+Requires: python3-click
+Requires: python3-click-plugins
+
+%description
+# Queenbee :crown:
+
+Queenbee is a workflow language for describing workflows! The workflow Schema
+is inspired by [Argo Workflow](https://argoproj.github.io/docs/argo/readme.html) and
+borrows a number of terms and expressions from
+[Apache Airflow](http://airflow.apache.org/) and [Ansible](https://docs.ansible.com/).
+
+Queenbee populates and validates the workflows but does not run them! For running the
+workflows see
+[`ladybug-tools/queenbee-luigi`](https://github.com/ladybug-tools/queenbee-luigi)
+which converts Queenbee workflows to executable
+[Luigi](https://luigi.readthedocs.io/en/stable/) pipelines.
+
+You can find more workflow samples in
+[honeybee-radiance-workflow](https://github.com/ladybug-tools/honeybee-radiance-workflow)
+repository.
+
+## Installation
+
+```
+> pip install queenbee
+```
+
+or if you want to use the CLI
+
+```
+> pip install queenbee[cli]
+```
+
+## Documentation
+
+You can access the full docs for this package and its CLI
+[here](https://pollination.github.io/queenbee/).
+
+You can also access the [Schema
+Documentation](https://pollination.github.io/queenbee/schemas/index.html) and
+OpenAPI documentation for:
+
+| Object | Redoc | OpenAPI JSON |
+| ------ | --------------------- | ------------------- |
+| Plugin | [redoc][plugin-redoc] | [json][plugin-json] |
+| Recipe | [redoc][recipe-redoc] | [json][recipe-json] |
+| Job | [redoc][job-redoc] | [json][job-json] |
+
+[plugin-json]: https://pollination.github.io/queenbee/_static/schemas/plugin-openapi.json
+[plugin-redoc]: https://pollination.github.io/queenbee/_static/redoc-plugin.html#tag/plugin_model
+[recipe-json]: https://pollination.github.io/queenbee/_static/schemas/recipe-openapi.json
+[recipe-redoc]: https://pollination.github.io/queenbee/_static/redoc-recipe.html#tag/recipe_model
+[job-json]: https://pollination.github.io/queenbee/_static/schemas/job-openapi.json
+[job-redoc]: https://pollination.github.io/queenbee/_static/redoc-job.html#tag/job_model
+
+## Local Development
+
+1. Clone this repo locally
+
+ ```console
+ git clone git@github.com:ladybug-tools/queenbee
+ ```
+
+ or
+
+ ```console
+ git clone https://github.com/ladybug-tools/queenbee
+ ```
+
+2. Install dependencies:
+
+ ```console
+ cd queenbee
+ pip install -r dev-requirements.txt
+ pip install -r requirements.txt
+ ```
+
+3. Run Tests:
+
+ ```console
+ python -m pytest tests/
+ ```
+
+4. Generate Documentation:
+
+ ```python
+ sphinx-apidoc -f -e -d 4 -o ./docs/modules ./queenbee
+ sphinx-build -b html ./docs ./docs/_build
+ ```
+
+5. Preview Documentation:
+
+ ```console
+ python -m http.server --directory ./docs/_build/
+ ```
+
+ Now you can see the documentation preview at http://localhost:8000
+
+
+
+
+%package -n python3-queenbee
+Summary: Queenbee is a workflow language and a package manager for creating DAG workflows which empowers all workflow libraries in Ladybug Tools!
+Provides: python-queenbee
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-queenbee
+# Queenbee :crown:
+
+Queenbee is a workflow language for describing workflows! The workflow Schema
+is inspired by [Argo Workflow](https://argoproj.github.io/docs/argo/readme.html) and
+borrows a number of terms and expressions from
+[Apache Airflow](http://airflow.apache.org/) and [Ansible](https://docs.ansible.com/).
+
+Queenbee populates and validates the workflows but does not run them! For running the
+workflows see
+[`ladybug-tools/queenbee-luigi`](https://github.com/ladybug-tools/queenbee-luigi)
+which converts Queenbee workflows to executable
+[Luigi](https://luigi.readthedocs.io/en/stable/) pipelines.
+
+You can find more workflow samples in
+[honeybee-radiance-workflow](https://github.com/ladybug-tools/honeybee-radiance-workflow)
+repository.
+
+## Installation
+
+```
+> pip install queenbee
+```
+
+or if you want to use the CLI
+
+```
+> pip install queenbee[cli]
+```
+
+## Documentation
+
+You can access the full docs for this package and its CLI
+[here](https://pollination.github.io/queenbee/).
+
+You can also access the [Schema
+Documentation](https://pollination.github.io/queenbee/schemas/index.html) and
+OpenAPI documentation for:
+
+| Object | Redoc | OpenAPI JSON |
+| ------ | --------------------- | ------------------- |
+| Plugin | [redoc][plugin-redoc] | [json][plugin-json] |
+| Recipe | [redoc][recipe-redoc] | [json][recipe-json] |
+| Job | [redoc][job-redoc] | [json][job-json] |
+
+[plugin-json]: https://pollination.github.io/queenbee/_static/schemas/plugin-openapi.json
+[plugin-redoc]: https://pollination.github.io/queenbee/_static/redoc-plugin.html#tag/plugin_model
+[recipe-json]: https://pollination.github.io/queenbee/_static/schemas/recipe-openapi.json
+[recipe-redoc]: https://pollination.github.io/queenbee/_static/redoc-recipe.html#tag/recipe_model
+[job-json]: https://pollination.github.io/queenbee/_static/schemas/job-openapi.json
+[job-redoc]: https://pollination.github.io/queenbee/_static/redoc-job.html#tag/job_model
+
+## Local Development
+
+1. Clone this repo locally
+
+ ```console
+ git clone git@github.com:ladybug-tools/queenbee
+ ```
+
+ or
+
+ ```console
+ git clone https://github.com/ladybug-tools/queenbee
+ ```
+
+2. Install dependencies:
+
+ ```console
+ cd queenbee
+ pip install -r dev-requirements.txt
+ pip install -r requirements.txt
+ ```
+
+3. Run Tests:
+
+ ```console
+ python -m pytest tests/
+ ```
+
+4. Generate Documentation:
+
+ ```python
+ sphinx-apidoc -f -e -d 4 -o ./docs/modules ./queenbee
+ sphinx-build -b html ./docs ./docs/_build
+ ```
+
+5. Preview Documentation:
+
+ ```console
+ python -m http.server --directory ./docs/_build/
+ ```
+
+ Now you can see the documentation preview at http://localhost:8000
+
+
+
+
+%package help
+Summary: Development documents and examples for queenbee
+Provides: python3-queenbee-doc
+%description help
+# Queenbee :crown:
+
+Queenbee is a workflow language for describing workflows! The workflow Schema
+is inspired by [Argo Workflow](https://argoproj.github.io/docs/argo/readme.html) and
+borrows a number of terms and expressions from
+[Apache Airflow](http://airflow.apache.org/) and [Ansible](https://docs.ansible.com/).
+
+Queenbee populates and validates the workflows but does not run them! For running the
+workflows see
+[`ladybug-tools/queenbee-luigi`](https://github.com/ladybug-tools/queenbee-luigi)
+which converts Queenbee workflows to executable
+[Luigi](https://luigi.readthedocs.io/en/stable/) pipelines.
+
+You can find more workflow samples in
+[honeybee-radiance-workflow](https://github.com/ladybug-tools/honeybee-radiance-workflow)
+repository.
+
+## Installation
+
+```
+> pip install queenbee
+```
+
+or if you want to use the CLI
+
+```
+> pip install queenbee[cli]
+```
+
+## Documentation
+
+You can access the full docs for this package and its CLI
+[here](https://pollination.github.io/queenbee/).
+
+You can also access the [Schema
+Documentation](https://pollination.github.io/queenbee/schemas/index.html) and
+OpenAPI documentation for:
+
+| Object | Redoc | OpenAPI JSON |
+| ------ | --------------------- | ------------------- |
+| Plugin | [redoc][plugin-redoc] | [json][plugin-json] |
+| Recipe | [redoc][recipe-redoc] | [json][recipe-json] |
+| Job | [redoc][job-redoc] | [json][job-json] |
+
+[plugin-json]: https://pollination.github.io/queenbee/_static/schemas/plugin-openapi.json
+[plugin-redoc]: https://pollination.github.io/queenbee/_static/redoc-plugin.html#tag/plugin_model
+[recipe-json]: https://pollination.github.io/queenbee/_static/schemas/recipe-openapi.json
+[recipe-redoc]: https://pollination.github.io/queenbee/_static/redoc-recipe.html#tag/recipe_model
+[job-json]: https://pollination.github.io/queenbee/_static/schemas/job-openapi.json
+[job-redoc]: https://pollination.github.io/queenbee/_static/redoc-job.html#tag/job_model
+
+## Local Development
+
+1. Clone this repo locally
+
+ ```console
+ git clone git@github.com:ladybug-tools/queenbee
+ ```
+
+ or
+
+ ```console
+ git clone https://github.com/ladybug-tools/queenbee
+ ```
+
+2. Install dependencies:
+
+ ```console
+ cd queenbee
+ pip install -r dev-requirements.txt
+ pip install -r requirements.txt
+ ```
+
+3. Run Tests:
+
+ ```console
+ python -m pytest tests/
+ ```
+
+4. Generate Documentation:
+
+ ```python
+ sphinx-apidoc -f -e -d 4 -o ./docs/modules ./queenbee
+ sphinx-build -b html ./docs ./docs/_build
+ ```
+
+5. Preview Documentation:
+
+ ```console
+ python -m http.server --directory ./docs/_build/
+ ```
+
+ Now you can see the documentation preview at http://localhost:8000
+
+
+
+
+%prep
+%autosetup -n queenbee-1.26.7
+
+%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-queenbee -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed Apr 12 2023 Python_Bot <Python_Bot@openeuler.org> - 1.26.7-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..5d57646
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+b00090a620a39ef5c504514ddcbbfd2a queenbee-1.26.7.tar.gz