From nobody Sun Feb 12 18:46:29 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 4PFGdx6sy2z3qYLK; Sun, 12 Feb 2023 18:46:29 +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 4PFGdx5m6kz3rZd; Sun, 12 Feb 2023 18:46:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676227589; 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=rIyrMfpRbIDaAZeMwuSzBSJ3R5Ng/XUVPzMdVnaA/wY=; b=TPOZvV9FBMxRfqbu1AdXU9OaQ2LOUmbwZhMS5eVYKa4rXorqkRR2xCgvk0wtcmrrwkFnDO zppxcj9yCNWCXAfHeQh1ZogUBxsSuL85yGG5AL2z9d4bmUd8uHYxcMDBbrDsutHsPleKD6 I97acN/dkEb0nPchPtJemLCg4oqKGQHINTNXuZ68HFnm3gv2rWI4GmONW54YuWNEp6DaLt 4HFqOXcs0Q1dWo2Q+w1gN8Ps8FMC8ieR0ssDsC4V7j0JcLk6xSVlIXGE51WFqv79PDJ4Lu JBqTsMRlZHdfmOM1N+eSeMNfDWP93iwos3nNWTuBO2YRJEthezcpmTxFmketZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676227589; 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=rIyrMfpRbIDaAZeMwuSzBSJ3R5Ng/XUVPzMdVnaA/wY=; b=n3TKBpZDZ+ZGt/i6rHPXvIQ3Q2KdR+77Icg7wfjtxkLjXihNJzH3UkAkUlfXQMBoVUZgER gGb4s/HMCL0C06xbN6XrDIDqibZhO7HAMqgowfScmeJ6gaRshpdZuHmH7vbdW7f4omzWUj dN8nPXFiDM0rvL1UnVzDjTUchCCEPtiWf82Tpb//rHm6ucFM5VJFhIwQclVg1A35hf2sEF 8P5Me02GJK+KcooDc1HuXAgSKtwVO0fHnIKgnJNI1OZplVmHmPKsoz0jwGxCrwAv2yGYtO OzUaK5Ovy2N8bvdfaIpWO7+iReI6I6ANH8ptIVwwlEJ6rGBax1N8o1lXvr76og== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676227589; a=rsa-sha256; cv=none; b=fz+soR42gOFqYw/uo7LGlcpcMkiJKaZTdM0U2sQZcQ+vVi5yDsyhSsfUoN++aZC5NvsNRV exEjBaxArdoM4E/goun8OF1X3zf6b/wAUFm9f9iQStafRoXzbopNa/orfKXnwpItP4dfFY yGiqZOI+hUn1rbbbQLXUdFWwvr0HI2URkRsOFzDtt27uhCtybuFrIe98hUDODmLHqm25gI llvRz/EuM+ojU5tkVLSpOpv346fn7JKTPblbKo5S6jMhxssA6Qhld1aCFRxy+UYscOOUqV A/jfczS5MSSDdil70rxCpwzMV7VRM1PlqD5dhk6sji3+iCkmZp2HV/pRZBZkiA== 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 4PFGdx4s6BzpW7; Sun, 12 Feb 2023 18:46:29 +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 31CIkTFR097799; Sun, 12 Feb 2023 18:46:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31CIkTHn097798; Sun, 12 Feb 2023 18:46:29 GMT (envelope-from git) Date: Sun, 12 Feb 2023 18:46:29 GMT Message-Id: <202302121846.31CIkTHn097798@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: 4a8c75a08685 - main - devel/py-pep517: 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: 4a8c75a086850cf67bc63e36c0420f84558415db Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=4a8c75a086850cf67bc63e36c0420f84558415db commit 4a8c75a086850cf67bc63e36c0420f84558415db Author: Po-Chuan Hsieh AuthorDate: 2023-02-12 18:36:52 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-02-12 18:41:46 +0000 devel/py-pep517: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for dependency and package change --- devel/py-pep517/Makefile | 8 ++++---- devel/py-pep517/files/setup.py | 26 -------------------------- 2 files changed, 4 insertions(+), 30 deletions(-) diff --git a/devel/py-pep517/Makefile b/devel/py-pep517/Makefile index e7647e26906d..81cd6b2889d1 100644 --- a/devel/py-pep517/Makefile +++ b/devel/py-pep517/Makefile @@ -1,5 +1,6 @@ PORTNAME= pep517 PORTVERSION= 0.13.0 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,8 +12,10 @@ WWW= https://github.com/pypa/pep517 LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=2<4:devel/py-flit-core@${PY_FLAVOR} + USES= python:3.7+ -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes @@ -27,7 +30,4 @@ RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-me RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tomli>=1.1.0:textproc/py-tomli@${PY_FLAVOR} .endif -post-patch: - @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py - .include diff --git a/devel/py-pep517/files/setup.py b/devel/py-pep517/files/setup.py deleted file mode 100644 index 26efcc181f45..000000000000 --- a/devel/py-pep517/files/setup.py +++ /dev/null @@ -1,26 +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 = \ -['pep517', 'pep517.in_process'] - -package_data = \ -{'': ['*']} - -extras_require = \ -{":python_version<'3.11'": ['tomli >=1.1.0'], - ":python_version<'3.8'": ['importlib_metadata', 'zipp']} - -setup(name='pep517', - version='%%PORTVERSION%%', - description='Wrappers to build Python packages using PEP 517 hooks', - author='Thomas Kluyver', - author_email='thomas@kluyver.me.uk', - url='https://github.com/pypa/pep517', - packages=packages, - package_data=package_data, - extras_require=extras_require, - python_requires='>=3.6', - )