forked from pool/python-pyproject-hooks
- skip test that fails with setuptools 70.1
(gh#pypa/pyproject-hooks#203) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyproject-hooks?expand=0&rev=6
This commit is contained in:
@@ -16,7 +16,6 @@
|
||||
#
|
||||
|
||||
|
||||
%define fname pyproject_hooks
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pyproject-hooks
|
||||
Version: 1.1.0
|
||||
@@ -24,12 +23,11 @@ Release: 0
|
||||
Summary: Wrappers to call pyproject.toml-based build backend hooks
|
||||
License: MIT
|
||||
URL: https://github.com/pypa/pyproject-hooks
|
||||
Source: https://github.com/pypa/pyproject-hooks/archive/refs/tags/v%{version}.tar.gz#/%{fname}-%{version}-gh.tar.gz
|
||||
Source: https://github.com/pypa/pyproject-hooks/archive/refs/tags/v%{version}.tar.gz#/pyproject_hooks-%{version}-gh.tar.gz
|
||||
BuildRequires: %{python_module devel >= 3.7}
|
||||
BuildRequires: %{python_module flit-core}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module testpath}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -59,7 +57,8 @@ Note: The ``pep517`` project has been replaced by this project (low level) and t
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
# https://github.com/pypa/pyproject-hooks/issues/203
|
||||
%pytest -k "not test_setup"
|
||||
|
||||
%files %{python_files}
|
||||
%{python_sitelib}/pyproject_hooks
|
||||
|
Reference in New Issue
Block a user