svn commit: r357824 - head/graphics/py-gchartwrapper

Nicola Vitale nivit at FreeBSD.org
Sun Jun 15 03:43:50 UTC 2014


Author: nivit
Date: Sun Jun 15 03:43:49 2014
New Revision: 357824
URL: http://svnweb.freebsd.org/changeset/ports/357824
QAT: https://qat.redports.org/buildarchive/r357824/

Log:
  - Remove docs/examples because the relative distfile is no
    longer available
  - Add LICENSE (BSD3CLAUSE)
  - Use auto plist
  - Add support for stage dir
  - Bump PORTREVISION (pkg-plist changed)

Deleted:
  head/graphics/py-gchartwrapper/pkg-plist
Modified:
  head/graphics/py-gchartwrapper/Makefile
  head/graphics/py-gchartwrapper/distinfo

Modified: head/graphics/py-gchartwrapper/Makefile
==============================================================================
--- head/graphics/py-gchartwrapper/Makefile	Sun Jun 15 03:25:46 2014	(r357823)
+++ head/graphics/py-gchartwrapper/Makefile	Sun Jun 15 03:43:49 2014	(r357824)
@@ -3,42 +3,22 @@
 
 PORTNAME=	GChartWrapper
 PORTVERSION=	0.9
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	graphics python
-MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE} \
-		LOCAL/nivit/${PORTNAME}/
+MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-DISTFILES=	${PORTNAME}-${PORTVERSION}.zip
-.if !defined(NOPORTDOCS) || !defined(NOPORTEXAMPLES)
-DISTFILES+=	${PORTNAME}-extras-${PORTVERSION}.zip
-.endif
 
 MAINTAINER=	nivit at FreeBSD.org
 COMMENT=	Python Google Chart Wrapper
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}imaging>=1.1.6_2:${PORTSDIR}/graphics/py-imaging
-
-USE_PYTHON=	yes
-USE_PYDISTUTILS=	yes
-USES=		zip
-NO_STAGE=	yes
+LICENSE=	BSD3CLAUSE
 
-EXAMPLESDIR=	${PREFIX}/share/examples/${PYTHON_PKGNAMEPREFIX}${PORTNAME}
-DOCSDIR=	${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}imaging>=1.1.6_2:${PORTSDIR}/graphics/py-imaging
 
 PROJECTHOST=	google-chartwrapper
+PYDISTUTILS_AUTOPLIST=	yes
 
-.if !defined(NOPORTDOCS)
-post-extract:
-	@cd ${WRKDIR} && ${RM} -R doc/.svn && ${RM} -R demo/.svn
-.endif
-
-post-install:
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR} && cd ${WRKDIR}/doc && ${COPYTREE_SHARE} . ${DOCSDIR}
-.endif
-.if !defined(NOPORTEXAMPLES)
-	@${MKDIR} ${EXAMPLESDIR} && cd ${WRKDIR}/demo && ${COPYTREE_SHARE} . ${EXAMPLESDIR}
-.endif
+USE_PYTHON=	yes
+USE_PYDISTUTILS=	yes
 
 .include <bsd.port.mk>

Modified: head/graphics/py-gchartwrapper/distinfo
==============================================================================
--- head/graphics/py-gchartwrapper/distinfo	Sun Jun 15 03:25:46 2014	(r357823)
+++ head/graphics/py-gchartwrapper/distinfo	Sun Jun 15 03:43:49 2014	(r357824)
@@ -1,4 +1,2 @@
-SHA256 (GChartWrapper-0.9.zip) = 9b431445dff05e101f0db3e861886430581c37cb626d294e2ed94559aac3cc1e
-SIZE (GChartWrapper-0.9.zip) = 28566
-SHA256 (GChartWrapper-extras-0.9.zip) = f2d10f0bf70ae17ae8a3975756e0ad65637820c82a30233895420c8b043e2023
-SIZE (GChartWrapper-extras-0.9.zip) = 1044677
+SHA256 (GChartWrapper-0.9.tar.gz) = 0a6f4bad170569c443baf78d79af2fdb3f1b03431c466cef0785704c3a151bc4
+SIZE (GChartWrapper-0.9.tar.gz) = 25480


More information about the svn-ports-head mailing list