forked from pool/python-pyvips
Accepting request 1284667 from devel:languages:python
- Switch to pyproject macros. OBS-URL: https://build.opensuse.org/request/show/1284667 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyvips?expand=0&rev=5
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Thu Jun 6 20:11:27 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pyvips
|
# spec file for package python-pyvips
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,7 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
Name: python-pyvips
|
Name: python-pyvips
|
||||||
Version: 2.2.3
|
Version: 2.2.3
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -25,7 +24,9 @@ License: MIT
|
|||||||
URL: https://github.com/libvips/pyvips
|
URL: https://github.com/libvips/pyvips
|
||||||
Source0: https://pypi.io/packages/source/p/pyvips/pyvips-%{version}.tar.gz
|
Source0: https://pypi.io/packages/source/p/pyvips/pyvips-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module cffi >= 1.0.0}
|
BuildRequires: %{python_module cffi >= 1.0.0}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-cffi >= 1.0.0
|
Requires: python-cffi >= 1.0.0
|
||||||
@@ -39,10 +40,10 @@ This package contains the Python bindings for the VIPS library.
|
|||||||
%autosetup -n pyvips-%{version}
|
%autosetup -n pyvips-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
# NOTE: tests are not present in the pypi tarball
|
# NOTE: tests are not present in the pypi tarball
|
||||||
@@ -51,6 +52,6 @@ This package contains the Python bindings for the VIPS library.
|
|||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
%{python_sitelib}/pyvips
|
%{python_sitelib}/pyvips
|
||||||
%{python_sitelib}/pyvips-%{version}-py%{python_version}.egg-info
|
%{python_sitelib}/pyvips-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user