svn commit: r505495 - head/graphics/py-svgwrite

Steve Wills swills at FreeBSD.org
Sun Jun 30 21:07:52 UTC 2019


Author: swills
Date: Sun Jun 30 21:07:51 2019
New Revision: 505495
URL: https://svnweb.freebsd.org/changeset/ports/505495

Log:
  graphics/py-svgwrite: upgrade to upstream 1.3.0 and add EXAMPLES option
  
  PR:		238779
  Submitted by:	george at m5p.com (maintainer)

Modified:
  head/graphics/py-svgwrite/Makefile   (contents, props changed)
  head/graphics/py-svgwrite/distinfo   (contents, props changed)

Modified: head/graphics/py-svgwrite/Makefile
==============================================================================
--- head/graphics/py-svgwrite/Makefile	Sun Jun 30 21:04:30 2019	(r505494)
+++ head/graphics/py-svgwrite/Makefile	Sun Jun 30 21:07:51 2019	(r505495)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	svgwrite
-PORTVERSION=	1.2.1
+PORTVERSION=	1.3.0
 CATEGORIES=	graphics python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -15,5 +15,14 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyparsing>=0:devel
 
 USES=		python zip
 USE_PYTHON=	autoplist distutils
+
+PORTEXAMPLES=	*
+OPTIONS_DEFINE=	EXAMPLES
+
+EXAMPLESDIR=	${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
+
+post-install-EXAMPLES-on:
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	@(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
 
 .include <bsd.port.mk>

Modified: head/graphics/py-svgwrite/distinfo
==============================================================================
--- head/graphics/py-svgwrite/distinfo	Sun Jun 30 21:04:30 2019	(r505494)
+++ head/graphics/py-svgwrite/distinfo	Sun Jun 30 21:07:51 2019	(r505495)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1552416920
-SHA256 (svgwrite-1.2.1.zip) = 72ef66c9fe367989823cb237ab7f012ac809dd3ba76c1b5ebd9aa61580e2e75e
-SIZE (svgwrite-1.2.1.zip) = 176795
+TIMESTAMP = 1561316467
+SHA256 (svgwrite-1.3.0.zip) = 6a46d2b4ed7565bcff05986c88bf3020724b5ecc7608448903616818dd2bdf95
+SIZE (svgwrite-1.3.0.zip) = 186162


More information about the svn-ports-head mailing list