commit c963373511151b7187dfae6a37374115ca13b9f4c4d6d6b1159222158a1a9301 Author: Adrian Schröter Date: Fri May 3 20:02:45 2024 +0200 Sync from SUSE:SLFO:Main python-aiosqlite revision bc44145281b5ae86d761e59907d77971 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/aiosqlite-0.19.0.tar.gz b/aiosqlite-0.19.0.tar.gz new file mode 100644 index 0000000..c27e486 --- /dev/null +++ b/aiosqlite-0.19.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:95ee77b91c8d2808bd08a59fbebf66270e9090c3d92ffbf260dc0db0b979577d +size 21832 diff --git a/python-aiosqlite.changes b/python-aiosqlite.changes new file mode 100644 index 0000000..2443a0d --- /dev/null +++ b/python-aiosqlite.changes @@ -0,0 +1,54 @@ +------------------------------------------------------------------- +Sun Jun 11 20:53:59 UTC 2023 - Ben Greiner + +- 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 + +- 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 + +- Update to v0.16.0 + +------------------------------------------------------------------- +Tue Apr 21 13:27:44 UTC 2020 - Matthias Fehring + +- 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 + +- initial package version 0.10.0 diff --git a/python-aiosqlite.spec b/python-aiosqlite.spec new file mode 100644 index 0000000..7e0e600 --- /dev/null +++ b/python-aiosqlite.spec @@ -0,0 +1,69 @@ +# +# spec file for package python-aiosqlite +# +# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2019 Matthias Fehring +# +# 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