From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: [PATCH 2/5] gnu: python-jsonschema: Define 'python2-variant'. Date: Tue, 9 Feb 2016 03:11:00 -0500 Message-ID: <0c8aef2d448f0a7d215021025952fcf59392e28b.1455005066.git.leo@famulari.name> References: Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60780) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aT3OK-0002Wn-Cu for guix-devel@gnu.org; Tue, 09 Feb 2016 03:11:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aT3OH-0001c8-9R for guix-devel@gnu.org; Tue, 09 Feb 2016 03:11:20 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:43622) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aT3OH-0001aQ-6L for guix-devel@gnu.org; Tue, 09 Feb 2016 03:11:17 -0500 Received: from jasmine.lan (mf54636d0.tmodns.net [208.54.70.245]) by mail.messagingengine.com (Postfix) with ESMTPA id 8085F680152 for ; Tue, 9 Feb 2016 03:11:13 -0500 (EST) In-Reply-To: In-Reply-To: References: 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: guix-devel@gnu.org * gnu/packages/python.scm (python-jsonschema)[properties]: New field. (python2-jsonschema): Use 'strip-python2-variant'. --- gnu/packages/python.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 982de40..0a90e48 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -2242,10 +2242,12 @@ version numbers.") (synopsis "Implementation of JSON Schema for Python") (description "Jsonschema is an implementation of JSON Schema for Python.") - (license license:expat))) + (license license:expat) + (properties `((python2-variant . ,(delay python2-jsonschema)))))) (define-public python2-jsonschema - (let ((jsonschema (package-with-python2 python-jsonschema))) + (let ((jsonschema (package-with-python2 + (strip-python2-variant python-jsonschema)))) (package (inherit jsonschema) (inputs `(("python2-functools32" ,python2-functools32) -- 2.6.3