gnu: python-construct: Update to 2.10.70-1.c1171b1.

* gnu/packages/python-xyz.scm (python-construct): Update to 2.10.70-1.c1171b1.
  [propagated-inputs]: Add python-cryptography.

Change-Id: Ie7d877827865224f90d8588f1706a354443de02c
This commit is contained in:
Guillaume Le Vaillant 2024-12-19 11:49:34 +01:00
parent 269f94c18d
commit 6fbd215c0e
No known key found for this signature in database
GPG key ID: 6BE8208ADF21FE3F

View file

@ -30180,19 +30180,22 @@ class in a @acronym{DRY, Don't Repeat Yourself} way.")
(license license:expat))) (license license:expat)))
(define-public python-construct (define-public python-construct
;; Fixes not in a release yet.
(let ((commit "c1171b16bda1d213ba4858f3e0e4d4003e4aae90")
(revision "1"))
(package (package
(name "python-construct") (name "python-construct")
(version "2.10.68") (version (git-version "2.10.70" revision commit))
(source (source
(origin (origin
;; There are no tests in the PyPI tarball. ;; There are no tests in the PyPI tarball.
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/construct/construct") (url "https://github.com/construct/construct")
(commit (string-append "v" version)))) (commit commit)))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "1b59kq8scxhn9afqgmksk45n53gawylqm8gw3k0vmljg274xi7vf")))) (base32 "03f6nvyzrq50nhqqwmmws983wwjg78yd9j09pl94vkmyjph33da5"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
(list #:phases (list #:phases
@ -30202,10 +30205,12 @@ class in a @acronym{DRY, Don't Repeat Yourself} way.")
(when tests? (when tests?
(invoke "pytest" "-v" "tests/"))))))) (invoke "pytest" "-v" "tests/")))))))
(native-inputs (native-inputs
(list python-pytest python-pytest-benchmark)) (list python-pytest
python-pytest-benchmark))
(propagated-inputs (propagated-inputs
(list python-arrow (list python-arrow
python-cloudpickle python-cloudpickle
python-cryptography
python-lz4 python-lz4
python-numpy python-numpy
python-ruamel.yaml)) python-ruamel.yaml))
@ -30218,7 +30223,7 @@ form hierarchical and sequential structures of increasing complexity.
It features bit and byte granularity, easy debugging and testing, an It features bit and byte granularity, easy debugging and testing, an
easy-to-extend subclass system, and lots of primitive constructs to easy-to-extend subclass system, and lots of primitive constructs to
make your work easier.") make your work easier.")
(license license:expat))) (license license:expat))))
(define-public python-outcome (define-public python-outcome
(package (package