14
0
forked from pool/python-pyprel

Accepting request 1284432 from devel:languages:python

- Convert to pip-based build

OBS-URL: https://build.opensuse.org/request/show/1284432
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyprel?expand=0&rev=5
This commit is contained in:
2025-06-11 14:22:45 +00:00
committed by Git OBS Bridge
2 changed files with 12 additions and 7 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jun 10 12:20:03 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Sat Feb 13 10:29:18 UTC 2021 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pyprel
#
# Copyright (c) 2021 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
@@ -16,9 +16,6 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
%define skip_python36 1
Name: python-pyprel
Version: 2018.9.14.1501
Release: 0
@@ -28,7 +25,9 @@ Group: Development/Languages/Python
URL: https://github.com/wdbm/pyprel
Source0: https://files.pythonhosted.org/packages/source/p/pyprel/pyprel-%{version}.tar.gz
Source10: https://raw.githubusercontent.com/wdbm/pyprel/master/LICENSE
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Pillow
@@ -60,10 +59,10 @@ extend them and save images of them.
cp %{SOURCE10} .
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -72,6 +71,7 @@ cp %{SOURCE10} .
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/*
%{python_sitelib}/pyprel
%{python_sitelib}/pyprel-%{version}*-info
%changelog