From nobody Fri Mar 25 13:44:38 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 BC1BD1A2D48E; Fri, 25 Mar 2022 13:44:40 +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 4KQ3HC5bKpz3MHj; Fri, 25 Mar 2022 13:44:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648215879; 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=3T8AedrhDORZlFMdbZAacubu56LQgsuglalec62uANg=; b=otMxPSlHxYAaFn3czoNEifn9ECScAvUaslb0UKSQWErSOp9NBGv6CmwiUOJxd10Jh/iZCS dBvTnjWSLsMdqG2+UXiz6RAVO2aUFaP3QDPHwz4QTrEN+FOrsd6Ij32A5EtX2CG3gWIuzz pyFk0Zczb9jnr57feTPz7ERweluhwqXF/1lB0Dt37KH0al+jlBAUrRT0t9ueflpKnnQDmZ TaFVEgdUEr4O1CdKPEcgoMXW3DCK6iDfugHHDwaK+o+iJr/lnnCmPjVVmqEMLtAO9kQDAL 6yx5uqH01VI3B+Vy2S0lwU9eQWarpryNu7D8uxJZEE3t1JXXVkm4iSPUB6oihw== 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 C6E005844; Fri, 25 Mar 2022 13:44:38 +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 22PDicTH020993; Fri, 25 Mar 2022 13:44:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 22PDicWj020992; Fri, 25 Mar 2022 13:44:38 GMT (envelope-from git) Date: Fri, 25 Mar 2022 13:44:38 GMT Message-Id: <202203251344.22PDicWj020992@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: 96a2ccd630ae - main - graphics/py-h3: Fix build with setuptools 58.0.0+ 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: 96a2ccd630ae3f6d4d071578dd28cf4ee19a59ed Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648215879; 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=3T8AedrhDORZlFMdbZAacubu56LQgsuglalec62uANg=; b=W/IVYdEfISdsXJ5JyR+onCRP+jgW/pFejWnBVzUVMnO7pPpM223o/ibOUnwScAS8EzrWXm EAj9JjxIGFvwT0KC6dNCqP2oFDj/Y16mg+w6z0uACsh+zbimY/lODTnoipCWi0epeWUTD6 RBaCOVizYw6PjcwOBu0/Xh5CBJDgT+v/kN2lwz0WzOuCDPRm8UE4f6atDyzkxzj3aQtVYJ SWm77DjP658XoiCJWK2JW+blMyh0q///TjHLxMJ+HyUNYogYHJKR6U7hiFkXX/kGq+BRnF s/b3KECeD4N+p2kQnNDPr2QIkR5Y5h66JdcT68CIWtzDYCNuifQrNHBL7lBVxQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648215879; a=rsa-sha256; cv=none; b=diaUJVe27aw04GL5cxkdcsgme2bI2cX1viBy+xGNRJUe5ZVIQfW8D+0BKKQpVT8e8wKOXC eYc1XSrt1NJXPeWBMb/d89HS6yBb0ninLfPP8i2J63UDCIl5q/2jadx/baIsZHh11TWVkq p7OTROctMRWSwO9uE7abK4dC0L0fw3GoWw+3P1dbRae0kDwAcW4e/eodV89LHg/Hb2QD22 OQlJWXVHY/xACaO13Yv/ZP0AS+UnwcsMR22Z21Ci9jWDTVxexI2jsEsYjx77ESGWsxupT1 ZabTs3CeKmn0+f8iB9LTiiVQ50u1xy85jMegX96WNZDiMkfKnES+mHutJ3bWEw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=96a2ccd630ae3f6d4d071578dd28cf4ee19a59ed commit 96a2ccd630ae3f6d4d071578dd28cf4ee19a59ed Author: Po-Chuan Hsieh AuthorDate: 2022-03-25 13:00:17 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-03-25 13:37:04 +0000 graphics/py-h3: Fix build with setuptools 58.0.0+ --- graphics/py-h3/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/graphics/py-h3/Makefile b/graphics/py-h3/Makefile index 43f53e28d3d2..19ada687f886 100644 --- a/graphics/py-h3/Makefile +++ b/graphics/py-h3/Makefile @@ -30,6 +30,11 @@ NUMPY_DESC= NumPy support NUMPY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} +post-install: + ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + + ${PYTHON_CMD} -m compileall -d ${PYTHON_SITELIBDIR} ${STAGEDIR}${PYTHON_SITELIBDIR} + ${PYTHON_CMD} -O -m compileall -d ${PYTHON_SITELIBDIR} ${STAGEDIR}${PYTHON_SITELIBDIR} + do-test: cd ${WRKSRC} && ${SETENV} PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} ${PYTHON_CMD} -m pytest -rs -v