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:
@@ -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>
|
Sat Feb 13 10:29:18 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pyprel
|
# 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
|
# 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,9 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
%define skip_python2 1
|
|
||||||
%define skip_python36 1
|
|
||||||
Name: python-pyprel
|
Name: python-pyprel
|
||||||
Version: 2018.9.14.1501
|
Version: 2018.9.14.1501
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -28,7 +25,9 @@ Group: Development/Languages/Python
|
|||||||
URL: https://github.com/wdbm/pyprel
|
URL: https://github.com/wdbm/pyprel
|
||||||
Source0: https://files.pythonhosted.org/packages/source/p/pyprel/pyprel-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/p/pyprel/pyprel-%{version}.tar.gz
|
||||||
Source10: https://raw.githubusercontent.com/wdbm/pyprel/master/LICENSE
|
Source10: https://raw.githubusercontent.com/wdbm/pyprel/master/LICENSE
|
||||||
|
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
|
Requires: python-Pillow
|
||||||
@@ -60,10 +59,10 @@ extend them and save images of them.
|
|||||||
cp %{SOURCE10} .
|
cp %{SOURCE10} .
|
||||||
|
|
||||||
%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
|
||||||
@@ -72,6 +71,7 @@ cp %{SOURCE10} .
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/pyprel
|
||||||
|
%{python_sitelib}/pyprel-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user