14
0
forked from pool/python-minidb

- update to 2.0.8:

* fix flake8 errors
  * add python 3.12 support
  * drop python2
  * read sqlite result before releasing lock
  * switch to PEP517 build
- Update to 2.0.7

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-minidb?expand=0&rev=20
This commit is contained in:
2024-05-01 07:52:02 +00:00
committed by Git OBS Bridge
parent a945ea33b2
commit 588a707ebe
4 changed files with 22 additions and 11 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9fe6c31dfabf44c31ce782f1c5fb18eeeb517c5e913d023091592b8f547397c2
size 17445

3
minidb-2.0.8.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f177870a9f44ff834aa7986ebb9451445a5afa8e756ab400c16ea1d746441aaf
size 17735

View File

@@ -1,7 +1,17 @@
-------------------------------------------------------------------
Wed May 1 07:50:59 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 2.0.8:
* fix flake8 errors
* add python 3.12 support
* drop python2
* read sqlite result before releasing lock
* switch to PEP517 build
-------------------------------------------------------------------
Fri Oct 28 18:26:51 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to 2.0.7
- Update to 2.0.7
Test against Python 3.10
YAML syntax and me
Only pass special keyword args to model __init__

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-minidb
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,17 +17,18 @@
%define modname minidb
%define skip_python2 1
%bcond_without test
Name: python-minidb
Version: 2.0.7
Version: 2.0.8
Release: 0
Summary: SQLite3-based store for Python objects
License: ISC
Group: Development/Languages/Python
URL: https://thp.io/2010/minidb/
URL: https://github.com/thp/minidb
Source: https://github.com/thp/%{modname}/archive/refs/tags/%{version}.tar.gz#/%{modname}-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: %{pythons}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -45,10 +46,10 @@ Minidb 2 allows you to store Python objects in a SQLite 3 database.
%autosetup -p1 -n minidb-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%if %{with test}
@@ -59,7 +60,7 @@ Minidb 2 allows you to store Python objects in a SQLite 3 database.
%files %{python_files}
%doc README.md
%{python_sitelib}/minidb.py*
%{python_sitelib}/minidb-%{version}-py*.egg-info
%{python_sitelib}/minidb-%{version}.dist-info
%pycache_only %{python_sitelib}/__pycache__/minidb*.py*
%changelog