Date: Fri, 1 Nov 2013 20:29:52 -0200 From: William Grzybowski <william88@gmail.com> To: Nicola Vitale <nivit@freebsd.org> Cc: "svn-ports-head@freebsd.org" <svn-ports-head@freebsd.org>, Veniamin Gvozdikov <vg@freebsd.org>, Marcus von Appen <mva@freebsd.org>, "svn-ports-all@freebsd.org" <svn-ports-all@freebsd.org>, ports-committers <ports-committers@freebsd.org> Subject: Re: svn commit: r332287 - in head/sysutils: . py-halite py-halite/files Message-ID: <CAHtVNLNDAFbvjwY_ywTTFjg6PM9pbGiGKWBoFCmmCRiZgobqzA@mail.gmail.com> In-Reply-To: <CAEQKd7VgzaVj74HDGQrFzkbtu==KfeA_6iO0eUszjTF4_Ys0BQ@mail.gmail.com> References: <201310312121.r9VLLp4d066004@svn.freebsd.org> <20131031214346.GA1402@medusa.sysfault.org> <CAHtVNLOfy8yUEJSDpzR=dT-DSo=QdvEd474uvesPphL1PeMzHg@mail.gmail.com> <CAEQKd7UCWxPaFT0fmBs=-wukzW7WHaswF2wiZz3uuWAJxsHe=w@mail.gmail.com> <CAHtVNLOTs7t9PPLsE1AOz1EC0i1vs1BWpchNunBqCirqv0EWCA@mail.gmail.com> <CAEQKd7W7bMYa%2B=QsDj42QGFBjwN1HzxHs4F7a=AwGJyZKuY4mg@mail.gmail.com> <CAHtVNLOQbKb9DhTT3nOLBvcSWitC7aikKq4z%2BdQBgTHt4Keo4g@mail.gmail.com> <CAEQKd7VgzaVj74HDGQrFzkbtu==KfeA_6iO0eUszjTF4_Ys0BQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 31, 2013 at 11:30 PM, Nicola Vitale <nivit@freebsd.org> wrote: > Hi William, > >> [2013/11/1 William Grzybowski <william88@gmail.com>] >> 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 <bsd.python.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHtVNLNDAFbvjwY_ywTTFjg6PM9pbGiGKWBoFCmmCRiZgobqzA>