pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/python



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Apr  3 13:59:33 UTC 2022

Modified Files:
        pkgsrc/lang/python: egg.mk

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


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 pkgsrc/lang/python/egg.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/python/egg.mk
diff -u pkgsrc/lang/python/egg.mk:1.37 pkgsrc/lang/python/egg.mk:1.38
--- pkgsrc/lang/python/egg.mk:1.37      Sun Apr  3 11:54:48 2022
+++ pkgsrc/lang/python/egg.mk   Sun Apr  3 13:59:33 2022
@@ -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-setuptool
 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