diff --git a/minidb-2.0.7.tar.gz b/minidb-2.0.7.tar.gz deleted file mode 100644 index f32f756..0000000 --- a/minidb-2.0.7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9fe6c31dfabf44c31ce782f1c5fb18eeeb517c5e913d023091592b8f547397c2 -size 17445 diff --git a/minidb-2.0.8.tar.gz b/minidb-2.0.8.tar.gz new file mode 100644 index 0000000..4dd1415 --- /dev/null +++ b/minidb-2.0.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f177870a9f44ff834aa7986ebb9451445a5afa8e756ab400c16ea1d746441aaf +size 17735 diff --git a/python-minidb.changes b/python-minidb.changes index e6a4ffa..388501f 100644 --- a/python-minidb.changes +++ b/python-minidb.changes @@ -1,7 +1,17 @@ +------------------------------------------------------------------- +Wed May 1 07:50:59 UTC 2024 - Dirk Müller + +- 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 -- 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__ diff --git a/python-minidb.spec b/python-minidb.spec index 335000c..d3c7aaf 100644 --- a/python-minidb.spec +++ b/python-minidb.spec @@ -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