Accepting request 693193 from home:mcalabkova:branches:devel:languages:python
- update to version 1.1.0
* Store database format in table name to ease future
incompatible changes
* Allow disabling compression if ratio is below a threshold value
* Drop Python 3.3 support
* Get rid of pypandoc
- use Github release tarball because the tests are not exported
on PyPi
OBS-URL: https://build.opensuse.org/request/show/693193
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-web_cache?expand=0&rev=5
This commit is contained in:
committed by
Git OBS Bridge
parent
56facc67f9
commit
c594a7b445
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-web_cache
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -20,14 +20,15 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-web_cache
|
||||
Version: 1.0.2
|
||||
Version: 1.1.0
|
||||
Release: 0
|
||||
Summary: Persistent cache storage python module
|
||||
License: LGPL-2.1-only
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/desbma/web_cache
|
||||
Source: https://files.pythonhosted.org/packages/source/w/web_cache/web_cache-%{version}.tar.gz
|
||||
Source: https://github.com/desbma/web_cache/archive/%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module unittest2}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
@@ -49,6 +50,9 @@ strategies and optional compression.
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.md
|
||||
|
||||
Reference in New Issue
Block a user