git: a43fcc3b91dd - main - devel/py-confuse: Fix BUILD_DEPENDS

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 05 Sep 2023 20:47:09 UTC
The branch main has been updated by sunpoet:

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

commit a43fcc3b91dd6b0e10c0036dadc85d3da9575b3d
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-09-05 20:41:49 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-09-05 20:46:32 +0000

    devel/py-confuse: Fix BUILD_DEPENDS
    
    - While I'm here:
      - Move py-flake8 to TEST_DEPENDS
      - Add NO_ARCH
    
    from pyproject.toml:
    [build-system]
    requires = ["flit_core >=2,<4"]
    build-backend = "flit_core.buildapi"
    
    Approved by:    portmgr (blanket)
    With hat:       python
    Reference:      https://github.com/beetbox/confuse/blob/v2.0.1/pyproject.toml#L1-L3
---
 devel/py-confuse/Makefile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/devel/py-confuse/Makefile b/devel/py-confuse/Makefile
index f6b8d2a76154..e04ba6efb457 100644
--- a/devel/py-confuse/Makefile
+++ b/devel/py-confuse/Makefile
@@ -10,11 +10,13 @@ WWW=		https://github.com/beetbox/confuse
 
 LICENSE=	MIT
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flake8>=3.6:devel/py-flake8@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}flit>=2<4:devel/py-flit@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flit-core>=2<4:devel/py-flit-core@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flake8>=3.6:devel/py-flake8@${PY_FLAVOR} \
 
 USES=		python
 USE_PYTHON=	autoplist pep517
 
+NO_ARCH=	yes
+
 .include <bsd.port.mk>