1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

- do not directly depend on setuptools, use USE_DISTUTILS instead

- bump PORTREVISION because of dependency change
- move pkg-plist contents into Makefile:PLIST_FILES
- trim Makefile header
- limit python version to 2.x only
- tab -> space change in pkg-descr:WWW

PR:		173062
Submitted by:	rm (myself)
Approved by:	glarkin (maintainer, by mail)
Feature safe:	yes
This commit is contained in:
Ruslan Makhmatkhanov 2012-10-26 18:52:42 +00:00
parent 641274e24a
commit 78b7c4403e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=306457
3 changed files with 8 additions and 13 deletions

View File

@ -1,12 +1,9 @@
# New ports collection makefile for: trac-timingandestimation
# Date created: February 26 2010
# Whom: Greg Larkin <glarkin@FreeBSD.org>
#
# Created by: Greg Larkin <glarkin@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= timingandestimation
PORTVERSION= 1.0.8b
PORTREVISION= 1
CATEGORIES= www devel python
MASTER_SITES= http://www.sourcehosting.net/freebsd/distfiles/ \
LOCAL/glarkin
@ -17,15 +14,14 @@ USE_ZIP= yes
MAINTAINER= glarkin@FreeBSD.org
COMMENT= Add estimation and time tracking functionality to Trac
BUILD_DEPENDS+= easy_install:${PORTSDIR}/devel/py-setuptools
RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac
WRKSRC= ${WRKDIR}/${PORTNAME}plugin/branches/trac0.12-Permissions
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= ${PORTNAME}plugin
PYDISTUTILS_PKGVERSION= ${PORTVERSION:S/.r/_r/}
PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
post-install:
@${CAT} ${PKGMESSAGE}

View File

@ -3,4 +3,4 @@ tracking to Trac. This basically adds CustomFields and CustomReports
and an interface for filling the dynamic variables for the report
(requires Javascript).
WWW: http://trac-hacks.org/wiki/TimingAndEstimationPlugin
WWW: http://trac-hacks.org/wiki/TimingAndEstimationPlugin

View File

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