From owner-svn-ports-all@freebsd.org Sun Apr 10 09:35:00 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 93C75B0805C; Sun, 10 Apr 2016 09:35:00 +0000 (UTC) (envelope-from tota@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6E5231BFC; Sun, 10 Apr 2016 09:35:00 +0000 (UTC) (envelope-from tota@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u3A9YxRr039877; Sun, 10 Apr 2016 09:34:59 GMT (envelope-from tota@FreeBSD.org) Received: (from tota@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u3A9YxaN039874; Sun, 10 Apr 2016 09:34:59 GMT (envelope-from tota@FreeBSD.org) Message-Id: <201604100934.u3A9YxaN039874@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tota set sender to tota@FreeBSD.org using -f From: TAKATSU Tomonari Date: Sun, 10 Apr 2016 09:34:59 +0000 (UTC) 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 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2016 09:35:00 -0000 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 - -.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 +.include 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 = [