diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-autotorch.spec | 131 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 133 insertions, 0 deletions
@@ -0,0 +1 @@ +/AutoTorch-0.0.1.tar.gz diff --git a/python-autotorch.spec b/python-autotorch.spec new file mode 100644 index 0000000..1dbe5da --- /dev/null +++ b/python-autotorch.spec @@ -0,0 +1,131 @@ +%global _empty_manifest_terminate_build 0 +Name: python-AutoTorch +Version: 0.0.1 +Release: 1 +Summary: AutoTorch Package +License: Apache-2.0 +URL: https://github.com/StacyYang/AutoTorch +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/37/88/7da93275afe6addd870252f0b28988f5cb0ef4e9c52b2ea7182e820c180e/AutoTorch-0.0.1.tar.gz +BuildArch: noarch + +Requires: python3-numpy +Requires: python3-cython +Requires: python3-requests +Requires: python3-matplotlib +Requires: python3-dask +Requires: python3-tqdm +Requires: python3-paramiko +Requires: python3-tornado +Requires: python3-distributed +Requires: python3-ConfigSpace +Requires: python3-nose + +%description +[](https://pypi.python.org/pypi/autotorch) +[](https://pypi.org/project/autotorch/#history) +[](http://pepy.tech/project/autotorch) +[](https://github.com/https://github.com/StacyYang/AutoTorch/actions) +[](https://github.com/StacyYang/AutoTorch/actions) +[](https://github.com/StacyYang/AutoTorch/actions) + +<div align="left"> + <img src="./docs/source/_static/logo.jpg" width="350"> +</div> + +created by [Stacy Yang](http://stacyyang.org/) + +## [Documentation](https://autotorch.org/) + + + + +%package -n python3-AutoTorch +Summary: AutoTorch Package +Provides: python-AutoTorch +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-AutoTorch +[](https://pypi.python.org/pypi/autotorch) +[](https://pypi.org/project/autotorch/#history) +[](http://pepy.tech/project/autotorch) +[](https://github.com/https://github.com/StacyYang/AutoTorch/actions) +[](https://github.com/StacyYang/AutoTorch/actions) +[](https://github.com/StacyYang/AutoTorch/actions) + +<div align="left"> + <img src="./docs/source/_static/logo.jpg" width="350"> +</div> + +created by [Stacy Yang](http://stacyyang.org/) + +## [Documentation](https://autotorch.org/) + + + + +%package help +Summary: Development documents and examples for AutoTorch +Provides: python3-AutoTorch-doc +%description help +[](https://pypi.python.org/pypi/autotorch) +[](https://pypi.org/project/autotorch/#history) +[](http://pepy.tech/project/autotorch) +[](https://github.com/https://github.com/StacyYang/AutoTorch/actions) +[](https://github.com/StacyYang/AutoTorch/actions) +[](https://github.com/StacyYang/AutoTorch/actions) + +<div align="left"> + <img src="./docs/source/_static/logo.jpg" width="350"> +</div> + +created by [Stacy Yang](http://stacyyang.org/) + +## [Documentation](https://autotorch.org/) + + + + +%prep +%autosetup -n AutoTorch-0.0.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-AutoTorch -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.1-1 +- Package Spec generated @@ -0,0 +1 @@ +2171856701979ee4043da4c115c9908a AutoTorch-0.0.1.tar.gz |
