mirror of
https://github.com/openwrt/packages.git
synced 2026-04-17 03:41:59 +00:00
The release tarball already contains a pre-generated _version.py with the version hardcoded, so versioneer is not needed at build time. Patch pyproject.toml to only require setuptools and remove PKG_BUILD_DEPENDS:=python-versioneer/host. Remove python-versioneer package as it is no longer needed. Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
19 lines
495 B
Diff
19 lines
495 B
Diff
--- a/pyproject.toml
|
|
+++ b/pyproject.toml
|
|
@@ -1,5 +1,5 @@
|
|
[build-system]
|
|
-requires = ["setuptools>=68.2", "versioneer[toml]==0.29"]
|
|
+requires = ["setuptools"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
@@ -27,7 +27,7 @@ name = "constantly"
|
|
maintainers = [{name = "Twisted Matrix Labs Developers"}]
|
|
urls = {Homepage = "https://github.com/twisted/constantly"}
|
|
requires-python = ">= 3.8"
|
|
-dynamic = ["version"]
|
|
+version = "23.10.4"
|
|
|
|
[tool.setuptools]
|
|
include-package-data = false
|