depot/third_party/nixpkgs/pkgs/development/python-modules/zlib-ng/version.patch

16 lines
408 B
Diff

diff --git a/pyproject.toml b/pyproject.toml
index 28ae41d..05ad409 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -2,9 +2,8 @@
requires = ["setuptools>=64", "versioningit>=1.1.0"]
build-backend = "setuptools.build_meta"
-[tool.versioningit.vcs]
-method="git"
-default-tag = "v0.0.0"
+[tool.versioningit]
+default-version = "@version@"
[tool.versioningit.write]
file = "src/zlib_ng/_version.py"