From owner-svn-ports-all@freebsd.org Wed Sep 25 19:06:05 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 945C712FFAC; Wed, 25 Sep 2019 19:06:05 +0000 (UTC) (envelope-from bhughes@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46dnb13SXvz4LDj; Wed, 25 Sep 2019 19:06:05 +0000 (UTC) (envelope-from bhughes@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 561311C33F; Wed, 25 Sep 2019 19:06:05 +0000 (UTC) (envelope-from bhughes@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x8PJ659x019240; Wed, 25 Sep 2019 19:06:05 GMT (envelope-from bhughes@FreeBSD.org) Received: (from bhughes@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x8PJ64u2019238; Wed, 25 Sep 2019 19:06:04 GMT (envelope-from bhughes@FreeBSD.org) Message-Id: <201909251906.x8PJ64u2019238@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bhughes set sender to bhughes@FreeBSD.org using -f From: "Bradley T. Hughes" Date: Wed, 25 Sep 2019 19:06:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r512805 - head/devel/awscli/files X-SVN-Group: ports-head X-SVN-Commit-Author: bhughes X-SVN-Commit-Paths: head/devel/awscli/files X-SVN-Commit-Revision: 512805 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Sep 2019 19:06:05 -0000 Author: bhughes Date: Wed Sep 25 19:06:04 2019 New Revision: 512805 URL: https://svnweb.freebsd.org/changeset/ports/512805 Log: devel/awscli: add files missing from r511778 PR: 240664 Submitted by: nork@ninth-nine.com Sponsored by: Miles AS Added: head/devel/awscli/files/ head/devel/awscli/files/patch-awscli_help.py (contents, props changed) head/devel/awscli/files/pkg-message.in (contents, props changed) Added: head/devel/awscli/files/patch-awscli_help.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/awscli/files/patch-awscli_help.py Wed Sep 25 19:06:04 2019 (r512805) @@ -0,0 +1,23 @@ +--- awscli/help.py.orig 2019-08-27 18:05:04 UTC ++++ awscli/help.py +@@ -107,13 +107,16 @@ class PosixHelpRenderer(PagingHelpRenderer): + + def _convert_doc_content(self, contents): + man_contents = publish_string(contents, writer=manpage.Writer()) +- if not self._exists_on_path('groff'): ++ if self._exists_on_path('groff'): ++ cmdline = ['groff', '-m', 'man', '-T', 'ascii'] ++ elif self._exists_on_path('mandoc'): ++ cmdline = ['mandoc', '-man', '-T', 'ascii'] ++ else: + raise ExecutableNotFoundError('groff') +- cmdline = ['groff', '-m', 'man', '-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 ++ man_output = p3.communicate(input=man_contents)[0] ++ return man_output + + def _send_output_to_pager(self, output): + cmdline = self.get_pager_cmdline() Added: head/devel/awscli/files/pkg-message.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/awscli/files/pkg-message.in Wed Sep 25 19:06:04 2019 (r512805) @@ -0,0 +1,4 @@ +To auto-complete on your shell, please add a following line: + +(bashrc) complete -C '%%PREFIX%%/bin/aws_completer' aws +(zshrc) source %%PREFIX%%/bin/aws_zsh_completer.sh