Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Oct 2012 18:52:36 +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: r306518 - head/www/trac-estimator
Message-ID:  <201210271852.q9RIqaY7036408@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rm
Date: Sat Oct 27 18:52:36 2012
New Revision: 306518
URL: http://svn.freebsd.org/changeset/ports/306518

Log:
  - do not directly depend on setuptools, use USE_DISTUTILS instead
  - bump PORTREVISION because of dependency change
  - 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
  
  Approved by:	glarkin (maintainer, implicit)
  Feature safe:	yes

Deleted:
  head/www/trac-estimator/pkg-plist
Modified:
  head/www/trac-estimator/Makefile
  head/www/trac-estimator/pkg-descr

Modified: head/www/trac-estimator/Makefile
==============================================================================
--- head/www/trac-estimator/Makefile	Sat Oct 27 18:50:32 2012	(r306517)
+++ head/www/trac-estimator/Makefile	Sat Oct 27 18:52:36 2012	(r306518)
@@ -1,13 +1,9 @@
-# New ports collection makefile for: trac-estimator
-# Date created:                      February 26 2010
-# Whom:                              Greg Larkin <glarkin@FreeBSD.org>
-#
+# Create by: Greg Larkin <glarkin@FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	estimator
 PORTVERSION=	0.1.1
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	www devel python
 MASTER_SITES=	http://www.sourcehosting.net/freebsd/distfiles/ \
 		LOCAL/glarkin
@@ -17,15 +13,14 @@ DISTNAME=	${PORTNAME}plugin-${PORTVERSIO
 MAINTAINER=	glarkin@FreeBSD.org
 COMMENT=	Produce detailed range-based estimations for Trac tickets
 
-BUILD_DEPENDS+=	easy_install:${PORTSDIR}/devel/py-setuptools
 RUN_DEPENDS+=	tracd:${PORTSDIR}/www/trac
 
 WRKSRC=		${WRKDIR}/${PORTNAME}plugin/0.11
-NO_BUILD=	yes
-USE_PYTHON=	2.3+
-USE_PYDISTUTILS=yes
-PLIST_SUB+=	PORTVERSION=${PORTVERSION:S/.r/_r/} PYTHONVERSION=${_PYTHON_VERSION}
-PYDISTUTILS_NOEGGINFO=	yes
+USE_PYTHON=	-2.7
+USE_PYDISTUTILS=	easy_install
+PYDISTUTILS_PKGNAME=	estimatorplugin
+PYDISTUTILS_PKGVERSION=	${PORTVERSION:S/.r/_r/}
+PLIST_FILES=		%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
 
 post-install:
 	@${CAT} ${PKGMESSAGE}

Modified: head/www/trac-estimator/pkg-descr
==============================================================================
--- head/www/trac-estimator/pkg-descr	Sat Oct 27 18:50:32 2012	(r306517)
+++ head/www/trac-estimator/pkg-descr	Sat Oct 27 18:52:36 2012	(r306518)
@@ -2,4 +2,4 @@ This Trac plugin implements a page for c
 estimates will be attached to whatever tickets are specified in the
 tickets box.
 
-WWW:    http://trac-hacks.org/wiki/EstimatorPlugin
+WWW: http://trac-hacks.org/wiki/EstimatorPlugin



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