From nobody Mon Jan 30 13:08:20 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 4P57lm6L6jz3cZQ8; Mon, 30 Jan 2023 13:08:20 +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 4P57lm57xMz3M94; Mon, 30 Jan 2023 13:08:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675084100; 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=zu+cu2zdOsJJ2RM2mkjoirTFDTiodgMPNmN08xyub98=; b=ay6Lq5NDAojFMXK2Vr/SGfdkOTBDifQGdGklPikQKuGBkXP5J9+rrbWKqVuggMqwNk+ayo m8+XrQqjw+Kb7LREugWtN0tVCOjWRNdzNJd1ZmxpSMETREILK35dv00skEBDHiggm890KS MWGHB7mXAu+utLpEUkG2Sgx6zARZQZWfQYHJzaqQ5nR3tvAg+nRi4m+PIzNa1mXDjXyOYA 4SCEUTWDx0J9F6zw4DJQCrKoKDPnIV798L1SvVO3DsrS35ptGo8WT+TIK+OzVbAfLwau52 LBBFJGZZwy3rUddbKcceiFM6VD5SqYo1VW+7rMGO8ufJ+B6ywC8bxuS3tL2FJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675084100; 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=zu+cu2zdOsJJ2RM2mkjoirTFDTiodgMPNmN08xyub98=; b=Qw6gJbrcrwHbHDBazB7ihXanqoz3pEL2RsmV91LgcW6gwYa0IvX1d4wZupg43FLIq4uR06 n4/s+GeXnkbXgkzKWPv7mUtNH4dJrlqz+Aph9e+LjnM53BWmBp1CiYFsMRapa/P2uSnzyu 4Ha35+t5qaoI65EgMaahrNczbGK5dVeJUs2Jw2sjhCKtIUJkRBKz4ixrdwTSBxGW182hOI XcoCJSyTqZgeNS/KkS67vqgwuvK9bzPbb3TYJcJ5FIU9oRq8kPMi0Rkd6UtHNpX3cC9/jl bwlIZbK5C+o3AQgGPuGQ9orXqSVZPF+Xg4x8buEuxBSpAP5OtQSWo0xIu3cMXg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675084100; a=rsa-sha256; cv=none; b=ACrDvs0QX2HEyCxxA2WTGXM340aVDfv7u5/mATm9pqme6xXfhdkLfgpTzfzj0lWKJtumPZ nK2H4Aey9zTy3QKq2oMhwbW5kg0H2GnGYjI4Q4xye2B747HiLz4VyVn0VL4ZicoOh6LB+w Gw+ByghP0Uy3LDPK7xXFk/fUBSRCiQe9Fb2YTsVzoDWsfsT2gyTshGTMc6rwXCdNxwLFkL 7Hakm1PSv5R/MyLAHzbN2A+RRJ+rFFOooPWE6cCwQhmDxhxvOH4vn9drO4VmPN0oOiDAk5 UfIsymoKPcPR47g3Tbr28Cl9LFkmHHVd/70TQGUjYFbxxfAXFeyr3L+9xhirNA== 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 4P57lm4FFLz1898; Mon, 30 Jan 2023 13:08:20 +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 30UD8KIs056284; Mon, 30 Jan 2023 13:08:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30UD8KQw056283; Mon, 30 Jan 2023 13:08:20 GMT (envelope-from git) Date: Mon, 30 Jan 2023 13:08:20 GMT Message-Id: <202301301308.30UD8KQw056283@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: c35b44ac7fdb - main - devel/py-build: Update to 0.10.0 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: c35b44ac7fdb9b27ae0d6b49380ec3cefef7699d Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=c35b44ac7fdb9b27ae0d6b49380ec3cefef7699d commit c35b44ac7fdb9b27ae0d6b49380ec3cefef7699d Author: Po-Chuan Hsieh AuthorDate: 2023-01-30 12:30:57 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-01-30 12:59:39 +0000 devel/py-build: Update to 0.10.0 Changes: https://github.com/pypa/build/blob/main/CHANGELOG.rst --- devel/py-build/Makefile | 11 +++++--- devel/py-build/distinfo | 6 ++--- devel/py-build/files/setup.py | 59 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 69 insertions(+), 7 deletions(-) diff --git a/devel/py-build/Makefile b/devel/py-build/Makefile index 970178b053e5..3f83236c3cdb 100644 --- a/devel/py-build/Makefile +++ b/devel/py-build/Makefile @@ -1,5 +1,5 @@ PORTNAME= build -PORTVERSION= 0.9.0 +PORTVERSION= 0.10.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,9 +12,9 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=19.0:devel/py-packaging@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pep517>=0.9.1:devel/py-pep517@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}pyproject_hooks>=0:devel/py-pyproject_hooks@${PY_FLAVOR} -USES= python:3.6+ +USES= python:3.7+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes @@ -26,7 +26,10 @@ RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0.22:devel/py-importlib .endif .if ${PYTHON_REL} < 31100 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tomli>=1.0.0:textproc/py-tomli@${PY_FLAVOR} +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-build/distinfo b/devel/py-build/distinfo index e9d7947da263..cf663b7225d6 100644 --- a/devel/py-build/distinfo +++ b/devel/py-build/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1669057691 -SHA256 (build-0.9.0.tar.gz) = 1a07724e891cbd898923145eb7752ee7653674c511378eb9c7691aab1612bc3c -SIZE (build-0.9.0.tar.gz) = 17450 +TIMESTAMP = 1674589742 +SHA256 (build-0.10.0.tar.gz) = d5b71264afdb5951d6704482aac78de887c80691c52b88a9ad195983ca2c9269 +SIZE (build-0.10.0.tar.gz) = 16465 diff --git a/devel/py-build/files/setup.py b/devel/py-build/files/setup.py new file mode 100644 index 000000000000..0fe44296b904 --- /dev/null +++ b/devel/py-build/files/setup.py @@ -0,0 +1,59 @@ +#!/usr/bin/env python +# setup.py generated by flit for tools that don't yet use PEP 517 + +from distutils.core import setup + +packages = \ +['build'] + +package_data = \ +{'': ['*']} + +package_dir = \ +{'': 'src'} + +install_requires = \ +['packaging >= 19.0', 'pyproject_hooks'] + +extras_require = \ +{':os_name == "nt"': ['colorama'], + ':python_version < "3.11"': ['tomli >= 1.1.0'], + ':python_version < "3.8"': ['importlib-metadata >= 0.22'], + 'docs': ['furo >= 2021.08.31', + 'sphinx ~= 4.0', + 'sphinx-argparse-cli >= 1.5', + 'sphinx-autodoc-typehints >= 1.10'], + 'test': ['filelock >= 3', + 'pytest >= 6.2.4', + 'pytest-cov >= 2.12', + 'pytest-mock >= 2', + 'pytest-rerunfailures >= 9.1', + 'pytest-xdist >= 1.34', + 'toml >= 0.10.0', + 'wheel >= 0.36.0'], + 'test:python_version < "3.10"': ['setuptools >= 42.0.0'], + 'test:python_version >= "3.10"': ['setuptools >= 56.0.0'], + 'typing': ['importlib-metadata >= 5.1', + 'mypy == 0.991', + 'tomli', + 'typing-extensions >= 3.7.4.3'], + 'virtualenv': ['virtualenv >= 20.0.35']} + +entry_points = \ +{'console_scripts': ['pyproject-build = build.__main__:entrypoint'], + 'pipx.run': ['build = build.__main__:entrypoint']} + +setup(name='build', + version='%%PORTVERSION%%', + description='A simple, correct Python build frontend', + author=None, + author_email='Filipe Laíns , Bernát Gábor , layday , Henry Schreiner ', + url=None, + packages=packages, + package_data=package_data, + package_dir=package_dir, + install_requires=install_requires, + extras_require=extras_require, + entry_points=entry_points, + python_requires='>= 3.7', + )