svn commit: r357710 - head/graphics/py-pygooglechart

Marcus von Appen mva at FreeBSD.org
Fri Jun 13 18:11:43 UTC 2014


Author: mva
Date: Fri Jun 13 18:11:42 2014
New Revision: 357710
URL: http://svnweb.freebsd.org/changeset/ports/357710
QAT: https://qat.redports.org/buildarchive/r357710/

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

Modified:
  head/graphics/py-pygooglechart/Makefile
  head/graphics/py-pygooglechart/pkg-descr

Modified: head/graphics/py-pygooglechart/Makefile
==============================================================================
--- head/graphics/py-pygooglechart/Makefile	Fri Jun 13 18:11:32 2014	(r357709)
+++ head/graphics/py-pygooglechart/Makefile	Fri Jun 13 18:11:42 2014	(r357710)
@@ -3,7 +3,7 @@
 
 PORTNAME=	pygooglechart
 PORTVERSION=	0.3.0
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	graphics python
 MASTER_SITES=	http://pygooglechart.slowchop.com/files/download/ \
 		LOCAL/nivit/${PORTNAME}/
@@ -12,18 +12,16 @@ PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 MAINTAINER=	nivit at FreeBSD.org
 COMMENT=	Complete Python wrapper for the Google Chart API
 
-USE_PYTHON=	yes
-USE_PYDISTUTILS=	easy_install
-
-PLIST_FILES=	%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
+USE_PYTHON=		yes
+USE_PYDISTUTILS=	yes
+PYDISTUTILS_AUTOPLIST=	yes
 
 PORTEXAMPLES=	*
-
-.if !defined(NOPORTEXAMPLES)
 EXAMPLESDIR=	${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
-NO_STAGE=	yes
+
 post-install:
-	${MKDIR} ${EXAMPLESDIR} && cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR}
-.endif
+	${MKDIR} ${STAGEDIR}${EXAMPLESDIR} && \
+		cd ${WRKSRC}/examples && \
+		${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.mk>

Modified: head/graphics/py-pygooglechart/pkg-descr
==============================================================================
--- head/graphics/py-pygooglechart/pkg-descr	Fri Jun 13 18:11:32 2014	(r357709)
+++ head/graphics/py-pygooglechart/pkg-descr	Fri Jun 13 18:11:42 2014	(r357710)
@@ -1,3 +1,3 @@
 A complete Python wrapper for the Google Chart API
 
-WWW:	http://pygooglechart.slowchop.com/
+WWW: http://pygooglechart.slowchop.com/


More information about the svn-ports-head mailing list