From ef440e6fe40d707050d4fd057e61535a4e54f3c6 Mon Sep 17 00:00:00 2001 From: BonfaceKilz Date: Thu, 15 Oct 2020 19:39:38 +0300 Subject: [PATCH 1/2] gnu: Add python2-openpyxl. * gnu/packages/python-xyz.scm (python2-openpyxl): New package. --- gnu/packages/python-xyz.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 56c7bb84ab..000061f0a3 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -85,6 +85,7 @@ ;;; Copyright © 2020 Guy Fleury Iteriteka ;;; Copyright © 2020 Hendursaga ;;; Copyright © 2020 Malte Frank Gerdes +;;; Copyright © 2020 Kilyungi Bonface Munyoki ;;; ;;; This file is part of GNU Guix. ;;; @@ -1666,6 +1667,23 @@ XLTX and XLTM file formats that are defined by the Office Open XML (OOXML) standard.") (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") + (arguments + ;; Has no tests + '(#:tests? #f)) + (source + (origin + (method url-fetch) + (uri (pypi-uri "openpyxl" version)) + (sha256 + (base32 + "1qzjj8nwj4dn0mhq1j64f136afiqqb81lvqiikipz3g1g0b80lqx"))))))) + (define-public python-eventlet (package (name "python-eventlet") -- 2.28.0