From patchwork Thu Jun 13 15:06:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Pierre Langlois X-Patchwork-Id: 14299 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4AD99170CC; Thu, 13 Jun 2019 16:51:02 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id CBA5A170CA for ; Thu, 13 Jun 2019 16:51:01 +0100 (BST) Received: from localhost ([::1]:41124 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbS0D-0004kV-FI for patchwork@mira.cbaines.net; Thu, 13 Jun 2019 11:51:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51602) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbRJg-0008QD-Bb for guix-patches@gnu.org; Thu, 13 Jun 2019 11:07:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hbRJe-0001hI-Bz for guix-patches@gnu.org; Thu, 13 Jun 2019 11:07:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50547) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hbRJe-0001h4-8M for guix-patches@gnu.org; Thu, 13 Jun 2019 11:07:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hbRJe-0004Ax-11 for guix-patches@gnu.org; Thu, 13 Jun 2019 11:07:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#36194] [PATCH 03/10] gnu: Add python-crate. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 13 Jun 2019 15:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36194 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 36194@debbugs.gnu.org Received: via spool by 36194-submit@debbugs.gnu.org id=B36194.156043840215971 (code B ref 36194); Thu, 13 Jun 2019 15:07:01 +0000 Received: (at 36194) by debbugs.gnu.org; 13 Jun 2019 15:06:42 +0000 Received: from localhost ([127.0.0.1]:35845 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hbRJK-00049M-8P for submit@debbugs.gnu.org; Thu, 13 Jun 2019 11:06:42 -0400 Received: from mout.gmx.net ([212.227.15.15]:48019) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hbRJI-00048k-Br for 36194@debbugs.gnu.org; Thu, 13 Jun 2019 11:06:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1560438393; bh=PfB5agDUXDh4wsx2ecClV6ZaEWP3vS4E31xr+YIEPaU=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=M1De5+iNha90VPxcPmII9oVzR3qVfM6GoyvBPnrwApYSvjwqKTsA9cWmG/bi6kffk knGiX7MrDuXJ/aQmBOnlYdFLmumtw/TNdEBOs7FJ2lP8jqokrUZmQ+DXsr+ON2uBya 7T1FNkeVHjsZCP3Gx1OGLS7mJsspynUBIzZaxnQM= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from labiere.lan ([92.6.238.228]) by mail.gmx.com (mrgmx004 [212.227.17.184]) with ESMTPSA (Nemesis) id 1MhU9Z-1iEur42wiJ-00ecKA; Thu, 13 Jun 2019 17:06:33 +0200 From: Pierre Langlois Date: Thu, 13 Jun 2019 16:06:21 +0100 Message-Id: <20190613150627.1882-3-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190613150627.1882-1-pierre.langlois@gmx.com> References: <20190613150126.17280-1-pierre.langlois@gmx.com> <20190613150627.1882-1-pierre.langlois@gmx.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:LKwSSXnhMMfhc6FpdSVLSScAxoIbspTb1Z9gEe2wUJUih4r+Llr XDgBlGEc5QSWjlPKqaF82SnlE+0xmcEfLhkbWUCw2ojNIbQKdqkj7jwo0C1RU2Bb1M47vJk YOOe4xSUV9gXqyvcHY9XgaRQBcmRWqEiRpvguVN3y/+Tbmz+fZoX7drM5IPIZ7HEa/yDrT0 8cIScFAuxDRdZBrSqkiqA== X-UI-Out-Filterresults: notjunk:1;V03:K0:bN5etcjHLCo=:JjA8Qsd4o1pOJUuWdAwVt2 eDzWBLSKx7E/82ADr7COPpzYDPne9nGa+67H46tZmcD9hOVUyzxbW89sZRbUcP1ppNicyWmdH OKaPJOnAI37TCN3Z8qmkKuyfVT1a9XaVsTF+cxwjzWd6gtMUcMrVpzPsfvEWv3jQGSMPKpbcS rusB45ABfJ0I6lpG7yHmHp8mNshAW/6J5xMPRs1xoqtzXr3X+wLFBqdSGkUvT7KTxBicwMJFM fl23J4YVP93FNtpZlytNGRDa/p0Iw4K5kfL9tdeyosw8tUYZxoWxDWazYFyzF6miePkcVpF+7 8Mw7JrPZu65nTtiSLOanHLX2nVyLOKqc3bZeVXZfpwje6H1PuuBuqj2gLTcpOwj7JDGKDgTUv tohATz8qRBmDruMY5kdMcm34j7wVD75ED+J3oEypJCmogvdBxGwLUIZjTXjOcMNjcGFvgKaNk zT0SIsm0EZWwKDWzgH8Az4YgBzBTHpQ7pakqPcKrxfXv05NgOt3KGDLzdrW/gEXb06NTmgxNX WAcz1b+2D3WjuqW94LsMOCy5dLAkV5kHEu4nJxk0yfkBe55jMN4WzAFyRPimrAxDp95CAmVEd G4hd7cWlDRZkX0ZvX1Buh1z+N4lERmyLaXVE/81rrqrpd3UYMmPhjioYxnHMCQZuFfeTYIPCo nds0Qo4N9G6mYvAweOu3XofyISF19SgJFAf9MI2/c01+5KApeEb1DRmISiwNUXdZOnXAJYDZN v9GS1eKrLnbqDLPcaIz+g+3PEiRKAdcHZGcfYLpmkveX94cRDeqfnZHiL/N3OGSX/fKFKnoKF bEhKLf7cmajak32iTI++N3JftcsyTB2DnC8FTdBULj7Z+WpRWgDHjfwYZIPkR+2D/s/AWpSkS jU8y9L+CK66MlpYDGAWzQB7qIryXLhD7tFK/NEJJhfZljNMcy9dZG39mHJ0pO8B4UPQh5+Pj7 OrWdwSqlXUTVYxiaEKFxfzfPk8fWU/NJfExM44KnpjuSLJxxHczO5 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/databases.scm (python-crate): New variable. --- gnu/packages/databases.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) -- 2.22.0 diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 09a262d139..54cec24d8d 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -34,6 +34,7 @@ ;;; Copyright © 2018 Joshua Sierles, Nextjournal ;;; Copyright © 2018 Maxim Cournoyer ;;; Copyright © 2019 Jack Hill +;;; Copyright © 2019 Pierre Langlois ;;; ;;; This file is part of GNU Guix. ;;; @@ -90,6 +91,7 @@ #:use-module (gnu packages popt) #:use-module (gnu packages python) #:use-module (gnu packages python-crypto) + #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) #:use-module (gnu packages rdf) #:use-module (gnu packages readline) @@ -3082,3 +3084,26 @@ NumPy, and other traditional Python scientific computing packages.") (define-public python2-pyarrow (package-with-python2 python-pyarrow)) + +(define-public python-crate + (package + (name "python-crate") + (version "0.23.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "crate" version)) + (sha256 + (base32 + "0s3s7yg4m2zflg9q96aibwb5hizsn10ql63fsj6h5z624qkavnlp")))) + (build-system python-build-system) + (propagated-inputs + `(("python-urllib3" ,python-urllib3))) + (home-page "https://github.com/crate/crate-python") + (synopsis "CrateDB Python client") + (description + "A Python client library for CrateDB. +@itemize +@item Implements the Python DB API 2.0 specification +@item Includes support for SQLAlchemy (>= 1.0.0) +@end itemize") + (license license:asl2.0)))