aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-09-05 20:41:49 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-09-05 20:46:32 +0000
commita43fcc3b91dd6b0e10c0036dadc85d3da9575b3d (patch)
treec804ccda2d8e64986d4a511cf048165d41974f5e
parentb8001d808552361cb4700fbf1e198f5b531eafa6 (diff)
downloadports-a43fcc3b91dd6b0e10c0036dadc85d3da9575b3d.tar.gz
ports-a43fcc3b91dd6b0e10c0036dadc85d3da9575b3d.zip
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
-rw-r--r--devel/py-confuse/Makefile6
1 files 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>