%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 - 1.10.0-1 - Package Spec generated