14
0

Accepting request 755738 from devel:languages:python

- Depend on full python stack for sqlite

OBS-URL: https://build.opensuse.org/request/show/755738
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sqlitedict?expand=0&rev=5
This commit is contained in:
2019-12-11 11:13:55 +00:00
committed by Git OBS Bridge
2 changed files with 12 additions and 10 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Dec 11 08:05:54 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Depend on full python stack for sqlite
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Apr 10 18:49:46 UTC 2019 - pgajdos@suse.com Wed Apr 10 18:49:46 UTC 2019 - pgajdos@suse.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-sqlitedict # spec file for package python-sqlitedict
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 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
@@ -22,17 +22,15 @@ Version: 1.6.0
Release: 0 Release: 0
Summary: Persistent dict in Python backed by sqlite3 Summary: Persistent dict in Python backed by sqlite3
License: Apache-2.0 License: Apache-2.0
Group: Development/Languages/Python 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 setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{pythons}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
# SECTION test requirements Requires: python
BuildRequires: %{python_module nose}
# /SECTION
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
@@ -51,14 +49,13 @@ sed -i -e '/^#!\//, 1d' sqlitedict.py
%python_expand %fdupes %{buildroot}%{$python_sitearch} %python_expand %fdupes %{buildroot}%{$python_sitearch}
%check %check
%{python_expand %{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} nosetests-%{$python_bin_suffix} -v
} }
%files %{python_files} %files %{python_files}
%defattr(-,root,root,-)
%license LICENSE.apache %license LICENSE.apache
%doc README.rst %doc README.rst
%{python_sitelib}/* %{python_sitelib}/*