pentoo-overlay/dev-python/django-formtools/files/django-formtools-2.5.1-fix-pyproject.patch
rick a6a49e7733
django-formtools: update 2.5.1, drop 2.1, add doc
restrict test
upgrade dependency
fix pkgcheck scan

add a patch to fix setuptools
2025-06-01 23:07:21 +02:00

37 lines
705 B
Diff

Patch pyproject for tarball and not dynamic version
Fix by rick <rick@gnous.eu>
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -2,7 +2,6 @@
build-backend = "setuptools.build_meta"
requires = [
"setuptools>=61.2",
- "setuptools_scm",
]
[project]
@@ -32,9 +31,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Topic :: Internet :: WWW/HTTP",
]
-dynamic = [
- "version",
-]
+version = "2.5.1"
dependencies = [
"Django>=3.2",
]
@@ -53,11 +50,9 @@ license-files = ["LICENSE"]
zip-safe = false
[tool.setuptools.packages.find]
-exclude = ["tests"] # tests.*
+exclude = ["tests*"] # tests.*
namespaces = false
-[tool.setuptools_scm]
-
[tool.codespell]
skip = "*.po"