diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-05 07:21:55 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 07:21:55 +0000 |
commit | a81de569b5cfd9ff4d788841aa42d6e27b4f3026 (patch) | |
tree | 7f4a4013c9810a8aab10f8f2df0905935848c0a9 | |
parent | a90251daa0231bb32482831b433c369f1c0a024e (diff) |
automatic import of python-keras-tqdmopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-keras-tqdm.spec | 80 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 82 insertions, 0 deletions
@@ -0,0 +1 @@ +/keras_tqdm-2.0.1.tar.gz diff --git a/python-keras-tqdm.spec b/python-keras-tqdm.spec new file mode 100644 index 0000000..c02399f --- /dev/null +++ b/python-keras-tqdm.spec @@ -0,0 +1,80 @@ +%global _empty_manifest_terminate_build 0 +Name: python-keras-tqdm +Version: 2.0.1 +Release: 1 +Summary: Keras models with TQDM progress bars in Jupyter notebooks +License: MIT +URL: https://github.com/bstriner/keras-tqdm +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/ce/02/bf464481236468315d4b2ccc1e3abd95602fba98508c68e38259d7483853/keras_tqdm-2.0.1.tar.gz +BuildArch: noarch + +Requires: python3-Keras +Requires: python3-tqdm + +%description +Keras integration with TQDM progress bars. +* `Keras <https://github.com/fchollet/keras>`__ is an awesome machine learning library for Theano or TensorFlow. +* `TQDM <https://github.com/tqdm/tqdm>`__ is a progress bar library with good support for nested loops and Jupyter/IPython notebooks. + +%package -n python3-keras-tqdm +Summary: Keras models with TQDM progress bars in Jupyter notebooks +Provides: python-keras-tqdm +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-keras-tqdm +Keras integration with TQDM progress bars. +* `Keras <https://github.com/fchollet/keras>`__ is an awesome machine learning library for Theano or TensorFlow. +* `TQDM <https://github.com/tqdm/tqdm>`__ is a progress bar library with good support for nested loops and Jupyter/IPython notebooks. + +%package help +Summary: Development documents and examples for keras-tqdm +Provides: python3-keras-tqdm-doc +%description help +Keras integration with TQDM progress bars. +* `Keras <https://github.com/fchollet/keras>`__ is an awesome machine learning library for Theano or TensorFlow. +* `TQDM <https://github.com/tqdm/tqdm>`__ is a progress bar library with good support for nested loops and Jupyter/IPython notebooks. + +%prep +%autosetup -n keras-tqdm-2.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-keras-tqdm -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 2.0.1-1 +- Package Spec generated @@ -0,0 +1 @@ +47d863c1e0cf5ab0c71accd9f025c35c keras_tqdm-2.0.1.tar.gz |