Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Oct 2012 19:42:40 +0000 (UTC)
From:      Ruslan Mahmatkhanov <rm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r306699 - head/www/trac-discussion
Message-ID:  <201210301942.q9UJge6s061125@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rm
Date: Tue Oct 30 19:42:39 2012
New Revision: 306699
URL: http://svn.freebsd.org/changeset/ports/306699

Log:
  - 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
  
  PR:		173165
  Submitted by:	rm (myself)
  Approved by:	brooks (maintainer, by mail)
  Feature safe:	yes

Deleted:
  head/www/trac-discussion/pkg-plist
Modified:
  head/www/trac-discussion/Makefile

Modified: head/www/trac-discussion/Makefile
==============================================================================
--- head/www/trac-discussion/Makefile	Tue Oct 30 19:41:46 2012	(r306698)
+++ head/www/trac-discussion/Makefile	Tue Oct 30 19:42:39 2012	(r306699)
@@ -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 @@ MASTER_SITE_SUBDIR=	brooks
 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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210301942.q9UJge6s061125>