pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/python revive ${EGG_FILE} handling in print-PLIST...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c45f4332b217
branches:  trunk
changeset: 602947:c45f4332b217
user:      obache <obache%pkgsrc.org@localhost>
date:      Mon Apr 23 13:02:06 2012 +0000

description:
revive ${EGG_FILE} handling in print-PLIST, accidently(?) removed at
killing ${PLIST.eggfile}

diffstat:

 lang/python/distutils.mk |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 124cbe4146bd -r c45f4332b217 lang/python/distutils.mk
--- a/lang/python/distutils.mk  Mon Apr 23 12:58:45 2012 +0000
+++ b/lang/python/distutils.mk  Mon Apr 23 13:02:06 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: distutils.mk,v 1.5 2012/04/08 20:23:21 wiz Exp $
+# $NetBSD: distutils.mk,v 1.6 2012/04/23 13:02:06 obache Exp $
 #
 # Common logic for python distributions that use distutils.
 #
@@ -26,5 +26,7 @@
 
 # Egg files have the version encoded, so generalize in PLIST.
 PLIST_SUBST+=  EGG_FILE=${EGG_NAME}-py${PYVERSSUFFIX}.egg-info
+PRINT_PLIST_AWK+=      { gsub("${EGG_NAME}-py${PYVERSSUFFIX}.egg-info", \
+                               "$${EGG_FILE}") }
 
 .include "../../lang/python/extension.mk"



Home | Main Index | Thread Index | Old Index