diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-aim-cli.spec | 103 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 105 insertions, 0 deletions
@@ -0,0 +1 @@ +/aim-cli-2.7.4.tar.gz diff --git a/python-aim-cli.spec b/python-aim-cli.spec new file mode 100644 index 0000000..280d9c2 --- /dev/null +++ b/python-aim-cli.spec @@ -0,0 +1,103 @@ +%global _empty_manifest_terminate_build 0 +Name: python-aim-cli +Version: 2.7.4 +Release: 1 +Summary: A super-easy way to record, search and compare AI experiments. +License: MIT License +URL: https://pypi.org/project/aim-cli/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/47/47/eb8858cfde3cb88a396cc3e88635be5c035e9253aaa8ac858f84427e1bfc/aim-cli-2.7.4.tar.gz +BuildArch: noarch + +Requires: python3-click +Requires: python3-anytree +Requires: python3-pyrser +Requires: python3-GitPython +Requires: python3-requests +Requires: python3-psutil +Requires: python3-py3nvml +Requires: python3-docker +Requires: python3-aimrecords +Requires: python3-protobuf +Requires: python3-alembic +Requires: python3-Flask +Requires: python3-Flask-Cors +Requires: python3-Flask-Migrate +Requires: python3-Flask-RESTful +Requires: python3-Flask-Script +Requires: python3-Flask-SQLAlchemy +Requires: python3-SQLAlchemy +Requires: python3-pysqlite3 +Requires: python3-pytz +Requires: python3-tensorboard +Requires: python3-gunicorn + +%description +A super-easy way to record, search and compare AI experiments. + + + + +%package -n python3-aim-cli +Summary: A super-easy way to record, search and compare AI experiments. +Provides: python-aim-cli +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-aim-cli +A super-easy way to record, search and compare AI experiments. + + + + +%package help +Summary: Development documents and examples for aim-cli +Provides: python3-aim-cli-doc +%description help +A super-easy way to record, search and compare AI experiments. + + + + +%prep +%autosetup -n aim-cli-2.7.4 + +%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-aim-cli -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 2.7.4-1 +- Package Spec generated @@ -0,0 +1 @@ +eafd55239b70515594953e2a1f3bb4e2 aim-cli-2.7.4.tar.gz |