14
0
forked from pool/python-pilkit

Accepting request 1282276 from devel:languages:python

- Convert to pip-based build

OBS-URL: https://build.opensuse.org/request/show/1282276
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pilkit?expand=0&rev=8
This commit is contained in:
2025-06-03 15:55:39 +00:00
committed by Git OBS Bridge
2 changed files with 11 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jun 3 11:27:51 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Thu Oct 5 08:36:31 UTC 2023 - Markéta Machová <mmachova@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pilkit
#
# Copyright (c) 2023 SUSE LLC
# 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
@@ -24,15 +24,17 @@ Summary: A collection of utilities and processors for the Python Imaging
License: BSD-3-Clause
URL: https://github.com/matthewwithanm/pilkit/
Source: https://files.pythonhosted.org/packages/source/p/pilkit/pilkit-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Pillow
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module Pillow}
BuildRequires: %{python_module pytest}
# /SECTION
Requires: python-Pillow
%python_subpackages
%description
@@ -47,10 +49,10 @@ interface for performing manipulations on PIL images.
%autopatch -p1
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check