ports/173060: www/trac-vote: do not directly depend on setuptools
Ruslan Mahmatkhanov
rm at FreeBSD.org
Thu Oct 25 10:00:01 UTC 2012
>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 at freebsd.org>
-#
+# Created by: Brooks Davis <brooks at freebsd.org>
# $FreeBSD$
-#
PORTNAME= ${PYDISTUTILS_PKGNAME:S;^Trac;;S;Plugin$;;:L}
PORTVERSION= 0.1.2
@@ -14,14 +10,14 @@
PKGNAMEPREFIX= trac-
MAINTAINER= brooks at 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:
More information about the freebsd-ports-bugs
mailing list