forked from pool/python-minidb
- Update to 2.0.4:
- switch to pytest - Rename 0001-switch-to-pytest.patch to no_ported_eq.patch as the previous patch was upstreamed, and now is just a small cleanup (gh#thp/minidb#15). OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-minidb?expand=0&rev=9
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-minidb
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -20,32 +20,32 @@
|
||||
%define skip_python2 1
|
||||
%bcond_without test
|
||||
Name: python-minidb
|
||||
Version: 2.0.3
|
||||
Version: 2.0.4
|
||||
Release: 0
|
||||
Summary: SQLite3-based store for Python objects
|
||||
License: ISC
|
||||
Group: Development/Languages/Python
|
||||
URL: http://thp.io/2010/minidb/
|
||||
URL: https://thp.io/2010/minidb/
|
||||
Source: https://files.pythonhosted.org/packages/source/m/minidb/minidb-%{version}.tar.gz
|
||||
# https://github.com/thp/minidb/pull/14
|
||||
Patch0: 0001-switch-to-pytest.patch
|
||||
# PATCH-FIX-UPSTREAM no_ported_eq.patch gh#thp/minidb#15 mcepl@suse.com
|
||||
# Don't use ported_eq workaround.
|
||||
Patch0: no_ported_eq.patch
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{pythons}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: python3-testsuite
|
||||
%endif
|
||||
BuildRequires: fdupes
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Minidb 2 allows you to store Python objects in a SQLite 3 database.
|
||||
|
||||
%prep
|
||||
%setup -q -n minidb-%{version}
|
||||
%patch0 -p1
|
||||
%autosetup -p1 -n minidb-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -60,7 +60,6 @@ Minidb 2 allows you to store Python objects in a SQLite 3 database.
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc README
|
||||
%{python_sitelib}/minidb.py*
|
||||
%{python_sitelib}/minidb-%{version}-py*.egg-info
|
||||
|
||||
Reference in New Issue
Block a user