ports/173110: www/trac-scrumburndown: do not directly depend on setuptools
Ruslan Mahmatkhanov
rm at FreeBSD.org
Fri Oct 26 07:50:01 UTC 2012
>Number: 173110
>Category: ports
>Synopsis: www/trac-scrumburndown: do not directly depend on setuptools
>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: Fri Oct 26 07:50:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Ruslan Mahmatkhanov
>Release: 10.0-CURRENT
>Organization:
>Environment:
10.0-CURRENT amd64
>Description:
- do not directly depend on setuptools, use USE_DISTUTILS instead
- bump PORTREVISION because of dependency change
- trim Makefile header
- remove indefinite article in COMMENT
- limit python version to 2.x only
- move pkg-plist contents into Makefile:PLIST_FILES
- tab -> space change in pkg-descr:WWW
buildlog:
http://people.freebsd.org/~rm/trac-scrumburndown-1.9.2_3.log
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: Makefile
===================================================================
--- Makefile (revision 306424)
+++ Makefile (working copy)
@@ -1,31 +1,26 @@
-# New ports collection makefile for: trac-scrumburndown
-# Date created: February 26 2010
-# Whom: Greg Larkin <glarkin at FreeBSD.org>
-#
+# Created by: Greg Larkin <glarkin at FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= scrumburndown
PORTVERSION= 1.9.2
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= www devel python
MASTER_SITES= http://www.sourcehosting.net/freebsd/distfiles/ \
LOCAL/glarkin
PKGNAMEPREFIX= trac-
MAINTAINER= glarkin at FreeBSD.org
-COMMENT= A plugin to enable Scrum burndown chart capabilities
+COMMENT= Plugin to enable Scrum burndown chart capabilities
-BUILD_DEPENDS+= easy_install:${PORTSDIR}/devel/py-setuptools
RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac \
trac-timingandestimation>=0:${PORTSDIR}/www/trac-timingandestimation
WRKSRC= ${WRKDIR}/${PORTNAME}plugin
-NO_BUILD= yes
-USE_PYTHON= 2.3+
-USE_PYDISTUTILS=yes
-PLIST_SUB+= PORTVERSION=${PORTVERSION:S/.r/_r/} PYTHONVERSION=${_PYTHON_VERSION}
-PYDISTUTILS_NOEGGINFO= yes
+USE_PYTHON= -2.7
+USE_PYDISTUTILS= easy_install
+PYDISTUTILS_PKGNAME= TracBurndown
+PYDISTUTILS_PKGVERSION= ${PORTVERSION:S/.r/_r/}
+PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
post-install:
@${CAT} ${PKGMESSAGE}
Index: pkg-descr
===================================================================
--- pkg-descr (revision 306424)
+++ pkg-descr (working copy)
@@ -1,4 +1,4 @@
This Trac plugin adds burndown chart capabilities, a common part
of Scrum and other agile development methodologies.
-WWW: http://trac-hacks.org/wiki/ScrumBurndownPlugin
+WWW: http://trac-hacks.org/wiki/ScrumBurndownPlugin
Index: pkg-plist
===================================================================
--- pkg-plist (revision 306424)
+++ pkg-plist (working copy)
@@ -1 +0,0 @@
-%%PYTHON_SITELIBDIR%%/TracBurndown-%%PORTVERSION%%-py%%PYTHONVERSION%%.egg
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list