From owner-svn-ports-head@FreeBSD.ORG Thu Oct 31 23:45:28 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8EE63FA6; Thu, 31 Oct 2013 23:45:28 +0000 (UTC) (envelope-from nicovit@gmail.com) Received: from mail-wi0-x229.google.com (mail-wi0-x229.google.com [IPv6:2a00:1450:400c:c05::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8DF5A2C8B; Thu, 31 Oct 2013 23:45:27 +0000 (UTC) Received: by mail-wi0-f169.google.com with SMTP id cb5so547223wib.4 for ; Thu, 31 Oct 2013 16:45:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=txi/T9cKpxgoe6axpSjQ6eXno/K1Wl4Hdk7cADw54Iw=; b=CX7P1T2S8SrQGrwQhR5M4ACH3YRZDKvVgAlA0vBmIllbcTr/wW/68KVmtSq0aknu62 y1spG8wXMPfPGWGE7SwyQCxk6uuIDMMFw8Otqigs+Dy6TyZnzPBq0wYW+l9nIkSaYRHC 4RSQEFLNCdStKzqSZ/tuqvRG5SK1p/Iy7LF/5aM0w/c2z5Kj375Rc4ARQdEd4h3cdDTy 7wn+iJxt+vfKSm/7QUiZWx5D/4p9x9w3nCwrC70ocTZxKXtUAPdWUuWAcOwsR6fP0XEc LP+yf15cWMcTtW8w3rb/IHnLi2lzjkqodI+F2hl+072CnHwgaPHzZG3GfiAWCPTGFCkz +W9w== X-Received: by 10.180.185.130 with SMTP id fc2mr312364wic.43.1383263125423; Thu, 31 Oct 2013 16:45:25 -0700 (PDT) MIME-Version: 1.0 Sender: nicovit@gmail.com Received: by 10.180.109.113 with HTTP; Thu, 31 Oct 2013 16:44:45 -0700 (PDT) In-Reply-To: References: <201310312121.r9VLLp4d066004@svn.freebsd.org> <20131031214346.GA1402@medusa.sysfault.org> From: Nicola Vitale Date: Fri, 1 Nov 2013 00:44:45 +0100 X-Google-Sender-Auth: VFlyg_l__B7Jc-0ka4vhC27N2b0 Message-ID: Subject: Re: svn commit: r332287 - in head/sysutils: . py-halite py-halite/files To: William Grzybowski 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-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Oct 2013 23:45:28 -0000 Hi, > [2013/10/31 William Grzybowski ] > Yes, easy_install does not support staging. I have just tried the following solution with a couple of my ports, and it seems to work: MAKE_ENV= PYTHONUSERBASE=${STAGEDIR}${PYTHONBASE} # the next two lines are necessary to override the definition in .include .undef PYDISTUTILS_INSTALLARGS # the first option is not necessary for staging PYDISTUTILS_INSTALLARGS= --always-unzip \ --install-dir ${STAGEDIR}${PYEASYINSTALL_SITELIBDIR} \ --no-deps \ --quiet \ --script-dir ${STAGEDIR}${PYEASYINSTALL_BINDIR} \ --site-dir ${STAGEDIR}${PYEASYINSTALL_SITELIBDIR} \ --user \ ${WRKSRC}/dist/${PYEASYINSTALL_EGG} #post-stage-dir: post-build: @${MKDIR} ${STAGEDIR}${PYEASYINSTALL_BINDIR} \ ${STAGEDIR}${PYEASYINSTALL_SITELIBDIR} # see https://wiki.freebsd.org/ports/StageDir post-install: (cd ${STAGEDIR}${PREFIX} && \ ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \ -d ${PREFIX} -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}) .include It may have some drawbacks?