summaryrefslogtreecommitdiff
path: root/lang/python
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2010-07-24 00:57:17 +0000
committergdt <gdt@pkgsrc.org>2010-07-24 00:57:17 +0000
commit6ccfc33dc905ee3848de495b612788ada9025394 (patch)
treecbc776cd7b67a759b206cfd054d95ccbbc47eb6b /lang/python
parent376f1bc03f37b42a5db480d1d5903d67a3fbd6cf (diff)
downloadpkgsrc-6ccfc33dc905ee3848de495b612788ada9025394.tar.gz
Explain that PY_NO_EGG probably exists because distutils in Python 2.4
and earlier did not create egg files.
Diffstat (limited to 'lang/python')
-rw-r--r--lang/python/extension.mk8
1 files changed, 5 insertions, 3 deletions
diff --git a/lang/python/extension.mk b/lang/python/extension.mk
index 5929fbf54e3..766df7ac91b 100644
--- a/lang/python/extension.mk
+++ b/lang/python/extension.mk
@@ -1,4 +1,4 @@
-# $NetBSD: extension.mk,v 1.27 2010/07/23 22:56:40 gdt Exp $
+# $NetBSD: extension.mk,v 1.28 2010/07/24 00:57:17 gdt Exp $
.include "../../lang/python/pyversion.mk"
@@ -36,10 +36,12 @@ do-install:
${PYTHONBIN} ${PYSETUP} ${PYSETUPARGS} "install" ${_PYSETUPINSTALLARGS})
.endif
-# XXX This suppress the installation of the egg-info file (and
+# PY_NO_EGG suppress the installation of the egg info file (and
# therefore its inclusion in the package). Python practice is be to
# use these files to let 'require' verify that python distributions
-# are present.
+# are present, and therefore the default value of PY_NO_EGG=yes causes
+# pkgsrc not to conform to python norms. The reason for this behavior
+# appears to be that creating egg info files was new in Python 2.5.
PY_NO_EGG?= yes
.if !empty(PY_NO_EGG:M[yY][eE][sS])
# see python25/patches/patch-av