Files
packages/lang/python/python-constantly/patches/002-remove-versioneer-from-setup.patch
Alexandru Ardelean 8c3bc3fcf9 python-constantly: drop versioneer build dependency
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>
2026-04-16 22:34:46 +03:00

16 lines
276 B
Diff

--- a/setup.py
+++ b/setup.py
@@ -1,11 +1,6 @@
# Copyright (c) Twisted Matrix Laboratories.
# See LICENSE for details.
-import versioneer
-
from setuptools import setup
-setup(
- version=versioneer.get_version(),
- cmdclass=versioneer.get_cmdclass(),
-)
+setup()