49 lines
1.6 KiB
RPMSpec
49 lines
1.6 KiB
RPMSpec
%global modname Keras_Preprocessing
|
|
|
|
Summary: The data preprocessing and data augmentation module of the Keras deep learning library
|
|
Name: python-Keras_Preprocessing
|
|
Version: 1.1.0
|
|
Release: 1
|
|
License: MIT
|
|
URL: https://github.com/keras-team/keras-preprocessing
|
|
Source0: https://files.pythonhosted.org/packages/6d/2b/d45a295e6b31d8b6663b705dff2f178ae16e8d2eac41097810a411d7b10f/Keras_Preprocessing-1.1.0.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: python3-devel
|
|
BuildRequires: python3-six
|
|
BuildRequires: python3-numpy
|
|
|
|
%description
|
|
Keras Preprocessing is the data preprocessing and data augmentation module of the Keras deep learning library. It provides utilities for working with image data, text data, and sequence data.
|
|
|
|
%package -n python3-Keras_Preprocessing
|
|
Summary: %{summary}
|
|
Requires: python3-numpy
|
|
Requires: python3-six
|
|
%{?python_provide:%python_provide python3-Keras_Preprocessing}
|
|
%description -n python3-Keras_Preprocessing
|
|
Keras Preprocessing is the data preprocessing and data augmentation module of the Keras deep learning library. It provides utilities for working with image data, text data, and sequence data.
|
|
|
|
%prep
|
|
%setup -q -n %{modname}-%{version}
|
|
|
|
%build
|
|
%py3_build
|
|
|
|
%install
|
|
%py3_install
|
|
|
|
%check
|
|
%{__python3} setup.py test
|
|
|
|
%files -n python3-Keras_Preprocessing
|
|
%license LICENSE
|
|
%doc README.md
|
|
%{python3_sitelib}/keras_preprocessing/
|
|
%{python3_sitelib}/%{modname}-%{version}-*.egg-info
|
|
|
|
%changelog
|
|
* Tue Oct 22 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.1.0-1
|
|
- Package init
|