15
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

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:592cda169dd6cf3bd681d3a7bf694d90645ed864e3432e170342f9adde99dade
size 349985

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:17b3778e6c85f651f75d7182162643ddff5cbf8ec817e87067abaa66e44b7655
size 349802

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Oct 3 15:50:22 UTC 2022 - Dirk Müller <dmueller@suse.com>
- 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)
-------------------------------------------------------------------
Tue Jan 25 22:45:54 UTC 2022 - Matej Cepl <mcepl@suse.com>

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

File diff suppressed because it is too large Load Diff