From nobody Tue Feb 07 01:53:40 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 4P9mPc72RYz3nk6x; Tue, 7 Feb 2023 01:53: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 4P9mPc6Y4Gz3N21; Tue, 7 Feb 2023 01:53:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675734820; 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=8iTrRHb3mfRSbydaEslQg0tsMGMPVhZLajZbZAGFRI0=; b=gqCraeRjTHc8tUHgBlFQ/rE6DV9AC3UcM+8XUzTkSRgDfMHKLambGXpv3w71HwAtaf3H4s 74iG+pz9xHbOS2uJEFut4cg1mrNCoyrgejnbbk1IqIRVgogl5Iwu6DT9F8QfWI0JoQ4UnF DKEJIJADdQslVxR2ESyMJLzmgcmUgQgUV2RYHm20qaLg7453yxbGQ2WAIa660MXqtU9t4F fh1tKhjEEaIIEf+eL3uqXeL1coAmRtj2zan1xlopd6iXNvymrKHvirWrkVF941w7zbh12T royjAUVMpE7C92igiI7qDBygZS2/IHJ3teBAZZWAk0+ijyFIzwMIvx+a5FpD0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675734820; 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=8iTrRHb3mfRSbydaEslQg0tsMGMPVhZLajZbZAGFRI0=; b=LgsNpjnHMYt0yeIV4m0KKPDvbBjiYv25Elt8RXkIGCkqScdlKEursIFax8eilxRDDhgK/p YaSx/+5FWQoBP1VW4Adqnf+uLBNyTFoY2vhzmA5xjME0SBHL/447mu7PTP33CZimxd7riJ +zKN2NLiQ+9W/8mS6YeDdBO1rDg5utHJ1Sb2pvl9I5gtQdWHV7Qp0Z/S4WaJxNNwBBlj0q CEEyawAUkvcp1rTA08aJ6SFS0QEV5gAqPCMToAnDpXVmUt8Z2T+BwzEX9myl6If4Gczow6 K4P1oDD35OgLoMXiHWvSz5otefKa/VKbSSnhEtar+Y8ht1niy1Vme2MkpignAQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675734820; a=rsa-sha256; cv=none; b=M4pMR9lSdt5Hv2CJdclpBYmOjt9+HNg97YsXi7hx/AGf2QQp6aLbboHVPTvl+/PMhLGSp7 rctB7BGDuSInCnWbaXcdDqLPefEYwCNxGKAb4viB3cguwYf1FqOAA62sb5aAB7SMh4DWfc 7cJHHBRedFZhIkxr4qnr53BjKM2z3up/8iNhmKWTrYiOLDzsNHeUV7pIEYFQJK7v09pAB9 r9O1Vzbo+KOHwv7eSyhS+2T0OEHY8LyMPCpMSB+5ZXGb9WNpclDXFA5tAZ1hgHvAwy7+oM 2zHjy8UYevat6Iz4SczzOXdDNM/ObFJ9z4v0a4ZTJnXgygKztGpdcK4h4R1GSA== 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 4P9mPc5bQRzyGs; Tue, 7 Feb 2023 01:53:40 +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 3171reCT064075; Tue, 7 Feb 2023 01:53:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 3171rekd064074; Tue, 7 Feb 2023 01:53:40 GMT (envelope-from git) Date: Tue, 7 Feb 2023 01:53:40 GMT Message-Id: <202302070153.3171rekd064074@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Charlie Li Subject: git: 70c7afe71d93 - main - devel/py-installer: 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: vishwin X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 70c7afe71d9353e6f07a2185cff9a0a81587f10c Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by vishwin: URL: https://cgit.FreeBSD.org/ports/commit/?id=70c7afe71d9353e6f07a2185cff9a0a81587f10c commit 70c7afe71d9353e6f07a2185cff9a0a81587f10c Author: Charlie Li AuthorDate: 2022-04-06 00:34:42 +0000 Commit: Charlie Li CommitDate: 2023-02-07 01:53:12 +0000 devel/py-installer: convert to USE_PYTHON=pep517 This is the second port used to bootstrap PEP-517 tooling and the default staging driver for ports built under USE_PYTHON=pep517. python@ will be maintaining this going forward as infrastructure. https://wiki.freebsd.org/Python/PEP-517 With hat: python Approved by: maintainer timeout, fluffy (mentor) Differential Revision: https://reviews.freebsd.org/D34789 --- devel/py-installer/Makefile | 16 +++++++++------- devel/py-installer/files/setup.py | 25 ------------------------- 2 files changed, 9 insertions(+), 32 deletions(-) diff --git a/devel/py-installer/Makefile b/devel/py-installer/Makefile index 7abd9b144232..37425811b0b3 100644 --- a/devel/py-installer/Makefile +++ b/devel/py-installer/Makefile @@ -1,22 +1,24 @@ PORTNAME= installer -PORTVERSION= 0.6.0 +DISTVERSION= 0.6.0 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -MAINTAINER= sunpoet@FreeBSD.org +MAINTAINER= python@FreeBSD.org COMMENT= Library for installing Python wheels WWW= https://github.com/pypa/installer LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -USES= python:3.7+ -USE_PYTHON= autoplist concurrent distutils +USES= python +USE_PYTHON= allflavors autoplist concurrent pep517 +PEP517_BUILD_CMD= ${PYTHON_CMD} -m flit_core.wheel +PEP517_BUILD_DEPEND= ${PYTHON_PKGNAMEPREFIX}flit-core>0:devel/py-flit-core@${PY_FLAVOR} +PEP517_INSTALL_DEPEND= +MAKE_ENV+= PYTHONPATH=${BUILD_WRKSRC}/src NO_ARCH= yes -post-patch: - @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py - .include diff --git a/devel/py-installer/files/setup.py b/devel/py-installer/files/setup.py deleted file mode 100644 index 1be788dd310f..000000000000 --- a/devel/py-installer/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 = \ -['installer', 'installer._scripts'] - -package_data = \ -{'': ['*']} - -package_dir = \ -{'': 'src'} - -setup(name='installer', - version='%%PORTVERSION%%', - description='A library for installing Python wheels.', - author=None, - author_email='Pradyun Gedam ', - url=None, - packages=packages, - package_data=package_data, - package_dir=package_dir, - python_requires='>=3.7', - )