Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jun 2014 18:11:42 +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: r357710 - head/graphics/py-pygooglechart
Message-ID:  <201406131811.s5DIBgqV043935@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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/



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