14
0
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:
2022-08-16 15:04:49 +00:00
committed by Git OBS Bridge
parent 552c531468
commit 6d009727d8
4 changed files with 20 additions and 10 deletions

View File

@@ -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
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e5f721b8f59848e2872cf9e6727cc84fee2e410c9e5e53898b16efa64cdae87a
size 14530

View File

@@ -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

View File

@@ -1,8 +1,8 @@
#
# spec file for package python-pydyf
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2021 Dr. Axel Braun <DocB@openSUSE.org>
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2022 Dr. Axel Braun <DocB@openSUSE.org>
#
# 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}