ports/173174: www/trac-math: do not directly depend on setuptools
Ruslan Mahmatkhanov
rm at FreeBSD.org
Sun Oct 28 20:30:01 UTC 2012
>Number: 173174
>Category: ports
>Synopsis: www/trac-math: 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: Sun Oct 28 20:30:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Ruslan Mahmatkhanov
>Release: 10.0-CURRENT
>Organization:
>Environment:
10.0-CURRENT amd64
>Description:
- remove direct setuptools dependency
- no PORTREVISION bump is needed, because it already had run/build depend
- trim Makefile header
- limit python version to 2.x only
- move pkg-plist contents into Makefile:PLIST_FILES
buildlog:
http://people.freebsd.org/~rm/trac-math-0.1_6.log
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: Makefile
===================================================================
--- Makefile (revision 306539)
+++ Makefile (working copy)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: trac-math
-# Date created: Dec 31, 2009
-# Whom: Brooks Davis <brooks at freebsd.org>
-#
+# Created by: Brooks Davis <brooks at freebsd.org>
# $FreeBSD$
-#
PORTNAME= ${PYDISTUTILS_PKGNAME:S;^Trac;;S;Plugin$;;:L}
PORTVERSION= 0.1
@@ -18,14 +14,14 @@
RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac \
latex:${PORTSDIR}/print/teTeX-base
-BUILD_DEPENDS+= easy_install:${PORTSDIR}/devel/py-setuptools
SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
-USE_PYTHON= 2.5+
-USE_PYDISTUTILS=easy_install
+USE_PYTHON= -2.7
+USE_PYDISTUTILS= easy_install
PYDISTUTILS_PKGNAME= TracMath
+PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
post-install:
${CAT} ${PKGMESSAGE}
Index: pkg-plist
===================================================================
--- pkg-plist (revision 306539)
+++ pkg-plist (working copy)
@@ -1 +0,0 @@
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list