ports/173062: www/trac-timingandestimation: do not directly depend on setuptools
Ruslan Mahmatkhanov
rm at FreeBSD.org
Thu Oct 25 10:00:01 UTC 2012
>Number: 173062
>Category: ports
>Synopsis: www/trac-timingandestimation: 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: Thu Oct 25 10:00:01 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
- move pkg-plist contents into Makefile:PLIST_FILES
- trim Makefile header
- limit python version to 2.x only
- tab -> space change in pkg-descr:WWW
buildlog:
http://people.freebsd.org/~rm/trac-timingandestimation-1.0.8b_1.log
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: Makefile
===================================================================
--- Makefile (revision 306373)
+++ Makefile (working copy)
@@ -1,12 +1,9 @@
-# New ports collection makefile for: trac-timingandestimation
-# Date created: February 26 2010
-# Whom: Greg Larkin <glarkin at FreeBSD.org>
-#
+# Created by: Greg Larkin <glarkin at FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= timingandestimation
PORTVERSION= 1.0.8b
+PORTREVISION= 1
CATEGORIES= www devel python
MASTER_SITES= http://www.sourcehosting.net/freebsd/distfiles/ \
LOCAL/glarkin
@@ -17,15 +14,14 @@
MAINTAINER= glarkin at FreeBSD.org
COMMENT= Add estimation and time tracking functionality to Trac
-BUILD_DEPENDS+= easy_install:${PORTSDIR}/devel/py-setuptools
RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac
WRKSRC= ${WRKDIR}/${PORTNAME}plugin/branches/trac0.12-Permissions
-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= ${PORTNAME}plugin
+PYDISTUTILS_PKGVERSION= ${PORTVERSION:S/.r/_r/}
+PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
post-install:
@${CAT} ${PKGMESSAGE}
Index: pkg-descr
===================================================================
--- pkg-descr (revision 306373)
+++ pkg-descr (working copy)
@@ -3,4 +3,4 @@
and an interface for filling the dynamic variables for the report
(requires Javascript).
-WWW: http://trac-hacks.org/wiki/TimingAndEstimationPlugin
+WWW: http://trac-hacks.org/wiki/TimingAndEstimationPlugin
Index: pkg-plist
===================================================================
--- pkg-plist (revision 306373)
+++ pkg-plist (working copy)
@@ -1 +0,0 @@
-%%PYTHON_SITELIBDIR%%/timingandestimationplugin-%%PORTVERSION%%-py%%PYTHONVERSION%%.egg
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list