From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sMMnALXLQ2GcOQEAgWs5BA (envelope-from ) for ; Fri, 17 Sep 2021 00:56:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id IOdSN7TLQ2HAHwAA1q6Kng (envelope-from ) for ; Thu, 16 Sep 2021 22:56:52 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7DA15A227 for ; Fri, 17 Sep 2021 00:56:52 +0200 (CEST) Received: from localhost ([::1]:59054 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mR0JH-0002Ah-J9 for larch@yhetil.org; Thu, 16 Sep 2021 18:56:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39320) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mR0IW-0000iw-AN for guix-patches@gnu.org; Thu, 16 Sep 2021 18:56:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45357) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mR0IW-0002mN-3A for guix-patches@gnu.org; Thu, 16 Sep 2021 18:56:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mR0IW-0002HN-2P for guix-patches@gnu.org; Thu, 16 Sep 2021 18:56:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50628] [PATCH 004/154] gnu: Add python-tablib. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 16 Sep 2021 22:56:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50628 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50628@debbugs.gnu.org X-Debbugs-Original-To: 50628@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16318329208340 (code B ref -1); Thu, 16 Sep 2021 22:56:04 +0000 Received: (at submit) by debbugs.gnu.org; 16 Sep 2021 22:55:20 +0000 Received: from localhost ([127.0.0.1]:56820 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mR0Ho-0002AK-86 for submit@debbugs.gnu.org; Thu, 16 Sep 2021 18:55:20 -0400 Received: from lists.gnu.org ([209.51.188.17]:60548) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mR0Hg-00029N-Vb for submit@debbugs.gnu.org; Thu, 16 Sep 2021 18:55:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39042) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mR0Hg-0000Y1-NX for guix-patches@gnu.org; Thu, 16 Sep 2021 18:55:12 -0400 Received: from mail-out.m-online.net ([2001:a60:0:28:0:1:25:1]:56169) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mR0He-00025j-Mr for guix-patches@gnu.org; Thu, 16 Sep 2021 18:55:12 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4H9XV44cgXz1rk5n; Fri, 17 Sep 2021 00:55:08 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4H9XV42b7Cz1qqkC; Fri, 17 Sep 2021 00:55:08 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id kA--xUP8c5et; Fri, 17 Sep 2021 00:55:07 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-61-8.dynamic.mnet-online.de [188.174.61.8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Fri, 17 Sep 2021 00:55:07 +0200 (CEST) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id CE94160245; Fri, 17 Sep 2021 00:55:14 +0200 (CEST) From: Hartmut Goebel Date: Fri, 17 Sep 2021 00:52:23 +0200 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=2001:a60:0:28:0:1:25:1; envelope-from=h.goebel@crazy-compilers.com; helo=mail-out.m-online.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1631833012; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=iElqfLM9JPBAPYpSgYueQ3O+4W/zAWBwhGmmUE1Myk0=; b=YYIFI/dKZVK0ZyU6IUiHlSCyD6hgTqqeHGleggL4nOJbDJ/u6keqLhx7NGlTz2vQadgvSa 24hEvKv5bqTm4QjifbFWSj/hyp9LYDZLtLHuDP0FkmSXXIXqfwgXnk2O5LsL3q990mtW+m +eJdSXuiMG612fIGDspnrpSDkMAcEv1vxyTCjZSosfx9wc+m0K2jjYbOAsr/NL540pRzZs MB550PBauian6zgciToZXAJFSzTP8fuHWGPPPhkAWveowbl5Jm8RIa3v8GyjFzBgfbXd4H M6lYDZI6frEihDFibQRiLFq04iD7s/Lg896Xtvloe4rvUGu4z7vB1MwDoynuZQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631833012; a=rsa-sha256; cv=none; b=JP9QypRatyFHtbbI3bHIWk6s+rVfQH2lTRiSPmQ6K8GWGb9uW6IBtC9/eQLkfuRfTSBeuN IYZetyOYx8EMgCHcOJZ2TzBzlxfytfKXn2OId68OWVnWUg4aZGHw1tw6cNVk9AiX94tgT7 lEi/FXcQznavEeumAzK65Nm+8oQ4rWEO3cCK7P8MeKe9xemTKD8Fl9AoDox9HsJ4s689uS 5UpQ8CjccldL221yjcaHeH1Lm0GTEYqtND9r1dqBNIXprZDvUuLNJgnawmZGBQan52Krpi ExqSri4/Rv4Kg79ABHv6ZlXqkAfMpoTzWH5NjdymefBqovilwpIZAARKJeSBMw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 4.10 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 7DA15A227 X-Spam-Score: 4.10 X-Migadu-Scanner: scn0.migadu.com X-TUID: eqU3EZUUX7zh * gnu/packages/python-xyz.scm (python-tablib): New variable. --- gnu/packages/python-xyz.scm | 46 +++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 23a76d7727..693de6db7d 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -26645,3 +26645,49 @@ Braintree Gateway. Braintree is a US-based payments service provider.") HTML/XML from a Python program in an intuitive, lightweight, customizable and pythonic way.") (license license:expat))) + +(define-public python-tablib + (package + (name "python-tablib") + (version "3.0.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "tablib" version)) + (sha256 + (base32 "03f1z6jq6rf67gwhbm9ma4rydm8h447a5nh5lcs5l8jg8l4aqg7q")))) + (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (setenv "PYTHONPATH" + (string-append (getcwd) "/build/lib:" + (getenv "PYTHONPATH"))) + (invoke "pytest"))))))) + (native-inputs + `(("python-pandas" ,python-pandas) ;; required for test-suite + ("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov) + ("python-setuptools-scm" ,python-setuptools-scm))) + (propagated-inputs + `(("python-markuppy" ,python-markuppy) + ("python-odfpy" ,python-odfpy) + ("python-openpyxl" ,python-openpyxl) + ("python-pyyaml" ,python-pyyaml) + ("python-tabulate" ,python-tabulate) + ("python-xlrd" ,python-xlrd) + ("python-xlwt" ,python-xlwt))) + (home-page "https://tablib.readthedocs.io") + (synopsis "Format agnostic tabular data library") + (description "is a format-agnostic tabular dataset library, +written in Python. Supported output formats are Excel (Sets + Books), +JSON (Sets + Books), YAML (Sets + Books), HTML (Sets), Jira (Sets), +TSV (Sets), ODS (Sets), CSV (Sets), and DBF (Sets). + +@code{tablib} also supports Pandas DataFrames (Sets). Anyhow, since pandas is +quite huge, this Guix package doesn't depend on pandas. In case, just also +install @code{python-pandas}.") + (license license:expat))) -- 2.30.2