From 0308215b1c7bf8a0fa0257878427d0a4d62b4742414d63a189992a4878d0159e Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 4 May 2023 21:18:53 +0000 Subject: [PATCH] - Update to 0.40.0: - Added a wheel tags command to modify tags on an existing wheel - Updated vendored packaging to 23.0 - wheel unpack now preserves the executable attribute of extracted files - Fixed spaces in platform names not being converted to underscores - Fixed RECORD files in generated wheels missing the regular file attribute - Fixed DeprecationWarning about the use of the deprecated pkg_resources API - Wheel now uses flit-core as a build backend OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wheel?expand=0&rev=69 --- python-wheel.changes | 17 +++++++++++++++++ python-wheel.spec | 14 ++++++-------- wheel-0.38.4.tar.gz | 3 --- wheel-0.40.0.tar.gz | 3 +++ 4 files changed, 26 insertions(+), 11 deletions(-) delete mode 100644 wheel-0.38.4.tar.gz create mode 100644 wheel-0.40.0.tar.gz diff --git a/python-wheel.changes b/python-wheel.changes index 8d856ae..a4a6470 100644 --- a/python-wheel.changes +++ b/python-wheel.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Thu May 4 21:13:24 UTC 2023 - Matej Cepl + +- Update to 0.40.0: + - Added a wheel tags command to modify tags on an existing + wheel + - Updated vendored packaging to 23.0 + - wheel unpack now preserves the executable attribute of + extracted files + - Fixed spaces in platform names not being converted to + underscores + - Fixed RECORD files in generated wheels missing the regular + file attribute + - Fixed DeprecationWarning about the use of the deprecated + pkg_resources API + - Wheel now uses flit-core as a build backend + ------------------------------------------------------------------- Fri Apr 21 12:38:52 UTC 2023 - Dirk Müller diff --git a/python-wheel.spec b/python-wheel.spec index 8c17043..f6b40d9 100644 --- a/python-wheel.spec +++ b/python-wheel.spec @@ -32,7 +32,7 @@ %endif %{?sle15_python_module_pythons} Name: python-wheel%{psuffix} -Version: 0.38.4 +Version: 0.40.0 Release: 0 Summary: A built-package format for Python License: MIT @@ -40,10 +40,10 @@ 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} -BuildRequires: %{python_module setuptools >= 45.2.0} +BuildRequires: %{python_module flit-core} +BuildRequires: %{python_module pip} BuildRequires: fdupes BuildRequires: python-rpm-macros >= 20210929 -Requires: python-setuptools >= 45.2.0 %if %{with libalternatives} Requires: alts BuildRequires: alts @@ -71,16 +71,14 @@ preserves enough information to "Spread" (copy data and scripts to their final locations) at any later time. %prep -%setup -q -n wheel-%{version} -# Remove addopts as it requires pytest-cov -sed -i '/addopts = /d' setup.cfg +%autosetup -p1 -n wheel-%{version} %build -%python_build +%pyproject_wheel %install %if !%{with test} -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/wheel %python_expand %fdupes %{buildroot}%{$python_sitelib} %endif diff --git a/wheel-0.38.4.tar.gz b/wheel-0.38.4.tar.gz deleted file mode 100644 index 5111341..0000000 --- a/wheel-0.38.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:87629d97111524986d76f9533a23f780bb38f8efd1cdee3460d35155d289b06f -size 69770 diff --git a/wheel-0.40.0.tar.gz b/wheel-0.40.0.tar.gz new file mode 100644 index 0000000..6a8c1af --- /dev/null +++ b/wheel-0.40.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3ef5fd1a211b34028d72fd3037692db8301dc2bc5e82646fded18cddf5af1ae9 +size 96370