git: 0e1e61d2cead - main - devel/py-build: Update to 0.8.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 03 Jun 2022 09:04:44 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0e1e61d2cead3b897204575a9e6529b49d18ed26

commit 0e1e61d2cead3b897204575a9e6529b49d18ed26
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-03 08:50:59 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-03 09:00:33 +0000

    devel/py-build: Update to 0.8.0
    
    Changes:        https://github.com/pypa/build/blob/main/CHANGELOG.rst
---
 devel/py-build/Makefile | 9 ++++++---
 devel/py-build/distinfo | 6 +++---
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/devel/py-build/Makefile b/devel/py-build/Makefile
index 35d4051e6452..32058173f589 100644
--- a/devel/py-build/Makefile
+++ b/devel/py-build/Makefile
@@ -1,7 +1,7 @@
 # Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
 
 PORTNAME=	build
-PORTVERSION=	0.7.0
+PORTVERSION=	0.8.0
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,8 +13,7 @@ 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}tomli>=1.0.0:textproc/py-tomli@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}pep517>=0.9.1:devel/py-pep517@${PY_FLAVOR}
 
 USES=		python:3.6+
 USE_PYTHON=	autoplist concurrent distutils
@@ -27,4 +26,8 @@ NO_ARCH=	yes
 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0.22:devel/py-importlib-metadata@${PY_FLAVOR}
 .endif
 
+.if ${PYTHON_REL} < 31100
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}tomli>=1.0.0:textproc/py-tomli@${PY_FLAVOR}
+.endif
+
 .include <bsd.port.post.mk>
diff --git a/devel/py-build/distinfo b/devel/py-build/distinfo
index 5d1a0bea2239..e8f55b7fb21d 100644
--- a/devel/py-build/distinfo
+++ b/devel/py-build/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1632227504
-SHA256 (build-0.7.0.tar.gz) = 1aaadcd69338252ade4f7ec1265e1a19184bf916d84c9b7df095f423948cb89f
-SIZE (build-0.7.0.tar.gz) = 15854
+TIMESTAMP = 1653925940
+SHA256 (build-0.8.0.tar.gz) = 887a6d471c901b1a6e6574ebaeeebb45e5269a79d095fe9a8f88d6614ed2e5f0
+SIZE (build-0.8.0.tar.gz) = 17067