Sun Apr 8 20:23:21 2012 UTC ()
Update comment.


(wiz)
diff -r1.4 -r1.5 pkgsrc/lang/python/distutils.mk

cvs diff -r1.4 -r1.5 pkgsrc/lang/python/Attic/distutils.mk (expand / switch to unified diff)

--- pkgsrc/lang/python/Attic/distutils.mk 2012/04/08 20:22:01 1.4
+++ pkgsrc/lang/python/Attic/distutils.mk 2012/04/08 20:23:21 1.5
@@ -1,31 +1,30 @@ @@ -1,31 +1,30 @@
1# $NetBSD: distutils.mk,v 1.4 2012/04/08 20:22:01 wiz Exp $ 1# $NetBSD: distutils.mk,v 1.5 2012/04/08 20:23:21 wiz Exp $
2# 2#
3# Common logic for python distributions that use distutils. 3# Common logic for python distributions that use distutils.
4# 4#
5.include "../../mk/bsd.fast.prefs.mk" 5.include "../../mk/bsd.fast.prefs.mk"
6 6
7.include "../../lang/python/pyversion.mk" 7.include "../../lang/python/pyversion.mk"
8 8
9# This file should be included to package python "distributions" which 9# This file should be included to package python "distributions" which
10# use distutils. See egg.mk for distributions that use setuptools and 10# use distutils. See egg.mk for distributions that use setuptools and
11# extensions.mk for ad hoc cases. 11# extensions.mk for ad hoc cases.
12 12
13# Some day, hoist the PYDISTUTILSPKG code in extension.mk to here, 13# Some day, hoist the PYDISTUTILSPKG code in extension.mk to here,
14# after all distutils-using packages use this. 14# after all distutils-using packages use this.
15PYDISTUTILSPKG= yes 15PYDISTUTILSPKG= yes
16 16
17# We expect distutils to create an egg-info file if Python distutils 17# We expect distutils to create an egg-info file if Python distutils
18# can do so, and provide support for a PLIST entry that represents 18# can do so, and provide support for a PLIST entry that represents
19# this norm and will work with all python versions. 19# this norm and will work with all python versions.
20 20
21# Set the egg file basename. 21# Set the egg file basename.
22EGG_NAME?= ${DISTNAME} 22EGG_NAME?= ${DISTNAME}
23 23
24# Python distutils will create an eggfile. 24# Python distutils will create an eggfile.
25PY_NO_EGG?= no 25PY_NO_EGG?= no
26 26
27# Egg files have the version encoded, so generalize in PLIST, and provide 27# Egg files have the version encoded, so generalize in PLIST.
28# our conditional. 
29PLIST_SUBST+= EGG_FILE=${EGG_NAME}-py${PYVERSSUFFIX}.egg-info 28PLIST_SUBST+= EGG_FILE=${EGG_NAME}-py${PYVERSSUFFIX}.egg-info
30 29
31.include "../../lang/python/extension.mk" 30.include "../../lang/python/extension.mk"