diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-04-10 12:08:41 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-04-10 12:08:41 +0000 |
| commit | d77f890fb62ace5ece4d4d0e25a03dafdbcdea56 (patch) | |
| tree | 2fe440e9177a964730c244a1562b76d3b843a216 /python-h2o.spec | |
| parent | 47324de5bfb9a2d70e470f4ebbd56520d52b33cc (diff) | |
automatic import of python-h2o
Diffstat (limited to 'python-h2o.spec')
| -rw-r--r-- | python-h2o.spec | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/python-h2o.spec b/python-h2o.spec new file mode 100644 index 0000000..20b3ff7 --- /dev/null +++ b/python-h2o.spec @@ -0,0 +1,72 @@ +%global _empty_manifest_terminate_build 0 +Name: python-h2o +Version: 3.40.0.3 +Release: 1 +Summary: H2O, Fast Scalable Machine Learning, for python +License: Apache v2 +URL: https://github.com/h2oai/h2o-3.git +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/bb/3b/97ca05e623b49e912e2764f05617c211b44d3f4d567ae1514a2c2b659b1c/h2o-3.40.0.3.tar.gz +BuildArch: noarch + + +%description +H2O makes Hadoop do math! H2O scales statistics, machine learning and math over BigData. H2O is extensible and users can build blocks using simple math legos in the core. H2O keeps familiar interfaces like python, R, Excel & JSON so that BigData enthusiasts & experts can explore, munge, model and score datasets using a range of simple to advanced algorithms. Data collection is easy. Decision making is hard. H2O makes it fast and easy to derive insights from your data through faster and better predictive modeling. H2O has a vision of online scoring and modeling in a single platform. + +%package -n python3-h2o +Summary: H2O, Fast Scalable Machine Learning, for python +Provides: python-h2o +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-h2o +H2O makes Hadoop do math! H2O scales statistics, machine learning and math over BigData. H2O is extensible and users can build blocks using simple math legos in the core. H2O keeps familiar interfaces like python, R, Excel & JSON so that BigData enthusiasts & experts can explore, munge, model and score datasets using a range of simple to advanced algorithms. Data collection is easy. Decision making is hard. H2O makes it fast and easy to derive insights from your data through faster and better predictive modeling. H2O has a vision of online scoring and modeling in a single platform. + +%package help +Summary: Development documents and examples for h2o +Provides: python3-h2o-doc +%description help +H2O makes Hadoop do math! H2O scales statistics, machine learning and math over BigData. H2O is extensible and users can build blocks using simple math legos in the core. H2O keeps familiar interfaces like python, R, Excel & JSON so that BigData enthusiasts & experts can explore, munge, model and score datasets using a range of simple to advanced algorithms. Data collection is easy. Decision making is hard. H2O makes it fast and easy to derive insights from your data through faster and better predictive modeling. H2O has a vision of online scoring and modeling in a single platform. + +%prep +%autosetup -n h2o-3.40.0.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-h2o -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 3.40.0.3-1 +- Package Spec generated |
