From d77f890fb62ace5ece4d4d0e25a03dafdbcdea56 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 10 Apr 2023 12:08:41 +0000 Subject: automatic import of python-h2o --- .gitignore | 1 + python-h2o.spec | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 74 insertions(+) create mode 100644 python-h2o.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..bfdb8f7 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/h2o-3.40.0.3.tar.gz 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 - 3.40.0.3-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..e3bfbcd --- /dev/null +++ b/sources @@ -0,0 +1 @@ +da592e33e993ba56d60a511cf5c95f7d h2o-3.40.0.3.tar.gz -- cgit v1.2.3