From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Allan Webber Subject: Re: [PATCH 3/18] gnu: Add python2-apipkg. Date: Fri, 19 Feb 2016 18:30:35 -0800 Message-ID: <87lh6gnmec.fsf@dustycloud.org> References: <87mvr1sgfu.fsf@dustycloud.org> <20160216013725.GE3984@jasmine> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51270) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWxJx-0005wH-3J for guix-devel@gnu.org; Fri, 19 Feb 2016 21:30:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWxJt-0006dZ-1j for guix-devel@gnu.org; Fri, 19 Feb 2016 21:30:57 -0500 Received: from dustycloud.org ([50.116.34.160]:45606) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWxJs-0006dS-Sz for guix-devel@gnu.org; Fri, 19 Feb 2016 21:30:52 -0500 In-reply-to: <20160216013725.GE3984@jasmine> 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: Leo Famulari Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain New version. --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0002-gnu-Add-python2-apipkg.patch >From 03f8891a2635b6d8f349af0809547e75b9c0e112 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Sat, 13 Feb 2016 18:04:18 -0800 Subject: [PATCH 02/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 561f64a..ef91754 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -6852,7 +6852,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))) + (native-inputs + `(("python2-setuptools" ,python2-setuptools))))) (define-public python-execnet (package -- 2.6.3 --=-=-=--