Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Sep 2013 10:46:39 GMT
From:      Ruslan Makhmatkhanov <rm@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/182086: devel/pybugz: drop argparse dependency
Message-ID:  <201309141046.r8EAkdUm042325@oldred.freebsd.org>
Resent-Message-ID: <201309141050.r8EAo1c6062763@freefall.freebsd.org>

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

>Number:         182086
>Category:       ports
>Synopsis:       devel/pybugz: drop 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 Sep 14 10:50:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Ruslan Makhmatkhanov
>Release:        10.0-CURRENT
>Organization:
>Environment:
10.0-CURRENT amd64
>Description:
- trim Makefile header
- argparse is a part of python standard library since 2.7 and 3.2. Because python2.6 will be removed soon and python3.1 is deprecated, this dependency should be removed.
- limit python version to 2.x only (the port is using python3 incompatible constructions)
- add trailing slash to WWW
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
--- Makefile	(revision 327243)
+++ Makefile	(working copy)
@@ -1,13 +1,9 @@
-# New ports collection makefile for:	py-pybugz
-# Date created:				2012-03-18
-# Whom:					Chris Rees <crees@FreeBSD.org>
-#
+# Created by: Chris Rees <crees@FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	pybugz
 PORTVERSION=	0.9.3
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel
 MASTER_SITES=	http://www.bayofrum.net/dist/${PORTNAME}/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -17,10 +13,8 @@
 
 LICENSE=	GPLv2
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}argparse>0:${PORTSDIR}/devel/py-argparse
-
 WRKSRC=		${WRKDIR}/${PORTNAME}
-USE_PYTHON=	2.5+
+USE_PYTHON=	-2.7
 USE_PYDISTUTILS=yes
 
 PLIST_FILES=	bin/bugz
Index: pkg-descr
===================================================================
--- pkg-descr	(revision 327243)
+++ pkg-descr	(working copy)
@@ -13,4 +13,4 @@
 There is extensive help in `bugz --help` and `bugz <subcommand>
 --help` for additional options.
 
-WWW:	https://github.com/williamh/pybugz
+WWW: https://github.com/williamh/pybugz/


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



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