diff options
author | wiz <wiz@pkgsrc.org> | 2012-04-08 20:21:41 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2012-04-08 20:21:41 +0000 |
commit | 2fef2c13163f0a600981fe851517a73298aeca8f (patch) | |
tree | ca85b0747dcbf59072dbf48eba4548d225e3970f /lang/python | |
parent | ed895606d1d4ca20328a15bef0238812dccf433b (diff) | |
download | pkgsrc-2fef2c13163f0a600981fe851517a73298aeca8f.tar.gz |
All supported python versions in pkgsrc support eggs, so remove
${PLIST.eggfile} from PLISTs and support code from lang/python.
Diffstat (limited to 'lang/python')
-rw-r--r-- | lang/python/distutils.mk | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/lang/python/distutils.mk b/lang/python/distutils.mk index 7a3cb0ead9e..7caa35fb49a 100644 --- a/lang/python/distutils.mk +++ b/lang/python/distutils.mk @@ -1,4 +1,4 @@ -# $NetBSD: distutils.mk,v 1.3 2012/04/08 20:17:10 wiz Exp $ +# $NetBSD: distutils.mk,v 1.4 2012/04/08 20:22:01 wiz Exp $ # # Common logic for python distributions that use distutils. # @@ -16,22 +16,16 @@ PYDISTUTILSPKG= yes # We expect distutils to create an egg-info file if Python distutils # can do so, and provide support for a PLIST entry that represents -# this norm and will work with all python versions. (If the package -# set PY_NO_EGG, respect that choice, but PLIST.eggfile is still set.) +# this norm and will work with all python versions. # Set the egg file basename. EGG_NAME?= ${DISTNAME} -PLIST_VARS+= eggfile # Python distutils will create an eggfile. -PLIST.eggfile= yes PY_NO_EGG?= no # Egg files have the version encoded, so generalize in PLIST, and provide # our conditional. PLIST_SUBST+= EGG_FILE=${EGG_NAME}-py${PYVERSSUFFIX}.egg-info -# PYSITELIB is already de-expanded -PRINT_PLIST_AWK+= { gsub("[$$]{PYSITELIB}/${EGG_NAME}-py${PYVERSSUFFIX}.egg-info", \ - "$${PLIST.eggfile}$${PYSITELIB}/$${EGG_FILE}") } .include "../../lang/python/extension.mk" |