File: fix-detecting-version.patch

package info (click to toggle)
python-eventlet 0.40.4-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,184 kB
  • sloc: python: 25,114; sh: 76; makefile: 32
file content (23 lines) | stat: -rw-r--r-- 691 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
Description: Fix detecting version
Author: Thomas Goirand <zigo@debian.org>
Forwarded: no
Last-Update: 2024-09-24

Index: python-eventlet/pyproject.toml
===================================================================
--- python-eventlet.orig/pyproject.toml
+++ python-eventlet/pyproject.toml
@@ -54,11 +54,8 @@ Documentation = "https://eventlet.readth
 dev = ["black", "isort", "pip-tools", "build", "twine", "pre-commit", "commitizen"]
 
 
-[tool.hatch]
-version.source = "vcs"
-
-[tool.hatch.build.hooks.vcs]
-version-file = "eventlet/_version.py"
+[tool.hatch.version]
+path = "eventlet/_version.py"
 
 [tool.ruff]
 # Might eventually want to add evenetlet/green/, but it's a pain...