pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/python egg.mk: add some comments about setuptools...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5d193487cbb9
branches:  trunk
changeset: 376195:5d193487cbb9
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Apr 03 13:59:33 2022 +0000

description:
egg.mk: add some comments about setuptools {TOOL_,}DEPENDS

diffstat:

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

diffs (21 lines):

diff -r ac2ee1f90577 -r 5d193487cbb9 lang/python/egg.mk
--- a/lang/python/egg.mk        Sun Apr 03 13:56:50 2022 +0000
+++ b/lang/python/egg.mk        Sun Apr 03 13:59:33 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: egg.mk,v 1.37 2022/04/03 11:54:48 riastradh Exp $
+# $NetBSD: egg.mk,v 1.38 2022/04/03 13:59:33 wiz Exp $
 #
 # Common logic to handle Python Eggs
 #
@@ -54,8 +54,11 @@
 SETUPTOOLS_PATH=../../devel/py-setuptools
 .  endif
 .  if "${USE_PKG_RESOURCES}" == "yes"
+# when packages use pkg_resources, setuptools is needed at runtime
 DEPENDS+=      ${PYPKGPREFIX}-setuptools-[0-9]*:${SETUPTOOLS_PATH}
 .  endif
+# in all cases (in particular, for cross-compilation), setuptools
+# also needs to be a tool dependency
 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:${SETUPTOOLS_PATH}
 .endif
 



Home | Main Index | Thread Index | Old Index