forked from pool/python-hatch
- Add patch support-hatchling-1.22.patch:
* Support updates for the new Hatchling. - Add missing BuildRequires on editables, required for tests. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=33
This commit is contained in:
@@ -33,6 +33,10 @@ License: MIT
|
||||
URL: https://hatch.pypa.io/latest/
|
||||
# SourceRepository: https://github.com/pypa/hatch
|
||||
Source: https://github.com/pypa/hatch/archive/refs/tags/hatch-v%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM Based on parts of the following commits:
|
||||
# gh#pypa/hatch#9a80ffc2567bb09160e97f1ade1dd4c768004089
|
||||
# gh#pypa/hatch#f3b2159a8c4221062692881774bc58dfed5aaa76
|
||||
Patch0: support-hatchling-1.22.patch
|
||||
BuildRequires: %{python_module base >= 3.8}
|
||||
BuildRequires: %{python_module hatch-vcs >= 0.3}
|
||||
BuildRequires: %{python_module hatchling >= 1.19}
|
||||
@@ -58,6 +62,7 @@ Requires: python-zstandard < 1
|
||||
Requires: (python-pexpect >= 4.8 with python-pexpect < 5)
|
||||
Requires: (python-userpath >= 1.7 with python-userpath < 2)
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module editables}
|
||||
BuildRequires: %{python_module filelock >= 3.7.1}
|
||||
BuildRequires: %{python_module hatch = %{version}}
|
||||
BuildRequires: %{python_module pytest-mock}
|
||||
|
Reference in New Issue
Block a user