From d7d464f221913c0c0a46a19ba8cd904927421ab7 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 10 May 2023 05:20:14 +0000 Subject: automatic import of python-neuro-flow --- python-neuro-flow.spec | 149 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 149 insertions(+) create mode 100644 python-neuro-flow.spec (limited to 'python-neuro-flow.spec') diff --git a/python-neuro-flow.spec b/python-neuro-flow.spec new file mode 100644 index 0000000..81416fa --- /dev/null +++ b/python-neuro-flow.spec @@ -0,0 +1,149 @@ +%global _empty_manifest_terminate_build 0 +Name: python-neuro-flow +Version: 22.8.1 +Release: 1 +Summary: Pipelines system for neu.ro +License: Apache 2 +URL: https://github.com/neuro-inc/neuro-flow +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/79/7c/e465017ae9e326980581f2e35defbdea9649ab94b2daac4955c45f4b2593/neuro-flow-22.8.1.tar.gz +BuildArch: noarch + +Requires: python3-neuro-cli +Requires: python3-pyyaml +Requires: python3-funcparserlib +Requires: python3-humanize +Requires: python3-neuro-extras +Requires: python3-graphviz +Requires: python3-yarl +Requires: python3-multidict +Requires: python3-rich +Requires: python3-typing-extensions +Requires: python3-click + +%description +# Getting started + +`neuro-flow` is a tool that simplifies daily jobs on the Neu.ro platform. + +Neuro Flow provides users the ability to create YAML files that configure routine things, for example, starting a Jupiter Notebook on the platform, starting a training pipeline, opening a file browser for remote storage, etc. + +The tool builds required Docker images and starts all necessary Neu.ro jobs under the hood, while the user doesn't have to type all required `neuro` options and manually manage the pipeline scenarios. + +## Installation + +The tool is hosted on PyPI and can be installed by `pip` as a regular Python project: + +```bash +$ pip install neuro-flow +``` + +Use the `--upgrade` option to upgrading Neuro Flow to the latest version: + +```bash +$ pip install --upgrade neuro-flow +``` + + + +%package -n python3-neuro-flow +Summary: Pipelines system for neu.ro +Provides: python-neuro-flow +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-neuro-flow +# Getting started + +`neuro-flow` is a tool that simplifies daily jobs on the Neu.ro platform. + +Neuro Flow provides users the ability to create YAML files that configure routine things, for example, starting a Jupiter Notebook on the platform, starting a training pipeline, opening a file browser for remote storage, etc. + +The tool builds required Docker images and starts all necessary Neu.ro jobs under the hood, while the user doesn't have to type all required `neuro` options and manually manage the pipeline scenarios. + +## Installation + +The tool is hosted on PyPI and can be installed by `pip` as a regular Python project: + +```bash +$ pip install neuro-flow +``` + +Use the `--upgrade` option to upgrading Neuro Flow to the latest version: + +```bash +$ pip install --upgrade neuro-flow +``` + + + +%package help +Summary: Development documents and examples for neuro-flow +Provides: python3-neuro-flow-doc +%description help +# Getting started + +`neuro-flow` is a tool that simplifies daily jobs on the Neu.ro platform. + +Neuro Flow provides users the ability to create YAML files that configure routine things, for example, starting a Jupiter Notebook on the platform, starting a training pipeline, opening a file browser for remote storage, etc. + +The tool builds required Docker images and starts all necessary Neu.ro jobs under the hood, while the user doesn't have to type all required `neuro` options and manually manage the pipeline scenarios. + +## Installation + +The tool is hosted on PyPI and can be installed by `pip` as a regular Python project: + +```bash +$ pip install neuro-flow +``` + +Use the `--upgrade` option to upgrading Neuro Flow to the latest version: + +```bash +$ pip install --upgrade neuro-flow +``` + + + +%prep +%autosetup -n neuro-flow-22.8.1 + +%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-neuro-flow -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot - 22.8.1-1 +- Package Spec generated -- cgit v1.2.3