diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-aim.spec | 121 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 123 insertions, 0 deletions
@@ -0,0 +1 @@ +/aim-3.17.3.tar.gz diff --git a/python-aim.spec b/python-aim.spec new file mode 100644 index 0000000..9bcc278 --- /dev/null +++ b/python-aim.spec @@ -0,0 +1,121 @@ +%global _empty_manifest_terminate_build 0 +Name: python-aim +Version: 3.17.3 +Release: 1 +Summary: A super-easy way to record, search and compare AI experiments. +License: Apache Software License +URL: https://pypi.org/project/aim/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/75/5d/0de5877f6aa71678ccaa230058f802a9405f7f60d07a990e4a28a5771d97/aim-3.17.3.tar.gz +BuildArch: noarch + +Requires: python3-aim-ui +Requires: python3-aimrecords +Requires: python3-aimrocks +Requires: python3-cachetools +Requires: python3-click +Requires: python3-cryptography +Requires: python3-filelock +Requires: python3-numpy +Requires: python3-psutil +Requires: python3-py3nvml +Requires: python3-RestrictedPython +Requires: python3-tqdm +Requires: python3-aiofiles +Requires: python3-alembic +Requires: python3-fastapi +Requires: python3-jinja2 +Requires: python3-pytz +Requires: python3-SQLAlchemy +Requires: python3-uvicorn +Requires: python3-Pillow +Requires: python3-protobuf +Requires: python3-packaging +Requires: python3-dateutil +Requires: python3-requests +Requires: python3-segment-analytics-python + +%description +<h3 align="center"> + <a href="#-about"><b>About</b></a> • + <a href="#-demos"><b>Demos</b></a> • + <a href="#-ecosystem"><b>Ecosystem</b></a> • + <a href="#-quick-start"><b>Quick Start</b></a> • + <a href="https://github.com/aimhubio/aim/tree/main/examples"><b>Examples</b></a> • + <a href="https://aimstack.readthedocs.io/en/latest/"><b>Documentation</b></a> • + <a href="#-community"><b>Community</b></a> • + <a href="https://aimstack.io/blog"><b>Blog</b></a> + +%package -n python3-aim +Summary: A super-easy way to record, search and compare AI experiments. +Provides: python-aim +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-aim +<h3 align="center"> + <a href="#-about"><b>About</b></a> • + <a href="#-demos"><b>Demos</b></a> • + <a href="#-ecosystem"><b>Ecosystem</b></a> • + <a href="#-quick-start"><b>Quick Start</b></a> • + <a href="https://github.com/aimhubio/aim/tree/main/examples"><b>Examples</b></a> • + <a href="https://aimstack.readthedocs.io/en/latest/"><b>Documentation</b></a> • + <a href="#-community"><b>Community</b></a> • + <a href="https://aimstack.io/blog"><b>Blog</b></a> + +%package help +Summary: Development documents and examples for aim +Provides: python3-aim-doc +%description help +<h3 align="center"> + <a href="#-about"><b>About</b></a> • + <a href="#-demos"><b>Demos</b></a> • + <a href="#-ecosystem"><b>Ecosystem</b></a> • + <a href="#-quick-start"><b>Quick Start</b></a> • + <a href="https://github.com/aimhubio/aim/tree/main/examples"><b>Examples</b></a> • + <a href="https://aimstack.readthedocs.io/en/latest/"><b>Documentation</b></a> • + <a href="#-community"><b>Community</b></a> • + <a href="https://aimstack.io/blog"><b>Blog</b></a> + +%prep +%autosetup -n aim-3.17.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-aim -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 3.17.3-1 +- Package Spec generated @@ -0,0 +1 @@ +500704b8180aa735a123dd16c43b860a aim-3.17.3.tar.gz |