From 5acaa59e37452b219978324cde8839ba77c67259713c5f9c38bafe6a65251e3b Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 28 Dec 2025 20:30:20 +0000 Subject: [PATCH] =?UTF-8?q?-=20update=20to=200.12.1:=20=20=20*=20Don?= =?UTF-8?q?=E2=80=99t=20add=20/Info=20key=20in=20compressed=20trailer=20if?= =?UTF-8?q?=20info=20dict=20is=20=20=20=20=20empty=20=20=20*=20Python=203.?= =?UTF-8?q?13=20and=203.14=20are=20supported=20and=20tested=20=20=20*=20Py?= =?UTF-8?q?thon=203.10+=20is=20now=20needed,=20Python=203.8=20and=203.9=20?= =?UTF-8?q?are=20not=20=20=20=20=20supported=20anymore?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydyf?expand=0&rev=26 --- .gitattributes | 23 ++++++++++ .gitignore | 1 + pydyf-0.11.0.tar.gz | 3 ++ pydyf-0.12.1.tar.gz | 3 ++ python-pydyf.changes | 100 +++++++++++++++++++++++++++++++++++++++++++ python-pydyf.spec | 66 ++++++++++++++++++++++++++++ 6 files changed, 196 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 pydyf-0.11.0.tar.gz create mode 100644 pydyf-0.12.1.tar.gz create mode 100644 python-pydyf.changes create mode 100644 python-pydyf.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/pydyf-0.11.0.tar.gz b/pydyf-0.11.0.tar.gz new file mode 100644 index 0000000..e47437e --- /dev/null +++ b/pydyf-0.11.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:394dddf619cca9d0c55715e3c55ea121a9bf9cbc780cdc1201a2427917b86b64 +size 17769 diff --git a/pydyf-0.12.1.tar.gz b/pydyf-0.12.1.tar.gz new file mode 100644 index 0000000..4c31c7a --- /dev/null +++ b/pydyf-0.12.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fbd7e759541ac725c29c506612003de393249b94310ea78ae44cb1d04b220095 +size 17716 diff --git a/python-pydyf.changes b/python-pydyf.changes new file mode 100644 index 0000000..24f0287 --- /dev/null +++ b/python-pydyf.changes @@ -0,0 +1,100 @@ +------------------------------------------------------------------- +Sun Dec 28 20:29:51 UTC 2025 - Dirk Müller + +- update to 0.12.1: + * Don’t add /Info key in compressed trailer if info dict is + empty + * Python 3.13 and 3.14 are supported and tested + * Python 3.10+ is now needed, Python 3.8 and 3.9 are not + supported anymore + +------------------------------------------------------------------- +Sun Aug 18 16:55:24 UTC 2024 - Dirk Müller + +- 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 + +- update to 0.10.0: + * Add standard compliant default identifier + +------------------------------------------------------------------- +Sat Mar 16 09:45:01 UTC 2024 - Dirk Müller + +- 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 + +- Add %{?sle15_python_module_pythons} macro + +------------------------------------------------------------------- +Fri Jan 5 16:02:09 UTC 2024 - Dirk Müller + +- update to 0.8.0: + * Add text rise operator + +------------------------------------------------------------------- +Sun Jul 16 21:09:43 UTC 2023 - Axel Braun + +- 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 + +- 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 + +- 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 page’s reference to be retrieved using PDF.pages['Kids'][n] + +------------------------------------------------------------------- +Wed Oct 12 14:08:39 UTC 2022 - Yogalakshmi Arunachalam + +- 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 + +- Implement python packaging best practices for build requirements, + testing and files section + +------------------------------------------------------------------- +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 + +- fix build (testsuite run) +- pytest-runner is not required for build + +------------------------------------------------------------------- +Thu Nov 18 16:23:51 UTC 2021 - Axel Braun + +- version 0.1.2 + inital OBS build diff --git a/python-pydyf.spec b/python-pydyf.spec new file mode 100644 index 0000000..66a2764 --- /dev/null +++ b/python-pydyf.spec @@ -0,0 +1,66 @@ +# +# spec file for package python-pydyf +# +# Copyright (c) 2025 SUSE LLC and contributors +# Copyright (c) 2022-2023 Dr. Axel Braun +# +# 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.12.1 +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