forked from pool/python-wheel
yanked again, https://github.com/pypa/wheel/issues/662
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wheel?expand=0&rev=87
This commit is contained in:
@@ -32,19 +32,20 @@
|
||||
%endif
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-wheel%{psuffix}
|
||||
Version: 0.46.0
|
||||
Version: 0.45.1
|
||||
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
|
||||
# PATCH-FIX-UPSTREAM https://github.com/pypa/wheel/pull/651 fix test failures
|
||||
Patch: tests.patch
|
||||
# Bootstrap: Don't BuildRequire setuptools or pip here!
|
||||
BuildRequires: %{python_module base >= 3.8}
|
||||
BuildRequires: %{python_module flit-core}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros >= 20210929
|
||||
Requires: python-packaging
|
||||
%if %{with libalternatives}
|
||||
Requires: alts
|
||||
BuildRequires: alts
|
||||
@@ -98,7 +99,8 @@ export PYTHONPATH=build/env/lib/python%{$python_bin_suffix}/site-packages
|
||||
%if %{with test}
|
||||
export LC_ALL=en_US.utf8
|
||||
export PYTHONDONTWRITEBYTECODE=1
|
||||
%pytest
|
||||
# license tests failing with setuptools 77: https://github.com/pypa/wheel/issues/658
|
||||
%pytest -k "not (test_licenses_default or test_licenses_deprecated or test_licenses_override)"
|
||||
%endif
|
||||
|
||||
%if !%{with test}
|
||||
|
||||
Reference in New Issue
Block a user