File: 0001-Remove-hatch-vcs.patch

package info (click to toggle)
referencing 0.36.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 372 kB
  • sloc: python: 2,618; makefile: 13
file content (25 lines) | stat: -rw-r--r-- 579 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: Roland Mas <roland.mas@entierement.net>
Date: Tue, 7 Nov 2023 11:24:19 +0100
Subject: Remove hatch-vcs

---
 pyproject.toml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/pyproject.toml b/pyproject.toml
index 1557af1..c2a3ba1 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,9 +1,10 @@
 [build-system]
-requires = ["hatchling", "hatch-vcs"]
+requires = ["hatchling"]
 build-backend = "hatchling.build"
 
 [tool.hatch.version]
-source = "vcs"
+path = "docs/changes.rst"
+pattern = "^v(?P<version>[0-9.]+)$"
 
 [project]
 name = "referencing"