[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/08: gnu: Add python-xlrd-1.
From: |
guix-commits |
Subject: |
05/08: gnu: Add python-xlrd-1. |
Date: |
Mon, 31 Jan 2022 10:09:26 -0500 (EST) |
rekado pushed a commit to branch master
in repository guix.
commit ad516f400992c5c95d9e2a19694b5c655a370fee
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Jan 31 15:39:30 2022 +0100
gnu: Add python-xlrd-1.
* gnu/packages/python-xyz.scm (python-xlrd-1): New variable.
---
gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 4f77fae8d0..1f40f982ce 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -11419,6 +11419,32 @@ Unicode-aware. It is not intended as an end-user
tool.")
(define-public python2-xlrd
(package-with-python2 python-xlrd))
+;; We need this for python-anndata
+(define-public python-xlrd-1
+ (package
+ (inherit python-xlrd)
+ (name "python-xlrd")
+ (version "1.2.0")
+ (source (origin
+ ;; The tests are not included in the PyPI archive.
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/python-excel/xlrd")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0sm5p0ii5ayh52ak1jpw0n1kgsv72vdwwp8c3z13l8yf4irsb587"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ ;; Some tests depend on writing a temporary file to the user's home
+ ;; directory.
+ (add-after 'unpack 'fix-tests
+ (lambda _
+ (setenv "HOME" "/tmp"))))))))
+
;;; Note: this package is unmaintained since 2018 (archived on GitHub).
(define-public python-xlwt
(package
- branch master updated (9295b91116 -> 7fc8a6faf6), guix-commits, 2022/01/31
- 05/08: gnu: Add python-xlrd-1.,
guix-commits <=
- 02/08: gnu: bwa-meth: Remove trailing #T from build phase., guix-commits, 2022/01/31
- 06/08: gnu: python-anndata: Update to 0.7.8., guix-commits, 2022/01/31
- 01/08: gnu: bwa-meth: Update to 0.2.3., guix-commits, 2022/01/31
- 03/08: gnu: python-louvain: Update to 0.16., guix-commits, 2022/01/31
- 08/08: gnu: Add scvelo., guix-commits, 2022/01/31
- 07/08: gnu: python-seaborn: Fix build., guix-commits, 2022/01/31
- 04/08: gnu: python-louvain-0.6: Update to 0.7.1., guix-commits, 2022/01/31