From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Subject: [PATCH 02/10] gnu: Add python-arrow and python2-arrow. Date: Thu, 23 Jun 2016 23:18:49 +0800 Message-ID: <20160623151857.23978-1-iyzsong@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46213) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG6PQ-0005i1-5n for guix-devel@gnu.org; Thu, 23 Jun 2016 11:19:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bG6PL-0005Ts-4E for guix-devel@gnu.org; Thu, 23 Jun 2016 11:19:11 -0400 Received: from mail.openmailbox.org ([62.4.1.34]:42712) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG6PK-0005Tn-Ty for guix-devel@gnu.org; Thu, 23 Jun 2016 11:19:07 -0400 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" To: guix-devel@gnu.org Cc: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= * gnu/packages/python.scm (python-arrow, python2-arrow): New variables. --- gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 0c9bd22..6e30377 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -9316,3 +9316,31 @@ objects, patterned after the Mocha library for Ruby.") (define-public python2-chai (package-with-python2 python-chai)) +(define-public python-arrow + (package + (name "python-arrow") + (version "0.8.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "arrow" version)) + (sha256 + (base32 + "1bz7hkdgpqcjs866y58z8jywpy7al0f4rxdr00bh2l5qddyw245j")))) + (build-system python-build-system) + (native-inputs + `(("python-setuptools" ,python-setuptools) + ("python-dateutil" ,python-dateutil-2) + ;; For testing + ("python-chai" ,python-chai) + ("python-simplejson" ,python-simplejson))) + (home-page "https://github.com/crsmithdev/arrow/") + (synopsis "Dates and times for Python") + (description + "Arrow is a Python library to creating, manipulating, formatting and +converting dates, times, and timestamps. It implements and updates the +datetime type.") + (license asl2.0))) + +(define-public python2-arrow + (package-with-python2 python-arrow)) + -- 2.8.4