From 4165f38de62b9a35743748091e852f03b1336d82 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 31 May 2023 05:16:21 +0000 Subject: automatic import of python-ibmdbpy --- .gitignore | 1 + python-ibmdbpy.spec | 101 ++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 103 insertions(+) create mode 100644 python-ibmdbpy.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..1604d5d 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/ibmdbpy-0.1.6.tar.gz diff --git a/python-ibmdbpy.spec b/python-ibmdbpy.spec new file mode 100644 index 0000000..c4e3ff7 --- /dev/null +++ b/python-ibmdbpy.spec @@ -0,0 +1,101 @@ +%global _empty_manifest_terminate_build 0 +Name: python-ibmdbpy +Version: 0.1.6 +Release: 1 +Summary: A Pandas-like SQL-wrapper for in-database analytics with IBM Db2 Warehouse. +License: BSD +URL: https://github.com/ibmdbanalytics/ibmdbpy +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/02/54/e4a5f4f9c75a8b83d11df83a24ff4d868774b07d6f50d2c4925726cf2744/ibmdbpy-0.1.6.tar.gz +BuildArch: noarch + +Requires: python3-pandas +Requires: python3-numpy +Requires: python3-future +Requires: python3-six +Requires: python3-pypyodbc +Requires: python3-lazy +Requires: python3-sphinx +Requires: python3-ipython +Requires: python3-numpydoc +Requires: python3-sphinx-rtd-theme +Requires: python3-JayDeBeApi +Requires: python3-Jpype1 +Requires: python3-pytest +Requires: python3-flaky + +%description +The ibmdbpy project provides a Python interface for data manipulation and access to in-database algorithms in IBM Db2. It accelerates Python analytics by seamlessly pushing operations written in Python into the underlying database for execution, thereby benefitting from in-database performance-enhancing features, such as columnar storage and parallel processing. +IBM Db2 is a database management system. The ibmdbpy project can be used by Python developers with very little additional knowledge, because it copies the well-known interface of the Pandas library for data manipulation and the Scikit-learn library for the use of machine learning algorithms. +The ibmdbpy project is compatible with Python releases 2.7 up to 3.6 and can be connected to Db2 databases via ODBC or JDBC. +The project is still at an early stage and many of its features are still in development. However, several experiments have already demonstrated that it provides significant performance advantages when operating on medium or large amounts of data, that is, on tables of 1 million rows or more. +The latest version of ibmdbpy is available on the `Python Package Index`__ and Github_. +__ https://pypi.python.org/pypi/ibmdbpy + +%package -n python3-ibmdbpy +Summary: A Pandas-like SQL-wrapper for in-database analytics with IBM Db2 Warehouse. +Provides: python-ibmdbpy +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-ibmdbpy +The ibmdbpy project provides a Python interface for data manipulation and access to in-database algorithms in IBM Db2. It accelerates Python analytics by seamlessly pushing operations written in Python into the underlying database for execution, thereby benefitting from in-database performance-enhancing features, such as columnar storage and parallel processing. +IBM Db2 is a database management system. The ibmdbpy project can be used by Python developers with very little additional knowledge, because it copies the well-known interface of the Pandas library for data manipulation and the Scikit-learn library for the use of machine learning algorithms. +The ibmdbpy project is compatible with Python releases 2.7 up to 3.6 and can be connected to Db2 databases via ODBC or JDBC. +The project is still at an early stage and many of its features are still in development. However, several experiments have already demonstrated that it provides significant performance advantages when operating on medium or large amounts of data, that is, on tables of 1 million rows or more. +The latest version of ibmdbpy is available on the `Python Package Index`__ and Github_. +__ https://pypi.python.org/pypi/ibmdbpy + +%package help +Summary: Development documents and examples for ibmdbpy +Provides: python3-ibmdbpy-doc +%description help +The ibmdbpy project provides a Python interface for data manipulation and access to in-database algorithms in IBM Db2. It accelerates Python analytics by seamlessly pushing operations written in Python into the underlying database for execution, thereby benefitting from in-database performance-enhancing features, such as columnar storage and parallel processing. +IBM Db2 is a database management system. The ibmdbpy project can be used by Python developers with very little additional knowledge, because it copies the well-known interface of the Pandas library for data manipulation and the Scikit-learn library for the use of machine learning algorithms. +The ibmdbpy project is compatible with Python releases 2.7 up to 3.6 and can be connected to Db2 databases via ODBC or JDBC. +The project is still at an early stage and many of its features are still in development. However, several experiments have already demonstrated that it provides significant performance advantages when operating on medium or large amounts of data, that is, on tables of 1 million rows or more. +The latest version of ibmdbpy is available on the `Python Package Index`__ and Github_. +__ https://pypi.python.org/pypi/ibmdbpy + +%prep +%autosetup -n ibmdbpy-0.1.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-ibmdbpy -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 31 2023 Python_Bot - 0.1.6-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..84bbca4 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +548a1a6732643136ce561650080a15f1 ibmdbpy-0.1.6.tar.gz -- cgit v1.2.3