From nobody Fri Dec 30 09:12:04 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NjzzS4cWhz2kdlq; Fri, 30 Dec 2022 09:12:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NjzzS3YCyz46m3; Fri, 30 Dec 2022 09:12:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672391524; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=yYi/s0ypgQLSZ5p2Q+evSrn15YJXt8GGrzb2RuGkXOs=; b=R4yUUtvA9D2U7WGv3w/vhzMSTzBVU1EDADbwmnIks4bjMt9skJmZZmWf+rHvBzDYrmCQfW vsJ08tOZ5GvE38+CJoBijxKgbw8ZaZy3bslDYrw5w5h0CvsieGAbiRmLh3x0KFPoMV5619 +kcSRhML61NIZFmrjYGYOuliShqZFc2n5WWs6VsDDUd4czknI5Zg7XQOm8/I95PHzfbsRq TRo57mMijeFoQpgKyWswT3HScn1ELwiy4CCIL0EIsoewqbPLK47pdRiFEvkZG9mmCaUDO4 qGDsQCgUyMf4sLSz0Sv47EMcsjTUgisXxDwnttKskT2aK7pVCHYutdO0QtdIfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672391524; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=yYi/s0ypgQLSZ5p2Q+evSrn15YJXt8GGrzb2RuGkXOs=; b=jNU9iFT6t8Etoe+FKCd4G7a7TUp9/UtqzejG3aRQtYJJG1dJ0RUsKxQ0U0b/xpP5NkgFCA OIbrczi5qqgP+NZy20hLzRDywqwCKI/xwMGNbDcLFfs+JUFrHoDPV/Ae0NoP/vlVmXEzPK nbozTTXNqR4PTYd0s5iIg5dlyYdRNErSVolwfsK+sjVQVw0KP/P9CncBix2hvkOOve4+7y O+oPwJMnGbDdwXYaBwDTeyIfSV67hSu0w2iLmV3HHkVN8pkmqlt1DETpK8Q4tunMh3EtBR AkqadCCQb9zN/JMQSgxi/NaowJPQl9E+q7Km7C6D68h95c51Bpjm/PS8j1YLwQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1672391524; a=rsa-sha256; cv=none; b=FUZLkTHR4JicPrSkFJM29ogEYzi20G6GJuhTYjdWMQAJfASQiTexoI/St1TeYrExdnzh97 uOMJ1bbZiPt5DunbeTCHb/A6Q+kaP+T5isQvsRQsmtcE004s1lVAx8rXaQ3ahFAXMZAEYA N7Yecd2S6jA7K/QRldFxB0AgBg7PWINiHP4a5DJ4LoPRpsCskp9l6G/RKHqH0qrlCPLbH7 9FP55qw0QnQgC4abDLpV6lmRu8W5wHbrdiNrHceuuNp25WPCfJNp2wJGjz0hIIGSW8ye+x dgmD4siw7FJwrhXzWMVo1lvCshUes9wxDiGajUNHR/LQQQcZzNOCY98YR9ngQg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NjzzS2ZwNz13WF; Fri, 30 Dec 2022 09:12:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2BU9C4nU018275; Fri, 30 Dec 2022 09:12:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BU9C4PZ018274; Fri, 30 Dec 2022 09:12:04 GMT (envelope-from git) Date: Fri, 30 Dec 2022 09:12:04 GMT Message-Id: <202212300912.2BU9C4PZ018274@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: e4fcbc5dd326 - main - graphics/py-pyx: Update to 0.16 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e4fcbc5dd326762c918cab3778d79a6ed21306f8 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=e4fcbc5dd326762c918cab3778d79a6ed21306f8 commit e4fcbc5dd326762c918cab3778d79a6ed21306f8 Author: Po-Chuan Hsieh AuthorDate: 2022-12-30 08:43:45 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-12-30 09:04:59 +0000 graphics/py-pyx: Update to 0.16 - Update WWW - Strip shared library Changes: https://github.com/pyx-project/pyx/releases https://github.com/pyx-project/pyx/blob/master/CHANGES --- graphics/py-pyx/Makefile | 21 +++++++++++++++------ graphics/py-pyx/distinfo | 6 +++--- graphics/py-pyx/files/patch-setup.cfg | 11 +++++++++++ 3 files changed, 29 insertions(+), 9 deletions(-) diff --git a/graphics/py-pyx/Makefile b/graphics/py-pyx/Makefile index 2d560abc241a..328773514bbb 100644 --- a/graphics/py-pyx/Makefile +++ b/graphics/py-pyx/Makefile @@ -1,5 +1,5 @@ PORTNAME= pyx -PORTVERSION= 0.15 +PORTVERSION= 0.16 CATEGORIES= graphics python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -7,7 +7,8 @@ DISTNAME= PyX-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Python package for creating encapsulated PostScript figures -WWW= https://pyx-project.org/ +WWW= https://pyx-project.org/ \ + https://github.com/pyx-project/pyx LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE @@ -23,12 +24,20 @@ T1CODE_DESC= Fast t1 font encoding/decoding KPATHSEA_CFLAGS= -I${LOCALBASE}/include KPATHSEA_LDFLAGS= -L${LOCALBASE}/lib +KPATHSEA_LIB_DEPENDS= libkpathsea.so:devel/tex-kpathsea +KPATHSEA_VARS= KPATHSEA=1 +KPATHSEA_VARS_OFF= KPATHSEA=0 T1CODE_CFLAGS= -I${LOCALBASE}/include +T1CODE_VARS= T1CODE=1 +T1CODE_VARS_OFF= T1CODE=0 -post-patch-KPATHSEA-on: - @${REINPLACE_CMD} -e 's|build_pykpathsea=0|build_pykpathsea=1|' ${WRKSRC}/setup.cfg +post-patch: + @${REINPLACE_CMD} -e 's|%%KPATHSEA%%|${KPATHSEA}|; s|%%T1CODE%%|${T1CODE}|' ${WRKSRC}/setup.cfg -post-patch-T1CODE-on: - @${REINPLACE_CMD} -e 's|build_t1code=0|build_t1code=1|' ${WRKSRC}/setup.cfg +post-install-KPATHSEA-on: + ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + + +post-install-T1CODE-on: + ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/graphics/py-pyx/distinfo b/graphics/py-pyx/distinfo index 0d4ade771486..0d88ff76ab82 100644 --- a/graphics/py-pyx/distinfo +++ b/graphics/py-pyx/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1581963845 -SHA256 (PyX-0.15.tar.gz) = 0fc3b00c5e7fb6f4aefbf63b95f624297dde47700a82b8b5ad6ebb346b5e4977 -SIZE (PyX-0.15.tar.gz) = 2559840 +TIMESTAMP = 1669057893 +SHA256 (PyX-0.16.tar.gz) = 4d8e3e471cd3e9a9bd13d5086cdf7c0af1b0c3f3e195e74f5f63318dc40a66d8 +SIZE (PyX-0.16.tar.gz) = 626703 diff --git a/graphics/py-pyx/files/patch-setup.cfg b/graphics/py-pyx/files/patch-setup.cfg new file mode 100644 index 000000000000..0b30e10e47fb --- /dev/null +++ b/graphics/py-pyx/files/patch-setup.cfg @@ -0,0 +1,11 @@ +--- setup.cfg.orig 2022-10-16 12:38:35 UTC ++++ setup.cfg +@@ -1,6 +1,6 @@ + [PyX] +-build_t1code = 0 +-build_pykpathsea = 0 ++build_t1code = %%T1CODE%% ++build_pykpathsea = %%KPATHSEA%% + + [build_ext] +