forked from pool/python-pydyf
Accepting request 940657 from home:pgajdos:python
- fix build (testsuite run) - pytest-runner is not required for build OBS-URL: https://build.opensuse.org/request/show/940657 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydyf?expand=0&rev=3
This commit is contained in:
@@ -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>
|
||||
|
||||
|
@@ -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}
|
||||
|
Reference in New Issue
Block a user