Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Apr 2016 09:34:59 +0000 (UTC)
From:      TAKATSU Tomonari <tota@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r412905 - in head/graphics/py-blockdiag: . files
Message-ID:  <201604100934.u3A9YxaN039874@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tota
Date: Sun Apr 10 09:34:59 2016
New Revision: 412905
URL: https://svnweb.freebsd.org/changeset/ports/412905

Log:
  - Update to 1.5.3
  - Fix Python version
  - Make use of options helpers
  - Regenerate patch file with 'make makepatch'

Modified:
  head/graphics/py-blockdiag/Makefile   (contents, props changed)
  head/graphics/py-blockdiag/distinfo   (contents, props changed)
  head/graphics/py-blockdiag/files/patch-src-blockdiag-utils-bootstrap.py   (contents, props changed)

Modified: head/graphics/py-blockdiag/Makefile
==============================================================================
--- head/graphics/py-blockdiag/Makefile	Sun Apr 10 09:19:12 2016	(r412904)
+++ head/graphics/py-blockdiag/Makefile	Sun Apr 10 09:34:59 2016	(r412905)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	blockdiag
-PORTVERSION=	1.4.4
+PORTVERSION=	1.5.3
 CATEGORIES=	graphics python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -17,7 +17,7 @@ RUN_DEPENDS=	${PKGNAMEPREFIX}pillow>=2.2
 		${PKGNAMEPREFIX}funcparserlib>=0.3.6:devel/py-funcparserlib \
 		${PKGNAMEPREFIX}webcolors>=0:graphics/py-webcolors
 
-USES=	python
+USES=	python:-3.4
 USE_PYTHON=	autoplist distutils
 
 DOCSDIR=	${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
@@ -32,29 +32,22 @@ PDF_DESC=	Enable PDF output
 
 OPTIONS_DEFAULT=	PDF
 
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_VER} == 3.1
-IGNORE=	does not support in ${PYTHON_VERSION}
-.endif
-
-.if ${PORT_OPTIONS:MPDF}
-RUN_DEPENDS+=	${PKGNAMEPREFIX}reportlab>0:print/py-reportlab
-.endif
-
-.if ${PORT_OPTIONS:MIPAFONT}
-RUN_DEPENDS+=	${LOCALBASE}/share/font-ipa/ipag.otf:japanese/font-ipa
-.endif
+IPAFONT_RUN_DEPENDS=	${LOCALBASE}/share/font-ipa/ipag.otf:japanese/font-ipa
+PDF_RUN_DEPENDS=	${PKGNAMEPREFIX}reportlab>0:print/py-reportlab
 
 post-patch:
 	${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/src/blockdiag/utils/bootstrap.py
 
 post-install:
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1/
+	@${ECHO_CMD} man/man1/${PORTNAME}.1.gz >> ${TMPPLIST}
+
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${INSTALL_WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
+
+post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${INSTALL_WRKSRC}/examples/${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
-	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1/
-	@${ECHO_CMD} man/man1/${PORTNAME}.1.gz >> ${TMPPLIST}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/graphics/py-blockdiag/distinfo
==============================================================================
--- head/graphics/py-blockdiag/distinfo	Sun Apr 10 09:19:12 2016	(r412904)
+++ head/graphics/py-blockdiag/distinfo	Sun Apr 10 09:34:59 2016	(r412905)
@@ -1,2 +1,2 @@
-SHA256 (blockdiag-1.4.4.tar.gz) = dca6ab8cf96d862386755813fca598e2c9bc29d05148dfd384f063878e653c9e
-SIZE (blockdiag-1.4.4.tar.gz) = 136258
+SHA256 (blockdiag-1.5.3.tar.gz) = 5ea3501fca0ca40fbacccc6f4ca177750e4b610009e021faa4868c0f6480ae8b
+SIZE (blockdiag-1.5.3.tar.gz) = 2704391

Modified: head/graphics/py-blockdiag/files/patch-src-blockdiag-utils-bootstrap.py
==============================================================================
--- head/graphics/py-blockdiag/files/patch-src-blockdiag-utils-bootstrap.py	Sun Apr 10 09:19:12 2016	(r412904)
+++ head/graphics/py-blockdiag/files/patch-src-blockdiag-utils-bootstrap.py	Sun Apr 10 09:34:59 2016	(r412905)
@@ -1,6 +1,6 @@
---- src/blockdiag/utils/bootstrap.py.orig	2013-09-30 22:19:06.000000000 +0900
-+++ src/blockdiag/utils/bootstrap.py	2014-01-02 16:19:04.000000000 +0900
-@@ -222,11 +222,7 @@
+--- src/blockdiag/utils/bootstrap.py.orig	2014-11-21 02:20:16 UTC
++++ src/blockdiag/utils/bootstrap.py
+@@ -254,11 +254,7 @@ class Options(object):
  def detectfont(options):
      import glob
      fontdirs = [



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