Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Oct 2012 19:47:33 +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: r306705 - head/www/trac-graphviz
Message-ID:  <201210301947.q9UJlXAO062320@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rm
Date: Tue Oct 30 19:47:33 2012
New Revision: 306705
URL: http://svn.freebsd.org/changeset/ports/306705

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
  - whitespace fix in pkg-descr
  
  PR:		173172
  Submitted by:	rm (myself)
  Approved by:	brooks (maintainer, by mail)
  Feature safe:	yes

Modified:
  head/www/trac-graphviz/Makefile
  head/www/trac-graphviz/pkg-descr

Modified: head/www/trac-graphviz/Makefile
==============================================================================
--- head/www/trac-graphviz/Makefile	Tue Oct 30 19:46:49 2012	(r306704)
+++ head/www/trac-graphviz/Makefile	Tue Oct 30 19:47:33 2012	(r306705)
@@ -1,13 +1,9 @@
-# New ports collection makefile for: trac-graphviz
-# Date created:                      January 14, 2009
-# Whom:                              Brooks Davis <brooks@freebsd.org>
-#
+# Created by: Brooks Davis <brooks@freebsd.org>
 # $FreeBSD$
-#
 
 PORTNAME=	${PYDISTUTILS_PKGNAME:S;^Trac;;S;Plugin$;;:L}
 PORTVERSION=	0.7.4
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	www devel graphics python
 MASTER_SITES=	${MASTER_SITE_LOCAL}
 MASTER_SITE_SUBDIR=	brooks
@@ -20,18 +16,12 @@ COMMENT=	Graphviz plugin for Trac's wiki
 RUN_DEPENDS+=	${LOCALBASE}/lib/X11/fonts/URW/fonts.dir:${PORTSDIR}/x11-fonts/urwfonts \
 		dot:${PORTSDIR}/graphics/graphviz \
 		tracd:${PORTSDIR}/www/trac
-BUILD_DEPENDS+=	easy_install:${PORTSDIR}/devel/py-setuptools
 
-USE_PYTHON=	2.5+
-NO_BUILD=	yes
-USE_PYDISTUTILS=yes
+USE_PYTHON=	-2.7
+USE_PYDISTUTILS=	easy_install
 PYDISTUTILS_PKGNAME=	graphviz
-WRKSRC=		${WRKDIR}/${PORTNAME}plugin
-PYDISTUTILS_NOEGGINFO=	yes
-PLIST_SUB=	PORTVERSION=${PORTVERSION} \
-		PYTHON_VER=${PYTHON_VER}
-
-PLIST_FILES=	%%PYTHON_SITELIBDIR%%/${PYDISTUTILS_PKGNAME}-${PORTVERSION}-py${PYTHON_VER}.egg
+WRKSRC=			${WRKDIR}/${PORTNAME}plugin
+PLIST_FILES=		%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
 
 post-patch:
 	${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
@@ -39,7 +29,4 @@ post-patch:
 	    -e 's|%%OSMAJOR%%|${OSREL:C/\..*$//}|' \
 	${WRKSRC}/graphviz/graphviz.py
 
-do-build:
-	@${DO_NADA}
-
 .include <bsd.port.mk>

Modified: head/www/trac-graphviz/pkg-descr
==============================================================================
--- head/www/trac-graphviz/pkg-descr	Tue Oct 30 19:46:49 2012	(r306704)
+++ head/www/trac-graphviz/pkg-descr	Tue Oct 30 19:47:33 2012	(r306705)
@@ -1,4 +1,4 @@
 The GraphvizPlugin allows for the inline creation of diagrams for abstract
-graphs and networks using the Graphviz programs. 
+graphs and networks using the Graphviz programs.
 
 WWW: http://trac-hacks.org/wiki/GraphvizPlugin



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