forked from pool/python-weasyprint
gh#Kozea/WeasyPrint#1502
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-weasyprint?expand=0&rev=13
This commit is contained in:
@@ -43,7 +43,7 @@ Requires: python-cffi >= 0.6
|
||||
Requires: python-cssselect2 >= 0.1
|
||||
Requires: python-html5lib >= 1.1
|
||||
Requires: python-pydyf >= 0.0.3
|
||||
Requires: python-tinycss2 >= 1.0.0
|
||||
Requires: python-tinycss2 >= 1.1.0
|
||||
# SECTION fonttools[woff]
|
||||
Requires: python-FontTools
|
||||
Requires: python-Brotli >= 1.0.1
|
||||
@@ -60,7 +60,7 @@ BuildRequires: %{python_module cssselect2 >= 0.1}
|
||||
BuildRequires: %{python_module html5lib >= 1.1}
|
||||
BuildRequires: %{python_module pydyf >= 0.0.3}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module tinycss2 >= 1.0.0}
|
||||
BuildRequires: %{python_module tinycss2 >= 1.1.0}
|
||||
BuildRequires: %{python_module zopfli >= 0.1.4}
|
||||
BuildRequires: dejavu-fonts
|
||||
BuildRequires: gs
|
||||
@@ -94,8 +94,7 @@ export PYTHONPATH=$PWD
|
||||
%python_clone -a %{buildroot}%{_bindir}/weasyprint
|
||||
|
||||
%check
|
||||
# gh#Kozea/WeasyPrint#1503
|
||||
%pytest -k 'not (test_relative_links_missing_base_link or test_links)' tests
|
||||
%pytest tests
|
||||
|
||||
%post
|
||||
%python_install_alternative weasyprint
|
||||
|
||||
Reference in New Issue
Block a user