From aa73688b39ff91ba3ea7f5db98d984a3a3f093e4 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 15 May 2023 03:59:24 +0000 Subject: automatic import of python-waterch-tasker --- .gitignore | 1 + python-waterch-tasker.spec | 197 +++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 199 insertions(+) create mode 100644 python-waterch-tasker.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..309d3f4 100644 --- a/.gitignore +++ b/.gitignore @@ -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 + +![License](https://img.shields.io/github/license/chenrz925/waterch-tasker?style=flat-square) +![Last Commit](https://img.shields.io/github/last-commit/chenrz925/waterch-tasker?style=flat-square) +[![PyPI](https://img.shields.io/pypi/v/waterch-tasker?style=flat-square)](https://pypi.org/project/waterch-tasker/) +![GitHub Workflow Status](https://img.shields.io/github/workflow/status/chenrz925/waterch-tasker/CI?style=flat-square) + +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 + +![License](https://img.shields.io/github/license/chenrz925/waterch-tasker?style=flat-square) +![Last Commit](https://img.shields.io/github/last-commit/chenrz925/waterch-tasker?style=flat-square) +[![PyPI](https://img.shields.io/pypi/v/waterch-tasker?style=flat-square)](https://pypi.org/project/waterch-tasker/) +![GitHub Workflow Status](https://img.shields.io/github/workflow/status/chenrz925/waterch-tasker/CI?style=flat-square) + +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 + +![License](https://img.shields.io/github/license/chenrz925/waterch-tasker?style=flat-square) +![Last Commit](https://img.shields.io/github/last-commit/chenrz925/waterch-tasker?style=flat-square) +[![PyPI](https://img.shields.io/pypi/v/waterch-tasker?style=flat-square)](https://pypi.org/project/waterch-tasker/) +![GitHub Workflow Status](https://img.shields.io/github/workflow/status/chenrz925/waterch-tasker/CI?style=flat-square) + +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 - 0.4.3-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..8ddcf8c --- /dev/null +++ b/sources @@ -0,0 +1 @@ +5cdca10b2bd902aa57122ce820b3f2a3 waterch-tasker-0.4.3.tar.gz -- cgit v1.2.3