From 18f326ff3b7f2282357725e341f478f7a419d65c Mon Sep 17 00:00:00 2001 From: Ruslan Makhmatkhanov Date: Sat, 27 Oct 2012 18:52:36 +0000 Subject: [PATCH] - 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 --- www/trac-estimator/Makefile | 19 +++++++------------ www/trac-estimator/pkg-descr | 2 +- www/trac-estimator/pkg-plist | 1 - 3 files changed, 8 insertions(+), 14 deletions(-) delete mode 100644 www/trac-estimator/pkg-plist diff --git a/www/trac-estimator/Makefile b/www/trac-estimator/Makefile index 1c37508aa82d..0cd1bf370c86 100644 --- a/www/trac-estimator/Makefile +++ b/www/trac-estimator/Makefile @@ -1,13 +1,9 @@ -# New ports collection makefile for: trac-estimator -# Date created: February 26 2010 -# Whom: Greg Larkin -# +# Create by: Greg Larkin # $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-${PORTVERSION} 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} diff --git a/www/trac-estimator/pkg-descr b/www/trac-estimator/pkg-descr index 3277a6f22ea1..3b327fa13c61 100644 --- a/www/trac-estimator/pkg-descr +++ b/www/trac-estimator/pkg-descr @@ -2,4 +2,4 @@ This Trac plugin implements a page for creating time estimates. The 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 diff --git a/www/trac-estimator/pkg-plist b/www/trac-estimator/pkg-plist deleted file mode 100644 index 96ce700c0845..000000000000 --- a/www/trac-estimator/pkg-plist +++ /dev/null @@ -1 +0,0 @@ -%%PYTHON_SITELIBDIR%%/estimatorplugin-%%PORTVERSION%%-py%%PYTHONVERSION%%.egg