ports/182086: devel/pybugz: drop argparse dependency
Ruslan Makhmatkhanov
rm at FreeBSD.org
Sat Sep 14 10:50:02 UTC 2013
>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 at FreeBSD.org>
-#
+# Created by: Chris Rees <crees at 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:
More information about the freebsd-ports-bugs
mailing list