ports/166367: [PATCH] devel/pybugz: Add missing argparse dependency

Beat Gätzi beat at FreeBSD.org
Sat Mar 24 06:30:12 UTC 2012


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



More information about the freebsd-ports-bugs mailing list