summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2022-01-04 20:50:41 +0000
committerwiz <wiz@pkgsrc.org>2022-01-04 20:50:41 +0000
commit09611b3af5235569620a4171e26099e94164d5ba (patch)
tree6ba8894f117549d2bb3e9c8c1759785ce81acfb5
parente6831efa1dc4af0d9079163ced531df4f25ff845 (diff)
downloadpkgsrc-09611b3af5235569620a4171e26099e94164d5ba.tar.gz
python: make setuptools a tool dependency
This is not needed after building & installing the package.
-rw-r--r--lang/python/egg.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/lang/python/egg.mk b/lang/python/egg.mk
index 45c66344934..078561e8784 100644
--- a/lang/python/egg.mk
+++ b/lang/python/egg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: egg.mk,v 1.31 2021/01/20 23:56:51 gdt Exp $
+# $NetBSD: egg.mk,v 1.32 2022/01/04 20:50:41 wiz Exp $
#
# Common logic to handle Python Eggs
#
@@ -43,7 +43,7 @@ _PYSETUPTOOLSINSTALLARGS= --single-version-externally-managed
# them.
BOOTSTRAP_SETUPTOOLS?= no
.if ${BOOTSTRAP_SETUPTOOLS} == "yes"
-BUILD_DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
+TOOL_DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
do-build: ensurepip
.PHONY: ensurepip
@@ -51,9 +51,9 @@ ensurepip:
${SETENV} ${MAKE_ENV} ${PYTHONBIN} -m ensurepip --user
.else
. if "${PYVERSSUFFIX}" == "2.7"
-DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools44
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools44
. else
-DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
. endif
.endif