diff --git a/python-wheel.changes b/python-wheel.changes index 5bee193..f55f892 100644 --- a/python-wheel.changes +++ b/python-wheel.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Fri Dec 22 15:31:14 UTC 2023 - Ben Greiner + +- 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 diff --git a/python-wheel.spec b/python-wheel.spec index 7c70502..fa8de58 100644 --- a/python-wheel.spec +++ b/python-wheel.spec @@ -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 diff --git a/wheel-0.41.2.tar.gz b/wheel-0.41.2.tar.gz deleted file mode 100644 index f774bc2..0000000 --- a/wheel-0.41.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:383cdc7331f5e146bdf6e19b826bfa6c0afc4f4ab80a1cd24f42edd21a263fb4 -size 98265 diff --git a/wheel-0.42.0.tar.gz b/wheel-0.42.0.tar.gz new file mode 100644 index 0000000..382fea1 --- /dev/null +++ b/wheel-0.42.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:000b0bb617ff3914f7a352687a7087ededd5b96a95e70e743c484904115a1021 +size 98954