diff --git a/diskcache-3.1.1.tar.gz b/diskcache-3.1.1.tar.gz deleted file mode 100644 index 9b86abb..0000000 --- a/diskcache-3.1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f5fa6a2274bc4fc2f1c884034f9ab1cc838054421ff493524732f52cc1174fbc -size 489691 diff --git a/python-diskcache.changes b/python-diskcache.changes index afa9047..7b100f6 100644 --- a/python-diskcache.changes +++ b/python-diskcache.changes @@ -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 diff --git a/python-diskcache.spec b/python-diskcache.spec index c16d74e..27ba4f0 100644 --- a/python-diskcache.spec +++ b/python-diskcache.spec @@ -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 diff --git a/v4.0.0.tar.gz b/v4.0.0.tar.gz new file mode 100644 index 0000000..d5a0b8a --- /dev/null +++ b/v4.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2ddf4dc7e448dafab63a39c22c50ae5cd3dd47148f5d534baa473972a7f1ddc4 +size 657592