From nobody@FreeBSD.org  Sun Oct 28 20:16:51 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 49CEEAA0
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 28 Oct 2012 20:16:51 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 096F08FC08
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 28 Oct 2012 20:16:51 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id q9SKGoLD036799
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 28 Oct 2012 20:16:50 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id q9SKGo6k036798;
	Sun, 28 Oct 2012 20:16:50 GMT
	(envelope-from nobody)
Message-Id: <201210282016.q9SKGo6k036798@red.freebsd.org>
Date: Sun, 28 Oct 2012 20:16:50 GMT
From: Ruslan Mahmatkhanov <rm@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: www/trac-gantt: do not directly depend on setuptools
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: dryice@dryice.name

>Number:         173169
>Category:       ports
>Synopsis:       www/trac-gantt: do not directly depend on setuptools
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    rm
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 28 20:20:00 UTC 2012
>Closed-Date:    Sun Nov 11 14:49:52 UTC 2012
>Last-Modified:  Sun Nov 11 14:49:52 UTC 2012
>Originator:     Ruslan Mahmatkhanov
>Release:        10.0-CURRENT
>Organization:
>Environment:
10.0-CURRENT amd64
>Description:
- do not directly depend on setuptools, use USE_DISTUTILS instead
- bump PORTREVISION because of dependency change
- remove indefinite article in COMMENT
- convert to optionsng
- trim Makefile header
- limit python version to 2.x only
- move pkg-plist contents into Makefile:PLIST_FILES
- tab -> space change in pkg-descr:WWW

buildlog:
http://people.freebsd.org/~rm/trac-TracGantt-0.3.2a_6.log

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
--- Makefile	(revision 306539)
+++ Makefile	(working copy)
@@ -1,41 +1,35 @@
-# New ports collection makefile for: trac-gantt
-# Date created:                      July 12 2006
-# Whom:                              Dryice Liu <dryice@dryice.name>
-#
+# Created by: Dryice Liu <dryice@dryice.name>
 # $FreeBSD$
-#
 
 PORTNAME=	TracGantt
 PORTVERSION=	0.3.2a
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	www devel python
 MASTER_SITES=	http://willbarton.com/files/ \
 		http://dryice.name/computer/FreeBSD/distfiles/
 PKGNAMEPREFIX=	trac-
 
 MAINTAINER=	dryice@dryice.name
-COMMENT=	A plugin to creates Gantt charts for trac
+COMMENT=	Plugin to creates Gantt charts for trac
 
-BUILD_DEPENDS+=	easy_install:${PORTSDIR}/devel/py-setuptools
 RUN_DEPENDS+=	trac>=0.11:${PORTSDIR}/www/trac
 
-NO_BUILD=	yes
-USE_PYTHON=	yes
-USE_PYDISTUTILS=yes
-PLIST_SUB+=	PORTVERSION=${PORTVERSION} PYTHONVERSION=${_PYTHON_VERSION}
-PYDISTUTILS_NOEGGINFO=	yes
+USE_PYTHON=	-2.7
+USE_PYDISTUTILS=	easy_install
+PYDISTUTILS_PKGNAME=	TracGantt
+PLIST_FILES=		%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
 
-.if !defined(NOPORTDOCS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
 PORTDOCS=	PKG-INFO README
 .endif
 
-.include <bsd.port.pre.mk>
-
 post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${INSTALL} -d ${DOCSDIR}
 	@cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${DOCSDIR}
 .endif
 	@${CAT} ${PKGMESSAGE}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: pkg-descr
===================================================================
--- pkg-descr	(revision 306539)
+++ pkg-descr	(working copy)
@@ -13,4 +13,4 @@
 generated on-the-fly from the ticket reports, using only the tickets
 provided by the report.
 
-WWW:	http://willbarton.com/code/tracgantt/
+WWW: http://willbarton.com/code/tracgantt/
Index: pkg-plist
===================================================================
--- pkg-plist	(revision 306539)
+++ pkg-plist	(working copy)
@@ -1 +0,0 @@
-%%PYTHON_SITELIBDIR%%/TracGantt-%%PORTVERSION%%-py%%PYTHONVERSION%%.egg


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Sun Oct 28 20:20:08 UTC 2012 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=173169 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: dryice@dryice.name
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/173169: www/trac-gantt: do not directly depend on setuptools
Date: Sun, 28 Oct 2012 20:20:08 UT

 Maintainer of www/trac-gantt,
 
 Please note that PR ports/173169 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/173169
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org
Responsible-Changed-From-To: freebsd-ports-bugs->rm 
Responsible-Changed-By: rm 
Responsible-Changed-When: Mon Oct 29 18:49:20 UTC 2012 
Responsible-Changed-Why:  
My PR. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=173169 
State-Changed-From-To: feedback->closed 
State-Changed-By: rm 
State-Changed-When: Sun Nov 11 14:49:51 UTC 2012 
State-Changed-Why:  
Committed, thank you! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=173169 
>Unformatted:
