[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/13: gnu: python-construct: Update to 2.10.68.
From: |
guix-commits |
Subject: |
10/13: gnu: python-construct: Update to 2.10.68. |
Date: |
Mon, 20 Feb 2023 08:06:22 -0500 (EST) |
ngz pushed a commit to branch master
in repository guix.
commit 5204f2edf45174673fe8fd912aad7cc50a5747c7
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Feb 12 23:49:56 2023 +0000
gnu: python-construct: Update to 2.10.68.
* gnu/packages/python-xyz.scm (python-construct): Update to 2.10.68.
[source]: Use Git checkout over PyPI to enable tests.
[arguments]<#:phases>: Enable tests with custom phase.
[native-inputs]: Add PYTHON-PYTEST, PYTHON-PYTEST-BENCHMARK.
[propagated-inputs]: Remove PYTHON-EXTRAS. Add PYTHON-CLOUDPICKLE,
PYTHON-LZ4.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
gnu/packages/python-xyz.scm | 30 ++++++++++++++++++++++--------
1 file changed, 22 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 12a0c9f983..71a52a7ad8 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -94,7 +94,7 @@
;;; Copyright © 2020, 2021 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2020 EuAndreh <eu@euandre.org>
;;; Copyright © 2021, 2022 Morgan Smith <Morgan.J.Smith@outlook.com>
-;;; Copyright © 2021, 2022 Sharlatan Hellseher <sharlatanus@gmail.com>
+;;; Copyright © 2021-2023 Sharlatan Hellseher <sharlatanus@gmail.com>
;;; Copyright © 2021 Ellis Kenyő <me@elken.dev>
;;; Copyright © 2021 LibreMiami <packaging-guix@libremiami.org>
;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz>
@@ -24456,19 +24456,33 @@ class in a @acronym{DRY, Don't Repeat Yourself} way.")
(define-public python-construct
(package
(name "python-construct")
- (version "2.10.56")
+ (version "2.10.68")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "construct" version))
+ ;; There are no tests in the PyPI tarball.
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/construct/construct")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32
- "0q86jjzsvy835h3c8pjj4619vbp7ihfg8njmyw86ym4qrpni7flp"))))
+ (base32 "1b59kq8scxhn9afqgmksk45n53gawylqm8gw3k0vmljg274xi7vf"))))
(build-system python-build-system)
(arguments
- `(#:tests? #f)) ; No tests exist.
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-v" "tests/")))))))
+ (native-inputs
+ (list python-pytest python-pytest-benchmark))
(propagated-inputs
- (list python-extras python-arrow python-numpy python-ruamel.yaml))
+ (list python-arrow
+ python-cloudpickle
+ python-lz4
+ python-numpy
+ python-ruamel.yaml))
(home-page "https://construct.readthedocs.io")
(synopsis "Declarative and symmetrical parser and builder for binary data")
(description
- branch master updated (8322c062a9 -> c599d309c4), guix-commits, 2023/02/20
- 01/13: gnu: emacs-wisp-mode: Update to 1.0.10., guix-commits, 2023/02/20
- 02/13: gnu: emacs-project: Update to 0.9.8., guix-commits, 2023/02/20
- 05/13: gnu: emacs-magit: Update to 3.3.0-3.2c91c08., guix-commits, 2023/02/20
- 09/13: gnu: python-pygraphviz: Update to 1.10., guix-commits, 2023/02/20
- 10/13: gnu: python-construct: Update to 2.10.68.,
guix-commits <=
- 12/13: gnu: fet: Update to 6.8.4., guix-commits, 2023/02/20
- 13/13: gnu: sshpass: Update to 1.10., guix-commits, 2023/02/20
- 03/13: gnu: emacs-vertico-posframe: Update to 0.7.0., guix-commits, 2023/02/20
- 04/13: gnu: emacs-diff-hl: Update to 1.9.2., guix-commits, 2023/02/20
- 06/13: gnu: cwm: Update to 7.1., guix-commits, 2023/02/20
- 07/13: gnu: cwm: Improve package style., guix-commits, 2023/02/20
- 08/13: gnu: qsynth: Update to 0.9.9., guix-commits, 2023/02/20
- 11/13: gnu: python-capablerobot-usbhub: Update to 0.5.0., guix-commits, 2023/02/20