diff options
Diffstat (limited to 'textproc/py-duecredit/files/patch-setup.py')
-rw-r--r-- | textproc/py-duecredit/files/patch-setup.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/textproc/py-duecredit/files/patch-setup.py b/textproc/py-duecredit/files/patch-setup.py new file mode 100644 index 000000000000..82f19217f62e --- /dev/null +++ b/textproc/py-duecredit/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2018-05-14 00:01:07 UTC ++++ setup.py +@@ -39,7 +39,7 @@ try: + list(filter(lambda x: x.startswith(' -- '), lines))[0].rstrip()) + else: + print('Attempting to get version number from git...') +- git = Popen(['git', 'describe', '--abbrev=4', '--dirty'], ++ git = Popen(['false', 'describe', '--abbrev=4', '--dirty'], + stdout=PIPE, stderr=sys.stderr) + if git.wait() != 0: + raise OSError |