14
0
forked from pool/python-pydyf

- update to 0.11.0:

* Remove deprecated version and identifier parameters
  * Change some function names for consistency
  * Allow extra operands for special colors

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydyf?expand=0&rev=24
This commit is contained in:
2024-08-18 16:55:51 +00:00
committed by Git OBS Bridge
commit 5017f88804
6 changed files with 186 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

3
pydyf-0.10.0.tar.gz Normal file
View File

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

3
pydyf-0.11.0.tar.gz Normal file
View File

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

90
python-pydyf.changes Normal file
View File

@@ -0,0 +1,90 @@
-------------------------------------------------------------------
Sun Aug 18 16:55:24 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 0.11.0:
* Remove deprecated version and identifier parameters
* Change some function names for consistency
* Allow extra operands for special colors
-------------------------------------------------------------------
Thu May 2 16:35:53 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 0.10.0:
* Add standard compliant default identifier
-------------------------------------------------------------------
Sat Mar 16 09:45:01 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 0.9.0:
* Python 3.12 is supported and tested
* Python 3.8+ is now needed, Python 3.7 is not supported
anymore
-------------------------------------------------------------------
Thu Jan 11 10:46:57 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
- Add %{?sle15_python_module_pythons} macro
-------------------------------------------------------------------
Fri Jan 5 16:02:09 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 0.8.0:
* Add text rise operator
-------------------------------------------------------------------
Sun Jul 16 21:09:43 UTC 2023 - Axel Braun <axel.braun@gmx.de>
- version 0.7.0
* Python 3.11 is supported and tested
* Fix size of fields for xref
-------------------------------------------------------------------
Thu May 4 19:31:27 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 0.6.0:
* Add an option to use compressed object streams for PDF 1.5+,
with financial support from Code & Co.
* Add new text operators
* Clean and fix documentation
-------------------------------------------------------------------
Fri Oct 28 20:04:09 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to version 0.5.0
* Add the PDF.page_references property
* Revert the PDF.pages['Kids'] behavior to be backwards compatible with version 0.3.0
- Update to version 0.4.0
* Allow nth pages reference to be retrieved using PDF.pages['Kids'][n]
-------------------------------------------------------------------
Wed Oct 12 14:08:39 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to version 0.3.0
* Support marked content
* Allow version and ID to be specified when initializing PDF objects
-------------------------------------------------------------------
Tue Aug 16 20:25:37 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Implement python packaging best practices for build requirements,
testing and files section
-------------------------------------------------------------------
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
- 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>
- version 0.1.2
inital OBS build

66
python-pydyf.spec Normal file
View File

@@ -0,0 +1,66 @@
#
# spec file for package python-pydyf
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2022-2023 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?sle15_python_module_pythons}
Name: python-pydyf
Version: 0.11.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 base >= 3.8}
BuildRequires: %{python_module flit-core}
BuildRequires: %{python_module pip}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
# SECTION Testing
BuildRequires: %{python_module Pillow}
BuildRequires: %{python_module pytest-xdist}
BuildRequires: %{python_module pytest}
BuildRequires: gs
# /SECTION
%python_subpackages
%description
A low-level PDF generator written in Python and based on PDF specification 1.7.
%prep
%setup -q -n pydyf-%{version}
sed -i 's:--isort --flake8::' pyproject.toml
chmod -x pydyf/__init__.py
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/pydyf
%{python_sitelib}/pydyf-%{version}*-info
%changelog