14
0
forked from pool/python-pydyf

Accepting request 940658 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/940658
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pydyf?expand=0&rev=2
This commit is contained in:
2021-12-16 01:00:41 +00:00
committed by Git OBS Bridge
2 changed files with 11 additions and 7 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Dec 15 07:53:09 UTC 2021 - pgajdos@suse.com
- fix build (testsuite run)
- pytest-runner is not required for build
-------------------------------------------------------------------
Thu Nov 18 16:23:51 UTC 2021 - Axel Braun <axel.braun@gmx.de>

View File

@@ -27,24 +27,21 @@ Summary: A low-level PDF generator
License: BSD-3-Clause
URL: https://www.courtbouillon.org/pydyf
Source: https://files.pythonhosted.org/packages/source/p/pydyf/pydyf-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
## Testing
BuildRequires: %{python_module pytest-runner}
BuildRequires: %{python_module pytest-cov}
BuildRequires: %{python_module pytest-flake8}
BuildRequires: %{python_module pytest-isort}
BuildRequires: %{python_module coverage}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module Pillow}
BuildRequires: %{python_module pytest-isort}
BuildRequires: gs
%python_subpackages
%description
A low-level PDF generator written in Python and based on PDF specification 1.7.
%prep
%setup -q -n pydyf-%{version}
@@ -56,6 +53,7 @@ A low-level PDF generator written in Python and based on PDF specification 1.7.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
sed -i 's:--flake8 --cov --no-cov-on-fail::' pyproject.toml
%pytest tests/test_pydyf.py
%files %{python_files}