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