Sync from SUSE:SLFO:Main python-wheel revision 018fac77a1d6a22285114ebbed87b424

This commit is contained in:
Adrian Schröter 2024-09-13 16:27:30 +02:00
parent 21bf2ee26b
commit d7561379a6
4 changed files with 45 additions and 11 deletions

View File

@ -1,3 +1,27 @@
-------------------------------------------------------------------
Sat Mar 16 14:23:45 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 0.43.0:
* Dropped support for Python 3.7
* Updated vendored packaging to 24.0
-------------------------------------------------------------------
Fri Dec 22 15:31:14 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Update to 0.42.0
* Allowed removing build tag with wheel tags --build ""
* Fixed wheel pack and wheel tags writing updated WHEEL fields
after a blank line, causing other tools to ignore them
* Fixed wheel pack and wheel tags writing WHEEL with CRLF line
endings or a mix of CRLF and LF
* Fixed wheel pack --build-number "" not removing build tag from
WHEEL (above changes by Benjamin Gilbert)
- Release 0.41.3
* Updated vendored packaging to 23.2
* Fixed ABI tag generation for CPython 3.13a1 on Windows (PR by
Sam Gross)
- Remove pip dependency for easier bootstrap
-------------------------------------------------------------------
Mon Sep 4 03:35:21 UTC 2023 - Martin Schreiner <martin.schreiner@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file
# spec file for package python-wheel
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -32,16 +32,16 @@
%endif
%{?sle15_python_module_pythons}
Name: python-wheel%{psuffix}
Version: 0.41.2
Version: 0.43.0
Release: 0
Summary: A built-package format for Python
License: MIT
Group: Development/Languages/Python
URL: https://github.com/pypa/wheel
Source: https://github.com/pypa/wheel/archive/%{version}.tar.gz#/wheel-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.7}
# Bootstrap: Don't BuildRequire setuptools or pip here!
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module flit-core}
BuildRequires: %{python_module pip}
BuildRequires: fdupes
BuildRequires: python-rpm-macros >= 20210929
%if %{with libalternatives}
@ -49,7 +49,7 @@ Requires: alts
BuildRequires: alts
%else
Requires(post): update-alternatives
Requires(postun):update-alternatives
Requires(postun): update-alternatives
%endif
BuildArch: noarch
%if %{with test}
@ -74,11 +74,21 @@ final locations) at any later time.
%autosetup -p1 -n wheel-%{version}
%build
%pyproject_wheel
%if !%{with test}
%{python_expand # bootstrap with built-in pip
$python -m venv build/env
build/env/bin/python -m ensurepip
export PYTHONPATH=build/env/lib/python%{$python_bin_suffix}/site-packages
%{$python_pyproject_wheel}
}
%endif
%install
%if !%{with test}
%pyproject_install
%{python_expand # use pip bootstrapped above
export PYTHONPATH=build/env/lib/python%{$python_bin_suffix}/site-packages
%{$python_pyproject_install}
}
%python_clone -a %{buildroot}%{_bindir}/wheel
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%endif

BIN
wheel-0.41.2.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
wheel-0.43.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.