From owner-freebsd-python@FreeBSD.ORG  Tue Apr 30 01:20:01 2013
Return-Path: <owner-freebsd-python@FreeBSD.ORG>
Delivered-To: freebsd-python@smarthost.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
 by hub.freebsd.org (Postfix) with ESMTP id 47CBF581
 for <freebsd-python@smarthost.ysv.freebsd.org>;
 Tue, 30 Apr 2013 01:20:01 +0000 (UTC)
 (envelope-from gnats@FreeBSD.org)
Received: from freefall.freebsd.org (freefall.freebsd.org
 [IPv6:2001:1900:2254:206c::16:87])
 by mx1.freebsd.org (Postfix) with ESMTP id 384C61222
 for <freebsd-python@smarthost.ysv.freebsd.org>;
 Tue, 30 Apr 2013 01:20:01 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
 by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r3U1K0nv001977
 for <freebsd-python@freefall.freebsd.org>; Tue, 30 Apr 2013 01:20:00 GMT
 (envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
 by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r3U1K05V001975;
 Tue, 30 Apr 2013 01:20:00 GMT (envelope-from gnats)
Date: Tue, 30 Apr 2013 01:20:00 GMT
Message-Id: <201304300120.r3U1K05V001975@freefall.freebsd.org>
To: freebsd-python@FreeBSD.org
Cc: 
From: Chris Dukes <chris.dukes.aix@gmail.com>
Subject: Re: ports/178242: bsd.python.mk injection of @exec easy_install to
 PLIST creates inappropriate post-install scripts for pkgng
X-BeenThere: freebsd-python@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: Chris Dukes <chris.dukes.aix@gmail.com>
List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-python>,
 <mailto:freebsd-python-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-python>
List-Post: <mailto:freebsd-python@freebsd.org>
List-Help: <mailto:freebsd-python-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>,
 <mailto:freebsd-python-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Apr 2013 01:20:01 -0000

The following reply was made to PR ports/178242; it has been noted by GNATS.

From: Chris Dukes <chris.dukes.aix@gmail.com>
To: bug-followup@FreeBSD.org, chris.dukes.aix@gmail.com
Cc:  
Subject: Re: ports/178242: bsd.python.mk injection of @exec easy_install to
 PLIST creates inappropriate post-install scripts for pkgng
Date: Mon, 29 Apr 2013 21:15:33 -0400

 This is a multi-part message in MIME format.
 --------------050204040401040600050102
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 And a patch that seems to fix the issue for pkgng.
 
 For the old style packaging, it could probably stand to have the bit to 
 generate the @exec in the plist removed as well.
 
 
 --------------050204040401040600050102
 Content-Type: text/x-patch;
  name="bsd.python.mk.patch"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="bsd.python.mk.patch"
 
 Index: Mk/bsd.python.mk
 ===================================================================
 --- Mk/bsd.python.mk	(revision 316838)
 +++ Mk/bsd.python.mk	(working copy)
 @@ -498,6 +498,7 @@
  pre-install-easyinstall:
  	@${MKDIR} ${PYEASYINSTALL_SITELIBDIR}
  
 +.if !defined(WITH_PKGNG)
  add-plist-post: add-plist-easyinstall
  add-plist-easyinstall:
  	@# @unexec line must be located before any other line while @exec must not.
 @@ -508,6 +509,7 @@
  	@${ECHO_CMD} "@exec ${SETENV} PYTHONPATH=${PYEASYINSTALL_SITELIBDIR} \
  		${PYEASYINSTALL_CMD} ${PYEASYINSTALL_INSTALLARGS}" \
  		>> ${TMPPLIST}
 +.endif		# !defined(WITH_PKGNG)
  .endif		# defined(USE_PYDISTUTILS) && ${USE_PYDISTUTILS} == "easy_install"
  
  # distutils support
 
 --------------050204040401040600050102--