diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-21 07:35:17 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-21 07:35:17 +0000 |
commit | 146b206c3060934078a7ffc11884920f3792a304 (patch) | |
tree | 433946054d34a069a8fbbfb785c75a6a5f6751b8 /python-pyodbc.spec | |
parent | 799970432acb8e50bdc439fcbff375ae5b20b066 (diff) |
automatic import of python-pyodbcopeneuler20.03
Diffstat (limited to 'python-pyodbc.spec')
-rw-r--r-- | python-pyodbc.spec | 86 |
1 files changed, 52 insertions, 34 deletions
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 -[](https://ci.appveyor.com/project/mkleehammer/pyodbc) -[](https://github.com/mkleehammer/pyodbc/actions/workflows/ubuntu_build.yml) +[](https://ci.appveyor.com/project/mkleehammer/pyodbc) +[](https://github.com/mkleehammer/pyodbc/actions/workflows/ubuntu_build.yml) [](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 -[](https://ci.appveyor.com/project/mkleehammer/pyodbc) -[](https://github.com/mkleehammer/pyodbc/actions/workflows/ubuntu_build.yml) +[](https://ci.appveyor.com/project/mkleehammer/pyodbc) +[](https://github.com/mkleehammer/pyodbc/actions/workflows/ubuntu_build.yml) [](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 -[](https://ci.appveyor.com/project/mkleehammer/pyodbc) -[](https://github.com/mkleehammer/pyodbc/actions/workflows/ubuntu_build.yml) +[](https://ci.appveyor.com/project/mkleehammer/pyodbc) +[](https://github.com/mkleehammer/pyodbc/actions/workflows/ubuntu_build.yml) [](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 |