14
0
forked from pool/python-wheel

Accepting request 1135267 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1135267
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-wheel?expand=0&rev=35
This commit is contained in:
2023-12-28 21:54:41 +00:00
committed by Git OBS Bridge
4 changed files with 34 additions and 7 deletions

View File

@@ -1,3 +1,20 @@
-------------------------------------------------------------------
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

@@ -32,16 +32,16 @@
%endif
%{?sle15_python_module_pythons}
Name: python-wheel%{psuffix}
Version: 0.41.2
Version: 0.42.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
# Bootstrap: Don't BuildRequire setuptools or pip here!
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module flit-core}
BuildRequires: %{python_module pip}
BuildRequires: fdupes
BuildRequires: python-rpm-macros >= 20210929
%if %{with libalternatives}
@@ -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

Binary file not shown.

3
wheel-0.42.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:000b0bb617ff3914f7a352687a7087ededd5b96a95e70e743c484904115a1021
size 98954