15
0

Accepting request 718523 from home:pgajdos

- version update to 4.0.0
  * no upstream changelog

OBS-URL: https://build.opensuse.org/request/show/718523
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-diskcache?expand=0&rev=8
This commit is contained in:
Tomáš Chvátal
2019-07-25 11:31:20 +00:00
committed by Git OBS Bridge
parent 7418010dee
commit 008e7ee999
4 changed files with 17 additions and 11 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f5fa6a2274bc4fc2f1c884034f9ab1cc838054421ff493524732f52cc1174fbc
size 489691

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jul 25 10:52:27 UTC 2019 - pgajdos@suse.com
- version update to 4.0.0
* no upstream changelog
-------------------------------------------------------------------
Fri Mar 8 13:19:48 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -18,20 +18,20 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-diskcache
Version: 3.1.1
Version: 4.0.0
Release: 0
Summary: Disk and file backed cache
License: Apache-2.0
Group: Development/Languages/Python
URL: http://www.grantjenks.com/docs/diskcache/
Source: https://files.pythonhosted.org/packages/source/d/diskcache/diskcache-%{version}.tar.gz
Source: https://github.com/grantjenks/python-diskcache/archive/v%{version}.tar.gz
BuildRequires: %{python_module Django}
BuildRequires: %{python_module base}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python2-Django1
BuildArch: noarch
%python_subpackages
@@ -42,7 +42,7 @@ DiskCache is a disk and file backed cache library, written
in pure Python, and compatible with Django.
%prep
%setup -q -n diskcache-%{version}
%setup -q
%build
%python_build
@@ -52,9 +52,9 @@ in pure Python, and compatible with Django.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
nosetests-%{python_bin_suffix}
# Django tests support only Django1 which is not in distribution for python3
nosetests-%{python3_bin_suffix} --exclude test_djangocache.py
sed -i '/-n auto/d' tox.ini
rm tests/test_djangocache.py
%pytest
%files %{python_files}
%license LICENSE

3
v4.0.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2ddf4dc7e448dafab63a39c22c50ae5cd3dd47148f5d534baa473972a7f1ddc4
size 657592