summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-09-18 07:44:41 +0000
committerCoprDistGit <infra@openeuler.org>2023-09-18 07:44:41 +0000
commitd32029f342da15272e3be0cc2488bb9d21788b74 (patch)
tree86bf0150a268d3cf47eeb1278ee8781de1ac6582
parenta11803cded6c1630034c8fa8b36d961e7edbe627 (diff)
automatic import of python-hatchlingopeneuler23.03openeuler20.03
-rw-r--r--python-hatchling.spec8
1 files changed, 5 insertions, 3 deletions
diff --git a/python-hatchling.spec b/python-hatchling.spec
index edcbe6c..e6e7c28 100644
--- a/python-hatchling.spec
+++ b/python-hatchling.spec
@@ -1,3 +1,4 @@
+%global bootstrap 1
Name: python-hatchling
Version: 1.13.0
Release: 1
@@ -6,10 +7,11 @@ License: MIT
URL: https://pypi.org/project/hatchling
Source0: https://files.pythonhosted.org/packages/26/d3/96fa0ee6328ee141f6be444bd913d68c1105f5cca3f7622bced939a34bc5/hatchling-1.13.0.tar.gz
BuildArch: noarch
-
-BuildRequires: python3-devel python3-pip python3-hatch-vcs python3-pathspec
+%if !%{?bootstrap}
+BuildRequires: python3-hatch-vcs
+%endif
+BuildRequires: python3-devel python3-pip python3-pathspec
BuildRequires: python3-pluggy python3-tomli python3-packaging
-
%global common_description %{expand:
This is the extensible, standards compliant build backend used by Hatch.}