[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: Add python2-openpyxl.
From: |
guix-commits |
Subject: |
branch master updated: gnu: Add python2-openpyxl. |
Date: |
Sun, 18 Oct 2020 07:39:15 -0400 |
This is an automated email from the git hooks/post-receive script.
efraim pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 1e30245 gnu: Add python2-openpyxl.
1e30245 is described below
commit 1e3024540645894098b0ca6be5abb0f9f1987269
Author: BonfaceKilz <bonfacemunyoki@gmail.com>
AuthorDate: Thu Oct 15 19:39:38 2020 +0300
gnu: Add python2-openpyxl.
* gnu/packages/python-xyz.scm (python2-openpyxl): New package.
(python-openpyxl)[properties]: Add reference to python2-openpyxl.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/python-xyz.scm | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6469e67..6360dc8 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1666,8 +1666,25 @@ of @code{xmlfile}.")
(description "This Python library allows reading and writing to the Excel
XLSX, XLSM,
XLTX and XLTM file formats that are defined by the Office Open XML (OOXML)
standard.")
+ (properties `((python2-variant . ,(delay python2-openpyxl))))
(license license:expat)))
+(define-public python2-openpyxl
+ (let ((base (package-with-python2
+ (strip-python2-variant python-openpyxl))))
+ (package
+ (inherit base)
+ ;; This is the latest version that has python2 support
+ (version "2.6.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "openpyxl" version))
+ (sha256
+ (base32
+ "1qzjj8nwj4dn0mhq1j64f136afiqqb81lvqiikipz3g1g0b80lqx"))))
+ (arguments '(#:tests? #f))))) ; No test suite.
+
(define-public python-eventlet
(package
(name "python-eventlet")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: Add python2-openpyxl.,
guix-commits <=