forked from pool/python-pydyf
Accepting request 997376 from home:DocB:branches:devel:languages:python
- Update to version 0.2.0 * Requires Python 3.7+ * change buildsystem to .toml test options --flake8 --numprocesses=auto commented out OBS-URL: https://build.opensuse.org/request/show/997376 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydyf?expand=0&rev=4
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:1e2f5de48174f505de025a7d1e7cf01bbdd9422ca8ab9451782bf00ee178602c
|
|
||||||
size 14492
|
|
3
pydyf-0.2.0.tar.gz
Normal file
3
pydyf-0.2.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e5f721b8f59848e2872cf9e6727cc84fee2e410c9e5e53898b16efa64cdae87a
|
||||||
|
size 14530
|
@@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Aug 13 11:44:53 UTC 2022 - Axel Braun <axel.braun@gmx.de>
|
||||||
|
|
||||||
|
- Update to version 0.2.0
|
||||||
|
* Requires Python 3.7+
|
||||||
|
* change buildsystem to .toml
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 15 07:53:09 UTC 2021 - pgajdos@suse.com
|
Wed Dec 15 07:53:09 UTC 2021 - pgajdos@suse.com
|
||||||
|
|
||||||
|
@@ -1,8 +1,8 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pydyf
|
# spec file for package python-pydyf
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2022 SUSE LLC
|
||||||
# Copyright (c) 2021 Dr. Axel Braun <DocB@openSUSE.org>
|
# Copyright (c) 2022 Dr. Axel Braun <DocB@openSUSE.org>
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -21,20 +21,23 @@
|
|||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
|
|
||||||
Name: python-pydyf
|
Name: python-pydyf
|
||||||
Version: 0.1.2
|
Version: 0.2.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A low-level PDF generator
|
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_module flit}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
## Testing
|
## Testing
|
||||||
BuildRequires: %{python_module pytest}
|
|
||||||
BuildRequires: %{python_module Pillow}
|
BuildRequires: %{python_module Pillow}
|
||||||
BuildRequires: %{python_module pytest-isort}
|
BuildRequires: %{python_module pytest-isort}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: gs
|
BuildRequires: gs
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
@@ -46,14 +49,14 @@ A low-level PDF generator written in Python and based on PDF specification 1.7.
|
|||||||
%setup -q -n pydyf-%{version}
|
%setup -q -n pydyf-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%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
|
sed -i 's:--flake8 --numprocesses=auto::' 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