[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/154: gnu: Add python-tablib.
From: |
guix-commits |
Subject: |
04/154: gnu: Add python-tablib. |
Date: |
Tue, 21 Sep 2021 15:07:25 -0400 (EDT) |
htgoebel pushed a commit to branch master
in repository guix.
commit 505057f223c8f3d19b886e2cd5aff457845ec52c
Author: Hartmut Goebel <h.goebel@crazy-compilers.com>
AuthorDate: Wed Aug 25 23:52:51 2021 +0200
gnu: Add python-tablib.
* 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 6444326..a9e17ad 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -26630,3 +26630,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 "@code{tablib} 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)))
- 48/154: gnu: Add trytond-attendance., (continued)
- 48/154: gnu: Add trytond-attendance., guix-commits, 2021/09/21
- 49/154: gnu: Add trytond-authentication-sms., guix-commits, 2021/09/21
- 55/154: gnu: Add trytond-commission., guix-commits, 2021/09/21
- 60/154: gnu: Add trytond-edocument-uncefact., guix-commits, 2021/09/21
- 61/154: gnu: Add trytond-edocument-unece., guix-commits, 2021/09/21
- 63/154: gnu: Add trytond-ldap-authentication., guix-commits, 2021/09/21
- 64/154: gnu: Add trytond-marketing., guix-commits, 2021/09/21
- 65/154: gnu: Add trytond-marketing-automation., guix-commits, 2021/09/21
- 03/154: gnu: Add python-xlwt., guix-commits, 2021/09/21
- 69/154: gnu: Add trytond-party-relationship., guix-commits, 2021/09/21
- 04/154: gnu: Add python-tablib.,
guix-commits <=
- 08/154: gnu: Add python-stripe., guix-commits, 2021/09/21
- 09/154: gnu: Add trytond-account-asset., guix-commits, 2021/09/21
- 11/154: gnu: Add trytond-account-cash-rounding., guix-commits, 2021/09/21
- 15/154: gnu: Add trytond-account-dunning., guix-commits, 2021/09/21
- 13/154: gnu: Add trytond-account-de-skr03., guix-commits, 2021/09/21
- 12/154: gnu: Add trytond-account-credit-limit., guix-commits, 2021/09/21
- 18/154: gnu: Add trytond-account-dunning-letter., guix-commits, 2021/09/21
- 19/154: gnu: Add trytond-account-es., guix-commits, 2021/09/21
- 33/154: gnu: Add trytond-account-payment-stripe., guix-commits, 2021/09/21
- 26/154: gnu: Add trytond-account-invoice-line-standalone., guix-commits, 2021/09/21