Ai
10 Star 0 Fork 9

src-openEuler/python-pyodbc
关闭

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-pyodbc.spec 2.79 KB
一键复制 编辑 原始数据 按行查看 历史
nan 提交于 2025-10-21 18:40 +08:00 . Update package to version 5.3.0
%global _empty_manifest_terminate_build 0
Name: python-pyodbc
Version: 5.3.0
Release: 1
Summary: DB API Module for ODBC
License: MIT
URL: https://github.com/mkleehammer/pyodbc
Source0: https://files.pythonhosted.org/packages/8f/85/44b10070a769a56bd910009bb185c0c0a82daff8d567cd1a116d7d730c7d/pyodbc-5.3.0.tar.gz
%description
pyodbc is an open source Python module that makes accessing ODBC databases
simple. It implements the DB API 2.0 specification but is packed with even more
Pythonic convenience.
%package -n python3-pyodbc
Summary: DB API Module for ODBC
Provides: python-pyodbc
# Base build requires
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-setuptools_scm
BuildRequires: python3-pbr
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-hatchling
# General requires
BuildRequires: gcc-c++
BuildRequires: unixODBC-devel
%description -n python3-pyodbc
pyodbc is an open source Python module that makes accessing ODBC databases
simple. It implements the DB API 2.0 specification but is packed with even more
Pythonic convenience.
%package help
Summary: DB API Module for ODBC
Provides: python3-pyodbc-doc
%description help
pyodbc is an open source Python module that makes accessing ODBC databases
simple. It implements the DB API 2.0 specification but is packed with even more
Pythonic convenience.
%prep
%autosetup -n pyodbc-%{version}
%build
%pyproject_build
%install
%pyproject_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
%files -n python3-pyodbc
%doc README.md
%license LICENSE.txt
%{python3_sitearch}/pyodbc.*
%{python3_sitearch}/pyodbc*.dist-info/
%files help
%{_docdir}/*
%changelog
* Tue Oct 21 2025 Hann <hannannan@kylinos.cn> - 5.3.0-1
- Update package to version 5.3.0
- Do not perform type check on NULL pointer
- Drop support for EOL Python 3.8
* Thu Oct 24 2024 guochao <guochao@kylinos.cn> - 5.2.0-1
- Update package to version 5.2.0
- Add pyodbc.SQL_SS_VARIANT constant
- Add Python 3.13 to CI
* Thu Jul 04 2024 liuzhilin <liuzhilin@kylinos.cn> - 5.1.0-2
- Fix Source0 url
* Sat Mar 02 2024 wangqiang <wangqiang1@kylinos.cn> - 5.1.0-1
- Update package to version 5.1.0
* Mon Jul 17 2023 Dongxing Wang <dxwangk@isoftstone.com> - 4.0.39-1
- Update package to version 4.0.39
* Fri Dec 09 2022 wubijie <wubijie@kylinos.cn> - 4.0.35-1
- Update package to version 4.0.35
* Wed Jul 13 2022 OpenStack_SIG <openstack@openeuler.org> - 4.0.32-1
- Init package python3-pyodbc of version 4.0.32
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/python-pyodbc.git
git@gitee.com:src-openeuler/python-pyodbc.git
src-openeuler
python-pyodbc
python-pyodbc
master

搜索帮助