FreeBSD Bugzilla – Attachment 207600 Details for
Bug 240664
devel/awscli: Use mandoc instead of groff for DOCS and suggest auto-complete
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
awscli's patch file
awscli.diff (text/plain), 1.96 KB, created by
Norikatsu Shigemura
on 2019-09-18 10:37:06 UTC
(
hide
)
Description:
awscli's patch file
Filename:
MIME Type:
Creator:
Norikatsu Shigemura
Created:
2019-09-18 10:37:06 UTC
Size:
1.96 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 512258) >+++ Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= awscli > PORTVERSION= 1.16.227 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= devel > MASTER_SITES= CHEESESHOP > >@@ -24,8 +24,6 @@ > USE_PYTHON= autoplist distutils concurrent noflavors > > NO_ARCH= yes >+SUB_FILES= pkg-message > >-OPTIONS_DEFINE= DOCS >-DOCS_USES= groff:run >- > .include <bsd.port.mk> >Index: files/patch-awscli_help.py >=================================================================== >--- files/patch-awscli_help.py (nonexistent) >+++ files/patch-awscli_help.py (working copy) >@@ -0,0 +1,21 @@ >+--- awscli/help.py.orig 2019-08-27 18:05:04 UTC >++++ awscli/help.py >+@@ -107,13 +107,13 @@ 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 not self._exists_on_path('mandoc'): >++ raise ExecutableNotFoundError('mandoc') >++ cmdline = ['mandoc', '-T', 'ascii'] >+ LOG.debug("Running command: %s", cmdline) >+ p3 = self._popen(cmdline, stdin=PIPE, stdout=PIPE, stderr=PIPE) >+- groff_output = p3.communicate(input=man_contents)[0] >+- return groff_output >++ mandoc_output = p3.communicate(input=man_contents)[0] >++ return mandoc_output >+ >+ def _send_output_to_pager(self, output): >+ cmdline = self.get_pager_cmdline() > >Property changes on: files/patch-awscli_help.py >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 240664
: 207600 |
207604
|
207607