17
0

- update to 1.0.8:

* Replace removed assertEquals with assertEqual
  * Upgrade other unittest asserts for clearer error messages
  * tests: adjust exception string checks for python 3.11 
  * tests: fix warning about \( and \o being invalid sequences
  * Fix serialization of unknown rules containing comments
- drop relax_error_msg_check.patch (upstream)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-css-parser?expand=0&rev=9
This commit is contained in:
2022-10-03 15:53:35 +00:00
committed by Git OBS Bridge
parent 9ab301dea6
commit 70d429526e
5 changed files with 15 additions and 1292 deletions

View File

@@ -18,16 +18,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-css-parser
Version: 1.0.7
Version: 1.0.8
Release: 0
Summary: CSS related utilities (parsing, serialization, etc) for python
License: LGPL-3.0-or-later
Group: Development/Languages/Python
URL: https://github.com/ebook-utils/css-parser
Source: https://github.com/ebook-utils/css-parser/archive/v%{version}/%{name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM relax_error_msg_check.patch gh#ebook-utils/css-parser#12 mcepl@suse.com
# instead of home-made assert methods with the ones from the standard library
Patch0: relax_error_msg_check.patch
BuildRequires: %{python_module chardet}
BuildRequires: %{python_module setuptools}
Requires: python-chardet