[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/11: gnu: python-et-xmlfile: Update to 1.1.0.
From: |
guix-commits |
Subject: |
02/11: gnu: python-et-xmlfile: Update to 1.1.0. |
Date: |
Wed, 7 Sep 2022 11:42:50 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 8d5637103fab0ce69e55d88bdc929f903ac58edd
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Mon Sep 5 16:52:27 2022 +0200
gnu: python-et-xmlfile: Update to 1.1.0.
* gnu/packages/python-xyz.scm (python-et-xmlfile): Update to 1.1.0.
[source]: Switch to HG-FETCH.
[arguments]: Use G-expression and respect TESTS? keyword.
---
gnu/packages/python-xyz.scm | 23 ++++++++++++++---------
1 file changed, 14 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b058704172..d292f329b0 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -2574,20 +2574,25 @@ downloaded, or download a strip for a particular date
or index, if possible.")
(define-public python-et-xmlfile
(package
(name "python-et-xmlfile")
- (version "1.0.1")
+ (version "1.1")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "et_xmlfile" version))
+ ;; Use a checkout because the PyPI archive does not contain tests.
+ (method hg-fetch)
+ (uri (hg-reference
+ (url "https://foss.heptapod.net/openpyxl/et_xmlfile")
+ (changeset version)))
+ (file-name (string-append name "-" version "-checkout"))
(sha256
- (base32
- "0nrkhcb6jdrlb6pwkvd4rycw34y3s931hjf409ij9xkjsli9fkb1"))))
+ (base32 "09r8rjc5bhkqrm5c4n9jrlvad8vrvbyswl9g0wrc1qc7nzh9mpw7"))))
(build-system python-build-system)
(arguments
- `(#:phases (modify-phases %standard-phases
- (replace 'check
- (lambda _
- (invoke "pytest"))))))
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-vv")))))))
(native-inputs
(list python-pytest python-lxml)) ;used for the tests
(home-page "https://bitbucket.org/openpyxl/et_xmlfile")
- branch master updated (2183db8d2a -> 453e7dd8c4), guix-commits, 2022/09/07
- 02/11: gnu: python-et-xmlfile: Update to 1.1.0.,
guix-commits <=
- 01/11: gnu: zabbix: Update to 6.0.8., guix-commits, 2022/09/07
- 04/11: gnu: python-xlsxwriter: Update to 3.0.3., guix-commits, 2022/09/07
- 08/11: gnu: python-fs: Update to 2.4.16., guix-commits, 2022/09/07
- 03/11: gnu: python-jdcal: Update to 1.4.1., guix-commits, 2022/09/07
- 05/11: gnu: python-cairocffi: Update to 1.3.0., guix-commits, 2022/09/07
- 09/11: gnu: python-cfgv: Update to 3.3.1., guix-commits, 2022/09/07
- 06/11: gnu: python-pytest-regressions: Update to 2.3.1., guix-commits, 2022/09/07
- 07/11: gnu: python-zopfli: Update to 0.2.1., guix-commits, 2022/09/07
- 11/11: gnu: tombo: Disable tests., guix-commits, 2022/09/07
- 10/11: gnu: guix-jupyter: Disable parallel tests., guix-commits, 2022/09/07