1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

- 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
This commit is contained in:
Ruslan Makhmatkhanov 2012-10-27 18:52:36 +00:00
parent 1c5dd59112
commit 18f326ff3b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=306518
3 changed files with 8 additions and 14 deletions

View File

@ -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-${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}

View File

@ -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

View File

@ -1 +0,0 @@
%%PYTHON_SITELIBDIR%%/estimatorplugin-%%PORTVERSION%%-py%%PYTHONVERSION%%.egg