diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-incendio.spec | 133 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 135 insertions, 0 deletions
@@ -0,0 +1 @@ +/incendio-0.14.0.tar.gz diff --git a/python-incendio.spec b/python-incendio.spec new file mode 100644 index 0000000..2ee4415 --- /dev/null +++ b/python-incendio.spec @@ -0,0 +1,133 @@ +%global _empty_manifest_terminate_build 0 +Name: python-incendio +Version: 0.14.0 +Release: 1 +Summary: A mini-library of PyTorch utilities, wrappers, and miscellaneous tools for deep learning. +License: Apache Software License 2.0 +URL: https://github.com/hdmamin/incendio +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/24/5f/85885ff94b07bf1fd513e93ccaffce7bb9559e287cf0b6b826ab210952d9/incendio-0.14.0.tar.gz +BuildArch: noarch + +Requires: python3-boto3 +Requires: python3-einops +Requires: python3-matplotlib +Requires: python3-mmh3 +Requires: python3-multipledispatch +Requires: python3-numpy +Requires: python3-pandas +Requires: python3-requests +Requires: python3-scikit-learn +Requires: python3-spacy +Requires: python3-tabulate +Requires: python3-textblob +Requires: python3-tqdm +Requires: python3-htools +Requires: python3-comet-ml +Requires: python3-tldextract +Requires: python3-torch +Requires: python3-transformers +Requires: python3-mosestokenizer +Requires: python3-sentencepiece +Requires: python3-beautifulsoup4 +Requires: python3-accio + +%description +# Incendio +> A mini-library of PyTorch utilities, wrappers, and miscellaneous tools for deep learning. + + +## Install + +`pip install incendio` + +## Documentation + +https://hdmamin.github.io/incendio/ + + + + +%package -n python3-incendio +Summary: A mini-library of PyTorch utilities, wrappers, and miscellaneous tools for deep learning. +Provides: python-incendio +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-incendio +# Incendio +> A mini-library of PyTorch utilities, wrappers, and miscellaneous tools for deep learning. + + +## Install + +`pip install incendio` + +## Documentation + +https://hdmamin.github.io/incendio/ + + + + +%package help +Summary: Development documents and examples for incendio +Provides: python3-incendio-doc +%description help +# Incendio +> A mini-library of PyTorch utilities, wrappers, and miscellaneous tools for deep learning. + + +## Install + +`pip install incendio` + +## Documentation + +https://hdmamin.github.io/incendio/ + + + + +%prep +%autosetup -n incendio-0.14.0 + +%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-incendio -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.14.0-1 +- Package Spec generated @@ -0,0 +1 @@ +d26d39993e6776ebefe3450601091abe incendio-0.14.0.tar.gz |