mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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:
parent
269f94c18d
commit
6fbd215c0e
1 changed files with 39 additions and 34 deletions
|
@ -30180,45 +30180,50 @@ class in a @acronym{DRY, Don't Repeat Yourself} way.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public python-construct
|
(define-public python-construct
|
||||||
(package
|
;; Fixes not in a release yet.
|
||||||
(name "python-construct")
|
(let ((commit "c1171b16bda1d213ba4858f3e0e4d4003e4aae90")
|
||||||
(version "2.10.68")
|
(revision "1"))
|
||||||
(source
|
(package
|
||||||
(origin
|
(name "python-construct")
|
||||||
;; There are no tests in the PyPI tarball.
|
(version (git-version "2.10.70" revision commit))
|
||||||
(method git-fetch)
|
(source
|
||||||
(uri (git-reference
|
(origin
|
||||||
(url "https://github.com/construct/construct")
|
;; There are no tests in the PyPI tarball.
|
||||||
(commit (string-append "v" version))))
|
(method git-fetch)
|
||||||
(file-name (git-file-name name version))
|
(uri (git-reference
|
||||||
(sha256
|
(url "https://github.com/construct/construct")
|
||||||
(base32 "1b59kq8scxhn9afqgmksk45n53gawylqm8gw3k0vmljg274xi7vf"))))
|
(commit commit)))
|
||||||
(build-system python-build-system)
|
(file-name (git-file-name name version))
|
||||||
(arguments
|
(sha256
|
||||||
(list #:phases
|
(base32 "03f6nvyzrq50nhqqwmmws983wwjg78yd9j09pl94vkmyjph33da5"))))
|
||||||
#~(modify-phases %standard-phases
|
(build-system python-build-system)
|
||||||
(replace 'check
|
(arguments
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
(list #:phases
|
||||||
(when tests?
|
#~(modify-phases %standard-phases
|
||||||
(invoke "pytest" "-v" "tests/")))))))
|
(replace 'check
|
||||||
(native-inputs
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(list python-pytest python-pytest-benchmark))
|
(when tests?
|
||||||
(propagated-inputs
|
(invoke "pytest" "-v" "tests/")))))))
|
||||||
(list python-arrow
|
(native-inputs
|
||||||
python-cloudpickle
|
(list python-pytest
|
||||||
python-lz4
|
python-pytest-benchmark))
|
||||||
python-numpy
|
(propagated-inputs
|
||||||
python-ruamel.yaml))
|
(list python-arrow
|
||||||
(home-page "https://construct.readthedocs.io")
|
python-cloudpickle
|
||||||
(synopsis "Declarative and symmetrical parser and builder for binary data")
|
python-cryptography
|
||||||
(description
|
python-lz4
|
||||||
"This package provides both simple, atomic constructs (such as
|
python-numpy
|
||||||
|
python-ruamel.yaml))
|
||||||
|
(home-page "https://construct.readthedocs.io")
|
||||||
|
(synopsis "Declarative and symmetrical parser and builder for binary data")
|
||||||
|
(description
|
||||||
|
"This package provides both simple, atomic constructs (such as
|
||||||
integers of various sizes), as well as composite ones which allow you
|
integers of various sizes), as well as composite ones which allow you
|
||||||
form hierarchical and sequential structures of increasing complexity.
|
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue