File: fix-detecting-version.patch

package info (click to toggle)
python-eventlet 0.40.1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,200 kB
  • sloc: python: 25,101; sh: 78; makefile: 31
file content (23 lines) | stat: -rw-r--r-- 656 bytes parent folder | download | duplicates (2)
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
@@ -59,11 +59,8 @@ packages = ['eventlet']
 where = "evenetlet"
 exclude = ["tests*", "benchmarks", "examples"]
 
-[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...