From nobody Sun Feb 12 18:46:28 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 4PFGdw6y4bz3qY8w; Sun, 12 Feb 2023 18:46:28 +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 4PFGdw4yLrz3rXd; Sun, 12 Feb 2023 18:46:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676227588; 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=QQJImDSvDtN0dbGjfrppfPzP3MaXh/ZuD3NM6ZFJZyk=; b=N4UKIV/rg+5H3nAHjrnYmtfb3kYTw5sz/NleWCveZaqt78Tgd8vhh+xJ9KO+bnZELZNCsW V16S9DQoMF4pZv+9pJ55Zb/iKQmEfz+PmdYmYai0m49EU0voi7uk3oQ+GUUV7tckTrE8P3 k2L6yPOuSM64dXdhbm8B/+Jw65mLPSp6JCTplTKc1CYYIrteK6fufrfOYl1POmzOLUlpwT YTPAIJ6etrh4t2NLHC/UAFgqmHt34ZRZ01PPEjBcCPEtTUG6fVgxOzv0ey5TY5yHznh8sC RPaDHTOKtbwDMniT3Cw9yER+QTL1o8FyiKy9OIrr3ExgfC+BgejSSKDC7outww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676227588; 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=QQJImDSvDtN0dbGjfrppfPzP3MaXh/ZuD3NM6ZFJZyk=; b=tjFfbnGszUhzy/EqJiHBq+qG39il1rQoIjm6G5r+K1LKQwaeH9FNvIy8BrQga1vDlMYcxX yAQX3ILFWx1+0wfKJRlJL2qLK01skZwMnd+CzSJFcteRoKQaM1Nojo8DDm2MycOOl5LHDO fdS8PELFY+T6j4i8+3+XCX0zrNO4BRm90Z/4L0zXsZRb/dn5dm9UJAqSGU/q0636hSnqe1 jSBzyquVNS3wLdq5mAYEndxfYLS5+f+loU3DDqbvzo23jdIJqke5PFgW7pzxRawkoRiuKY JbaUZoM/cDbvw5oPai4N2idleeWuX8o/mHQQopzlYof8pVasFyZkLwNl+O0Ezw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676227588; a=rsa-sha256; cv=none; b=MJaA8RQsk1fbT7ukGezNyNWzD0bqsbccgsLGNMjP90p9EkLg54o/aMXZB/7hbL+neGwZop W6iJdcNwJicNpN5JPBgVVO8yt7oZl0MDLKsopoVzJ/5UCeNd6OqKzb/+rFJVPK3NqfoNFO xiAklHqX6x+g83eMrZ1nDU9rPcNy5TeQPCE5DrEsIG0v1DPEZf5rYM5CgtkY+Gty8H5akS pjMNuzZM9qcewveNZ6gluuG0Rv62Ppo89de8XnMHbohrcIidPVUdcuRDUAkBUvkfm++F6s 60MSRWfv8L7zCXhCoE4Cgi4954ESjN4+fowhWv79FdMK2Au2rEa3drLPgWVX2A== 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 4PFGdw3qY5zpCN; Sun, 12 Feb 2023 18:46:28 +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 31CIkSeG097774; Sun, 12 Feb 2023 18:46:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31CIkS03097772; Sun, 12 Feb 2023 18:46:28 GMT (envelope-from git) Date: Sun, 12 Feb 2023 18:46:28 GMT Message-Id: <202302121846.31CIkS03097772@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: 833f296fe118 - main - devel/py-packaging:: Convert to USE_PYTHON=pep517 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: 833f296fe118d5c20150c6b76648d9825e8c8b9f Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=833f296fe118d5c20150c6b76648d9825e8c8b9f commit 833f296fe118d5c20150c6b76648d9825e8c8b9f Author: Po-Chuan Hsieh AuthorDate: 2023-02-12 18:36:51 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-02-12 18:41:46 +0000 devel/py-packaging:: Convert to USE_PYTHON=pep517 - Add build for all Python flavors/versions (USE_PYTHON=allflavors) - Bump PORTREVISION for dependency and package change --- devel/py-packaging/Makefile | 9 +++++---- devel/py-packaging/files/setup.py | 25 ------------------------- 2 files changed, 5 insertions(+), 29 deletions(-) diff --git a/devel/py-packaging/Makefile b/devel/py-packaging/Makefile index 21bad43c1186..efeab557a1d9 100644 --- a/devel/py-packaging/Makefile +++ b/devel/py-packaging/Makefile @@ -1,5 +1,6 @@ PORTNAME= packaging PORTVERSION= 23.0 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,12 +14,12 @@ LICENSE_COMB= dual LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE.APACHE LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/LICENSE.BSD -USES= python:3.7+ -USE_PYTHON= autoplist concurrent distutils +USES= python +USE_PYTHON= allflavors autoplist concurrent pep517 NO_ARCH= yes -post-patch: - @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py +PEP517_BUILD_CMD= ${PYTHON_CMD} -m flit_core.wheel +PEP517_BUILD_DEPEND= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.3:devel/py-flit-core@${PY_FLAVOR} .include diff --git a/devel/py-packaging/files/setup.py b/devel/py-packaging/files/setup.py deleted file mode 100644 index b88c05816f09..000000000000 --- a/devel/py-packaging/files/setup.py +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/env python -# setup.py generated by flit for tools that don't yet use PEP 517 - -from distutils.core import setup - -packages = \ -['packaging'] - -package_data = \ -{'': ['*']} - -package_dir = \ -{'': 'src'} - -setup(name='packaging', - version='%%PORTVERSION%%', - description='Core utilities for Python packages', - author=None, - author_email='Donald Stufft ', - url=None, - packages=packages, - package_data=package_data, - package_dir=package_dir, - python_requires='>=3.7', - )