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:
@@ -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>
|
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
|
License: BSD-3-Clause
|
||||||
URL: https://www.courtbouillon.org/pydyf
|
URL: https://www.courtbouillon.org/pydyf
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/pydyf/pydyf-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/pydyf/pydyf-%{version}.tar.gz
|
||||||
BuildRequires: python-rpm-macros
|
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
## Testing
|
## Testing
|
||||||
BuildRequires: %{python_module pytest-runner}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module pytest-cov}
|
|
||||||
BuildRequires: %{python_module pytest-flake8}
|
|
||||||
BuildRequires: %{python_module pytest-isort}
|
|
||||||
BuildRequires: %{python_module coverage}
|
|
||||||
BuildRequires: %{python_module Pillow}
|
BuildRequires: %{python_module Pillow}
|
||||||
|
BuildRequires: %{python_module pytest-isort}
|
||||||
BuildRequires: gs
|
BuildRequires: gs
|
||||||
|
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A low-level PDF generator written in Python and based on PDF specification 1.7.
|
A low-level PDF generator written in Python and based on PDF specification 1.7.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n pydyf-%{version}
|
%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}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
sed -i 's:--flake8 --cov --no-cov-on-fail::' pyproject.toml
|
||||||
%pytest tests/test_pydyf.py
|
%pytest tests/test_pydyf.py
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
|
Reference in New Issue
Block a user