diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-20 08:24:39 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-20 08:24:39 +0000 |
commit | 2e60bdc0a36f55e6983669ba5a7b4a4ab2bfa8bd (patch) | |
tree | 33dd817f586cedc0dcc548b108f7753941ba3d78 | |
parent | b05799a2d379b277ebc302a85830515021f43644 (diff) |
automatic import of python-datarobot-bp-workshopopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-datarobot-bp-workshop.spec | 90 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 92 insertions, 0 deletions
@@ -0,0 +1 @@ +/datarobot-bp-workshop-0.2.6.tar.gz diff --git a/python-datarobot-bp-workshop.spec b/python-datarobot-bp-workshop.spec new file mode 100644 index 0000000..2aaa516 --- /dev/null +++ b/python-datarobot-bp-workshop.spec @@ -0,0 +1,90 @@ +%global _empty_manifest_terminate_build 0 +Name: python-datarobot-bp-workshop +Version: 0.2.6 +Release: 1 +Summary: This client library is designed to support building DataRobot blueprints. +License: DataRobot Tool and Utility Agreement +URL: https://blueprint-workshop.datarobot.com +Source0: https://mirrors.aliyun.com/pypi/web/packages/95/c0/8b7f539cc2015050e0fee49b57f8a609f49a992c98759abdf961a001e522/datarobot-bp-workshop-0.2.6.tar.gz +BuildArch: noarch + + +%description +The Blueprint Workshop is built to ensure that constructing and modifying DataRobot blueprints +through a programmatic interface is idiomatic, convenient, and powerful. +This library requires a `DataRobot`_ account. +The easiest way to get started is by reading the +`Documentation`_. +This package is covered under the DataRobot Tool and Utility Agreement, which can be +read on our `Legal`_ page, along with our privacy policy and more. + +%package -n python3-datarobot-bp-workshop +Summary: This client library is designed to support building DataRobot blueprints. +Provides: python-datarobot-bp-workshop +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-datarobot-bp-workshop +The Blueprint Workshop is built to ensure that constructing and modifying DataRobot blueprints +through a programmatic interface is idiomatic, convenient, and powerful. +This library requires a `DataRobot`_ account. +The easiest way to get started is by reading the +`Documentation`_. +This package is covered under the DataRobot Tool and Utility Agreement, which can be +read on our `Legal`_ page, along with our privacy policy and more. + +%package help +Summary: Development documents and examples for datarobot-bp-workshop +Provides: python3-datarobot-bp-workshop-doc +%description help +The Blueprint Workshop is built to ensure that constructing and modifying DataRobot blueprints +through a programmatic interface is idiomatic, convenient, and powerful. +This library requires a `DataRobot`_ account. +The easiest way to get started is by reading the +`Documentation`_. +This package is covered under the DataRobot Tool and Utility Agreement, which can be +read on our `Legal`_ page, along with our privacy policy and more. + +%prep +%autosetup -n datarobot-bp-workshop-0.2.6 + +%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-datarobot-bp-workshop -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.6-1 +- Package Spec generated @@ -0,0 +1 @@ +4cf6168a1ea0c344c84d48a8f9b83640 datarobot-bp-workshop-0.2.6.tar.gz |