summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-21 07:35:17 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-21 07:35:17 +0000
commit146b206c3060934078a7ffc11884920f3792a304 (patch)
tree433946054d34a069a8fbbfb785c75a6a5f6751b8
parent799970432acb8e50bdc439fcbff375ae5b20b066 (diff)
automatic import of python-pyodbcopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-pyodbc.spec86
-rw-r--r--sources2
3 files changed, 54 insertions, 35 deletions
diff --git a/.gitignore b/.gitignore
index c5d394f..ac42f21 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/pyodbc-4.0.35.tar.gz
+/pyodbc-4.0.39.tar.gz
diff --git a/python-pyodbc.spec b/python-pyodbc.spec
index ea7efce..d5a85ef 100644
--- a/python-pyodbc.spec
+++ b/python-pyodbc.spec
@@ -1,44 +1,50 @@
%global _empty_manifest_terminate_build 0
Name: python-pyodbc
-Version: 4.0.35
+Version: 4.0.39
Release: 1
Summary: DB API Module for ODBC
License: MIT
URL: https://github.com/mkleehammer/pyodbc
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/2c/93/1468581e505e4e6611064ca9d0cebb93b3080133e4363054fdd658e5fff3/pyodbc-4.0.35.tar.gz
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/b7/80/835b8a98089e31aa6b9bfc0301c1546e69f5205a966888f2663e43e7d07b/pyodbc-4.0.39.tar.gz
%description
# pyodbc
-[![Windows Status](https://ci.appveyor.com/api/projects/status/github/mkleehammer/pyodbc?branch=master&svg=true&passingText=Windows%20build)](https://ci.appveyor.com/project/mkleehammer/pyodbc)
-[![Ubuntu build](https://github.com/mkleehammer/pyodbc/actions/workflows/ubuntu_build.yml/badge.svg)](https://github.com/mkleehammer/pyodbc/actions/workflows/ubuntu_build.yml)
+[![AppVeyor](https://ci.appveyor.com/api/projects/status/github/mkleehammer/pyodbc?branch=master&svg=true&passingText=Windows%20build&failingText=Windows%20build)](https://ci.appveyor.com/project/mkleehammer/pyodbc)
+[![Github Actions - Ubuntu Build](https://github.com/mkleehammer/pyodbc/actions/workflows/ubuntu_build.yml/badge.svg?branch=master)](https://github.com/mkleehammer/pyodbc/actions/workflows/ubuntu_build.yml)
[![PyPI](https://img.shields.io/pypi/v/pyodbc?color=brightgreen)](https://pypi.org/project/pyodbc/)
pyodbc is an open source Python module that makes accessing ODBC databases simple. It
implements the [DB API 2.0](https://www.python.org/dev/peps/pep-0249) specification but is
packed with even more Pythonic convenience.
-The easiest way to install is to use pip:
+The easiest way to install pyodbc is to use pip:
pip install pyodbc
-If you are using Mac, you should be using `Homebrew` for installing pyodbc:
+On Macs, you should probably install unixODBC first if you don't already have an ODBC
+driver manager installed, e.g. using `Homebrew`:
brew install unixodbc
pip install pyodbc
-
-Precompiled binary wheels are provided for most Python versions on Windows and macOS. On other
-operating systems this will build from source. Note, pyodbc contains C++ extensions so you will
-need a suitable C++ compiler on your computer to install pyodbc, for all operating systems. See
-the [docs](https://github.com/mkleehammer/pyodbc/wiki/Install) for details.
+
+Similarly, on Unix you should make sure you have an ODBC driver manager installed before
+installing pyodbc. See the [docs](https://github.com/mkleehammer/pyodbc/wiki/Install)
+for more information about how to do this on different Unix flavors. (On Windows, the
+ODBC driver manager is built-in.)
+
+Precompiled binary wheels are provided for multiple Python versions on most Windows, macOS,
+and Linux platforms. On other platforms pyodbc will be built from the source code. Note,
+pyodbc contains C++ extensions so when building from source you will need a suitable C++
+compiler. See the [docs](https://github.com/mkleehammer/pyodbc/wiki/Install) for details.
[Documentation](https://github.com/mkleehammer/pyodbc/wiki)
[Release Notes](https://github.com/mkleehammer/pyodbc/releases)
IMPORTANT: Python 2.7 support is being ended. The pyodbc 4.x versions will be the last to
-support Python 2.7. The pyodbc 5.x versions will only support Python 3.7 and above.
+support Python 2.7. The pyodbc 5.x versions will support only Python 3.7 and above.
%package -n python3-pyodbc
@@ -53,34 +59,40 @@ BuildRequires: gdb
%description -n python3-pyodbc
# pyodbc
-[![Windows Status](https://ci.appveyor.com/api/projects/status/github/mkleehammer/pyodbc?branch=master&svg=true&passingText=Windows%20build)](https://ci.appveyor.com/project/mkleehammer/pyodbc)
-[![Ubuntu build](https://github.com/mkleehammer/pyodbc/actions/workflows/ubuntu_build.yml/badge.svg)](https://github.com/mkleehammer/pyodbc/actions/workflows/ubuntu_build.yml)
+[![AppVeyor](https://ci.appveyor.com/api/projects/status/github/mkleehammer/pyodbc?branch=master&svg=true&passingText=Windows%20build&failingText=Windows%20build)](https://ci.appveyor.com/project/mkleehammer/pyodbc)
+[![Github Actions - Ubuntu Build](https://github.com/mkleehammer/pyodbc/actions/workflows/ubuntu_build.yml/badge.svg?branch=master)](https://github.com/mkleehammer/pyodbc/actions/workflows/ubuntu_build.yml)
[![PyPI](https://img.shields.io/pypi/v/pyodbc?color=brightgreen)](https://pypi.org/project/pyodbc/)
pyodbc is an open source Python module that makes accessing ODBC databases simple. It
implements the [DB API 2.0](https://www.python.org/dev/peps/pep-0249) specification but is
packed with even more Pythonic convenience.
-The easiest way to install is to use pip:
+The easiest way to install pyodbc is to use pip:
pip install pyodbc
-If you are using Mac, you should be using `Homebrew` for installing pyodbc:
+On Macs, you should probably install unixODBC first if you don't already have an ODBC
+driver manager installed, e.g. using `Homebrew`:
brew install unixodbc
pip install pyodbc
-
-Precompiled binary wheels are provided for most Python versions on Windows and macOS. On other
-operating systems this will build from source. Note, pyodbc contains C++ extensions so you will
-need a suitable C++ compiler on your computer to install pyodbc, for all operating systems. See
-the [docs](https://github.com/mkleehammer/pyodbc/wiki/Install) for details.
+
+Similarly, on Unix you should make sure you have an ODBC driver manager installed before
+installing pyodbc. See the [docs](https://github.com/mkleehammer/pyodbc/wiki/Install)
+for more information about how to do this on different Unix flavors. (On Windows, the
+ODBC driver manager is built-in.)
+
+Precompiled binary wheels are provided for multiple Python versions on most Windows, macOS,
+and Linux platforms. On other platforms pyodbc will be built from the source code. Note,
+pyodbc contains C++ extensions so when building from source you will need a suitable C++
+compiler. See the [docs](https://github.com/mkleehammer/pyodbc/wiki/Install) for details.
[Documentation](https://github.com/mkleehammer/pyodbc/wiki)
[Release Notes](https://github.com/mkleehammer/pyodbc/releases)
IMPORTANT: Python 2.7 support is being ended. The pyodbc 4.x versions will be the last to
-support Python 2.7. The pyodbc 5.x versions will only support Python 3.7 and above.
+support Python 2.7. The pyodbc 5.x versions will support only Python 3.7 and above.
%package help
@@ -89,38 +101,44 @@ Provides: python3-pyodbc-doc
%description help
# pyodbc
-[![Windows Status](https://ci.appveyor.com/api/projects/status/github/mkleehammer/pyodbc?branch=master&svg=true&passingText=Windows%20build)](https://ci.appveyor.com/project/mkleehammer/pyodbc)
-[![Ubuntu build](https://github.com/mkleehammer/pyodbc/actions/workflows/ubuntu_build.yml/badge.svg)](https://github.com/mkleehammer/pyodbc/actions/workflows/ubuntu_build.yml)
+[![AppVeyor](https://ci.appveyor.com/api/projects/status/github/mkleehammer/pyodbc?branch=master&svg=true&passingText=Windows%20build&failingText=Windows%20build)](https://ci.appveyor.com/project/mkleehammer/pyodbc)
+[![Github Actions - Ubuntu Build](https://github.com/mkleehammer/pyodbc/actions/workflows/ubuntu_build.yml/badge.svg?branch=master)](https://github.com/mkleehammer/pyodbc/actions/workflows/ubuntu_build.yml)
[![PyPI](https://img.shields.io/pypi/v/pyodbc?color=brightgreen)](https://pypi.org/project/pyodbc/)
pyodbc is an open source Python module that makes accessing ODBC databases simple. It
implements the [DB API 2.0](https://www.python.org/dev/peps/pep-0249) specification but is
packed with even more Pythonic convenience.
-The easiest way to install is to use pip:
+The easiest way to install pyodbc is to use pip:
pip install pyodbc
-If you are using Mac, you should be using `Homebrew` for installing pyodbc:
+On Macs, you should probably install unixODBC first if you don't already have an ODBC
+driver manager installed, e.g. using `Homebrew`:
brew install unixodbc
pip install pyodbc
-
-Precompiled binary wheels are provided for most Python versions on Windows and macOS. On other
-operating systems this will build from source. Note, pyodbc contains C++ extensions so you will
-need a suitable C++ compiler on your computer to install pyodbc, for all operating systems. See
-the [docs](https://github.com/mkleehammer/pyodbc/wiki/Install) for details.
+
+Similarly, on Unix you should make sure you have an ODBC driver manager installed before
+installing pyodbc. See the [docs](https://github.com/mkleehammer/pyodbc/wiki/Install)
+for more information about how to do this on different Unix flavors. (On Windows, the
+ODBC driver manager is built-in.)
+
+Precompiled binary wheels are provided for multiple Python versions on most Windows, macOS,
+and Linux platforms. On other platforms pyodbc will be built from the source code. Note,
+pyodbc contains C++ extensions so when building from source you will need a suitable C++
+compiler. See the [docs](https://github.com/mkleehammer/pyodbc/wiki/Install) for details.
[Documentation](https://github.com/mkleehammer/pyodbc/wiki)
[Release Notes](https://github.com/mkleehammer/pyodbc/releases)
IMPORTANT: Python 2.7 support is being ended. The pyodbc 4.x versions will be the last to
-support Python 2.7. The pyodbc 5.x versions will only support Python 3.7 and above.
+support Python 2.7. The pyodbc 5.x versions will support only Python 3.7 and above.
%prep
-%autosetup -n pyodbc-4.0.35
+%autosetup -n pyodbc-4.0.39
%build
%py3_build
@@ -160,5 +178,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Fri Apr 07 2023 Python_Bot <Python_Bot@openeuler.org> - 4.0.35-1
+* Fri Apr 21 2023 Python_Bot <Python_Bot@openeuler.org> - 4.0.39-1
- Package Spec generated
diff --git a/sources b/sources
index 8e06e56..2f8ed45 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-92f3d737fbcec96a1844b446996c73af pyodbc-4.0.35.tar.gz
+166d56f3e9524ac5c8f5bf06af1e7193 pyodbc-4.0.39.tar.gz