ports/www/py-pywikibot/files/patch-setup.py
Yuri Victorovich cf587835b4 www/py-pywikibot: Update 6.1.0 -> 6.3.0
Reported by:	portscout
<If someone else reported the issue.>
2021-05-31 23:47:41 -07:00

21 lines
802 B
Python

--- setup.py.orig 2021-06-01 06:43:44 UTC
+++ setup.py
@@ -158,12 +158,12 @@ def get_validated_version(): # pragma: no cover
# validate version for sdist
from contextlib import suppress
from subprocess import PIPE, run
- try:
- tags = run(['git', 'tag'], check=True, stdout=PIPE,
- universal_newlines=True).stdout.splitlines()
- except Exception as e:
- print(e)
- sys.exit('Creating source distribution canceled.')
+ #try:
+ # tags = run(['git', 'tag'], check=True, stdout=PIPE,
+ # universal_newlines=True).stdout.splitlines()
+ #except Exception as e:
+ # print(e)
+ # sys.exit('Creating source distribution canceled.')
for tag in ('stable', 'python2'):
with suppress(ValueError):