pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[.joined/pkgsrc/trunk]: .joined/pkgsrc/lang/python python: make setuptools a ...



details:   https://anonhg.NetBSD.org/.joined/pkgsrc/rev/d0f168dad6a5
branches:  trunk
changeset: 371090:d0f168dad6a5
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Jan 04 20:50:41 2022 +0000

description:
python: make setuptools a tool dependency

This is not needed after building & installing the package.

diffstat:

 lang/python/egg.mk |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r b30268f0e1b5 -r d0f168dad6a5 lang/python/egg.mk
--- a/lang/python/egg.mk        Tue Jan 04 20:45:29 2022 +0000
+++ b/lang/python/egg.mk        Tue Jan 04 20:50:41 2022 +0000
@@ -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 @@
 # 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 @@
        ${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
 



Home | Main Index | Thread Index | Old Index