From nobody Tue Mar 21 19:28:24 2023 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 4Ph1qD5t45z40j23; Tue, 21 Mar 2023 19:28:24 +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 4Ph1qD3f5Qz4Qgl; Tue, 21 Mar 2023 19:28:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679426904; 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=cvgQGv1UbW1ekSbjUto0xkxvRE8aOjP4ODDq57++kJY=; b=f6ut1Le++x15j33rbeK/e+9ldvsq8iJzPwVkEbJo1yTvPL23nqDJuTVeOgyvvxgk/jQz8a DJ8UjEoMIojbR3V3uh/GIpC7Gbut7JBXDR+CzhzD/8vv+GENSU061CBFXggibzivY+CTeq HWSCmLnjq6bl+Ja8fKBZn4nBIeIwiHekm2UARmPdVNsBJJ9I/eEuuPuEoVZOau653ecngJ XHHlzdJ1G84sc97Qj9jJu9T8X6uSE9pWBR3DCB80+m6nAObkQy75FcRD66E69B88PtnE8X ujYv/p8Rcdx2p1lsLsrUC3MCQQ3yTkUctJ6hgHWd1HkXW15By3RKurFDF02cTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679426904; 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=cvgQGv1UbW1ekSbjUto0xkxvRE8aOjP4ODDq57++kJY=; b=Pl86z9HtzKl+d6SG2n5j/IAXpDllpbKcVkOQxbBoxKd38y5JcqpsQap93SSZ1cJi07NkPl 2fAdUgoCHn22+nTncZbYe9Mb7yHaatwdQ4ntGXvD7pqf0XGnXRlynCCsqHRcBl85EQRYyJ GTpI8fBrdmAOjIYGyg5IzXYX6hmARnwHMeycvDEQY9mRHPDTY1iM8cuXBKyT3/l6N+8Lkh vvcPeSTIvOOk8Fd28qPTxhLbULR0oZ/YGTEKQpSnNXnKLg+c4RqnPIE6zFbIConk3yq8HX GQ0x1QqoDtcyCKn2LbHkyjhCcFElRLTQTsG2M+PRbfTaFGB6DuaZUGdUoXSbYw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679426904; a=rsa-sha256; cv=none; b=sC0hui26zY1BU/qm5z5CIyanPnOeOoF3Iu0rKgfg5kGz98a/WSSWKBNhaJ+jYUay3k5x/b 4RrDSSp2VY8zPR24psFkREUL8GBqf4GH3GIvdGe60VXICB9bnLTu4L6lenC5PydqXUV61k irJmJpRs3UwaTQTj9n8pRjjrIqPyHAuYpd4h+ngfNr0q3DdL86bC4kebYxJNwdoTVnI23s /ZExngXxXUS/2sc43Wq1a5X7z23lTBzahboYshrEdpjPzm1l+wLJWC1fxWIzY9E7ZxtC+d kWle18xH8s4da/qtXqtNN5FybbbsTF8bZ1exow04CKmB15oOX9JKv9JeCT6dfw== 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 4Ph1qD2dz5zPdf; Tue, 21 Mar 2023 19:28:24 +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 32LJSOYI032015; Tue, 21 Mar 2023 19:28:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32LJSO7x032014; Tue, 21 Mar 2023 19:28:24 GMT (envelope-from git) Date: Tue, 21 Mar 2023 19:28:24 GMT Message-Id: <202303211928.32LJSO7x032014@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: dd0c0292f585 - main - devel/py-pep440: Convert to USE_PYTHON=pep517 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: dd0c0292f585563459b59cba46ef0c5ea09c107d Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=dd0c0292f585563459b59cba46ef0c5ea09c107d commit dd0c0292f585563459b59cba46ef0c5ea09c107d Author: Po-Chuan Hsieh AuthorDate: 2023-03-21 18:44:57 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-03-21 19:20:54 +0000 devel/py-pep440: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for dependency and package change --- devel/py-pep440/Makefile | 8 ++++---- devel/py-pep440/files/setup.py | 30 ------------------------------ 2 files changed, 4 insertions(+), 34 deletions(-) diff --git a/devel/py-pep440/Makefile b/devel/py-pep440/Makefile index f271d81cbf6d..85cd180cc2a8 100644 --- a/devel/py-pep440/Makefile +++ b/devel/py-pep440/Makefile @@ -1,5 +1,6 @@ PORTNAME= pep440 PORTVERSION= 0.1.2 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,12 +12,11 @@ WWW= https://github.com/Carreau/pep440 LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.4<4:devel/py-flit-core@${PY_FLAVOR} + USES= python:3.7+ -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes -post-patch: - @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py - .include diff --git a/devel/py-pep440/files/setup.py b/devel/py-pep440/files/setup.py deleted file mode 100644 index 0747f93219ba..000000000000 --- a/devel/py-pep440/files/setup.py +++ /dev/null @@ -1,30 +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 = \ -['pep440'] - -package_data = \ -{'': ['*']} - -extras_require = \ -{'lint': ['check-manifest', 'mypy'], - 'test': ['pytest-console-scripts', 'pytest-cov', 'pytest']} - -entry_points = \ -{'console_scripts': ['pep440 = pep440.__main__:main']} - -setup(name='pep440', - version='%%PORTVERSION%%', - description='A simple package with utils to check whether versions number match PEP 440.', - author=None, - author_email='Matthias Bussonnier ', - url=None, - packages=packages, - package_data=package_data, - extras_require=extras_require, - entry_points=entry_points, - python_requires='>=3.7', - )