Date: Tue, 13 Jun 2017 16:55:15 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r443523 - head/graphics/py-PyX12 Message-ID: <201706131655.v5DGtFm3085475@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Tue Jun 13 16:55:14 2017 New Revision: 443523 URL: https://svnweb.freebsd.org/changeset/ports/443523 Log: Update to 0.14.1 - Add LICENSE_FILE - Use USES=localbase - Add missing dependency - Convert to options target helper - Strip shared library Changes: https://sourceforge.net/p/pyx/code/HEAD/tree/trunk/pyx/CHANGES Modified: head/graphics/py-PyX12/Makefile head/graphics/py-PyX12/distinfo Modified: head/graphics/py-PyX12/Makefile ============================================================================== --- head/graphics/py-PyX12/Makefile Tue Jun 13 16:55:10 2017 (r443522) +++ head/graphics/py-PyX12/Makefile Tue Jun 13 16:55:14 2017 (r443523) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= PyX -PORTVERSION= 0.12.1 +PORTVERSION= 0.14.1 CATEGORIES= graphics python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,8 +12,9 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Python package for creating encapsulated PostScript figures LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE -USES= python:2 +USES= localbase python:3.3+ USE_TEX= latex:build USE_PYTHON= autoplist distutils @@ -21,19 +22,18 @@ OPTIONS_DEFINE= T1CODE KPATHSEA OPTIONS_DEFAULT= T1CODE KPATHSEA T1CODE_DESC= Fast t1 font encoding/decoding KPATHSEA_DESC= Python wrapper around kpathsea +KPATHSEA_USE= TEX=kpathsea -T1CODE_CFLAGS= -I${LOCALBASE}/include -KPATHSEA_CFLAGS= -I${LOCALBASE}/include -KPATHSEA_LDFLAGS= -L${LOCALBASE}/lib +post-patch-KPATHSEA-on: + @${REINPLACE_CMD} -e 's|build_pykpathsea=0|build_pykpathsea=1|' ${WRKSRC}/setup.cfg -.include <bsd.port.options.mk> - -post-patch: -.if ${PORT_OPTIONS:MT1CODE} +post-patch-T1CODE-on: @${REINPLACE_CMD} -e 's|build_t1code=0|build_t1code=1|' ${WRKSRC}/setup.cfg -.endif -.if ${PORT_OPTIONS:MKPATHSEA} - @${REINPLACE_CMD} -e 's|build_pykpathsea=0|build_pykpathsea=1|' ${WRKSRC}/setup.cfg -.endif + +post-install-KPATHSEA-on: + ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pyx/pykpathsea.so + +post-install-T1CODE-on: + ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pyx/font/_t1code.so .include <bsd.port.mk> Modified: head/graphics/py-PyX12/distinfo ============================================================================== --- head/graphics/py-PyX12/distinfo Tue Jun 13 16:55:10 2017 (r443522) +++ head/graphics/py-PyX12/distinfo Tue Jun 13 16:55:14 2017 (r443523) @@ -1,2 +1,3 @@ -SHA256 (PyX-0.12.1.tar.gz) = e837b26a8b1c27524cf3f3dd6c0d563451249159edaa2e366d87e7143a867e8e -SIZE (PyX-0.12.1.tar.gz) = 561989 +TIMESTAMP = 1497359830 +SHA256 (PyX-0.14.1.tar.gz) = 05d1b7fc813379d2c12fcb5bd0195cab522b5aabafac88f72913f1d47becd912 +SIZE (PyX-0.14.1.tar.gz) = 2475186
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706131655.v5DGtFm3085475>