Update to delete.
This commit is contained in:
parent
e4290ae387
commit
6f46eab827
@ -1,6 +1,6 @@
|
|||||||
COMMENT= universal command line environment for AWS
|
COMMENT= universal command line environment for AWS
|
||||||
|
|
||||||
MODPY_EGG_VERSION= 1.27.4
|
MODPY_EGG_VERSION= 1.27.6
|
||||||
DISTNAME= awscli-${MODPY_EGG_VERSION}
|
DISTNAME= awscli-${MODPY_EGG_VERSION}
|
||||||
|
|
||||||
CATEGORIES= sysutils
|
CATEGORIES= sysutils
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
SHA256 (awscli-1.27.4.tar.gz) = 5D7Pqhc9evbVV/dGtBgnuDGQizxds1crNS3wwKtRTcM=
|
SHA256 (awscli-1.27.6.tar.gz) = T9oRtPug3ooy5o/igQAG/M3ohMDrco/tkdrGzZg3GD4=
|
||||||
SIZE (awscli-1.27.4.tar.gz) = 1607891
|
SIZE (awscli-1.27.6.tar.gz) = 1607817
|
||||||
|
@ -1,21 +0,0 @@
|
|||||||
https://github.com/aws/aws-cli/pull/2635
|
|
||||||
|
|
||||||
Index: awscli/help.py
|
|
||||||
--- awscli/help.py.orig
|
|
||||||
+++ awscli/help.py
|
|
||||||
@@ -106,9 +106,12 @@ class PosixHelpRenderer(PagingHelpRenderer):
|
|
||||||
|
|
||||||
def _convert_doc_content(self, contents):
|
|
||||||
man_contents = publish_string(contents, writer=manpage.Writer())
|
|
||||||
- if not self._exists_on_path('groff'):
|
|
||||||
- raise ExecutableNotFoundError('groff')
|
|
||||||
- cmdline = ['groff', '-m', 'man', '-T', 'ascii']
|
|
||||||
+ if self._exists_on_path('groff'):
|
|
||||||
+ cmdline = ['groff', '-m', 'man', '-T', 'ascii']
|
|
||||||
+ elif self._exists_on_path('mandoc'):
|
|
||||||
+ cmdline = ['mandoc', '-T', 'ascii']
|
|
||||||
+ else:
|
|
||||||
+ raise ExecutableNotFoundError('groff or mandoc')
|
|
||||||
LOG.debug("Running command: %s", cmdline)
|
|
||||||
p3 = self._popen(cmdline, stdin=PIPE, stdout=PIPE, stderr=PIPE)
|
|
||||||
groff_output = p3.communicate(input=man_contents)[0]
|
|
Loading…
Reference in New Issue
Block a user