commit python-webassets for openSUSE:Factory

2020-05-19 Thread root
Hello community,

here is the log from the commit of package python-webassets for 
openSUSE:Factory checked in at 2020-05-19 14:46:50

Comparing /work/SRC/openSUSE:Factory/python-webassets (Old)
 and  /work/SRC/openSUSE:Factory/.python-webassets.new.2738 (New)


Package is "python-webassets"

Tue May 19 14:46:50 2020 rev:4 rq:806808 version:2.0

Changes:

--- /work/SRC/openSUSE:Factory/python-webassets/python-webassets.changes
2020-02-07 15:55:56.167559594 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-webassets.new.2738/python-webassets.changes  
2020-05-19 14:46:51.743862419 +0200
@@ -1,0 +2,5 @@
+Mon May 18 07:25:35 UTC 2020 - Petr Gajdos 
+
+- %python3_only -> %python_alternative
+
+---



Other differences:
--
++ python-webassets.spec ++
--- /var/tmp/diff_new_pack.EtuxGI/_old  2020-05-19 14:46:54.047867342 +0200
+++ /var/tmp/diff_new_pack.EtuxGI/_new  2020-05-19 14:46:54.051867350 +0200
@@ -36,6 +36,8 @@
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:   python-setuptools
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:  noarch
 %python_subpackages
 
@@ -55,16 +57,23 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/webassets
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 export LANG="en_US.UTF8"
 %pytest
 
+%post
+%python_install_alternative webassets
+
+%postun
+%python_uninstall_alternative webassets
+
 %files %{python_files}
 %license LICENSE
 %doc AUTHORS CHANGES README.rst
-%python3_only %{_bindir}/webassets
+%python_alternative %{_bindir}/webassets
 %{python_sitelib}/*
 
 %changelog




commit python-webassets for openSUSE:Factory

2020-02-07 Thread root
Hello community,

here is the log from the commit of package python-webassets for 
openSUSE:Factory checked in at 2020-02-07 15:54:26

Comparing /work/SRC/openSUSE:Factory/python-webassets (Old)
 and  /work/SRC/openSUSE:Factory/.python-webassets.new.26092 (New)


Package is "python-webassets"

Fri Feb  7 15:54:26 2020 rev:3 rq:770616 version:2.0

Changes:

--- /work/SRC/openSUSE:Factory/python-webassets/python-webassets.changes
2019-12-12 23:17:37.882216346 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-webassets.new.26092/python-webassets.changes 
2020-02-07 15:55:56.167559594 +0100
@@ -1,0 +2,11 @@
+Thu Feb  6 14:17:00 UTC 2020 - Marketa Calabkova 
+
+- update to version 2.0
+  * Jump to 2.0 to leave alpha versioning and start doing semver. No actual 
breaking changes.
+  * Make the `sass` and `scss` filters compatible with the reference compiler
+  * Add new `sass_ruby` and `scss_ruby` filters to use the deprecated Ruby 
Sass compiler
+  * Update and improve a number of filters.
+  * Add a SRI feature (Arvid Norlander).
+- drop unneeded patch tests.patch
+
+---

Old:

  tests.patch
  webassets-0.12.1.tar.gz

New:

  webassets-2.0.tar.gz



Other differences:
--
++ python-webassets.spec ++
--- /var/tmp/diff_new_pack.K9zHqC/_old  2020-02-07 15:55:58.527560798 +0100
+++ /var/tmp/diff_new_pack.K9zHqC/_new  2020-02-07 15:55:58.527560798 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-webassets
 #
-# Copyright (c) 2019 SUSE LLC
+# 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
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-webassets
-Version:0.12.1
+Version:2.0
 Release:0
 Summary:Media asset management for Python, with glue code for various 
web frameworks
 # rjsmin=Apache-2.0
@@ -29,7 +29,6 @@
 Group:  Development/Languages/Python
 URL:https://github.com/miracle2k/webassets/
 Source: 
https://files.pythonhosted.org/packages/source/w/webassets/webassets-%{version}.tar.gz
-Patch0: tests.patch
 BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module nose}
 BuildRequires:  %{python_module pytest}
@@ -47,7 +46,6 @@
 
 %prep
 %setup -q -n webassets-%{version}
-%patch0 -p1
 sed -i 's/#!.*//' src/webassets/filter/rjsmin/rjsmin.py
 # fix py2 only syntax
 sed -i -e 's:e.message:e.args[0]:g' tests/test_filters.py

++ webassets-0.12.1.tar.gz -> webassets-2.0.tar.gz ++
 3704 lines of diff (skipped)




commit python-webassets for openSUSE:Factory

2019-12-12 Thread root
Hello community,

here is the log from the commit of package python-webassets for 
openSUSE:Factory checked in at 2019-12-12 23:17:37

Comparing /work/SRC/openSUSE:Factory/python-webassets (Old)
 and  /work/SRC/openSUSE:Factory/.python-webassets.new.4691 (New)


Package is "python-webassets"

Thu Dec 12 23:17:37 2019 rev:2 rq:755459 version:0.12.1

Changes:

--- /work/SRC/openSUSE:Factory/python-webassets/python-webassets.changes
2019-03-19 09:58:28.648100913 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-webassets.new.4691/python-webassets.changes  
2019-12-12 23:17:37.882216346 +0100
@@ -1,0 +2,5 @@
+Fri Dec  6 20:55:03 UTC 2019 - Erico Mendonca 
+
+- Adding locale variables, as some tests would fail due to unicode errors.
+
+---



Other differences:
--
++ python-webassets.spec ++
--- /var/tmp/diff_new_pack.Gi1rCK/_old  2019-12-12 23:17:38.366216303 +0100
+++ /var/tmp/diff_new_pack.Gi1rCK/_new  2019-12-12 23:17:38.370216302 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-webassets
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -27,7 +27,7 @@
 # six.py=MIT
 License:BSD-2-Clause AND Apache-2.0 AND LGPL-2.1-only AND BSD-3-Clause 
AND MIT
 Group:  Development/Languages/Python
-URL:http://github.com/miracle2k/webassets/
+URL:https://github.com/miracle2k/webassets/
 Source: 
https://files.pythonhosted.org/packages/source/w/webassets/webassets-%{version}.tar.gz
 Patch0: tests.patch
 BuildRequires:  %{python_module mock}
@@ -60,7 +60,8 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%{pytest}
+export LANG="en_US.UTF8"
+%pytest
 
 %files %{python_files}
 %license LICENSE