forked from pool/python-sqlitedict
Accepting request 811144 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/811144 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sqlitedict?expand=0&rev=6
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 3 09:28:59 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||||
|
|
||||||
|
- replace nose with pytest
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 11 08:05:54 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
Wed Dec 11 08:05:54 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-sqlitedict
|
# spec file for package python-sqlitedict
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LLC
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -24,7 +24,7 @@ Summary: Persistent dict in Python backed by sqlite3
|
|||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: https://github.com/piskvorky/sqlitedict
|
URL: https://github.com/piskvorky/sqlitedict
|
||||||
Source: https://files.pythonhosted.org/packages/source/s/sqlitedict/sqlitedict-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/s/sqlitedict/sqlitedict-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module nose}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{pythons}
|
BuildRequires: %{pythons}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
@@ -52,7 +52,7 @@ sed -i -e '/^#!\//, 1d' sqlitedict.py
|
|||||||
%{python_expand # db needs to be regenerated
|
%{python_expand # db needs to be regenerated
|
||||||
rm -rf tests/db
|
rm -rf tests/db
|
||||||
mkdir -p tests/db
|
mkdir -p tests/db
|
||||||
nosetests-%{$python_bin_suffix} -v
|
PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix}
|
||||||
}
|
}
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
|
Reference in New Issue
Block a user