Date: Sun, 28 Oct 2012 20:24:48 GMT From: Ruslan Mahmatkhanov <rm@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/173174: www/trac-math: do not directly depend on setuptools Message-ID: <201210282024.q9SKOmpX037381@red.freebsd.org> Resent-Message-ID: <201210282030.q9SKU1gE020129@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@freebsd.org> -# +# Created by: Brooks Davis <brooks@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210282024.q9SKOmpX037381>