diff options
author | Nicolas Graves <ngraves@ngraves.fr> | 2025-07-22 18:45:44 +0200 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-25 11:32:15 +0100 |
commit | f4c97c7cc2b645344c83202e6a6201fd9561d178 (patch) | |
tree | 8864ec09e06428716d22f1c830a89a3664f9a723 /gnu/packages/python-xyz.scm | |
parent | 510439430ee08f32938221f6563a1f62f6714f25 (diff) |
gnu: python-bitstring: Update to 4.3.1.
* gnu/packages/python-xyz.scm (python-bitstring): Update to 4.3.1.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:phases>: Remove them.
<#:test-flags>: Ignore benchmarks.
[native-inputs]: Add python-gfloat, python-setuptools, python-wheel.
[propagated-inputs]: Add python-bitarray.
Change-Id: I9f23ac39a2304edecbb55522b2cb82b4621bff8b
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r-- | gnu/packages/python-xyz.scm | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index adc60fb018..467a064583 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -35198,27 +35198,21 @@ has been created, and the visibility of the icon can be toggled.") (define-public python-bitstring (package (name "python-bitstring") - (version "3.1.7") + (version "4.3.1") (source (origin (method url-fetch) (uri (pypi-uri "bitstring" version)) (sha256 - (base32 - "0jl6192dwrlm5ybkbh7ywmyaymrc3cmz9y07nm7qdli9n9rfpwzx")))) - (build-system python-build-system) + (base32 "0nm9l77sgyqai8ggnm6j9yvc473g0l8icaj11x66s8ap72fw12x0")))) + (build-system pyproject-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? inputs outputs #:allow-other-keys) - (when tests? - (add-installed-pythonpath inputs outputs) - (with-directory-excursion "test" - (invoke "pytest"))) - #t))))) + (list + #:test-flags #~(list "--ignore=tests/test_benchmarks.py"))) (native-inputs - (list python-pytest)) + (list python-gfloat python-pytest python-setuptools python-wheel)) + (propagated-inputs + (list python-bitarray)) (home-page "https://github.com/scott-griffiths/bitstring") (synopsis "Simple construction, analysis and modification of binary data") |