From patchwork Thu Jun 13 15:06:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Pierre Langlois X-Patchwork-Id: 14298 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 96712170CC; Thu, 13 Jun 2019 16:50:49 +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 03FD6170CA for ; Thu, 13 Jun 2019 16:50:48 +0100 (BST) Received: from localhost ([::1]:41122 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbRzy-0004UM-EZ for patchwork@mira.cbaines.net; Thu, 13 Jun 2019 11:50:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51606) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbRJg-0008QQ-DC 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-0001hk-Tk for guix-patches@gnu.org; Thu, 13 Jun 2019 11:07:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50548) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hbRJe-0001hY-PX 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-0004B5-Hw for guix-patches@gnu.org; Thu, 13 Jun 2019 11:07:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#36194] [PATCH 01/10] gnu: Add python-slugify. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 13 Jun 2019 15:07:02 +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.156043841015996 (code B ref 36194); Thu, 13 Jun 2019 15:07:02 +0000 Received: (at 36194) by debbugs.gnu.org; 13 Jun 2019 15:06:50 +0000 Received: from localhost ([127.0.0.1]:35847 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hbRJL-00049f-Q3 for submit@debbugs.gnu.org; Thu, 13 Jun 2019 11:06:50 -0400 Received: from mout.gmx.net ([212.227.15.15]:35291) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hbRJI-00048j-Ax for 36194@debbugs.gnu.org; Thu, 13 Jun 2019 11:06:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1560438393; bh=mBgtdlcdBd94vcADfngDMa4NTXgbwdUdzl5dE4VD++c=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=bRg8AFakHgARJWAdoe8aXcPmLDtSdWExjMaML6dBdx460rZ7LbRa+p/CxWVh1cxc7 Ef7juuLItJC/cHk4yRRmjxmrStu3Dvku1Hh3Cd10ToliLVs2647Xrb0o2WUOVdH3Rv xcTloJI0GM6nuAH4ojuu3Q9uDP7LDZeY8SdtiD64= 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 1MJE6L-1hutxy0Q3f-00Kk3G; Thu, 13 Jun 2019 17:06:33 +0200 From: Pierre Langlois Date: Thu, 13 Jun 2019 16:06:19 +0100 Message-Id: <20190613150627.1882-1-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190613150126.17280-1-pierre.langlois@gmx.com> References: <20190613150126.17280-1-pierre.langlois@gmx.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:6BKBZ2ALVmwLeeBCL4/PtzLWgdkBDc4rl2qNSNoFi9+lgbMx1ZF 8LBMz6+GNjTTTFwpbXq9TXbxzMmLNNpXZrq9u2FSAHhJvtNQ1mviabcacZCNoGpQ7H7OcoJ 3GNWvJ0QK6hYdWm0WdkHu+0P+ctq6Uy/piQq2OVRHSeBRJ5wvCJ85nUKwvQDq0s5Oqbv+Px eqwJDbWDFMMhj2Cf+W76Q== X-UI-Out-Filterresults: notjunk:1;V03:K0:XssOizfxhmY=:NtU8A6HvwZthLsOkzK7lve UWmJTCJUREP4jlqGpm9fYyb1L61QDajkhET91OCwRpnL20m1YGOl6aE4abtbUQYrrgXxaCsNI MGvemdbB3aShEK4D33E4BJOAoFub9r5+kYtoGP9P56DhaBTSzayIGcgP6lFhE/K2B0krmElf9 DkV2a79JR6bcDQB2a/xSjb4iTXh5FotjKRQ+8ExVNKG0sEa7kkXcgZMTZ4FqbPQRXOE9tYQCH fmHx49Gj6fQqc2UYKtoTTjsoml0Fw/hhRTgy4uUq897iYD3mnrS6agP0YX0lPGlkruXZGHjY1 La7JAH8O/mHPXXP3gOxDfuv/XDg/62aPquydV/671a0HnSx1mYjWfvJz04B7He3uRD6gg9JYz vCkU3BilSS3xH5oIqKXwPN7JRXBZeyDDV+bdXnlnE7fyhGLtvnw9z8DPsaZ3jP273cTYIMw2N Lq4LGT/4OEEGs8TwVx/o1YYdngPMMxWseEszKn8QHqOTPTqMZwhxV2DipbgoR5Yu12MltmUDt 1ZJUaSTxQypM3D7GZHF1719cYaa/A4L4xrqqBsP6OtWKKxGToA5uNiCv9ZOFEZgmFRnW2JMlm ya234hdDOKjGNUZwVhaduCFMu1lS7scmKZHN8N6rpbeRIQrewgEx16x78LD/AMUPf3bOtXoql LUMLCYnhtrKc5Gs6VDhZsU2xL7pIuJPJL2zIdwkh38ZNoE0V5Ex+p8wy3C5bXlWv1Eq5FmRGO fo6VSAkhHXte9isCChra+kr5am2dGKsNOhjgU4IPJrYPATFlthywaM23R9OUNX9tRMGL5js5E YAYVny/CnWcu8Wl7gbwr490pngG5OV+ESAV7FN1vBu82Et4xCJruY9rDvudj1X5rJ6zHSda7C +rEDniySDo/ImSXHBsVry/HZT+1pc2/EHuJoxaJUpgkWnKOPQw0X8g9DkYjpyHBbUEdIgZE1g ZzRq6GwiSejlwGnmaYx7HbRkMm9nX2URaQgAawYfybDMuMVOIhSd8a3vZUa68b0yGeAw6j78i 6W02V20XRN181vUiXgSb4fk= 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/python-web.scm (python-slugify): New variable. * gnu/packages/patches/python-slugify-depend-on-unidecode.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. --- gnu/local.mk | 1 + .../python-slugify-depend-on-unidecode.patch | 22 +++++++++++++ gnu/packages/python-web.scm | 31 +++++++++++++++++++ 3 files changed, 54 insertions(+) create mode 100644 gnu/packages/patches/python-slugify-depend-on-unidecode.patch -- 2.22.0 diff --git a/gnu/local.mk b/gnu/local.mk index c7b557ca61..f8c33dd8c2 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1214,6 +1214,7 @@ dist_patch_DATA = \ %D%/packages/patches/python2-pygobject-2-gi-info-type-error-domain.patch \ %D%/packages/patches/python-pygpgme-fix-pinentry-tests.patch \ %D%/packages/patches/python-robotframework-honor-source-date-epoch.patch \ + %D%/packages/patches/python-slugify-depend-on-unidecode.patch \ %D%/packages/patches/python2-subprocess32-disable-input-test.patch \ %D%/packages/patches/python-unittest2-python3-compat.patch \ %D%/packages/patches/python-unittest2-remove-argparse.patch \ diff --git a/gnu/packages/patches/python-slugify-depend-on-unidecode.patch b/gnu/packages/patches/python-slugify-depend-on-unidecode.patch new file mode 100644 index 0000000000..93a3aaebe9 --- /dev/null +++ b/gnu/packages/patches/python-slugify-depend-on-unidecode.patch @@ -0,0 +1,22 @@ +diff --git a/setup.py b/setup.py +index 4800173..6bdd77f 100755 +--- a/setup.py ++++ b/setup.py +@@ -14,8 +14,7 @@ url = 'https://github.com/un33k/python-slugify' + author = 'Val Neekman' + author_email = 'info@neekware.com' + license = 'MIT' +-install_requires = ['text-unidecode==1.2'] +-extras_require = {'unidecode': ['Unidecode==1.0.23']} ++install_requires = ['Unidecode==1.0.23'] + + classifiers = [ + 'Development Status :: 5 - Production/Stable', +@@ -67,7 +66,6 @@ setup( + author_email=author_email, + packages=find_packages(exclude=EXCLUDE_FROM_PACKAGES), + install_requires=install_requires, +- extras_require=extras_require, + classifiers=classifiers, + entry_points={'console_scripts': ['slugify=slugify.slugify:main']}, + ) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 042484c6a1..a5cc2cc326 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -29,6 +29,7 @@ ;;; Copyright © 2018 Maxim Cournoyer ;;; Copyright © 2019 Vagrant Cascadian ;;; Copyright © 2019 Brendan Tildesley +;;; Copyright © 2019 Pierre Langlois ;;; ;;; This file is part of GNU Guix. ;;; @@ -3156,3 +3157,33 @@ Python.") (propagated-inputs `(("python-gevent" ,python2-gevent) ("python-tornado" ,python2-tornado))))) + +(define-public python-slugify + (package + (name "python-slugify") + (version "3.0.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "python-slugify" version)) + (sha256 + (base32 + "0n6pfmsq899c54plpvzi46l7zrpa3zfpm8im6h32czjw6kxky5jp")) + (patches + (search-patches "python-slugify-depend-on-unidecode.patch")))) + (native-inputs + `(("python-wheel" ,python-wheel))) + (propagated-inputs + `(("python-unidecode" ,python-unidecode))) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "python" "test.py")))))) + (build-system python-build-system) + (home-page "https://github.com/un33k/python-slugify") + (synopsis "Python Slugify application that handles Unicode") + (description "This package provides a @command{slufigy} command and +library to create slugs from unicode strings while keeping it DRY.") + (license license:expat))) From patchwork Thu Jun 13 15:06:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Pierre Langlois X-Patchwork-Id: 14300 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 64DF1170CC; Thu, 13 Jun 2019 16:51:59 +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 1595D170CA for ; Thu, 13 Jun 2019 16:51:59 +0100 (BST) Received: from localhost ([::1]:41128 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbS18-0005HL-NJ for patchwork@mira.cbaines.net; Thu, 13 Jun 2019 11:51:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51624) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbRJi-0008S5-A6 for guix-patches@gnu.org; Thu, 13 Jun 2019 11:07:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hbRJg-0001ig-Bu for guix-patches@gnu.org; Thu, 13 Jun 2019 11:07:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50550) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hbRJf-0001iD-Ri for guix-patches@gnu.org; Thu, 13 Jun 2019 11:07:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hbRJf-0004BK-JB for guix-patches@gnu.org; Thu, 13 Jun 2019 11:07:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#36194] [PATCH 02/10] gnu: Add python-pytimeparse. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 13 Jun 2019 15:07:03 +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.156043841116010 (code B ref 36194); Thu, 13 Jun 2019 15:07:03 +0000 Received: (at 36194) by debbugs.gnu.org; 13 Jun 2019 15:06:51 +0000 Received: from localhost ([127.0.0.1]:35852 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hbRJS-0004A4-Nl for submit@debbugs.gnu.org; Thu, 13 Jun 2019 11:06:50 -0400 Received: from mout.gmx.net ([212.227.15.18]:34219) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hbRJJ-00048n-Cg for 36194@debbugs.gnu.org; Thu, 13 Jun 2019 11:06:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1560438393; bh=dcVHBTIbIPEw8u+rNEGYYRPMXVgcs4l3t6ka728XmIc=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=Rr9io7kXAw+hs0NK9hu/OrdzHPUVQblWqYo0TGAVx1CkSkQUP4Hm1bKn80d3GjUIf alliku+yMHnMlqlJyMOipwARX20bintI3EXUQ8keka6vfrjNNQMIlKHDyJCXAAc1SN n/7TyTKp43gqaqDXMZHHHmZRReftt33Vluw5+z0Y= 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 1M6DWs-1hi44f1jQW-006fHV; Thu, 13 Jun 2019 17:06:33 +0200 From: Pierre Langlois Date: Thu, 13 Jun 2019 16:06:20 +0100 Message-Id: <20190613150627.1882-2-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:7rKgEPDTj2FzKP4EYdsvcp2/0axORVZeedGG8ZOgn9C8Pc/NSpM RMOarL8K028D4Sb6NBIZPN2seoj9TQb3zgqMC0XrpcH5RHXaung7S/jV7zxrJ5pcC8l082b 3Wz/jaHBo1472oBOz/FSOeBOPvaP3wkhU+cE0rwwOalHOsL4hib2uOA0gPwwW9kBLB7jhTb QzxDdFLNTRVedYoaRn7Bg== X-UI-Out-Filterresults: notjunk:1;V03:K0:PudlEllBQ7g=:+TRlXi8twCrwtwQZSof6oo esYpnJTbdOgWOAYbAYBG7n4pUXfL0CKB/NKcV+0Tv8SfHaHrjDrK4kZt3WtBY8fO0WBd3E7mT 1OGlyPvry7Lw7jTu0s2lxLMaThjz7BCy/iLRdMM9Wk/n16RSnHUzPhtc7ep5BXQqE82SpxUJV GGNq8WNHNsTPvJ56r1TvkCRM0OmirDMG3Hbte/I5EJ63I6RhpMtCSBpi/5RNne6ofP9gbTZ/+ E22kwcuA4530BDLvToSkVKplLP824cxO1NQJhCO0QMCjRFx9HCw2Qx5ehNxIWt0w3JNwzIPoo SRs7VXa4Bh6CbOe/qbnHyCf36DDHO712T48evRT4J2BPC2haPAEYCK30HSoGA2/MY3YW20u6F ataek57+iQxR+KzVv77jX1qnSW3Toi9CmddoTo40NlSsqifcymY1tTU26t08VOrFvvrqe7RtX vTkrY4dmgdbeRESoE38jZO4/9USjcER1eU6Slxuu5f55P2ZmKH/Bhf2Qy5kvXKxseT4Rz70L3 89A43eo5w626qsPqrR+lgu+6a2y49QX4790DaxpxzVoEkye0CipKxCiJM2Fv5zuCqFm2qpxgn N2QL+1tEthx17H4JF2ie3iLttASinf5F9eMWKN5rcHLaqWP1Bh31J0pvHGjNg1capKp3R7OHs yx10qVXZ2XfPSXwD9KPpnUgdyxubh0nz1g6Lmg+dHu8+E+zNJOu2kh6UFKyLZbZGW9Y96DHjw XWYAKoeJM+bN99IKIF/0rBoul4v9Ztdd6zguwEHmVStUzEejUvCXAfaLNwr9Ws5zQkrr/qQWU prxIsGp380N0DnLcnRI3/NBEbPQZm8TsvGHyqye18jPvr6Quvaeh5x92FfXmrSjlP1mN3bSfD 3+Xd5RiBHdv+nKMVSLXCt2JpJ8zmtSfrL2g61kQQ4yk1It1WR32qoKOM8BZ0gxyQcHY+xv5lr 2PF2KiX/pem9eMhaQ0yLht0t7Se7olx88NQ0saPwpak4nnv81fDyh 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/time.scm (python-pytimeparse): New variable. --- gnu/packages/time.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) -- 2.22.0 diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm index 747e4cf080..f944c74652 100644 --- a/gnu/packages/time.scm +++ b/gnu/packages/time.scm @@ -15,6 +15,7 @@ ;;; Copyright © 2017 Julien Lepiller ;;; Copyright © 2018 Alex Vong ;;; Copyright © 2019 Kyle Meyer +;;; Copyright © 2019 Pierre Langlois ;;; ;;; This file is part of GNU Guix. ;;; @@ -65,6 +66,26 @@ program uses. The display output of the program can be customized or saved to a file.") (license gpl3+))) +(define-public python-pytimeparse + (package + (name "python-pytimeparse") + (version "1.1.8") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pytimeparse" version)) + (sha256 + (base32 + "02kaambsgpjx3zi42j6l11rwms2p35b9hsk4f3kdf979gd3kcqg8")))) + (native-inputs + `(("python-nose" ,python-nose))) + (build-system python-build-system) + (home-page "https://github.com/wroberts/pytimeparse") + (synopsis "Time expression parser") + (description "Small Python module to parse various kinds of time +expressions.") + (license expat))) + (define-public python-pytzdata (package (name "python-pytzdata") 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))) From patchwork Thu Jun 13 15:06:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Pierre Langlois X-Patchwork-Id: 14306 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 EB15F170CC; Thu, 13 Jun 2019 17:21:56 +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 9B4CF170CA for ; Thu, 13 Jun 2019 17:21:56 +0100 (BST) Received: from localhost ([::1]:41415 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbSU8-0004HF-9G for patchwork@mira.cbaines.net; Thu, 13 Jun 2019 12:21:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52943) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbROZ-0005JN-RP for guix-patches@gnu.org; Thu, 13 Jun 2019 11:12:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hbROX-0006KL-Ry for guix-patches@gnu.org; Thu, 13 Jun 2019 11:12:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50569) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hbROU-0006HD-FM for guix-patches@gnu.org; Thu, 13 Jun 2019 11:12:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hbROU-0004Kr-7r for guix-patches@gnu.org; Thu, 13 Jun 2019 11:12:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#36194] [PATCH 04/10] gnu: Add python-dbfread. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 13 Jun 2019 15:12:02 +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.156043871216641 (code B ref 36194); Thu, 13 Jun 2019 15:12:02 +0000 Received: (at 36194) by debbugs.gnu.org; 13 Jun 2019 15:11:52 +0000 Received: from localhost ([127.0.0.1]:35879 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hbROJ-0004KG-GX for submit@debbugs.gnu.org; Thu, 13 Jun 2019 11:11:51 -0400 Received: from mout.gmx.net ([212.227.15.15]:48473) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hbROG-0004Jl-QR for 36194@debbugs.gnu.org; Thu, 13 Jun 2019 11:11:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1560438699; bh=K7UNN2HIz3VgDHbLVptgqm5UGmy8r6wY+5CK/l8F+Ec=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=AuWmsnbeiqKctk/lRiG6RxKQKRPVMHC8NxodJVs6zxYG7MRkeRsTv5RTDU2FzDtqW Ht/1zCg3HgXc8tekjU1kYYed7APynKRXBt170aTOT+Mypu9meI8Em65U4ZraUrC8d7 e2SCNh5AU19HQ9FS9F+M6fGecPuSP56WT4iJQ0OE= 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 1MPokD-1hx6t84Ax1-00Mwyw; Thu, 13 Jun 2019 17:06:34 +0200 From: Pierre Langlois Date: Thu, 13 Jun 2019 16:06:22 +0100 Message-Id: <20190613150627.1882-4-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:C0lptT6hnGgz7P2A0CvRdwuTxbpFzteFW5zTq+F6gvnyxenvQ6f HKMiI6DTxhtoFABR2DIFs56cywUtNy15BaXiEotgXgS54vna8RGuzZ+dmtvbQDRVKkNFI7v 4hxxM3YuegsKN34a4Bnz5fGOEP3NF0gzjQWNVCmWtSJZelUJ/ZdOZE2zCljt/sj9peXvAYk bIR6Dlp1XzXfYuiT5Hl8A== X-UI-Out-Filterresults: notjunk:1;V03:K0:Rd30p2fIunY=:VWmsMXjX4Z39l19mN3dI5X gAzq2G8m5POWfefDxRora6A7Fgejhoa8ptfYOQTX2A4wVB2g3aLhuWH34aYViByf/KS49ksgc Kl/bgDdB21qC46fNwq6pIXA5xdxZ5bOCj4kJaoPXaEcsbIkf8OuMsGm35Ho9dnj4+YWKClklp gwdYT3+T48evqzH9FXafjZjzRo2YByN8pu7cl3P924H/vP3iuiKuwMcPWf6lWylkMb8OCgTFz 90tMXX+CWA4+OW9qVIMXmoltPyXEowtsp+OqNlqVvSaa3YG2C3dHlU1/lLf+InbTv2ZELkYQ8 Q2nlRQYhEKEXoSC4QncTzv1Wx3/WgQtt0FtsjHfYcwo3IXe9flrkK2GdWu2rYjQ2D24RdgJxz a9Uunj8b63zBw3duRF55l3gKorkv1Jme2b2JMnWyskAGieRvmVcLrv8IGU12Tixd6lBuF//zl nMiN2fGASQ9tXE3XkaoII6Af5rIJoAzrhhzmaXPBdaBhoQSdBFCqLxRVLt/ZXZYmzpMSB97lH Pj3W64OZv175LNtM5jdEK0t3pI3ueWxZrukQoXxJs4bc2qCRxpfKVYRGszCE8Wd8Mv9A3hXvm 8jZr8i4JTDepcs0X10Sngfyx6cPZiLScTyvGBXVkJ0def4JZZ+nuYkZW0jGUnu4smJxxZyI7o zF36AMwzKdpb9fVMOsAXaleAhCe9DtOmcd+f8si1fKqzSRirOODXfyMvWsp4fgfOd0De6dViV Db9foP+7m5ew1Gi59GhdwctGL9mdi/qB05b7Os2ToEgy6hvXdJjlCvnDNSx6QBXuLe/A3TeVH xNwDLCXg/xqWsepTmz3sVJZyLo4NkPF7dY77EsfDCoTohB7dn66qD/HU5CpLFXI692Tgubdg1 I3qCFI2f2WmQdK8bLY3PokH1QDzmU/ak+cBhbM8d25hz+xY6EuG97jTDxvG0cvthlnVTC0WTP 22nnyeWrIKVcixWc7DuZDJUIGVq3sUBItlhUqpinjVOYbeFLjI3L4 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/python-xyz.scm (python-dbfread): New variable. --- gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) -- 2.22.0 diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index d33571637d..f38f767bcc 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -60,6 +60,7 @@ ;;; Copyright © 2019 Brett Gilio ;;; Copyright © 2019 Sam ;;; Copyright © 2019 Jack Hill +;;; Copyright © 2019 Pierre Langlois ;;; ;;; This file is part of GNU Guix. ;;; @@ -15396,3 +15397,24 @@ by Igor Pavlov.") (define-public python2-pylzma (package-with-python2 python-pylzma)) + +(define-public python-dbfread + (package + (name "python-dbfread") + (version "2.0.7") + (source (origin + (method url-fetch) + (uri (pypi-uri "dbfread" version)) + (sha256 + (base32 + "0gdpwdzf1fngsi6jrdyj4qdf6cr7gnnr3zp80dpkzbgz0spskj07")))) + (build-system python-build-system) + (native-inputs + `(("python-pytest" ,python-pytest))) + (home-page "https://dbfread.readthedocs.io") + (synopsis "Read DBF Files with Python") + (description + "This library reads DBF files and returns the data as native Python data +types for further processing. It is primarily intended for batch jobs and +one-off scripts.") + (license license:expat))) From patchwork Thu Jun 13 15:06:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Pierre Langlois X-Patchwork-Id: 14305 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 7203F170CC; Thu, 13 Jun 2019 17:21:34 +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 00A01170CA for ; Thu, 13 Jun 2019 17:21:34 +0100 (BST) Received: from localhost ([::1]:41408 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbSTl-00040t-KR for patchwork@mira.cbaines.net; Thu, 13 Jun 2019 12:21:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52941) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbROZ-0005JL-RL for guix-patches@gnu.org; Thu, 13 Jun 2019 11:12:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hbROX-0006KQ-SD for guix-patches@gnu.org; Thu, 13 Jun 2019 11:12:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50568) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hbROT-0006Gp-Tf for guix-patches@gnu.org; Thu, 13 Jun 2019 11:12:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hbROT-0004Kk-Nu for guix-patches@gnu.org; Thu, 13 Jun 2019 11:12:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#36194] [PATCH 05/10] gnu: Add python-leather. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 13 Jun 2019 15:12: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.156043871116635 (code B ref 36194); Thu, 13 Jun 2019 15:12:01 +0000 Received: (at 36194) by debbugs.gnu.org; 13 Jun 2019 15:11:51 +0000 Received: from localhost ([127.0.0.1]:35877 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hbROJ-0004KD-1f for submit@debbugs.gnu.org; Thu, 13 Jun 2019 11:11:51 -0400 Received: from mout.gmx.net ([212.227.15.18]:37091) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hbROG-0004Jm-QT for 36194@debbugs.gnu.org; Thu, 13 Jun 2019 11:11:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1560438699; bh=c9fqQ2Jei+RjUyoeNs5whj9oaz2QuPW6db83YsvApiE=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=LEvHdSpG3SYadybqOyu0t0h0igGn1tP2YCS1t7dJPbLYMhABhKTNPCxVzRnr0JN9+ NpX3gXPs80EMQ3Ch0lY4vaXnz+MC2ibbXxE2kX17KB/a52KJR1r5XRMBzZTgfXPSYz 6hmUIrqWMVkvIuqQkrinSmq/k+YqkxT5aco9yvIg= 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 1MCsPy-1hkCja1Day-008nvt; Thu, 13 Jun 2019 17:06:34 +0200 From: Pierre Langlois Date: Thu, 13 Jun 2019 16:06:23 +0100 Message-Id: <20190613150627.1882-5-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:ysMe0u9eA1ivJWoiiNS6ScC6tDxB5iHhZat+EsTHKARZy1viscL TP9isMumgoMLKcT67rsDKEFBujNJpUN82RtJS1nCMwKAqSgy05DTwPaKFA4UBOEsJip1+iD 7m3oudZMtL23fjGdmguIkAHVTXvl00xfjvSP8WOiPgbeJ5iJQblv5OegvMuQgIBeIQnMCfA NNF0rTBWlljJhnAxypa8g== X-UI-Out-Filterresults: notjunk:1;V03:K0:oKJGFW/Bnxw=:xPLgZc8f163mqeK9cEqrez d5BvlXMUB8pkjWWUO7iFE+37pjqbkyrDVYlbqSGVRQGaEIiFsNHRR+wAqGpgoNG4AbWvuqkK1 x+Npuju5ZYTfkCDriHcEVRO0Sab89eHS1LUnTtSQ9Kh3VW6L/XWzoX3O/Z1wpLu1YaBBVgLQv bd73z0uoDaAd0lgRwYMsRMGK1+K/xZB4FRrGWbmU3S9If7Un2NmK0KZLRSg34rUjm8XsTEq5F FXljbLeigFe1siV9IlIQb4+qRKjS6cYYhgFicATf7BsbI5YvcFOxXMjZMIknwJIIvD4j1pIfo IeYNry4+mkTUD4rn/fJSx3aDCrThd0QQTWxjolvSehTbDQyIUPQ980e6QCtzpw82OhCNsi3N1 OTQ7pwuZZ+cDCiCVweEY4phxyQERrZC9pQVZKi8Gm0a4L2wAC1NYNSBTcBMMpozSKKik25zyK V9gVa8lke2vrw2HWiS/Gt60bt6KYrSFCupyM8x41VaVQWcz5Cuzo16jAAdj0oQM+kUToFMW7G tZcjhW3EuDM+evbXrfNxq74Fr1ki1A2U8VKLC/8JRqMuf9DjRiqldJGvYX/7JwIGmVUwk9p3U bjFZOI1lkxBmYdYodSKs4DOaFEnfjgfvTi21UCQ2G8O8D/Wi4PS/AYShZfbisnjqWDRAi8deD Rx5g8x9zZWLroftPuxn3PFKRLEfwWh6QA3GXyi9T4i2pjDJH3ODWMlER93O1zAck0SII8DQKQ mas5QxdW15TImiVF1AdQPsxk70e31jpHRfTcpc9WrmxcxNwjs/eZUU8zG3Wo7Iz0xkk788CBU F8hfSIuPtZM4fqHiZZADZ1Nc4ZGuQrA+57T74uiRpXtXL4oNmLKygM0in5hWZFWo06MBiqCBk N2dF1S1PUG5PWegoZ+/39Y8AMvEPPXFMxoxGLBM/TL/U50xoRYUutvX1oXdI8ryBVowVnhKpK yCaykGkweIw411jrdDYn3fvHJtcY8mMUpfLr6/89iAave1e4S0/ss 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/wireservice.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. --- gnu/local.mk | 1 + gnu/packages/wireservice.scm | 91 ++++++++++++++++++++++++++++++++++++ 2 files changed, 92 insertions(+) create mode 100644 gnu/packages/wireservice.scm -- 2.22.0 diff --git a/gnu/local.mk b/gnu/local.mk index f8c33dd8c2..e9e5009276 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -485,6 +485,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/wget.scm \ %D%/packages/wicd.scm \ %D%/packages/wine.scm \ + %D%/packages/wireservice.scm \ %D%/packages/wm.scm \ %D%/packages/wordnet.scm \ %D%/packages/wv.scm \ diff --git a/gnu/packages/wireservice.scm b/gnu/packages/wireservice.scm new file mode 100644 index 0000000000..290b027e7b --- /dev/null +++ b/gnu/packages/wireservice.scm @@ -0,0 +1,91 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2019 Pierre Langlois +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages wireservice) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix build-system python) + #:use-module (guix git-download) + #:use-module (guix packages) + #:use-module (gnu packages) + #:use-module (gnu packages check) + #:use-module (gnu packages python-web) + #:use-module (gnu packages python-xyz) + #:use-module (gnu packages sphinx)) + +;; Base package definition for packages from https://github.com/wireservice. +;; This is done so we can share how to run tests and build documentation. +(define base-package + (package + (name #f) + (version #f) + (source #f) + (home-page #f) + (synopsis #f) + (description #f) + (build-system python-build-system) + (native-inputs + `(("python-nose" ,python-nose) + ("python-sphinx" ,python-sphinx) + ("python-sphinx-rtd-theme" ,python-sphinx-rtd-theme))) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "nosetests" "tests"))) + (add-after 'install 'install-docs + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (doc (string-append out "/share/doc/" + ,(package-name this-package) + "-" + ,(package-version this-package)))) + (with-directory-excursion "docs" + (for-each + (lambda (target) + (invoke "make" target) + (copy-recursively (string-append "_build/" target) + (string-append doc "/" target))) + '("html" "dirhtml" "singlehtml" "text"))) + #t)))))) + (license license:expat))) + +(define-public python-leather + (package + (inherit base-package) + (name "python-leather") + (version "0.3.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/wireservice/leather.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1ck3dplni99sv4s117cbm07ydwwjsrxkhdy19rnk0iglia1d4s5i")))) + (native-inputs + `(("python-cssselect" ,python-cssselect) + ("python-lxml" ,python-lxml) + ,@(package-native-inputs base-package))) + (propagated-inputs + `(("python-six" ,python-six))) + (home-page "https://leather.rtfd.org") + (synopsis "Python charting for 80% of humans") + (description "Leather is a Python charting library for those who need +charts now and don't care if they're perfect."))) From patchwork Thu Jun 13 15:06:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Langlois X-Patchwork-Id: 14301 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 BA477170CB; Thu, 13 Jun 2019 16:52:30 +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 6C5A2170BE for ; Thu, 13 Jun 2019 16:52:30 +0100 (BST) Received: from localhost ([::1]:41138 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbS1e-0005be-16 for patchwork@mira.cbaines.net; Thu, 13 Jun 2019 11:52:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51642) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbRJk-0008Un-KK for guix-patches@gnu.org; Thu, 13 Jun 2019 11:07:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hbRJi-0001kJ-Ai for guix-patches@gnu.org; Thu, 13 Jun 2019 11:07:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50551) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hbRJi-0001ji-0k for guix-patches@gnu.org; Thu, 13 Jun 2019 11:07:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hbRJg-0004BR-5Z for guix-patches@gnu.org; Thu, 13 Jun 2019 11:07:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#36194] [PATCH 06/10] gnu: Add python-agate. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 13 Jun 2019 15:07:04 +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.156043841116018 (code B ref 36194); Thu, 13 Jun 2019 15:07:04 +0000 Received: (at 36194) by debbugs.gnu.org; 13 Jun 2019 15:06:51 +0000 Received: from localhost ([127.0.0.1]:35854 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hbRJT-0004AB-1w for submit@debbugs.gnu.org; Thu, 13 Jun 2019 11:06:51 -0400 Received: from mout.gmx.net ([212.227.15.18]:42727) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hbRJJ-00048o-EI for 36194@debbugs.gnu.org; Thu, 13 Jun 2019 11:06:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1560438394; bh=rqZrZcAr94ws/Kxk3jQCMvnsafemVF2jMowhD4RVRec=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=MFSwLFPsmeNJZwv+hmu8GlaJis1ybENmCbXDc7Jf9IAifQjX7IzOR2853nTRbU933 VxMLQFr+IHwFpLNNGMb+AT8A7TMjkQopnhvjSSXalNdT/Fu5nMNoET3q4E64RI6W3V 5cVQiJYWDgrhVjsAQOma1Pz5GAyYlwzj1vY5JCdI= 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 1Ma20k-1i7FMM2XOm-00Vz7l; Thu, 13 Jun 2019 17:06:34 +0200 From: Pierre Langlois Date: Thu, 13 Jun 2019 16:06:24 +0100 Message-Id: <20190613150627.1882-6-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:ZfrP4ban7equJL49EV5t4aeezCr0Occp514dHIZFMLeRh/31Hth QvC8+QfiM8/Dl8a6zkegIQa9jOTGWc7IfqeKJuPLNOxRvQ7jH/b7CePet3ztDjc0VBIRdHR 3nDmrkwtDDTw7UkIIJrYEpkEwoO2rYnybQjpFcJjSDKfgX/KHFhHaaEmC14JVY7f19OUq6E q3Cs48zHUR6sN8poENc0A== X-UI-Out-Filterresults: notjunk:1;V03:K0:jufdIpSskJU=:Rdi7uQUlIFLOkaKiWo7xu6 VartwKDdHOPrbPdpU4Z4yDN/ZRsJ2hVMCneX5Z16oQaPTkye5caZDeB0fcBY/UD3Zy6y6ZQZM tnfSGdJVJyEjc1TghcXHXZoJpOPJ4/jE8n4cXIJJ/IO2Bj9xI6vHKWcfdjl5+a1dzN3zKPiWl Cnlg5Tw3P249sRIXftGjWieR0+/V3W2tBo89rKWYs0IWxmbymELlULatvlzO9t4bphgqifyJo vWXGwGbKjSX1l6KWus7ALGDO/gtX/wx3WPlFnIkO14wjM8TVa/qPQkFRuG3FOv9buiNfDTBaU O0P+jUPhGLHWl0Gx2tMiLWLN4WzXjZ8uMSLKNb7a+EUmzCCVaIuRjyPKYr1rDzq6q4UUT8bmk A0Hi9gtlVzhKTYxBjfFMtWa0AKCUYZ+/t05NkaOQMF2T2f2N+J6/vOpLDyUijfVFnahZAH3Mk X3lGfNeQb5gfeN4EL0mK/3b23XGEo6jCO5kA3tnptF9zdoUZ4lFZ4cWqs+JD4X0wxml1wXlwm cXC3LLiJBsgszRUMjwaClDtPDuIf2+v1wrG8HBcxCp/wZWeyjXTwC7M6xSpKHJ6+r0UE3dNfk CAdnwIebJgtbeUQnzzf9d+rfQvCGvq1785CcyHROmpIkIMsRh4rYS8KXhkwzSctsKm3v+ynBm bvCgZNRC3+H1cXS2G7rk6HEwTHT2iXIx4Nel+eZLRoFOK/W5bz4y28J9SV2ORIarKM6w+wois xIWptKCzBTVUS9fP9eZedTwnelt6y1JVXwx2lgO+n3XTODnMmIrpxT6Y4wUIPK+KSydqEKOhe G/hJqzvEL3/16zTJTzta7RD3ARk4DHBK8hCW2gFT4t9twujcw5BMYSjsojoJ/g2joc0XT3b49 k4seAfZnchRs/v4qlhlHFElgPqJnmmgpKALePeT2RAbJtjbfaCW8m00OSCf7nY9/Wd45z5iQ7 vNzYl+PyHxrI+SQ/1ZQz6vYzE6gaeoKM= 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/wireservice.scm (python-agate): New variable. --- gnu/packages/wireservice.scm | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) -- 2.22.0 diff --git a/gnu/packages/wireservice.scm b/gnu/packages/wireservice.scm index 290b027e7b..db17c55cd8 100644 --- a/gnu/packages/wireservice.scm +++ b/gnu/packages/wireservice.scm @@ -25,7 +25,8 @@ #:use-module (gnu packages check) #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) - #:use-module (gnu packages sphinx)) + #:use-module (gnu packages sphinx) + #:use-module (gnu packages time)) ;; Base package definition for packages from https://github.com/wireservice. ;; This is done so we can share how to run tests and build documentation. @@ -89,3 +90,35 @@ (synopsis "Python charting for 80% of humans") (description "Leather is a Python charting library for those who need charts now and don't care if they're perfect."))) + +(define-public python-agate + (package + (inherit base-package) + (name "python-agate") + (version "1.6.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/wireservice/agate.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "077zj8xad8hsa3nqywvf7ircirmx3krxdipl8wr3dynv3l3khcpl")))) + (native-inputs + `(("python-cssselect" ,python-cssselect) + ("python-lxml" ,python-lxml) + ,@(package-native-inputs base-package))) + (propagated-inputs + `(("python-babel" ,python-babel) + ("python-isodate" ,python-isodate) + ("python-leather" ,python-leather) + ("python-parsedatetime" ,python-parsedatetime) + ("python-pytimeparse" ,python-pytimeparse) + ("python-six" ,python-six) + ("python-slugify" ,python-slugify))) + (home-page "https://agate.rtfd.org") + (synopsis "Data analysis library") + (description "Agate is a Python data analysis library. It is an +alternative to numpy and pandas that solves real-world problems with readable +code. Agate was previously known as journalism."))) From patchwork Thu Jun 13 15:06:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Langlois X-Patchwork-Id: 14307 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 71B0E170CC; Thu, 13 Jun 2019 17:24:50 +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 E7B87170CA for ; Thu, 13 Jun 2019 17:24:49 +0100 (BST) Received: from localhost ([::1]:41482 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbSWv-0007Ln-B7 for patchwork@mira.cbaines.net; Thu, 13 Jun 2019 12:24:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51643) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbRJk-0008Uq-Ko for guix-patches@gnu.org; Thu, 13 Jun 2019 11:07:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hbRJi-0001kx-Mm for guix-patches@gnu.org; Thu, 13 Jun 2019 11:07:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50552) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hbRJi-0001kp-I4 for guix-patches@gnu.org; Thu, 13 Jun 2019 11:07:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hbRJi-0004Ba-Bv for guix-patches@gnu.org; Thu, 13 Jun 2019 11:07:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#36194] [PATCH 07/10] gnu: Add python-agate-sql. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 13 Jun 2019 15:07:06 +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.156043841116025 (code B ref 36194); Thu, 13 Jun 2019 15:07:06 +0000 Received: (at 36194) by debbugs.gnu.org; 13 Jun 2019 15:06:51 +0000 Received: from localhost ([127.0.0.1]:35856 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hbRJT-0004AJ-CP for submit@debbugs.gnu.org; Thu, 13 Jun 2019 11:06:51 -0400 Received: from mout.gmx.net ([212.227.15.18]:38599) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hbRJJ-00048p-H6 for 36194@debbugs.gnu.org; Thu, 13 Jun 2019 11:06:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1560438395; bh=zwChv20xVPgOGG5f1VDB9VaPZiLIHHF1E9MSn2+C48c=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=N/hTxci8ruLRX192KVLoXs4MM8vFzDnkd0hYUIavA3QpzaLTbgjTdgcrTiy/4NINL nec0w6LHCaactSNDY+zya8c3cPoPG+B0+Z+lNsjdcJyd4Q6H9IgFnbm1s3+w+MSkhv 0d7HLg0gjBc/F8eHP/H4KOgIyQpLCNg/okKAWhck= 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 1MWAOW-1i7o7U3nBa-00XeLb; Thu, 13 Jun 2019 17:06:35 +0200 From: Pierre Langlois Date: Thu, 13 Jun 2019 16:06:25 +0100 Message-Id: <20190613150627.1882-7-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:tTEdF8oRCahYpxKR2KJl3DlrAgmtyOng2RxZlrQuT0KVxBqnOLa ZV4TYvsQi8scXP5d0ldpAOsU6uOc7qqwjkJzKzN4vm0EE9JAakLmDAbq75Ci3l0pKJqOtG1 +OB4XgfPiAMPxaLza3PTce5z+3gQhhgVgR4vxnpApj7yrNWKaN1kpGCvV5zlzl5yMpIbDSk KBIR0lqkr/5O2TQW0PyuA== X-UI-Out-Filterresults: notjunk:1;V03:K0:3MpdOk34pWw=:EjJuOrZw0ufqWFMsY32Mii rab7ZaD/T91uyiHixv4VjnQmd4vSB67P8T6LApA61xgoJgmXcCM3sgofhDE52dYEbocjEgkn2 oW/FH4CwrHlzxFTKhoXHAm2c0miHj7f4bPoAzjXgkXcBLEkFmTKXH1MtlbgrwcLmV3PQbBseU oEezV4q9avAgNp3+uEF7xWYU2/BNPNTcFvq+Y8DBXnBSIqgFDj5oS4WOIKhz4rn3CHe8hBHfO COnsdJcGr+EzWcgPJgC/qpKWq0yzH50V9cUPAodjb8x8ZHeffIvnTk5ohiCfWfNv6xdgy2fr8 6+PtTXu8jjUt6p1Vg+nVHNsElt2SjrO9MRRd/UOHopE1/Sytb0N8kqEo7u/p7c9nTwKtRBsqp vYmINwGSY+4LlKvcFCjHlN9SXzomyPZdv+MylXmEQm7Tmqx/FrAEIEC4nSc7mad8LaB1msSj/ b5SKpiCWDDfwfraI6YfFuZZOlsscuWBiZ3IFf0xOgA+jzxg3W07dwyo/PXTf5dwJsk//IpOsN m3rwiNJM/Z/0cXiil3uHIdNlcEI3+9ADJwhJ9nUQtRNHVMTsXMA8ar7d/M8BmT+jUpuugFGKG yapu6NbjrWaz+VtHCRmbzRZZ7mGnu/b3Jn/xpRyMmE8f/pkejOvuqlPIrZHMFlOFfwmK3jZtG Gbj60AuVeTh7zCZi69CULMV9aIk6BApmvnHUPatCHcftZIVm2sHyDt8Ih74IZv81EZtWKC1MQ CYHwT6ktvwlt8ZZshlWH2e9fQh9yT8ymkxToHmJwAm3lRgE7ODYS9kLR3RTH7odB+KBoKe8B5 rRwF+6PvOTsNeBbfIHMjO/Vrr3GezxrqMKzr18q3a9l9/bfhGH1ZzM2gRxaYBvx3A4bHHMPzt 1A8Oel7jvYyAOmwRNX1eingWbQwwKaoE1ik8GKTVqajigMqg5qXH0vAOfpWeqRVTOSrwIrD9b 6YDfFtnMj4UApbsD+eQfiAcDq+ozorUg= 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/wireservice.scm (python-agate-sql): New variable. --- gnu/packages/wireservice.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) -- 2.22.0 diff --git a/gnu/packages/wireservice.scm b/gnu/packages/wireservice.scm index db17c55cd8..575b63792b 100644 --- a/gnu/packages/wireservice.scm +++ b/gnu/packages/wireservice.scm @@ -23,6 +23,7 @@ #:use-module (guix packages) #:use-module (gnu packages) #:use-module (gnu packages check) + #:use-module (gnu packages databases) #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) #:use-module (gnu packages sphinx) @@ -122,3 +123,26 @@ charts now and don't care if they're perfect."))) (description "Agate is a Python data analysis library. It is an alternative to numpy and pandas that solves real-world problems with readable code. Agate was previously known as journalism."))) + +(define-public python-agate-sql + (package + (inherit base-package) + (name "python-agate-sql") + (version "0.5.4") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/wireservice/agate-sql.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "16q0b211n5b1qmhzkfl2jr56lda0rvyh5j1wzw26h2n4pm4wxlx2")))) + (propagated-inputs + `(("python-agate" ,python-agate) + ("python-crate" ,python-crate) + ("python-sqlalchemy" ,python-sqlalchemy))) + (home-page "https://agate-sql.rtfd.org") + (synopsis "SQL read/write support to agate") + (description "@code{agatesql} uses a monkey patching pattern to add SQL +support to all @code{agate.Table} instances."))) From patchwork Thu Jun 13 15:06:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Langlois X-Patchwork-Id: 14303 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 79D64170CC; Thu, 13 Jun 2019 17:14:39 +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 20ECA170CA for ; Thu, 13 Jun 2019 17:14:39 +0100 (BST) Received: from localhost ([::1]:41306 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbSN4-0006rF-Ih for patchwork@mira.cbaines.net; Thu, 13 Jun 2019 12:14:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51679) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbRJl-00006M-Pg for guix-patches@gnu.org; Thu, 13 Jun 2019 11:07:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hbRJk-0001mE-Kv for guix-patches@gnu.org; Thu, 13 Jun 2019 11:07:09 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50553) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hbRJj-0001lG-2F for guix-patches@gnu.org; Thu, 13 Jun 2019 11:07:08 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hbRJi-0004Bi-Rm for guix-patches@gnu.org; Thu, 13 Jun 2019 11:07:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#36194] [PATCH 08/10] gnu: Add python-agate-dbf. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 13 Jun 2019 15:07:06 +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.156043841216031 (code B ref 36194); Thu, 13 Jun 2019 15:07:06 +0000 Received: (at 36194) by debbugs.gnu.org; 13 Jun 2019 15:06:52 +0000 Received: from localhost ([127.0.0.1]:35858 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hbRJT-0004AR-NK for submit@debbugs.gnu.org; Thu, 13 Jun 2019 11:06:52 -0400 Received: from mout.gmx.net ([212.227.15.15]:35221) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hbRJL-00048t-Tj for 36194@debbugs.gnu.org; Thu, 13 Jun 2019 11:06:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1560438398; bh=ODOJtDlZrO6fTW25gfJ7POK07tbMst3skLgoXkN1FqU=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=foPC5T+RqCjjKqEDXXIov3yjmSaaYGBXwsIzgew5s7k33+1niaVnd3HulYBtaqY0h 3oXAjHsdv6GXief0Nmbt47KOJBUEX4vmOQGl61RhYPieY9PP1TQy08gnOwJvI2Dkei i4BvE6CLLcODrPlgx34hTCeF6cC/zYNWziZ4cgjc= 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 1N8ob6-1ig1wj0p0g-015s6h; Thu, 13 Jun 2019 17:06:35 +0200 From: Pierre Langlois Date: Thu, 13 Jun 2019 16:06:26 +0100 Message-Id: <20190613150627.1882-8-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:NFFVhBV9UFCArrS1KNksyTHKuOaCqNUclQz/AHwTmP18NMP6wt7 T4Tmo4ZT2mPlOE/TSkEHKvj7Iny4TO7df/E8R0TT5wIfVb+0KxfI26+CP/YUIfccUcZmoaI hCXOIBvuWbo5w8Fsth+9t2K51bhH1EaLCKM9qUiPW4T6Lf8qeuXdsKkrTyVGi7Y8/WLdkki P6be4HsfvJ21CnIic7dOQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:Wnz8UzS5eQ4=:4kR0LwKdOL/8M3NC57Qk36 zaxtruHKqfhkJreIDV0HWMlzUeRPUlqptDPQ7nnLY6UsYMJNejiMrQrqf1AuSbFC/ZRSIkbWB nX+sb2puRK7u+9QyGOAREaZBbbZ1zVYMZ541m1yjoIZ0zWOqn/kNe4/ZFSUcMW37rOMrlGEPY Kz2fX+C1Swzog5tZGoUqZf0UrC9Q0rwN82bGZbFb3CL3RReaOlfzjCEnjl9RjaLDdjKWpf+mF ZdljZYDb6LU5Rvf6b5FkannVLeeoZYD4gVd08hH2uEwFgH6kI9xJIsirhmy10zL552aK0/SUK N0/RMKLHTSZDhZcLJ1C7Esu7h02Guo7OpBk9eTParPybpAe9wUOO06/+Fv2Jfucm5vL0+xlc4 UW9lriQwKk5TJivt8A5b3HdmkEIPSImKTnbyHtkjwtSazbs0L1mz2dA2fgsUZfdgOWTrMrp3c TvABm0OJjBq/4P7QBdlxjSyxevikXDckq/+GA8C7A+QxLYBjK+sOPGxLLbcL5jYolYG3g0Bxi kzh0omoblDcTm5UvkqMxYtRpU0fp66Ans+Mbm9Ip8RSZY4YElLywfYpsFx5UtrRHDJ0wYio2g maGMnxALtG8D7kHZJf8UwiCAUNo051otz8SOWHvivdbS3veuJLgJRj4jdT5K/OyOchvviQElC R/uiyrIe0OmxPKefwhnqqzklvlWXD+7N6cR+BVPFW+xQAVm7jIfMm8y9EH8NO/qWFHC/dVbgE FDda1bV3EZ46g7rmhRtgHh3dx+BYXj4EJ4ZHnCAl/txmIV24fntthyl0xykEG7N8TXcWp0F4M SK9nTp9DM/UqJit0m02erSKNV4UOpc6/aUUsW3ttGsTY73asC1boMXLu9o2r2i1pZlMRjxqsH lzDoicwh3ktQWpxJyJgHp0B+8mrRlPA9ZhyJ8wRzPPyvpmN7wrvisBNSIIHPTfVvFSEAAXNwU 7QL7l1m8yhjdT+CjHz1w68Gm6RuIZclU+jvvFkcpbH5lKmwmzu6mOX9l24Dz/D+HOdsjPtLgZ 1rInDS7BjSs/AW0b6F+uxdrfJOpSSuLC1NdIEw2Wl8f5gaqHp0H06euYLU0EXsC7r4ksg9kAD CIQtfdXKxHqyXri8dQScE03doaX1VMSmRV3iBjEahvy1rzVMM4cAE0Q57WSab2H/WrkyIQWai wMPWeF/Om/xG1XLORvgGKoKV4bmmpW5R/SQckAawuQevq/RQ== 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/wireservice.scm (python-agate-dbf): New variable. --- gnu/packages/wireservice.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) -- 2.22.0 diff --git a/gnu/packages/wireservice.scm b/gnu/packages/wireservice.scm index 575b63792b..4a8e7681ed 100644 --- a/gnu/packages/wireservice.scm +++ b/gnu/packages/wireservice.scm @@ -146,3 +146,25 @@ code. Agate was previously known as journalism."))) (synopsis "SQL read/write support to agate") (description "@code{agatesql} uses a monkey patching pattern to add SQL support to all @code{agate.Table} instances."))) + +(define-public python-agate-dbf + (package + (inherit base-package) + (name "python-agate-dbf") + (version "0.2.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/wireservice/agate-dbf.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1y49fi6pmm7gzhajvqmfpcca2sqnwj24fqnsvzwk7r1hg2iaa2gi")))) + (propagated-inputs + `(("python-agate" ,python-agate) + ("python-dbfread" ,python-dbfread))) + (home-page "https://agate-dbf.rtfd.org") + (synopsis "Add read support for dbf files to agate") + (description "@code{agatedbf} uses a monkey patching pattern to add read +for dbf files support to all @code{agate.Table} instances."))) From patchwork Thu Jun 13 15:06:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Langlois X-Patchwork-Id: 14304 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 AB7E9170CC; Thu, 13 Jun 2019 17:21:01 +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 41543170CA for ; Thu, 13 Jun 2019 17:21:01 +0100 (BST) Received: from localhost ([::1]:41394 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbSTE-0003JZ-DM for patchwork@mira.cbaines.net; Thu, 13 Jun 2019 12:21:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51625) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbRJi-0008S7-A9 for guix-patches@gnu.org; Thu, 13 Jun 2019 11:07:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hbRJg-0001il-C5 for guix-patches@gnu.org; Thu, 13 Jun 2019 11:07:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50549) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hbRJf-0001hu-8s for guix-patches@gnu.org; Thu, 13 Jun 2019 11:07:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hbRJf-0004BC-3B for guix-patches@gnu.org; Thu, 13 Jun 2019 11:07:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#36194] [PATCH 09/10] gnu: Add python-agate-excel. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 13 Jun 2019 15:07:03 +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.156043841016003 (code B ref 36194); Thu, 13 Jun 2019 15:07:03 +0000 Received: (at 36194) by debbugs.gnu.org; 13 Jun 2019 15:06:50 +0000 Received: from localhost ([127.0.0.1]:35850 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hbRJS-00049x-Dw for submit@debbugs.gnu.org; Thu, 13 Jun 2019 11:06:50 -0400 Received: from mout.gmx.net ([212.227.15.15]:45679) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hbRJJ-00048m-7C for 36194@debbugs.gnu.org; Thu, 13 Jun 2019 11:06:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1560438395; bh=6QFMQeNgOosoS4L2YqU33hovRyNw5+J3pFU6Up7caEA=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=k7rqN4P+QYC9JrufaR03SXihWAEcpLoBHacreb9tZzqqWDWtjpImm+fA4+eZP+dl8 yALrQNCYpu7OJUiMwHlPV8LcRQk0XHQomAoYRRNdKrPVCDkz8oC14V0stkzgxpNsIt Vrlg0aUSPjVNTuqSvxHHkPIlJiPcsrQenJ7iC3LI= 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 1MN5iZ-1huLCo24U1-00J4pQ; Thu, 13 Jun 2019 17:06:35 +0200 From: Pierre Langlois Date: Thu, 13 Jun 2019 16:06:27 +0100 Message-Id: <20190613150627.1882-9-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:E8vvuD13lguJv6Iraz+dKlRP0ulnQRKhplk9dQb6UigmsFcF+GW NUBsRnS9oIy6kXcH/q2LZO0JmI3HuPF5Bom0nKiG1TeAZj9NMAAyycnLop2erwL4W9YLYKJ KPCBv1nRh+5LobCB8GGQq7TvhYqaNZfk4C3BL0KhP0Fl9DiJRt1JIN31rGnzND2jmWHQ1KW RtRKlzKMzX5/9s21s1oTQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:qVihWf9sTYc=:Zbf5+tK+r9ViNPgIzl2sKw EPw8Ed4TuK7fzukmO99HUQT4lzRJRCdN3m1SJ65M/uDA8jWqStc7+ane0VxtZOFttQpBbcS/C FScCd7Lj+69gUMUidHrrw7uFnG4b6aGmQQOYJ1aMM/AxukzJ7QjCvIOcQ+aaYGTbXXNpB2wtZ MCYigEvXlmtCTGJywreHmQIXBFPRX/uEnEvsMpA/BxJZCeWA9G5S7edjoy3zWb/W6j2mGXW1T i6Ah5jIaS0OwZx62xI11ZBl5JHdLDngfbcdPfF+mJ97Z+0EiaYqbKON9lJIAuLMEH4GbMYBi/ +dcZf7QUSG4KMjGIlseoEJAW5vPPZpuaaLT4/mgZDxCsbVnN/LzocRZ3rLRVUHNgD+MoGrKrs enRDmjDz1zMg4b/XX7nMQpjqC9hgEUlmQPth+z1qg6IJ5NLxw8rL8kNWa/o7gKe9pkjNbExWi 5k58wG7od/g8expdcbz/czNeFmrexnxAzJlvCtKqHLJH8TQddPXP9kNFYvSQspHaMtnA5gxDj 2dfe0F9aQk8u480pbez97+STtybItq/DARR+pak/7Bo9P041rh/BbpdoIthATYnGhdB4wTBtu Z0DBoScO/sJero2/z7xiKxIBVFce0fXSYqomZjvMTPgDZ+Lt5Wt+S0qPirA56OLedxloD2V1W 3l2eRtFI1sO9F1SekKPe+oFeUXH+YACymyBIj0uK0Sbk8FHBaZImb6OporcgP+6QDtQMB4w3/ ad6gUGyhCbvutG1RvTszxvLZhhvGxQdt+bMy5mJiB0UBpwDaQVCC8qMXIjHZc1J5nzLdNU3Ib 76uLwb8fZhSGzeZ5gVgdKjCwjnB9QExGNkaeUPdIVntksRNx8bTIVS/ra9Ajl3B+SN8QOJkKT TzlhBNsJCjqmy1jkYcTYu5uLSE7m5Z3p5yfN+s5xnZg5yjn2FgWmKXP1cTYBoSFMl+bJupmQp uJJ7RcHjnleYOr6wPyHDwDQr78WX6MOE= 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/wireservice.scm (python-agate-excel): New variable. --- gnu/packages/wireservice.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) -- 2.22.0 diff --git a/gnu/packages/wireservice.scm b/gnu/packages/wireservice.scm index 4a8e7681ed..78c2a4264d 100644 --- a/gnu/packages/wireservice.scm +++ b/gnu/packages/wireservice.scm @@ -168,3 +168,26 @@ support to all @code{agate.Table} instances."))) (synopsis "Add read support for dbf files to agate") (description "@code{agatedbf} uses a monkey patching pattern to add read for dbf files support to all @code{agate.Table} instances."))) + +(define-public python-agate-excel + (package + (inherit base-package) + (name "python-agate-excel") + (version "0.2.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/wireservice/agate-excel.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1k5lv21k19s7kgbj5srd1xgrkqvxqqs49qwj33zncs9l7851afy7")))) + (propagated-inputs + `(("python-agate" ,python-agate) + ("python-openpyxl" ,python-openpyxl) + ("python-xlrd" ,python-xlrd))) + (home-page "https://agate-excel.rtfd.org") + (synopsis "Add read support for Excel files (xls and xlsx) to agate") + (description "@code{agateexcel} uses a monkey patching pattern to add read +for xls and xlsx files support to all @code{agate.Table} instances."))) From patchwork Thu Jun 13 15:07: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: 14302 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 184ED170CB; Thu, 13 Jun 2019 16:52:38 +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 A012C170BE for ; Thu, 13 Jun 2019 16:52:37 +0100 (BST) Received: from localhost ([::1]:41144 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbS1l-0005sw-A1 for patchwork@mira.cbaines.net; Thu, 13 Jun 2019 11:52:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52004) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbRKe-0001bV-BN for guix-patches@gnu.org; Thu, 13 Jun 2019 11:08:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hbRKc-0002Rb-QI for guix-patches@gnu.org; Thu, 13 Jun 2019 11:08:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50557) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hbRKc-0002RT-Mg for guix-patches@gnu.org; Thu, 13 Jun 2019 11:08:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hbRKc-0004DT-EZ for guix-patches@gnu.org; Thu, 13 Jun 2019 11:08:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#36194] [PATCH 10/10] gnu: Add csvkit. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 13 Jun 2019 15:08:02 +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.156043845116159 (code B ref 36194); Thu, 13 Jun 2019 15:08:02 +0000 Received: (at 36194) by debbugs.gnu.org; 13 Jun 2019 15:07:31 +0000 Received: from localhost ([127.0.0.1]:35868 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hbRK7-0004CY-51 for submit@debbugs.gnu.org; Thu, 13 Jun 2019 11:07:31 -0400 Received: from mout.gmx.net ([212.227.15.18]:41437) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hbRK4-0004CL-T2 for 36194@debbugs.gnu.org; Thu, 13 Jun 2019 11:07:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1560438443; bh=BzuvN0Iz8NNaIZmg4jmkwxTjOXFNtkNfnok0NoVK6kw=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=K2SkpgHCwJXIU01fgzlC4KIPIbDtHMDhxSaSkuPl7EU81LCACNlYG+HBB96nSPlvX CAPuYDSQkAVU0P/cOfJx4q9DuQQ4WpGg4tNNE2U7+edCCEYout3B6O3fj6sOiW3nPl nYOvCv57XAL0QNu+ZADoSGYsIkIMDVV97YNpAIQk= 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 1MIwzA-1huctc4Aoc-00KT3r; Thu, 13 Jun 2019 17:07:23 +0200 From: Pierre Langlois Date: Thu, 13 Jun 2019 16:07:21 +0100 Message-Id: <20190613150721.26314-1-pierre.langlois@gmx.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190613150126.17280-1-pierre.langlois@gmx.com> References: <20190613150126.17280-1-pierre.langlois@gmx.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:BuP4zE2uLwkGef/lxw88uBmybdQMdeUz2rRJ8MMGgRuNOUYqQJX Fo4YLMI8+R90T/4lcUMytw47WvDO3Ve22PoEYw/Z1uIrk1YDwSpTnXkk9owcs6BrGIOaBFU iulSIPt4r6El6c3SomrRmq4/hktE38G/vQq/KcCyeIh/TzzVKQEFAr0ovbuaLLj7yWNvJN9 3SZ/AG1Nefxk9bJUtlsfw== X-UI-Out-Filterresults: notjunk:1;V03:K0:TWEd9ZyywY4=:KNlKdsFAtBA7NafsP9Y9/4 Gb8rpDDnc7TkIp4C5GhvSyQ9SiSy8LVEHAAX92rA+5PUfluFNyR8vzQHraWJ5/7v3jxeF3RtP 5hk68YoOlZ2ei/jwr5TibMvwxVnKvtDShZyw1wg8Fh1nYJhpKpVgQdOaDQUqmmflXZxOqP66a 1wQm4SowqbEhJDZX7zYQqRRg6zvMxXjkVHQQPeZtIT/O0ZvmvZR7AwRTx610qBEsKmS9QoY5Y bZqUKPMEbKaj/HOuv8mP+DGGv2LJ/4Ttx11gtqr9J7e4fZ5FEa1L9iWmjNmEk3XZG0Pq2KF5U gH60jjFiKXbAza1lPQKKGqkNlZZnDUwDBtn/QNa5GH9oU3PGfgUG6f9wmkvnRpj6///ygaR35 vBgZkXCalk+xbg/6tdorYBRQ79nW0zHmxuzzeOKS7u8o6IvInfrKdsRYQoy0DexTyrzVFCFet bW/E0anT1Xfi00IJfhHjkyDlwu2/PzbAb8eSRdYRCRHcAqPctYqnCugeOROusHm7HMgnIjsK4 8kfoQD8+/RCvWBMNMPKkq/K58pGF5FffuM6uaU3IpnYLesefLJ+bYChNySOaOI+PiTHNaV9eT opr73GFEVakxmN2pWq6BoJOtRAK/cO2kOPyTwQAYCa2k0e/puUnQnzjIuE/mL750fOBbKItdW XFspeeDZGlT81gRny15MBTty9iLgE0A/GD6CyR5JdseUebnpeis6ch/fPOQ04vFNKjX8uScF7 ch9dS352c0lDJLWcxJg20/jLfIUZ4X44VDe3EDQvp8pmU6o1Pgyu0kuDJIcdCiG+vH7EJSVFq /MXpU1+/qjAVZcMSEDcw7g+d5+rOVTaadkG6m1+3zEVQUGzasrPPamEMmUusRpGBBGlUqe6ZD vdsyFGotz5FMnbOZexLEvvGkgHZAvtdP5UzFbO9c7d7K2o7uICsB2JcPflO6+CBqzSHw9aYEo Nk0HAqtaslxOQU9ImMciL1R3jrE3s6uWmq4FlUEYiaKb7hix/+nKo 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/wireservice.scm (csvkit): New variable. * gnu/packages/patches/csvkit-fix-tests.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. --- gnu/local.mk | 1 + gnu/packages/patches/csvkit-fix-tests.patch | 45 +++++++++++++ gnu/packages/wireservice.scm | 73 +++++++++++++++++++++ 3 files changed, 119 insertions(+) create mode 100644 gnu/packages/patches/csvkit-fix-tests.patch -- 2.22.0 diff --git a/gnu/local.mk b/gnu/local.mk index e9e5009276..b49592b5d5 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -734,6 +734,7 @@ dist_patch_DATA = \ %D%/packages/patches/cpufrequtils-fix-aclocal.patch \ %D%/packages/patches/crawl-upgrade-saves.patch \ %D%/packages/patches/crda-optional-gcrypt.patch \ + %D%/packages/patches/csvkit-fix-tests.patch \ %D%/packages/patches/clucene-contribs-lib.patch \ %D%/packages/patches/cube-nocheck.patch \ %D%/packages/patches/cursynth-wave-rand.patch \ diff --git a/gnu/packages/patches/csvkit-fix-tests.patch b/gnu/packages/patches/csvkit-fix-tests.patch new file mode 100644 index 0000000000..e62b601fe4 --- /dev/null +++ b/gnu/packages/patches/csvkit-fix-tests.patch @@ -0,0 +1,45 @@ +diff --git a/tests/test_utilities/test_csvsql.py b/tests/test_utilities/test_csvsql.py +index e6ec4af..4f47980 100644 +--- a/tests/test_utilities/test_csvsql.py ++++ b/tests/test_utilities/test_csvsql.py +@@ -197,7 +197,7 @@ class TestCSVSQL(CSVKitTestCase, EmptyFileTests): + utility.run() + output = output_file.getvalue() + output_file.close() +- self.assertEqual(output, 'a,b,c\n1,2,3\n0,5,6\n') ++ self.assertEqual(output, 'a,b,c\n1,2.0,3.0\n0,5.0,6.0\n') + + def test_no_prefix_unique_constraint(self): + self.get_output(['--db', 'sqlite:///' + self.db_file, '--insert', 'examples/dummy.csv', '--unique-constraint', 'a']) +diff --git a/tests/test_utilities/test_sql2csv.py b/tests/test_utilities/test_sql2csv.py +index a0c3d3e..babcfd6 100644 +--- a/tests/test_utilities/test_sql2csv.py ++++ b/tests/test_utilities/test_sql2csv.py +@@ -121,23 +121,23 @@ class TestSQL2CSV(CSVKitTestCase, EmptyFileTests): + input_file.close() + + def test_unicode(self): +- expected = self.csvsql('examples/test_utf8.csv') ++ self.csvsql('examples/test_utf8.csv') + csv = self.get_output(['--db', 'sqlite:///' + self.db_file, '--query', 'select * from foo']) +- self.assertEqual(csv.strip(), expected) ++ self.assertEqual(csv.strip(), 'foo,bar,baz\n1.0,2.0,3\n4.0,5.0,ʤ') + + def test_no_header_row(self): + self.csvsql('examples/dummy.csv') + csv = self.get_output(['--db', 'sqlite:///' + self.db_file, '--no-header-row', '--query', 'select * from foo']) + + self.assertTrue('a,b,c' not in csv) +- self.assertTrue('1,2,3' in csv) ++ self.assertTrue('1,2.0,3.0' in csv) + + def test_linenumbers(self): + self.csvsql('examples/dummy.csv') + csv = self.get_output(['--db', 'sqlite:///' + self.db_file, '--linenumbers', '--query', 'select * from foo']) + + self.assertTrue('line_number,a,b,c' in csv) +- self.assertTrue('1,1,2,3' in csv) ++ self.assertTrue('1,1,2.0,3.0' in csv) + + def test_wildcard_on_sqlite(self): + self.csvsql('examples/iris.csv') diff --git a/gnu/packages/wireservice.scm b/gnu/packages/wireservice.scm index 78c2a4264d..ab86f21f2f 100644 --- a/gnu/packages/wireservice.scm +++ b/gnu/packages/wireservice.scm @@ -19,6 +19,7 @@ (define-module (gnu packages wireservice) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix build-system python) + #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix packages) #:use-module (gnu packages) @@ -191,3 +192,75 @@ for dbf files support to all @code{agate.Table} instances."))) (synopsis "Add read support for Excel files (xls and xlsx) to agate") (description "@code{agateexcel} uses a monkey patching pattern to add read for xls and xlsx files support to all @code{agate.Table} instances."))) + +(define-public csvkit + (package + (name "csvkit") + (version "1.0.4") + (source (origin + (method url-fetch) + (uri (pypi-uri "csvkit" version)) + (sha256 + (base32 + "1830lb95rh1iyi3drlwxzb6y3pqkii0qiyzd40c1kvhvaf1s6lqk")) + (patches (search-patches "csvkit-fix-tests.patch")))) + (build-system python-build-system) + (native-inputs + `(("python-psycopg2" ,python-psycopg2) ;; Used to test PostgreSQL support. + ("python-sphinx" ,python-sphinx) + ("python-sphinx-rtd-theme" ,python-sphinx-rtd-theme))) + (inputs + `(("python-agate-dbf" ,python-agate-dbf) + ("python-agate-excel" ,python-agate-excel) + ("python-agate-sql" ,python-agate-sql) + ("python-six" ,python-six))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'install 'install-docs + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (man1 (string-append out "/share/man/man1"))) + (with-directory-excursion "docs" + (invoke "make" "man") + (copy-recursively "_build/man" man1)) + #t)))))) + (home-page "https://csvkit.rtfd.org") + (synopsis "Command-line tools for working with CSV") + (description "csvkit is a suite of command-line tools for converting to +and working with CSV. It provides the following commands: +@itemize +@item Input: + @itemize + @item @command{in2csv}: Convert various formats to CSV. + @item @command{sql2csv}: Execute SQL commands on a database and return the +data as CSV. + @end itemize +@item Processing: + @itemize + @item @command{csvclean}: Remove common syntax errors. + @item @command{csvcut}: Filter and truncate CSV files. + @item @command{csvgrep}: Filter tabular data to only those rows where +certain columns contain a given value or match a regular expression. + @item @command{csvjoin}: Merges two or more CSV tables together using a +method analogous to SQL JOIN operation. + @item @command{csvsort}: Sort CSV files. + @item @command{csvstack}: Stack up the rows from multiple CSV files, +optionally adding a grouping value to each row. + @end itemize +@item Output and analysis: + @itemize + @item @command{csvformat}: Convert a CSV file to a custom output format. + @item @command{csvjson}: Converts a CSV file into JSON or GeoJSON. + @item @command{csvlook}: Renders a CSV to the command line in a +Markdown-compatible, fixed-width format. + @item @command{csvpy}: Loads a CSV file into a @code{agate.csv.Reader} +object and then drops into a Python shell so the user can inspect the data +however they see fit. + @item @command{csvsql}: Generate SQL statements for a CSV file or execute +those statements directly on a database. + @item @command{csvstat}: Prints descriptive statistics for all columns in a +CSV file. + @end itemize +@end itemize") + (license license:expat)))