From d73abf5559c35716ad15d2680c16869852b03f39d8a31094fdb87a55ad4b342b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 6 Feb 2020 13:24:11 +0000 Subject: [PATCH] Accepting request 770583 from home:mcalabkova:branches:devel:languages:python - update to 5.0.1 * remove Python 2 compatibility * Fix incompatibility with Django 3.0 * Lots of improvements to the test suite * Make tests more deterministic and easier to run outside of tox. - package GitHub tarball because of tests OBS-URL: https://build.opensuse.org/request/show/770583 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-whitenoise?expand=0&rev=7 --- python-whitenoise.changes | 10 ++++++++++ python-whitenoise.spec | 20 ++++++++++++++------ whitenoise-4.1.3.tar.gz | 3 --- whitenoise-5.0.1.tar.gz | 3 +++ 4 files changed, 27 insertions(+), 9 deletions(-) delete mode 100644 whitenoise-4.1.3.tar.gz create mode 100644 whitenoise-5.0.1.tar.gz diff --git a/python-whitenoise.changes b/python-whitenoise.changes index 79b1595..4d65921 100644 --- a/python-whitenoise.changes +++ b/python-whitenoise.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Thu Feb 6 13:10:34 UTC 2020 - Marketa Calabkova + +- update to 5.0.1 + * remove Python 2 compatibility + * Fix incompatibility with Django 3.0 + * Lots of improvements to the test suite + * Make tests more deterministic and easier to run outside of tox. +- package GitHub tarball because of tests + ------------------------------------------------------------------- Mon Jul 22 11:38:51 UTC 2019 - Tomáš Chvátal diff --git a/python-whitenoise.spec b/python-whitenoise.spec index 47be7a7..b2706dd 100644 --- a/python-whitenoise.spec +++ b/python-whitenoise.spec @@ -1,7 +1,7 @@ # # spec file for package python-whitenoise # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,20 +17,25 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-whitenoise -Version: 4.1.3 +Version: 5.0.1 Release: 0 Summary: Static file serving for WSGI applications License: MIT Group: Development/Languages/Python -Url: https://github.com/evansd/whitenoise -Source: https://files.pythonhosted.org/packages/source/w/whitenoise/whitenoise-%{version}.tar.gz +URL: https://github.com/evansd/whitenoise +Source: https://github.com/evansd/whitenoise/archive/v%{version}.tar.gz#/whitenoise-%{version}.tar.gz +BuildRequires: %{python_module Brotli >= 1.0.0} +BuildRequires: %{python_module Django >= 2.0} +BuildRequires: %{python_module pytest-django} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module requests} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -Suggests: python-Brotli +Suggests: python-Brotli >= 1.0.0 BuildArch: noarch - %python_subpackages %description @@ -46,6 +51,9 @@ Static file serving for WSGI applications. %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +%pytest + %files %{python_files} %doc README.rst %license LICENSE diff --git a/whitenoise-4.1.3.tar.gz b/whitenoise-4.1.3.tar.gz deleted file mode 100644 index 9c948ba..0000000 --- a/whitenoise-4.1.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:59d880d25d0e90bcc6554fe0504a11195bd2e59b3d690b6fb42a8040d4e67ef5 -size 43302 diff --git a/whitenoise-5.0.1.tar.gz b/whitenoise-5.0.1.tar.gz new file mode 100644 index 0000000..667bb62 --- /dev/null +++ b/whitenoise-5.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c1bc359f23e0d04d0c2475af94b106e69ef872acfe0b9fb68909fde7000a3622 +size 52375