summaryrefslogtreecommitdiffstats
path: root/debian/patches/disable_scm_version.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-14 20:04:51 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-14 20:04:51 +0000
commita81be7dee3277993dd38f06b95417621955c8771 (patch)
tree31cc44ae606afa887f4e7d275ea78cfdf2821049 /debian/patches/disable_scm_version.patch
parentAdding upstream version 4.3.7. (diff)
downloadansible-lint-debian.tar.xz
ansible-lint-debian.zip
Adding debian version 4.3.7-1.debian/4.3.7-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--debian/patches/disable_scm_version.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/debian/patches/disable_scm_version.patch b/debian/patches/disable_scm_version.patch
new file mode 100644
index 0000000..301a8bb
--- /dev/null
+++ b/debian/patches/disable_scm_version.patch
@@ -0,0 +1,34 @@
+Description: Don't use setuptools_scm_git_archive to get version
+Author: Samuel Henrique <samueloph@debian.org>
+Index: ansible-lint/setup.cfg
+===================================================================
+--- ansible-lint.orig/setup.cfg
++++ ansible-lint/setup.cfg
+@@ -6,6 +6,7 @@ universal = 1
+
+ [metadata]
+ name = ansible-lint
++version = DEB_VERSION_UPSTREAM
+ url = https://github.com/ansible/ansible-lint
+ project_urls =
+ Bug Tracker = https://github.com/ansible/ansible-lint/issues
+@@ -56,7 +57,7 @@ keywords =
+ lint
+
+ [options]
+-use_scm_version = True
++use_scm_version = False
+ python_requires = >=3.6
+ package_dir =
+ = lib
+@@ -65,8 +66,8 @@ zip_safe = False
+
+ # These are required during `setup.py` run:
+ setup_requires =
+- setuptools_scm>=1.15.0
+- setuptools_scm_git_archive>=1.0
++# setuptools_scm>=1.15.0
++# setuptools_scm_git_archive>=1.0
+
+ # These are required in actual runtime:
+ install_requires =