2024-01-05 16:27:23 +01:00
|
|
|
%define pkgname pymssql
|
|
|
|
|
|
|
|
Name: python-pymssql
|
2024-11-22 14:15:18 +01:00
|
|
|
Version: 2.3.2
|
2024-01-05 16:27:23 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A simple database interface to MS-SQL for Python
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://www.pymssql.org/
|
|
|
|
Source: https://pypi.debian.net/pymssql/pymssql-%{version}.tar.gz
|
|
|
|
Patch0: pymssql-2.0.1-github_issue_142.patch
|
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libfreetds-devel
|
|
|
|
BuildRequires: libkrb5-devel
|
|
|
|
BuildRequires: libopenssl-devel
|
|
|
|
BuildRequires: libpython311-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: python3-devel >= 3.11.5-3mamba
|
|
|
|
|
|
|
|
%description
|
|
|
|
A simple database interface to Microsoft SQL Server (MS-SQL) for Python that builds on top of FreeTDS to provide a Python DB-API (PEP-249) interface to SQL Server.
|
|
|
|
|
|
|
|
%if 0%{?with_pyver}
|
|
|
|
%define py_requires_append \
|
|
|
|
Obsoletes: pymssql < 2.2.8
|
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n pymssql-%{version}
|
|
|
|
#%patch0 -p1
|
|
|
|
|
|
|
|
%build
|
|
|
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%{__python} setup.py install \
|
|
|
|
-O1 --skip-build \
|
|
|
|
--root="%{buildroot}" \
|
|
|
|
--install-headers=%{_includedir}/python \
|
|
|
|
--install-lib=%{python_sitearch} \
|
|
|
|
--record=%{name}.filelist
|
|
|
|
|
|
|
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
|
|
|
|
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info
|
|
|
|
%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/*
|
|
|
|
|
|
|
|
%changelog
|
2024-11-22 14:15:18 +01:00
|
|
|
* Fri Nov 22 2024 Automatic Build System <autodist@openmamba.org> 2.3.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-08-26 10:01:44 +02:00
|
|
|
* Mon Aug 26 2024 Automatic Build System <autodist@openmamba.org> 2.3.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-04-09 11:10:26 +02:00
|
|
|
* Mon Apr 08 2024 Automatic Build System <autodist@openmamba.org> 2.3.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:27:25 +01:00
|
|
|
* Tue Dec 05 2023 Automatic Build System <autodist@mambasoft.it> 2.2.11-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:27:24 +01:00
|
|
|
* Fri Oct 27 2023 Automatic Build System <autodist@mambasoft.it> 2.2.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:27:24 +01:00
|
|
|
* Sat Oct 14 2023 Automatic Build System <autodist@mambasoft.it> 2.2.9-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:27:23 +01:00
|
|
|
* Fri Sep 29 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.8-1mamba
|
|
|
|
- update to 2.2.8
|
|
|
|
|
|
|
|
* Fri Sep 29 2023 Automatic Build System <autodist@mambasoft.it> 2.2.5-2mamba
|
|
|
|
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
|
|
|
|
|
|
|
|
* Mon May 23 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.5-1mamba
|
|
|
|
- update to 2.2.5
|
|
|
|
|
|
|
|
* Sat Jan 18 2014 Davide Madrisan <davide.madrisan@gmail.com> 2.0.1-2mamba
|
|
|
|
- donot instqll *.pyx files
|
|
|
|
|
|
|
|
* Sat Jan 18 2014 Davide Madrisan <davide.madrisan@gmail.com> 2.0.1-1mamba
|
|
|
|
- package created using the webbuild interface
|