From owner-svn-ports-all@FreeBSD.ORG Fri Nov 1 22:29:56 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 46F17550; Fri, 1 Nov 2013 22:29:56 +0000 (UTC) (envelope-from william88@gmail.com) Received: from mail-lb0-x22e.google.com (mail-lb0-x22e.google.com [IPv6:2a00:1450:4010:c04::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DA80D2CD8; Fri, 1 Nov 2013 22:29:54 +0000 (UTC) Received: by mail-lb0-f174.google.com with SMTP id q8so3929896lbi.33 for ; Fri, 01 Nov 2013 15:29:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Um0SKGmlDzlQdnos4tRsgIuzqBWYp9TrlAMosMM8RYw=; b=i3LxIt+hdCy8mL17iDRusB1ZIL8Pi8XhkGr7SH8/hy1ke0MHNpJ0/kprO5k9pB3E1n ajxRhlgg+MhTWFlkdQeR4JlodZcLeULVUDBWoLCy6GRjueE/FxWExSUhIwt2TEokeZEy mgj3MbslviXJgnNTYJ0ab3zqnuy5Ni2t1G2ZcwpdJLQI9IxF/vjx9B5IrRTKBHRQ9wLV 2tyLTwtggVma0Lgi+QbwdnK0ZacgDjcDov4AsuWLQhcPGTQFZL59ZSnqHxjO5/fb/O1E ZYNuvvgpC2+Y2OmgPjsj1/dk/KdSSMUU9akWS+SMCnKtj/KbNFK1MgO6xnvY/YbeADWt 43NQ== MIME-Version: 1.0 X-Received: by 10.112.157.67 with SMTP id wk3mr5681lbb.62.1383344992918; Fri, 01 Nov 2013 15:29:52 -0700 (PDT) Received: by 10.114.176.34 with HTTP; Fri, 1 Nov 2013 15:29:52 -0700 (PDT) In-Reply-To: References: <201310312121.r9VLLp4d066004@svn.freebsd.org> <20131031214346.GA1402@medusa.sysfault.org> Date: Fri, 1 Nov 2013 20:29:52 -0200 Message-ID: Subject: Re: svn commit: r332287 - in head/sysutils: . py-halite py-halite/files From: William Grzybowski To: Nicola Vitale Content-Type: text/plain; charset=ISO-8859-1 Cc: "svn-ports-head@freebsd.org" , Veniamin Gvozdikov , Marcus von Appen , "svn-ports-all@freebsd.org" , ports-committers X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Nov 2013 22:29:56 -0000 On Thu, Oct 31, 2013 at 11:30 PM, Nicola Vitale wrote: > Hi William, > >> [2013/11/1 William Grzybowski ] >> Did you see any drawbacks with this? Or any essential difference from >> what you did? > > No, I didn't. The idea is the same, but I think that it is essential > to add PYTHONUSERBASE to MAKE_ENV, > otherwise you could get an error such as > > error: ***/work/stage/usr/local/lib/python2.7/site-packages (in > --site-dirs) is not on sys.path > > when trying to stage. > > Besides, IMO, it is also important to use those options in > PYDISTUTILS_INSTALLARGS, in particular --user, and --multi-version to > avoid that easy_install creates the file > ${STAGEDIR}usr/local/lib/pythonX.Y/site-packages/easy-install.pth. > >> We may come up with something and just commit it, if it works for 95% >> of the ports is good enough IMO, until setuptools implements a >> DESTDIR. > > I think so, and IMO it not hard to merge both solutions and put them > in if they were to operate. > > -- > Nicola Vitale Hi Nicola & all, I made some modifications, care to take a look? http://people.freebsd.org/~wg/easyinstall-stage-v2.txt I did not see a difference with -m or --user but we might add it. I know it is all looking ugly, but better than nothing, maybe :) Worked ok in a few ports that I tested. -- William Grzybowski ------------------------------------------ Curitiba/PR - Brasil