summaryrefslogtreecommitdiff
path: root/lang/python
diff options
context:
space:
mode:
authorwiz <wiz>2012-04-08 20:21:41 +0000
committerwiz <wiz>2012-04-08 20:21:41 +0000
commit12b5ccc460c81cca6383252045f5ce1bffffe8a4 (patch)
treeca85b0747dcbf59072dbf48eba4548d225e3970f /lang/python
parent1fe20b058e71ac4373e7f55f956c868f88bbacb3 (diff)
downloadpkgsrc-12b5ccc460c81cca6383252045f5ce1bffffe8a4.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.mk10
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"