Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Mar 2012 07:24:07 +0100 (CET)
From:      Beat Gätzi <beat@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/166367: [PATCH] devel/pybugz: Add missing argparse dependency
Message-ID:  <201203240624.q2O6O7J2081957@tinderbox.chruetertee.ch>
Resent-Message-ID: <201203240630.q2O6UBCG066371@freefall.freebsd.org>

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

>Number:         166367
>Category:       ports
>Synopsis:       [PATCH] devel/pybugz: Add missing argparse dependency
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 24 06:30:11 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Beat Gätzi
>Release:        FreeBSD 10.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD tinderbox.chruetertee.ch 10.0-CURRENT FreeBSD 10.0-CURRENT #4 r232449: Sun Mar 4 15:27:19 CET 2012 root@tinderbox.chruetertee.ch:/usr/obj/usr/home/beat/dev/src/head/sys/BEASTIE i386


	
>Description:
	- Add missing runtime dependency
	
>How-To-Repeat:
	# bugz 
	Traceback (most recent call last):
	File "/usr/local/bin/bugz", line 3, in <module>
	    import argparse
	    ImportError: No module named argparse
	
>Fix:

	

--- pybugz-argparse.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/pybugz/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- Makefile	18 Mar 2012 17:49:42 -0000	1.1
+++ Makefile	24 Mar 2012 06:14:01 -0000
@@ -16,6 +16,8 @@
 
 LICENSE=	GPLv2
 
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}argparse>0:${PORTSDIR}/devel/py-argparse
+
 WRKSRC=		${WRKDIR}/${PORTNAME}
 USE_PYTHON=	2.5+
 USE_PYDISTUTILS=yes
--- pybugz-argparse.patch ends here ---


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



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