Sync from SUSE:ALP:Source:Standard:1.0 python-aiosqlite revision bc44145281b5ae86d761e59907d77971

This commit is contained in:
Adrian Schröter 2023-10-18 22:30:52 +02:00
commit 17a81810b6
4 changed files with 149 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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

BIN
aiosqlite-0.19.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

54
python-aiosqlite.changes Normal file
View File

@ -0,0 +1,54 @@
-------------------------------------------------------------------
Sun Jun 11 20:53:59 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Update to 0.19.0
* Add support for setting cursor `row_factory` (#229)
* Dropped unused compatibility shims for 3.5 and 3.6
* Deprecated: Python 3.7 support will be dropped in v0.20.0
- Release 0.18.0
* Added support for `paramstyle` (#197)
* Better type hints for `isolation_level` (#172) and
`text_factory` (#179)
* Use stdlib typing module when possible (#114)
* Replace aiounittest with stdlib on 3.8+
* Docmentation improvements (#108)
* Dropped support for Python 3.7, added support for Python 3.10
and 3.11 (#208)
- Drop stdlib-typing_extensions.patch
* the upstream issue was accepted and the module was removed
but later introduced for Python < 3.8 due to a different case
-------------------------------------------------------------------
Fri May 14 07:10:11 UTC 2021 - Matej Cepl <mcepl@suse.com>
- Update to 0.17.0:
- Connection objects now raise ValueError when closed and a
command is executed (#79)
- Fix documented examples in readme (#104)
- Reduce logging severity for exceptions (#93)
- Stop logging result objects; they can be big (#102)
- Add stdlib-typing_extensions.patch to avoid necessity for BR
python-typing_extensions (gh#omnilib/aiosqlite#114).
-------------------------------------------------------------------
Sat Nov 28 04:23:48 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
- Update to v0.16.0
-------------------------------------------------------------------
Tue Apr 21 13:27:44 UTC 2020 - Matthias Fehring <buschmann23@opensuse.org>
- update to version 0.12.0
* Add support for custom functions (#58)
* Official support for Python 3.8
- update to version 0.11.0
* Added support for set_progress_handler (#49)
* Improved and updated documentation
- spec file changes
* add pythons to the build requires
* add python to the requires
-------------------------------------------------------------------
Tue Jul 2 16:31:08 UTC 2019 - Matthias Fehring <buschmann23@opensuse.org>
- initial package version 0.10.0

69
python-aiosqlite.spec Normal file
View File

@ -0,0 +1,69 @@
#
# spec file for package python-aiosqlite
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2019 Matthias Fehring <buschmann23@opensuse.org>
#
# 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/
#
%{?sle15_python_module_pythons}
Name: python-aiosqlite
Version: 0.19.0
Release: 0
Summary: AsyncIO Bridge to the Standard Python sqlite3 Module
License: MIT
Group: Development/Languages/Python
URL: https://github.com/jreese/aiosqlite
Source: https://files.pythonhosted.org/packages/source/a/aiosqlite/aiosqlite-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module flit-core}
BuildRequires: %{python_module pip}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python
%if 0%{?python_version_nodots} < 38
Requires: python-typing-extensions >= 4
%endif
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module typing-extensions >= 4 if %python-base < 3.8}
BuildRequires: %{pythons}
# /SECTION
%python_subpackages
%description
aiosqlite replicates the standard sqlite3 module, but with async versions of all
the standard connection and cursor methods, and context managers for
automatically closing connections.
%prep
%autosetup -p1 -n aiosqlite-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pyunittest -v
%files %{python_files}
%license LICENSE
%doc CHANGELOG.md README.rst
%{python_sitelib}/aiosqlite
%{python_sitelib}/aiosqlite-%{version}.dist-info
%changelog