Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  9 Sep 2013 14:48:27 +0000 (UTC)
From:      Nikolai Lifanov <lifanov@mail.lifanov.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/181965: [patch] devel/awscli
Message-ID:  <20130909144827.A73651A4BF9@mail.lifanov.com>
Resent-Message-ID: <201309091450.r89Eo06d064643@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130909144827.A73651A4BF9>