Date: Thu, 25 Oct 2012 09:53:28 GMT From: Ruslan Mahmatkhanov <rm@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/173060: www/trac-vote: do not directly depend on setuptools Message-ID: <201210250953.q9P9rSvM050715@red.freebsd.org> Resent-Message-ID: <201210251000.q9PA00rC048644@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 173060 >Category: ports >Synopsis: www/trac-vote: 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: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 - do not bump PORTREVISION because it had dependended on setuptools both derectly and via USE_PYDISTUTILS, so dependencies list isn't changed - remove indefinite article in COMMENT - move pkg-plist contents into Makefile:PLIST_FILES - trim Makefile header - limit python version to 2.x only buildlog: http://people.freebsd.org/~rm/trac-vote-0.1.2_2.log >How-To-Repeat: >Fix: Patch attached with submission follows: Index: Makefile =================================================================== --- Makefile (revision 306373) +++ Makefile (working copy) @@ -1,9 +1,5 @@ -# New ports collection makefile for: trac-vote -# 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.2 @@ -14,14 +10,14 @@ PKGNAMEPREFIX= trac- MAINTAINER= brooks@FreeBSD.org -COMMENT= A plugin for voting on Trac resources +COMMENT= Plugin for voting on Trac resources RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac -BUILD_DEPENDS+= easy_install:${PORTSDIR}/devel/py-setuptools -USE_PYTHON= yes -USE_PYDISTUTILS=easy_install +USE_PYTHON= -2.7 +USE_PYDISTUTILS= easy_install PYDISTUTILS_PKGNAME= TracVote +PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% # Maintainter targets below this point Index: pkg-plist =================================================================== --- pkg-plist (revision 306373) +++ 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?201210250953.q9P9rSvM050715>