From owner-svn-ports-all@freebsd.org Tue Jun 13 16:55:16 2017 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 60230BF9A15; Tue, 13 Jun 2017 16:55:16 +0000 (UTC) (envelope-from sunpoet@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 167D283524; Tue, 13 Jun 2017 16:55:16 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v5DGtFEc085477; Tue, 13 Jun 2017 16:55:15 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v5DGtFm3085475; Tue, 13 Jun 2017 16:55:15 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201706131655.v5DGtFm3085475@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Tue, 13 Jun 2017 16:55:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r443523 - head/graphics/py-PyX12 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.23 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: Tue, 13 Jun 2017 16:55:16 -0000 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 - -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 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