diff --git a/pydyf-0.1.2.tar.gz b/pydyf-0.1.2.tar.gz deleted file mode 100644 index 2c8bf28..0000000 --- a/pydyf-0.1.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1e2f5de48174f505de025a7d1e7cf01bbdd9422ca8ab9451782bf00ee178602c -size 14492 diff --git a/pydyf-0.2.0.tar.gz b/pydyf-0.2.0.tar.gz new file mode 100644 index 0000000..4d91d3b --- /dev/null +++ b/pydyf-0.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e5f721b8f59848e2872cf9e6727cc84fee2e410c9e5e53898b16efa64cdae87a +size 14530 diff --git a/python-pydyf.changes b/python-pydyf.changes index 51a4e69..7b8411d 100644 --- a/python-pydyf.changes +++ b/python-pydyf.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sat Aug 13 11:44:53 UTC 2022 - Axel Braun + +- 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 diff --git a/python-pydyf.spec b/python-pydyf.spec index a318eff..42267c6 100644 --- a/python-pydyf.spec +++ b/python-pydyf.spec @@ -1,8 +1,8 @@ # # spec file for package python-pydyf # -# Copyright (c) 2021 SUSE LLC -# Copyright (c) 2021 Dr. Axel Braun +# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2022 Dr. Axel Braun # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,20 +21,23 @@ %define skip_python2 1 Name: python-pydyf -Version: 0.1.2 +Version: 0.2.0 Release: 0 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_module flit} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros + BuildArch: noarch ## Testing -BuildRequires: %{python_module pytest} BuildRequires: %{python_module Pillow} BuildRequires: %{python_module pytest-isort} +BuildRequires: %{python_module pytest} BuildRequires: gs %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} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %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 %files %{python_files}