forked from pool/python-pymssql
Accepting request 844677 from home:mnhauke
Reintroduce python-pymssql OBS-URL: https://build.opensuse.org/request/show/844677 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymssql?expand=0&rev=1
This commit is contained in:
commit
221b2974eb
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
pymssql-2.1.5.tar.gz
Normal file
3
pymssql-2.1.5.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d60f5f90337399668e10ab6a23a1657f190c9585401eb96a5456261f7c414864
|
||||
size 167928
|
43
python-pymssql.changes
Normal file
43
python-pymssql.changes
Normal file
@ -0,0 +1,43 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 28 21:39:12 UTC 2020 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
- Update to version 2.1.5
|
||||
* Revert deprecation
|
||||
* Support Python-3.8. Update tests for Python-3.8 compatibility.
|
||||
* Use correct language level for building Cython extension.
|
||||
* Fix FreeTDS version checks. Add check for version 7.4.
|
||||
* Drop bundled FreeTDS-0.95 binaries.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 2 13:05:31 UTC 2018 - mardnh@gmx.de
|
||||
|
||||
- Convert to singlespec
|
||||
- Update to version 2.1.4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 10 06:50:00 UTC 2015 - hanke@rzg.mpg.de
|
||||
|
||||
- Update to version 2.1.1
|
||||
* Buildrequire python-setuptools-git
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 5 01:17:46 UTC 2013 - termim@gmail.com
|
||||
|
||||
- Update to release version (2.0.0)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 24 11:12:09 UTC 2013 - speilicke@suse.com
|
||||
|
||||
- Require python-setuptools instead of distribute (upstreams merged)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 19 12:41:25 UTC 2013 - speilicke@suse.com
|
||||
|
||||
- Many spec fixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 12 02:34:06 UTC 2013 - termim@gmail.com
|
||||
|
||||
- Initial checkin
|
||||
|
||||
|
60
python-pymssql.spec
Normal file
60
python-pymssql.spec
Normal file
@ -0,0 +1,60 @@
|
||||
#
|
||||
# spec file for package python-pymssql
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-pymssql
|
||||
Version: 2.1.5
|
||||
Release: 0
|
||||
Summary: A simple database interface to MS-SQL for Python
|
||||
License: LGPL-2.1-only
|
||||
Group: Development/Languages/Python
|
||||
URL: https://pymssql.org
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pymssql/pymssql-%{version}.tar.gz
|
||||
BuildRequires: %{python_module Cython}
|
||||
BuildRequires: %{python_module setuptools-git}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: freetds-devel
|
||||
BuildRequires: python-rpm-macros
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
pymssql is the Python language extension module that provides access to
|
||||
Microsoft SQL Servers from Python scripts. It is compliant with Python
|
||||
DB-API 2.0 Specification and works on most popular operating systems.
|
||||
|
||||
%prep
|
||||
%setup -q -n pymssql-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
### Tests need access to a MSSQL-server
|
||||
#%%check
|
||||
#%%python_exec setup.py test
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc ChangeLog ChangeLog_highlights.rst README.rst
|
||||
%{python_sitearch}/*
|
||||
|
||||
%changelog
|
Loading…
x
Reference in New Issue
Block a user