From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: [PATCH 2/6] gnu: python-msgpack: Use 'python2-variant'. Date: Mon, 14 Mar 2016 19:34:22 -0400 Message-ID: <68dcbc3cbea73d7521d5e531d593ac4026cd8092.1457998381.git.leo@famulari.name> References: Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37700) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afc0P-0000iO-SM for guix-devel@gnu.org; Mon, 14 Mar 2016 19:34:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1afc0M-0000tg-Tj for guix-devel@gnu.org; Mon, 14 Mar 2016 19:34:33 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:44540) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afc0M-0000tc-Pw for guix-devel@gnu.org; Mon, 14 Mar 2016 19:34:30 -0400 Received: from jasmine.lan (c-69-249-5-231.hsd1.pa.comcast.net [69.249.5.231]) by mail.messagingengine.com (Postfix) with ESMTPA id F1523C0001A for ; Mon, 14 Mar 2016 19:34:29 -0400 (EDT) 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-msgpack)[native-inputs]: Remove field. [properties]: New field. (python2-msgpack): Use 'strip-python2-variant'. [native-inputs]: Add python2-setuptools. --- gnu/packages/python.scm | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 075d4fe..de2ce34 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -5425,14 +5425,19 @@ should be stored on various operating systems.") (base32 "0syd7bs83qs9qmxw540jbgsildbqk4yb57fmrlns1021llli402y")))) (build-system python-build-system) - (native-inputs - `(("python-setuptools" ,python-setuptools))) (synopsis "MessagePack (de)serializer") (description "MessagePack is a fast, compact binary serialization format, suitable for similar data to JSON. This package provides CPython bindings for reading and writing MessagePack data.") (home-page "https://pypi.python.org/pypi/msgpack-python/") - (license asl2.0))) + (license asl2.0) + (properties `((python2-variant . ,(delay python2-msgpack)))))) + +(define-public python2-msgpack + (package (inherit (package-with-python2 + (strip-python2-variant python-msgpack))) + (native-inputs + `(("python2-setuptools" ,python2-setuptools))))) (define-public python2-msgpack (package-with-python2 python-msgpack)) -- 2.6.3