commit python-django-compressor for openSUSE:Factory

2020-06-02 Thread root
Hello community,

here is the log from the commit of package python-django-compressor for 
openSUSE:Factory checked in at 2020-06-02 14:40:00

Comparing /work/SRC/openSUSE:Factory/python-django-compressor (Old)
 and  /work/SRC/openSUSE:Factory/.python-django-compressor.new.3606 (New)


Package is "python-django-compressor"

Tue Jun  2 14:40:00 2020 rev:3 rq:810559 version:2.4

Changes:

--- 
/work/SRC/openSUSE:Factory/python-django-compressor/python-django-compressor.changes
2020-04-04 12:25:50.879955363 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-django-compressor.new.3606/python-django-compressor.changes
  2020-06-02 14:40:52.267944725 +0200
@@ -1,0 +2,6 @@
+Mon Jun  1 07:34:01 UTC 2020 - Tomáš Chvátal 
+
+- Disable tests until upstream makes them work with new python
+  Beautifulsoup
+
+---



Other differences:
--
++ python-django-compressor.spec ++
--- /var/tmp/diff_new_pack.IBOwhC/_old  2020-06-02 14:40:53.855949746 +0200
+++ /var/tmp/diff_new_pack.IBOwhC/_new  2020-06-02 14:40:53.855949746 +0200
@@ -24,7 +24,6 @@
 Release:0
 Summary:Python module to compress linked/inline JavaScript/CSS to 
cached files
 License:MIT AND BSD-3-Clause AND Apache-2.0
-Group:  Development/Languages/Python
 URL:https://github.com/django-compressor/django-compressor
 Source: 
https://files.pythonhosted.org/packages/source/d/%{mod_name}/%{mod_name}-%{version}.tar.gz
 BuildRequires:  %{python_module Brotli >= 1.0.6}
@@ -76,7 +75,9 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_expand %{_bindir}/django-admin.py-%{$python_bin_suffix} test 
--settings=compressor.test_settings compressor --pythonpath=`pwd` -v2
+# https://github.com/django-compressor/django-compressor/issues/998
+#  Upstream needs to fix the tests to work with new python stack
+#%%python_expand %{_bindir}/django-admin.py-%{$python_bin_suffix} test 
--settings=compressor.test_settings compressor --pythonpath=`pwd` -v2
 
 %files %{python_files}
 %license LICENSE




commit python-django-compressor for openSUSE:Factory

2020-04-04 Thread root
Hello community,

here is the log from the commit of package python-django-compressor for 
openSUSE:Factory checked in at 2020-04-04 12:24:58

Comparing /work/SRC/openSUSE:Factory/python-django-compressor (Old)
 and  /work/SRC/openSUSE:Factory/.python-django-compressor.new.3248 (New)


Package is "python-django-compressor"

Sat Apr  4 12:24:58 2020 rev:2 rq:791104 version:2.4

Changes:

--- 
/work/SRC/openSUSE:Factory/python-django-compressor/python-django-compressor.changes
2020-01-07 23:55:01.444083342 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-django-compressor.new.3248/python-django-compressor.changes
  2020-04-04 12:25:50.879955363 +0200
@@ -1,0 +2,6 @@
+Fri Apr  3 06:58:10 UTC 2020 - Tomáš Chvátal 
+
+- Bump the version requirement on django to be >= 2.2
+- Enable verbose testing
+
+---



Other differences:
--
++ python-django-compressor.spec ++
--- /var/tmp/diff_new_pack.WvlDD7/_old  2020-04-04 12:25:51.455955858 +0200
+++ /var/tmp/diff_new_pack.WvlDD7/_new  2020-04-04 12:25:51.459955861 +0200
@@ -18,6 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define mod_name django_compressor
+%define skip_python2 1
 Name:   python-django-compressor
 Version:2.4
 Release:0
@@ -27,13 +28,15 @@
 URL:https://github.com/django-compressor/django-compressor
 Source: 
https://files.pythonhosted.org/packages/source/d/%{mod_name}/%{mod_name}-%{version}.tar.gz
 BuildRequires:  %{python_module Brotli >= 1.0.6}
-BuildRequires:  %{python_module Django >= 1.11}
+BuildRequires:  %{python_module Django >= 2.2}
 BuildRequires:  %{python_module Jinja2}
 BuildRequires:  %{python_module beautifulsoup4}
 BuildRequires:  %{python_module calmjs}
 BuildRequires:  %{python_module csscompressor}
 BuildRequires:  %{python_module django-appconf >= 1.0}
 BuildRequires:  %{python_module django-sekizai >= 0.9.0}
+BuildRequires:  %{python_module html5lib}
+BuildRequires:  %{python_module lxml}
 BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module rcssmin >= 1.0.6}
 BuildRequires:  %{python_module rjsmin >= 1.1.0}
@@ -41,7 +44,7 @@
 BuildRequires:  %{python_module slimit}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:   python-Django >= 1.11
+Requires:   python-Django >= 2.2
 Requires:   python-Jinja2
 Requires:   python-beautifulsoup4
 Requires:   python-csscompressor
@@ -73,7 +76,7 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_expand %{_bindir}/django-admin.py-%{$python_bin_suffix} test 
--settings=compressor.test_settings compressor --pythonpath=`pwd`
+%python_expand %{_bindir}/django-admin.py-%{$python_bin_suffix} test 
--settings=compressor.test_settings compressor --pythonpath=`pwd` -v2
 
 %files %{python_files}
 %license LICENSE