diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-29 12:21:00 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-29 12:21:00 +0000 |
| commit | 405c27ff65133a0430ba1a6b1014a3e8c3e8c284 (patch) | |
| tree | fcfc34ad17c51b45589f821ea38c39ff2a03fe43 | |
| parent | ef7848385acb86ade3a6119f798fd4c17e6b30c8 (diff) | |
automatic import of python-fastestimator
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-fastestimator.spec | 118 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 120 insertions, 0 deletions
@@ -0,0 +1 @@ +/fastestimator-1.5.2.tar.gz diff --git a/python-fastestimator.spec b/python-fastestimator.spec new file mode 100644 index 0000000..d6c9207 --- /dev/null +++ b/python-fastestimator.spec @@ -0,0 +1,118 @@ +%global _empty_manifest_terminate_build 0 +Name: python-fastestimator +Version: 1.5.2 +Release: 1 +Summary: Deep learning framework +License: Apache License 2.0 +URL: https://github.com/fastestimator/fastestimator +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/08/ee/dc1a5fb2ec18b8b31d44180bf0070e051d8dd5429c1c602653fcd96e016c/fastestimator-1.5.2.tar.gz +BuildArch: noarch + +Requires: python3-albumentations[imgaug] +Requires: python3-matplotlib +Requires: python3-h5py +Requires: python3-scipy +Requires: python3-PyLaTeX +Requires: python3-natsort +Requires: python3-tensorflow-probability +Requires: python3-tensorflow-addons +Requires: python3-transformers +Requires: python3-pytorch-model-summary +Requires: python3-graphviz +Requires: python3-hiddenlayer +Requires: python3-pydot +Requires: python3-dot2tex +Requires: python3-gdown +Requires: python3-PySocks +Requires: python3-uncertainty-calibration +Requires: python3-dill +Requires: python3-scikit-image +Requires: python3-prettytable +Requires: python3-nltk +Requires: python3-requests +Requires: python3-tqdm +Requires: python3-numpy +Requires: python3-pyfiglet +Requires: python3-opencv-python +Requires: python3-pandas +Requires: python3-wget +Requires: python3-pillow +Requires: python3-jsonpickle +Requires: python3-docx +Requires: python3-plotly +Requires: python3-kaleido +Requires: python3-orjson +Requires: python3-scikit-learn +Requires: python3-lazy-loader +Requires: python3-pycocotools-fix + +%description +FastEstimator is a high-level deep learning API. With the help of FastEstimator, you can easily build a high-performance deep learning model and run it anywhere. + + + + +%package -n python3-fastestimator +Summary: Deep learning framework +Provides: python-fastestimator +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-fastestimator +FastEstimator is a high-level deep learning API. With the help of FastEstimator, you can easily build a high-performance deep learning model and run it anywhere. + + + + +%package help +Summary: Development documents and examples for fastestimator +Provides: python3-fastestimator-doc +%description help +FastEstimator is a high-level deep learning API. With the help of FastEstimator, you can easily build a high-performance deep learning model and run it anywhere. + + + + +%prep +%autosetup -n fastestimator-1.5.2 + +%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-fastestimator -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 29 2023 Python_Bot <Python_Bot@openeuler.org> - 1.5.2-1 +- Package Spec generated @@ -0,0 +1 @@ +1ead2df024f5ab0dd22b2b5d0a17a00a fastestimator-1.5.2.tar.gz |
