From owner-freebsd-python@FreeBSD.ORG Thu May 30 16:50:01 2013 Return-Path: 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 558966C7 for ; Thu, 30 May 2013 16:50: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 46779648 for ; Thu, 30 May 2013 16:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r4UGo1WL005193 for ; Thu, 30 May 2013 16:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r4UGo0pd005192; Thu, 30 May 2013 16:50:00 GMT (envelope-from gnats) Date: Thu, 30 May 2013 16:50:00 GMT Message-Id: <201305301650.r4UGo0pd005192@freefall.freebsd.org> To: freebsd-python@FreeBSD.org Cc: From: Chris Rees Subject: Re: ports/133081: [bsd.python.mk] PYEASYINSTALL_ARCHDEP=yes makes broken packages X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Chris Rees List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 May 2013 16:50:01 -0000 The following reply was made to PR ports/133081; it has been noted by GNATS. From: Chris Rees To: "bug-followup@freebsd.org" Cc: Subject: Re: ports/133081: [bsd.python.mk] PYEASYINSTALL_ARCHDEP=yes makes broken packages Date: Thu, 30 May 2013 17:46:01 +0100 The solution to this appears pretty easy on the surface. Taking Stef's first suggestion on stripping all but the major version, we can also set the envar _PYTHON_HOST_PLATFORM to make distutils use that instead. Do we think this needs an exp-run? I've tested it on a couple of ports, and it appears to work well, going from: cracklib-2.8.19-py2.7-freebsd-9.1-STABLE-amd64.egg/ to cracklib-2.8.19-py2.7-freebsd-9-amd64.egg/ Chris http://www.bayofrum.net/~crees/patches/fix-distutils-arch.diff