From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: [PATCH 3/18] gnu: Add python2-apipkg. Date: Mon, 15 Feb 2016 20:37:25 -0500 Message-ID: <20160216013725.GE3984@jasmine> References: <87mvr1sgfu.fsf@dustycloud.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59583) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVUZv-0003Bd-9D for guix-devel@gnu.org; Mon, 15 Feb 2016 20:37:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVUZq-0001dL-Mf for guix-devel@gnu.org; Mon, 15 Feb 2016 20:37:23 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:51855) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVUZq-0001dF-JN for guix-devel@gnu.org; Mon, 15 Feb 2016 20:37:18 -0500 Content-Disposition: inline In-Reply-To: <87mvr1sgfu.fsf@dustycloud.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Christopher Allan Webber Cc: guix-devel@gnu.org On Mon, Feb 15, 2016 at 03:27:01PM -0800, Christopher Allan Webber wrote: > From 68a12b91238427d68767ca3a5a4adda36298274c Mon Sep 17 00:00:00 2001 > From: Christopher Allan Webber > Date: Sat, 13 Feb 2016 18:04:18 -0800 > Subject: [PATCH 03/18] gnu: Add python2-apipkg. > > * gnu/packages/python.scm (python2-apipkg): New variable. > --- > gnu/packages/python.scm | 10 +++++++++- > 1 file changed, 9 insertions(+), 1 deletion(-) > > diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm > index 7b794d1..83efbfb 100644 > --- a/gnu/packages/python.scm > +++ b/gnu/packages/python.scm > @@ -6855,7 +6855,15 @@ applications.") > package and greatly reduce the number of imports for your users. It is a small > pure Python module that works on virtually all Python versions.") > (home-page "https://bitbucket.org/hpk42/apipkg") > - (license license:expat))) > + (license license:expat) > + (properties `((python2-variant . ,(delay python2-apipkg)))))) > + > +(define-public python2-apipkg > + (package > + (inherit (package-with-python2 > + (strip-python2-variant python-apipkg))) > + (inputs > + `(("python2-setuptools" ,python2-setuptools))))) > Thanks for making this python2-variant (and any others I may have left out). I left it out when I added python-apipkg since we didn't have this solution yet. > (define-public python-execnet > (package > -- > 2.6.3 > >