Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Jun 2019 21:07:51 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r505495 - head/graphics/py-svgwrite
Message-ID:  <201906302107.x5UL7pNP040303@repo.freebsd.org>

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



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