summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-18 02:45:40 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-18 02:45:40 +0000
commitbeef25229461a37c48981f81c9cb73b192171b27 (patch)
tree10eebe55c56823923c39689523fec76da3e79b92
parent41010fa223e017849821f2942fa225603c616a48 (diff)
automatic import of python-aide-sdk
-rw-r--r--.gitignore1
-rw-r--r--python-aide-sdk.spec91
-rw-r--r--sources1
3 files changed, 93 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..34faf36 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/aide-sdk-1.0.6.tar.gz
diff --git a/python-aide-sdk.spec b/python-aide-sdk.spec
new file mode 100644
index 0000000..e2c7805
--- /dev/null
+++ b/python-aide-sdk.spec
@@ -0,0 +1,91 @@
+%global _empty_manifest_terminate_build 0
+Name: python-aide-sdk
+Version: 1.0.6
+Release: 1
+Summary: AI Deployment Engine SDK. This package allows you to build AI inference models to be run on the AIDE platform.
+License: Apache-2.0
+URL: https://www.aicentre.co.uk/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/6a/e4/5196c0ebae8206ecb161794b61b86747934768eca1f7bb7f8b3362105ec5/aide-sdk-1.0.6.tar.gz
+BuildArch: noarch
+
+Requires: python3-pydicom
+Requires: python3-pika
+Requires: python3-simplejson
+Requires: python3-json-logging
+Requires: python3-dataclasses-json
+Requires: python3-jsonpickle
+Requires: python3-marshmallow-polyfield
+Requires: python3-marshmallow
+Requires: python3-elasticsearch-dsl
+Requires: python3-elasticsearch
+Requires: python3-pynetdicom
+Requires: python3-requests
+Requires: python3-aide-infra
+
+%description
+`origin` | Origin | The origin object contains the initial input information to this pipeline.
+`resources` | List[Resource] | The resources added by previous operators in the pipeline.
+###### Methods
+
+%package -n python3-aide-sdk
+Summary: AI Deployment Engine SDK. This package allows you to build AI inference models to be run on the AIDE platform.
+Provides: python-aide-sdk
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-aide-sdk
+`origin` | Origin | The origin object contains the initial input information to this pipeline.
+`resources` | List[Resource] | The resources added by previous operators in the pipeline.
+###### Methods
+
+%package help
+Summary: Development documents and examples for aide-sdk
+Provides: python3-aide-sdk-doc
+%description help
+`origin` | Origin | The origin object contains the initial input information to this pipeline.
+`resources` | List[Resource] | The resources added by previous operators in the pipeline.
+###### Methods
+
+%prep
+%autosetup -n aide-sdk-1.0.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-aide-sdk -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.6-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..2cb186a
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+437adb814de6e9d554b0bf1e20a8f26b aide-sdk-1.0.6.tar.gz