diff options
author | wiz <wiz@pkgsrc.org> | 2022-04-03 13:59:33 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2022-04-03 13:59:33 +0000 |
commit | b098204f257bdd33969e0f5443b3b5ee724bd729 (patch) | |
tree | b0a9131fc4976d330593284508557b606da8d6f8 /lang | |
parent | dac2d3b3f7f0ee344d6af29dfff4e17bf40bf3b5 (diff) | |
download | pkgsrc-b098204f257bdd33969e0f5443b3b5ee724bd729.tar.gz |
egg.mk: add some comments about setuptools {TOOL_,}DEPENDS
Diffstat (limited to 'lang')
-rw-r--r-- | lang/python/egg.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lang/python/egg.mk b/lang/python/egg.mk index 88aefecdbc3..bf5c107f9d6 100644 --- a/lang/python/egg.mk +++ b/lang/python/egg.mk @@ -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-setuptools44 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 |