14
0
forked from pool/python-pyvips

- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyvips?expand=0&rev=9
This commit is contained in:
2025-06-11 06:32:55 +00:00
committed by Git OBS Bridge
commit eb9c99e1a8
5 changed files with 135 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

51
python-pyvips.changes Normal file
View File

@@ -0,0 +1,51 @@
-------------------------------------------------------------------
Wed Jun 11 05:49:37 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
-------------------------------------------------------------------
Thu Jun 6 20:11:27 UTC 2024 - Dirk Müller <dmueller@suse.com>
- 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 <dmueller@suse.com>
- 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 <yarunachalam@suse.com>
- 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 <aloisio@gmx.com>
- Initial package (v2.1.11)

57
python-pyvips.spec Normal file
View File

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

3
pyvips-2.2.3.tar.gz Normal file
View File

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