diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-15 03:59:24 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-15 03:59:24 +0000 |
commit | aa73688b39ff91ba3ea7f5db98d984a3a3f093e4 (patch) | |
tree | 787a9b924da3a28ff45fedf7ed1c4973f4e46bb6 | |
parent | 7eaa31cb511054bcd679c69d4ec6eee311b7a712 (diff) |
automatic import of python-waterch-tasker
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-waterch-tasker.spec | 197 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 199 insertions, 0 deletions
@@ -0,0 +1 @@ +/waterch-tasker-0.4.3.tar.gz diff --git a/python-waterch-tasker.spec b/python-waterch-tasker.spec new file mode 100644 index 0000000..176eb7b --- /dev/null +++ b/python-waterch-tasker.spec @@ -0,0 +1,197 @@ +%global _empty_manifest_terminate_build 0 +Name: python-waterch-tasker +Version: 0.4.3 +Release: 1 +Summary: A scalable and extendable experiment task scheduler framework. +License: Apache Software License +URL: https://github.com/chenrz925/waterch-tasker +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/29/21/777334a463282b58206d17536bfdfe89dda448babf6679d5faf8413431e6/waterch-tasker-0.4.3.tar.gz +BuildArch: noarch + +Requires: python3-box +Requires: python3-toml +Requires: python3-more-itertools +Requires: python3-torch +Requires: python3-pytorch-ignite + +%description +# Tasker + + + +[](https://pypi.org/project/waterch-tasker/) + + +A scalable and extendable experiment task scheduler framework. [Documentation](http://tasker.waterch.cn) + +## Install + +You can install waterch-tasker using `pip`. + +```shell +pip install waterch-tasker +``` + +And if you want a more simple and robust version of waterch-tasker, please install v0.2.10. + +```shell +pip install waterch-tasker==0.2.10 +``` + +## Usage + +When waterch-tasker is installed, please use `--help` command. + +```shell +waterch-tasker --help +``` + +or + +```shell +tasker --help +``` + + + + + + +%package -n python3-waterch-tasker +Summary: A scalable and extendable experiment task scheduler framework. +Provides: python-waterch-tasker +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-waterch-tasker +# Tasker + + + +[](https://pypi.org/project/waterch-tasker/) + + +A scalable and extendable experiment task scheduler framework. [Documentation](http://tasker.waterch.cn) + +## Install + +You can install waterch-tasker using `pip`. + +```shell +pip install waterch-tasker +``` + +And if you want a more simple and robust version of waterch-tasker, please install v0.2.10. + +```shell +pip install waterch-tasker==0.2.10 +``` + +## Usage + +When waterch-tasker is installed, please use `--help` command. + +```shell +waterch-tasker --help +``` + +or + +```shell +tasker --help +``` + + + + + + +%package help +Summary: Development documents and examples for waterch-tasker +Provides: python3-waterch-tasker-doc +%description help +# Tasker + + + +[](https://pypi.org/project/waterch-tasker/) + + +A scalable and extendable experiment task scheduler framework. [Documentation](http://tasker.waterch.cn) + +## Install + +You can install waterch-tasker using `pip`. + +```shell +pip install waterch-tasker +``` + +And if you want a more simple and robust version of waterch-tasker, please install v0.2.10. + +```shell +pip install waterch-tasker==0.2.10 +``` + +## Usage + +When waterch-tasker is installed, please use `--help` command. + +```shell +waterch-tasker --help +``` + +or + +```shell +tasker --help +``` + + + + + + +%prep +%autosetup -n waterch-tasker-0.4.3 + +%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-waterch-tasker -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.4.3-1 +- Package Spec generated @@ -0,0 +1 @@ +5cdca10b2bd902aa57122ce820b3f2a3 waterch-tasker-0.4.3.tar.gz |