14
0

Accepting request 914745 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/914745
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-poppler?expand=0&rev=3
This commit is contained in:
2021-08-28 20:29:21 +00:00
committed by Git OBS Bridge
3 changed files with 13 additions and 6 deletions

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Aug 27 20:15:33 UTC 2021 - Ben Greiner <code@bnavigator.de>
- remove dangling series file
- skip failing test due to poppler 21.08.0 crash
gh#cbrunet/python-poppler#39
-------------------------------------------------------------------
Mon Mar 22 01:19:20 UTC 2021 - Hans-Peter Jansen <hpj@urpla.net>

View File

@@ -27,7 +27,6 @@ License: GPL-2.0-only
Group: Development/Libraries/Python
URL: https://github.com/cbrunet/python-poppler
Source: python-poppler-%{version}.tar.xz
Source1: series
Patch: use-system-pybind11.patch
Patch1: fix-image-argb.patch
BuildRequires: %{python_module devel}
@@ -41,7 +40,7 @@ BuildRequires: pkg-config
BuildRequires: python-rpm-macros
BuildRequires: python3
BuildRequires: pkgconfig(poppler)
# some tests require this this
# some tests require this
BuildRequires: poppler-data
%python_subpackages
@@ -70,11 +69,14 @@ export CXXFLAGS="%{optflags}"
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
%pytest_arch tests
# gh#cbrunet/python-poppler#39
donttest="test_get_pdf_version_of_locked_document"
%pytest_arch tests -k "not ($donttest)"
%files %{python_files}
%license LICENSE.txt
%doc README.md
%{python_sitearch}/
%{python_sitearch}/poppler
%{python_sitearch}/python_poppler-%{version}*-info
%changelog

2
series
View File

@@ -1,2 +0,0 @@
use-system-pybind11.patch
fix-image-argb.patch