diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-05 15:04:55 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 15:04:55 +0000 |
commit | 9f88df7a3e99b0320a6502ef80f79a413c4f410c (patch) | |
tree | 77a0c3a63733b46617d7fd6268299ad927eb7e42 | |
parent | 08b280ee1227610c52e8b9d92c075858fced47e4 (diff) |
automatic import of python-dbnd-examplesopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-dbnd-examples.spec | 108 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 110 insertions, 0 deletions
@@ -0,0 +1 @@ +/dbnd-examples-1.0.12.13.tar.gz diff --git a/python-dbnd-examples.spec b/python-dbnd-examples.spec new file mode 100644 index 0000000..8d93832 --- /dev/null +++ b/python-dbnd-examples.spec @@ -0,0 +1,108 @@ +%global _empty_manifest_terminate_build 0 +Name: python-dbnd-examples +Version: 1.0.12.13 +Release: 1 +Summary: Machine Learning Orchestration +License: Apache Software License +URL: https://github.com/databand-ai/dbnd +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/93/8f/27a47ac2c7c642d335bacecd838d3c8d7cbec1e6e252e68526d9e79df6cf/dbnd-examples-1.0.12.13.tar.gz +BuildArch: noarch + +Requires: python3-dbnd-airflow +Requires: python3-tables +Requires: python3-pandas +Requires: python3-scikit-learn +Requires: python3-scipy +Requires: python3-matplotlib +Requires: python3-pyspark +Requires: python3-scikit-learn +Requires: python3-scipy +Requires: python3-matplotlib +Requires: python3-pyspark +Requires: python3-dbnd-airflow + +%description +# dbnd-examples + +This package contains examples used by dbnd users to see dbnd capabilities and functionality + +## Installation + +This package can not be installed as a python module because of examples/data folder. +All data inside this folder is not embedded into the package. + + +%package -n python3-dbnd-examples +Summary: Machine Learning Orchestration +Provides: python-dbnd-examples +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-dbnd-examples +# dbnd-examples + +This package contains examples used by dbnd users to see dbnd capabilities and functionality + +## Installation + +This package can not be installed as a python module because of examples/data folder. +All data inside this folder is not embedded into the package. + + +%package help +Summary: Development documents and examples for dbnd-examples +Provides: python3-dbnd-examples-doc +%description help +# dbnd-examples + +This package contains examples used by dbnd users to see dbnd capabilities and functionality + +## Installation + +This package can not be installed as a python module because of examples/data folder. +All data inside this folder is not embedded into the package. + + +%prep +%autosetup -n dbnd-examples-1.0.12.13 + +%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-dbnd-examples -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.12.13-1 +- Package Spec generated @@ -0,0 +1 @@ +ccd7b063fe781dce7633c29756310d74 dbnd-examples-1.0.12.13.tar.gz |