nixpkgs-suyu/pkgs/development/python-modules/iniconfig/version.patch

42 lines
924 B
Diff

diff --git a/pyproject.toml b/pyproject.toml
index 6eee6ef..263999f 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,12 +1,12 @@
[build-system]
build-backend = "hatchling.build"
requires = [
- "hatch-vcs",
"hatchling",
]
[project]
name = "iniconfig"
+version = "@version@"
description = "brain-dead simple config-ini parsing"
readme = "README.rst"
license = "MIT"
@@ -15,9 +15,6 @@ authors = [
{ name = "Holger Krekel", email = "holger.krekel@gmail.com" },
]
requires-python = ">=3.7"
-dynamic = [
- "version",
-]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
@@ -38,13 +35,6 @@ classifiers = [
[project.urls]
Homepage = "https://github.com/pytest-dev/iniconfig"
-
-[tool.hatch.version]
-source = "vcs"
-
-[tool.hatch.build.hooks.vcs]
-version-file = "src/iniconfig/_version.py"
-
[tool.hatch.build.targets.sdist]
include = [
"/src",