From 5fb1a25ea4d822fcefdb9f284df7772b0294db1d Mon Sep 17 00:00:00 2001
From: CoprDistGit <infra@openeuler.org>
Date: Tue, 20 Jun 2023 09:58:32 +0000
Subject: automatic import of python-PyOphidia

---
 .gitignore            |  1 +
 python-pyophidia.spec | 90 +++++++++++++++++++++++++++++++++++++++++++++++++++
 sources               |  1 +
 3 files changed, 92 insertions(+)
 create mode 100644 python-pyophidia.spec
 create mode 100644 sources

diff --git a/.gitignore b/.gitignore
index e69de29..14562e6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/PyOphidia-1.10.0.tar.gz
diff --git a/python-pyophidia.spec b/python-pyophidia.spec
new file mode 100644
index 0000000..1af6578
--- /dev/null
+++ b/python-pyophidia.spec
@@ -0,0 +1,90 @@
+%global _empty_manifest_terminate_build 0
+Name:		python-PyOphidia
+Version:	1.10.0
+Release:	1
+Summary:	Python bindings for the Ophidia Data Analytics Platform
+License:	GPLv3+
+URL:		http://ophidia.cmcc.it
+Source0:	https://mirrors.aliyun.com/pypi/web/packages/bf/3a/aa7a859dcef9d5fa78002b163a87a82c0882dad8850f2ed26dcba4281b08/PyOphidia-1.10.0.tar.gz
+BuildArch:	noarch
+
+Requires:	python3-numpy
+Requires:	python3-pandas
+Requires:	python3-xarray
+
+%description
+*PyOphidia* is a GPLv3_-licensed Python package for interacting with the Ophidia_ framework.
+It is an alternative to Oph_Term, the Ophidia no-GUI interpreter component, and a convenient way to submit SOAP HTTPS requests to an Ophidia server or to develop your own application using Python. 
+It runs on Python 2.7, 3.7, 3.8, 3.9 and 3.10 it is pure-Python code and has some dependencies on Xarray, Pandas and Numpy. It requires a running Ophidia instance for client-server interactions. The latest PyOphidia version (v1.10) is compatible with Ophidia v1.7.
+It provides 2 main modules:
+- client.py: generic *low level* class to submit any type of requests (simple tasks and workflows), using SSL and SOAP with the client ophsubmit.py;
+- cube.py: *high level* cube-oriented class to interact directly with cubes, with several methods wrapping the operators.
+
+%package -n python3-PyOphidia
+Summary:	Python bindings for the Ophidia Data Analytics Platform
+Provides:	python-PyOphidia
+BuildRequires:	python3-devel
+BuildRequires:	python3-setuptools
+BuildRequires:	python3-pip
+%description -n python3-PyOphidia
+*PyOphidia* is a GPLv3_-licensed Python package for interacting with the Ophidia_ framework.
+It is an alternative to Oph_Term, the Ophidia no-GUI interpreter component, and a convenient way to submit SOAP HTTPS requests to an Ophidia server or to develop your own application using Python. 
+It runs on Python 2.7, 3.7, 3.8, 3.9 and 3.10 it is pure-Python code and has some dependencies on Xarray, Pandas and Numpy. It requires a running Ophidia instance for client-server interactions. The latest PyOphidia version (v1.10) is compatible with Ophidia v1.7.
+It provides 2 main modules:
+- client.py: generic *low level* class to submit any type of requests (simple tasks and workflows), using SSL and SOAP with the client ophsubmit.py;
+- cube.py: *high level* cube-oriented class to interact directly with cubes, with several methods wrapping the operators.
+
+%package help
+Summary:	Development documents and examples for PyOphidia
+Provides:	python3-PyOphidia-doc
+%description help
+*PyOphidia* is a GPLv3_-licensed Python package for interacting with the Ophidia_ framework.
+It is an alternative to Oph_Term, the Ophidia no-GUI interpreter component, and a convenient way to submit SOAP HTTPS requests to an Ophidia server or to develop your own application using Python. 
+It runs on Python 2.7, 3.7, 3.8, 3.9 and 3.10 it is pure-Python code and has some dependencies on Xarray, Pandas and Numpy. It requires a running Ophidia instance for client-server interactions. The latest PyOphidia version (v1.10) is compatible with Ophidia v1.7.
+It provides 2 main modules:
+- client.py: generic *low level* class to submit any type of requests (simple tasks and workflows), using SSL and SOAP with the client ophsubmit.py;
+- cube.py: *high level* cube-oriented class to interact directly with cubes, with several methods wrapping the operators.
+
+%prep
+%autosetup -n PyOphidia-1.10.0
+
+%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-PyOphidia -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 1.10.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..f384f59
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+b1637077f8dd591d350543456a03818a  PyOphidia-1.10.0.tar.gz
-- 
cgit v1.2.3