14
0
forked from pool/python-minidb

- README.md evaporated upstream.

- Use GitHub tarball (for tests).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-minidb?expand=0&rev=13
This commit is contained in:
2021-09-09 11:57:51 +00:00
committed by Git OBS Bridge
parent 46a08c0a64
commit e7afebee54
3 changed files with 11 additions and 4 deletions

View File

@@ -17,6 +17,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define modname minidb
%define skip_python2 1
%bcond_without test
Name: python-minidb
@@ -26,7 +27,7 @@ Summary: SQLite3-based store for Python objects
License: ISC
Group: Development/Languages/Python
URL: https://thp.io/2010/minidb/
Source: https://files.pythonhosted.org/packages/source/m/minidb/minidb-%{version}.tar.gz
Source: https://github.com/thp/%{modname}/archive/refs/tags/%{version}.tar.gz#/%{modname}-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: %{pythons}
BuildRequires: fdupes
@@ -53,7 +54,7 @@ Minidb 2 allows you to store Python objects in a SQLite 3 database.
%if %{with test}
%check
%pytest test/test_minidb.py
%pytest -v
%endif
%files %{python_files}