From eb9c99e1a8fde234f0c0ac22d6bd56c801f81272b566fc13e86bce44d45bf5de Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Wed, 11 Jun 2025 06:32:55 +0000 Subject: [PATCH] - Switch to pyproject macros. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyvips?expand=0&rev=9 --- .gitattributes | 23 +++++++++++++++++ .gitignore | 1 + python-pyvips.changes | 51 ++++++++++++++++++++++++++++++++++++++ python-pyvips.spec | 57 +++++++++++++++++++++++++++++++++++++++++++ pyvips-2.2.3.tar.gz | 3 +++ 5 files changed, 135 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-pyvips.changes create mode 100644 python-pyvips.spec create mode 100644 pyvips-2.2.3.tar.gz 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/python-pyvips.changes b/python-pyvips.changes new file mode 100644 index 0000000..991fdf7 --- /dev/null +++ b/python-pyvips.changes @@ -0,0 +1,51 @@ +------------------------------------------------------------------- +Wed Jun 11 05:49:37 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. + +------------------------------------------------------------------- +Thu Jun 6 20:11:27 UTC 2024 - Dirk Müller + +- update to 2.2.3: + * Fix -Wincompatible-function-pointer-types warning on Clang + * Fix flake8 warnings + * new_from_source keeps a ref to the source + * improve generation of enums.py + * Ensure compatibility with a single shared libvips library + +------------------------------------------------------------------- +Fri Jan 5 17:10:09 UTC 2024 - Dirk Müller + +- update to 2.2.2: + * fix with libvips nodeprecated + * update README notes for py3.8+ on win + * fix VipsObect.print_all() + * add split, join, annotate animation examples + * work around broken ffi bool type + * flag classes are now integer-valued so you can OR them + * update docs for 8.15 + +------------------------------------------------------------------- +Fri Oct 7 03:38:10 UTC 2022 - Yogalakshmi Arunachalam + +- Update to Version 2.2.1 (released 12 Jun 2022) + add seek and end handlers for TargetCustom [jcupitt] + add block_untrusted_set, operation_block_set [jcupitt] + update for libvips 8.13 [jcupitt] + +------------------------------------------------------------------- +Thu May 7 17:52:59 UTC 2020 - aloisio@gmx.com + +- Update to version 2.1.12 + * update enums.py [tony612] + * add gen-enums.py [jcupitt] + * improve custom source/target types [jcupitt] + * revise types for set_blob to fix exception with old libvips [jcupitt] + * fix 32-bit support [dqxpb] + * remove pytest-runner from pipy deps [lgbaldoni] + * add watermark with image example [jcupitt] + +------------------------------------------------------------------- +Mon May 4 13:35:24 UTC 2020 - Luigi Baldoni + +- Initial package (v2.1.11) diff --git a/python-pyvips.spec b/python-pyvips.spec new file mode 100644 index 0000000..2c4bc15 --- /dev/null +++ b/python-pyvips.spec @@ -0,0 +1,57 @@ +# +# spec file for package python-pyvips +# +# Copyright (c) 2025 SUSE LLC +# +# 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/ +# + + +Name: python-pyvips +Version: 2.2.3 +Release: 0 +Summary: Python bindings for VIPS image processing library +License: MIT +URL: https://github.com/libvips/pyvips +Source0: https://pypi.io/packages/source/p/pyvips/pyvips-%{version}.tar.gz +BuildRequires: %{python_module cffi >= 1.0.0} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-cffi >= 1.0.0 +BuildArch: noarch +%python_subpackages + +%description +This package contains the Python bindings for the VIPS library. + +%prep +%autosetup -n pyvips-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +# NOTE: tests are not present in the pypi tarball + +%files %{python_files} +%doc README.rst +%license LICENSE.txt +%{python_sitelib}/pyvips +%{python_sitelib}/pyvips-%{version}.dist-info + +%changelog diff --git a/pyvips-2.2.3.tar.gz b/pyvips-2.2.3.tar.gz new file mode 100644 index 0000000..4507017 --- /dev/null +++ b/pyvips-2.2.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:43bceced0db492654c93008246a58a508e0373ae1621116b87b322f2ac72212f +size 56626