Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Oct 2012 19:58:05 GMT
From:      Ruslan Mahmatkhanov <rm@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/173165: www/trac-discussion: do not directly depend on setuptools
Message-ID:  <201210281958.q9SJw5BY004506@red.freebsd.org>
Resent-Message-ID: <201210282000.q9SK02Rs016097@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         173165
>Category:       ports
>Synopsis:       www/trac-discussion: 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:00: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 depend on it via USE_DISTUTILS
- trim Makefile header
- remove indefinite article in COMMENT
- limit python version to 2.x only
- move pkg-plist contents into Makefile:PLIST_FILES

buildlog:
http://people.freebsd.org/~rm/trac-discussion-0.7_1.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-discussion
-# Date created:                      March 23, 2010
-# Whom:                              Brooks Davis <brooks@freebsd.org>
-#
+# Created by: Brooks Davis <brooks@freebsd.org>
 # $FreeBSD$
-#
 
 PORTNAME=	${PYDISTUTILS_PKGNAME:S;^Trac;;S;Plugin$;;:L}
 PORTVERSION=	0.7
@@ -14,15 +10,15 @@
 PKGNAMEPREFIX=	trac-
 
 MAINTAINER=	brooks@FreeBSD.org
-COMMENT=	A discussion forum plugin for Trac
+COMMENT=	Discussion forum plugin for Trac
 
 RUN_DEPENDS+=	tracd:${PORTSDIR}/www/trac \
 		trac-TracSpamFilter>=0.2.1:${PORTSDIR}/www/trac-spam-filter
-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=	TracDiscussion
+PLIST_FILES=		%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
 
 # Maintainter targets below this point
 
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?201210281958.q9SJw5BY004506>