Drop unneeded build dependencies
This commit is contained in:
parent
41a58cd95d
commit
4b73b73f73
33
0001-Remove-hatch-vcs.patch
Normal file
33
0001-Remove-hatch-vcs.patch
Normal file
@ -0,0 +1,33 @@
|
||||
From 20ea9c6ff9c334d76466f10cb97c93eb4b91672b Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Ond=C5=99ej=20Budai?= <ondrej@budai.cz>
|
||||
Date: Wed, 26 Jun 2024 17:48:46 +0200
|
||||
Subject: [PATCH] Remove hatch-vcs
|
||||
|
||||
It apparently has no effect on the built RPM (I checked manually),
|
||||
so let's drop it from pyproject.toml, so we can remove it from RHEL.
|
||||
---
|
||||
pyproject.toml | 6 ++----
|
||||
1 file changed, 2 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/pyproject.toml b/pyproject.toml
|
||||
index c0044e7..91d5035 100644
|
||||
--- a/pyproject.toml
|
||||
+++ b/pyproject.toml
|
||||
@@ -1,12 +1,10 @@
|
||||
[build-system]
|
||||
-requires = ["hatchling", "hatch-vcs"]
|
||||
+requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
-[tool.hatch.version]
|
||||
-source = "vcs"
|
||||
-
|
||||
[project]
|
||||
name = "referencing"
|
||||
+version = "0.31.1"
|
||||
description = "JSON Referencing + Python"
|
||||
readme = "README.rst"
|
||||
license = {text = "MIT"}
|
||||
--
|
||||
2.45.2
|
||||
|
@ -7,6 +7,7 @@ Summary: An implementation-agnostic implementation of JSON reference reso
|
||||
License: MIT
|
||||
URL: https://pypi.python.org/pypi/%{srcname}
|
||||
Source: %{pypi_source referencing}
|
||||
Patch0: 0001-Remove-hatch-vcs.patch
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user