Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jun 2014 08:47:41 +0000 (UTC)
From:      Marcus von Appen <mva@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r359675 - head/graphics/py-graph-dot
Message-ID:  <201406280847.s5S8lfws036522@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mva
Date: Sat Jun 28 08:47:41 2014
New Revision: 359675
URL: http://svnweb.freebsd.org/changeset/ports/359675
QAT: https://qat.redports.org/buildarchive/r359675/

Log:
  - Remove easy_install dependency
  - Bump PORTREVISION to enforce a cleanup for the easy_install references
  
  With hat:	python@
  Approved by:	portmgr (implicit)

Modified:
  head/graphics/py-graph-dot/Makefile

Modified: head/graphics/py-graph-dot/Makefile
==============================================================================
--- head/graphics/py-graph-dot/Makefile	Sat Jun 28 08:27:46 2014	(r359674)
+++ head/graphics/py-graph-dot/Makefile	Sat Jun 28 08:47:41 2014	(r359675)
@@ -3,6 +3,7 @@
 
 PORTNAME=	graph-dot
 PORTVERSION=	1.8.2
+PORTREVISION=	1
 CATEGORIES=	graphics python
 MASTER_SITES=	GOOGLE_CODE
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -15,9 +16,20 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pydo
 		${PYTHON_PKGNAMEPREFIX}graph-core>=${PORTVERSION}:${PORTSDIR}/graphics/py-graph-core
 
 PROJECTHOST=	python-graph
-USE_PYTHON=	yes
-USE_PYDISTUTILS=	easy_install
-PYDISTUTILS_PKGNAME=	python_graph_dot
+USE_PYTHON=		yes
+USE_PYDISTUTILS=	yes
 PYDISTUTILS_AUTOPLIST=	yes
 
+# post-stage and add-plist-post should not act as reference on how to fix
+# egg-based conflicts.
+# https://code.google.com/p/python-graph/issues/detail?id=121 contains the
+# report for this issue.
+post-stage:
+.for suffix in py pyc pyo
+	rm ${STAGEDIR}${PYTHON_SITELIBDIR}/pygraph/readwrite/__init__.${suffix}
+.endfor
+
+add-plist-post:
+	@${REINPLACE_CMD} -e "/readwrite\/__init__.py/d" ${TMPPLIST}
+	
 .include <bsd.port.mk>



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