ports/181965: [patch] devel/awscli

Nikolai Lifanov lifanov at mail.lifanov.com
Mon Sep 9 14:50:01 UTC 2013


>Number:         181965
>Category:       ports
>Synopsis:       [patch] devel/awscli
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 09 14:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Nikolai Lifanov
>Release:        FreeBSD 9.1-RELEASE-p5 amd64
>Organization:
>Environment:
System: FreeBSD mail.lifanov.com 9.1-RELEASE-p5 FreeBSD 9.1-RELEASE-p5 #0: Sat Jul 27 01:14:23 UTC 2013 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64

>Description:
	Port devel/awscli is missing a dependency on devel/py-argparse.
	Please add this dependency (see patch attached).

>How-To-Repeat:

Install awscli without the patch:

$ aws
Traceback (most recent call last):
  File "/usr/local/bin/aws", line 4, in <module>
    import pkg_resources
  File "/usr/local/lib/python2.7/site-packages/distribute-0.6.35-py2.7.egg/pkg_resources.py", line 2805, in <module>
  File "/usr/local/lib/python2.7/site-packages/distribute-0.6.35-py2.7.egg/pkg_resources.py", line 696, in require
  File "/usr/local/lib/python2.7/site-packages/distribute-0.6.35-py2.7.egg/pkg_resources.py", line 594, in resolve
pkg_resources.DistributionNotFound: argparse>=1.1

>Fix:
Apply this patch:

$ aws
usage: aws [options] <command> <subcommand> [parameters]
aws: error: too few arguments

--- patch.txt begins here ---
Index: devel/awscli/Makefile
===================================================================
--- devel/awscli/Makefile	(revision 326809)
+++ devel/awscli/Makefile	(working copy)
@@ -17,7 +17,8 @@
 		${PYTHON_PKGNAMEPREFIX}colorama>=0.2.5:${PORTSDIR}/devel/py-colorama \
 		${PYTHON_PKGNAMEPREFIX}docutils>=0.10:${PORTSDIR}/textproc/py-docutils \
 		${PYTHON_PKGNAMEPREFIX}rsa>=3.1.1:${PORTSDIR}/security/py-rsa \
-		${PYTHON_PKGNAMEPREFIX}six>=1.1.0:${PORTSDIR}/devel/py-six
+		${PYTHON_PKGNAMEPREFIX}six>=1.1.0:${PORTSDIR}/devel/py-six \
+		${PYTHON_PKGNAMEPREFIX}argparse>=1.1:${PORTSDIR}/devel/py-argparse
 
 USE_PYTHON=	yes
 USE_PYDISTUTILS=easy_install
--- patch.txt ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list