aboutsummaryrefslogtreecommitdiffstats
path: root/testing/hy
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2019-09-23 22:26:05 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2019-09-23 22:26:12 +0200
commit83da87c5af248234969cab72dd504f3a574b4bd8 (patch)
treebeae56a9d3eac35978638cb66efcfa10a3a30f9a /testing/hy
parenta0a4a1493be4b52294f84fe5859231e93b4d5a20 (diff)
downloadaports-83da87c5af248234969cab72dd504f3a574b4bd8.tar.bz2
aports-83da87c5af248234969cab72dd504f3a574b4bd8.tar.xz
testing/hy: remove unused patch
Diffstat (limited to 'testing/hy')
-rw-r--r--testing/hy/do-not-invoke-git-describe.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/testing/hy/do-not-invoke-git-describe.patch b/testing/hy/do-not-invoke-git-describe.patch
deleted file mode 100644
index 6cf2751709..0000000000
--- a/testing/hy/do-not-invoke-git-describe.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-Upstream only uses the version from the VERSIONFILE if git-describe(1)
-fails. Unfourtunatly, git is installed on the builders and therefore the
-invocation won't fail. Patch it to not invoke git at all and always use
-the VERSIONFILE.
-
-diff -urp hy-0.17.0.orig/get_version.py hy-0.17.0/get_version.py
---- hy-0.17.0.orig/get_version.py 2019-08-25 12:19:03.420044611 +0200
-+++ hy-0.17.0/get_version.py 2019-08-25 12:19:12.650057246 +0200
-@@ -5,16 +5,7 @@ import os, subprocess, runpy
- os.chdir(os.path.split(os.path.abspath(__file__))[0])
- VERSIONFILE = os.path.join("hy", "version.py")
-
--try:
-- __version__ = (subprocess.check_output
-- (["git", "describe", "--tags", "--dirty"])
-- .decode('ASCII').strip()
-- .replace('-', '+', 1).replace('-', '.'))
-- with open(VERSIONFILE, "wt") as o:
-- o.write("__version__ = {!r}\n".format(__version__))
--
--except (subprocess.CalledProcessError, OSError):
-- if os.path.exists(VERSIONFILE):
-- __version__ = runpy.run_path(VERSIONFILE)['__version__']
-- else:
-- __version__ = "unknown"
-+if os.path.exists(VERSIONFILE):
-+ __version__ = runpy.run_path(VERSIONFILE)['__version__']
-+else:
-+ __version__ = "unknown"