From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: [PATCH 1/5] gnu: Add python2-atomicwrites. Date: Thu, 3 Mar 2016 17:11:52 -0500 Message-ID: <24fb6309ac8523c344662d9302b4dc3b83c263af.1457042922.git.leo@famulari.name> References: Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34030) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abbTa-0003J8-4V for guix-devel@gnu.org; Thu, 03 Mar 2016 17:12:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1abbTW-0002sH-7P for guix-devel@gnu.org; Thu, 03 Mar 2016 17:12:06 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:56112) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abbTW-0002s8-4a for guix-devel@gnu.org; Thu, 03 Mar 2016 17:12:02 -0500 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 58A3A680224 for ; Thu, 3 Mar 2016 17:12:01 -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 (python2-atomicwrites): New variable. --- gnu/packages/python.scm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 131ec62..1a2c88a 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -6756,7 +6756,14 @@ WebSocket usage in Python programs.") (description "Library for atomic file writes using platform dependent tools for atomic filesystem operations.") (home-page "https://github.com/untitaker/python-atomicwrites") - (license license:expat))) + (license license:expat) + (properties `((python2-variant . ,(delay python2-atomicwrites)))))) + +(define-public python2-atomicwrites + (package (inherit (package-with-python2 + (strip-python2-variant python-atomicwrites))) + (native-inputs + `(("python2-setuptools" ,python2-setuptools))))) (define-public python-requests-toolbelt (package -- 2.6.3