From nobody Sun Feb 12 18:46:26 2023 X-Original-To: dev-commits-ports-all@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 4PFGdt4Vrkz3qYD6; Sun, 12 Feb 2023 18:46:26 +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 4PFGdt3FdYz3rCW; Sun, 12 Feb 2023 18:46:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676227586; 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=rfWwpo//6/BTOQEXINasJYgASEr/MZRsVvGxV6/o/jM=; b=ZQ2ilgAeVdOISuq0ncYcv6AtqR0rGX9C3Jo0gYBUyZ9ly4bx0lxn2Fr1lB/PvaeA2E4JVD 6RXGXX/wr691j/gkzMDlRpMcDfLd1CXrDY32OASWOm6GX4SIU6ma8uqTe4H140gnkKfC7x fD0D5IklmpCWU1587R+uCXETEH64LtxmOjScvZJyxq5g+8s890SWeScabtPMGiCE8Df0c5 GzzVybLyZLV8edRWTVW8zzsgPwQjVPf0Eu6MbjdkgDST0gaJHwNaSskmjjqQ7zF/Q3Wljd Kbc0drU7I747ij/tx51IKw8bNkQWEBim7A0rA9qlgBP70dgmml9fUFHYbj2mMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676227586; 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=rfWwpo//6/BTOQEXINasJYgASEr/MZRsVvGxV6/o/jM=; b=vI8nDHbPJzO56cPdPrZkpFdcm+7A2vXDTZtKJr0bqyBj/ZIYuUhYUG3BKHMLd5D5uWiIgz dvUzF9ynASd3UbB2km1XRJ5+/4wtfz4rcvg3V0sMc6ZKKJubWnmc9pu912KjLYOCPLrZxA tnzVAtYVoQupTz0ECblIovNI42uoAC7uhvxRCVuHir90yb55nMUJHC+3rODZQ8elt55EjX SaO6b6u9GP7aiH/WR9clWd9o9JD5+V1J7dI3qTkzzfFr4mGBk3axa52IW22gPtWjceNOFg Cg2JQCEn+mUukYmGRy9mDSyy0Ip6OgF/wD7pDFofaz/TdM5S+ktz8QyLMHVbnw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676227586; a=rsa-sha256; cv=none; b=GhqjVUPKjAj3tuFN8Fu5EZcicZTlVqF1xmlbE9SgnKstYU9CC0ffJMSsgKcksqE2p8/61t yCj7Zeqdlo4xHrDPO3YufSN/EmKJCiWtj1hU9p2A2n/wDGio6mGmCEmXGDLBF5+TQJe2qv IDaKfAqjhH+m063SzaoL7pLTCETUF4B3Qrq9tTUFKaUalg+6WpXPWzQaMrAqegRmCIG88E IICzjxH6EK3aQMOMVWA6+sixkBrEUUFNfzKxJIE6ui7+gdEnv3btD6Ej85Dg39oY+Q3Ydb r+osC12QRXX2NxAd1tT9O3KEvFyXhdcCSLtFmomqthRB5RWnR7J2kJCjpjZBbg== 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 4PFGdt1pZxzpCM; Sun, 12 Feb 2023 18:46:26 +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 31CIkQve097721; Sun, 12 Feb 2023 18:46:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31CIkQ2k097720; Sun, 12 Feb 2023 18:46:26 GMT (envelope-from git) Date: Sun, 12 Feb 2023 18:46:26 GMT Message-Id: <202302121846.31CIkQ2k097720@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: 6a96b4e0eb64 - main - devel/py-flit-core: Simplify Makefile List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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: 6a96b4e0eb649d8ecbaabb395650ac4559545f62 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=6a96b4e0eb649d8ecbaabb395650ac4559545f62 commit 6a96b4e0eb649d8ecbaabb395650ac4559545f62 Author: Po-Chuan Hsieh AuthorDate: 2023-02-12 18:41:32 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-02-12 18:41:32 +0000 devel/py-flit-core: Simplify Makefile - Simplify Makefile: - Remove unneeded substitution: it is OK in framework but unneeded in a single port - Use WRKSRC instead of BUILD_WRKSRC: same as above - Use long options for easier reading - Use DISTNAME for simplicity - Take maintainership --- devel/py-flit-core/Makefile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/devel/py-flit-core/Makefile b/devel/py-flit-core/Makefile index 09cd3de506c6..61ddb859a121 100644 --- a/devel/py-flit-core/Makefile +++ b/devel/py-flit-core/Makefile @@ -1,12 +1,12 @@ PORTNAME= flit-core -DISTVERSION= 3.8.0 +PORTVERSION= 3.8.0 PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -DISTNAME= ${PORTNAME:C/[-_]+/_/g}-${DISTVERSIONFULL} +DISTNAME= flit_core-${PORTVERSION} -MAINTAINER= python@FreeBSD.org +MAINTAINER= sunpoet@FreeBSD.org COMMENT= Distribution-building parts of Flit WWW= https://github.com/pypa/flit/tree/main/flit_core @@ -17,12 +17,12 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}testpath>=0:devel/py-testpath@${PY_FLAVOR} USES= python USE_PYTHON= allflavors autoplist concurrent pep517 pytest -PEP517_BUILD_CMD= ${PYTHON_CMD} -m ${PORTNAME:C/[-_]+/_/g}.wheel -PEP517_BUILD_DEPEND= -PEP517_INSTALL_CMD= ${PYTHON_CMD} ${BUILD_WRKSRC}/bootstrap_install.py \ - -i ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} ${BUILD_WRKSRC}/dist/${PORTNAME:C/[-_]+/_/g}-*.whl -PEP517_INSTALL_DEPEND= NO_ARCH= yes +PEP517_BUILD_CMD= ${PYTHON_CMD} -m flit_core.wheel +PEP517_BUILD_DEPEND= # empty +PEP517_INSTALL_CMD= ${PYTHON_CMD} ${WRKSRC}/bootstrap_install.py --installdir ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} ${WRKSRC}/dist/${DISTNAME}*.whl +PEP517_INSTALL_DEPEND= # empty + .include