summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-03-24 12:22:58 +0000
committerAndreas Enge <andreas@enge.fr>2025-04-16 11:46:20 +0200
commit2999dea81b7db5c8a92ed2c87b517b31fbe03d2a (patch)
treec160d550356c0d35d3134bb3d692a04212716be5 /gnu/packages/python-xyz.scm
parent5101eb697eb222524eb19ef838b268343f761f77 (diff)
gnu: python-asn1tools: Update to 0.167.0 and fix build.
* gnu/packages/python-xyz.scm (python-asn1tools): Update to 0.167.0, fix build. [build-system]: Swap to pyproject-build-system. [arguments] <test-flags>: Skip 7 failing tests. [native-inputs]: Add python-pytest, python-setuptools, and python-wheel. Change-Id: I36d12d9bfe2fd6d62a75dd0d30de42a782c4a746
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm29
1 files changed, 25 insertions, 4 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 63c9dbd161..75b32e5f5e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -18255,16 +18255,37 @@ implementations of ASN.1-based codecs and protocols.")
(define-public python-asn1tools
(package
(name "python-asn1tools")
- (version "0.166.0")
+ (version "0.167.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "asn1tools" version))
(sha256
- (base32 "1hragm8dsm10rlyz67xslj01bycprlnimdmq1i2acns6kl6difpn"))))
- (build-system python-build-system)
+ (base32 "1cpm6m3znagc553bc5l0rhwg2fccrl0k8m1pbvn6x2kqdmpkzmfa"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ #~(list "-k" (string-join
+ ;; Tests fail with error: IndexError: string index out of
+ ;; range. It may be some incompatability wit pyparsing,
+ ;; see <https://github.com/eerimoq/asn1tools/issues/167>.
+ (list "not test_c_source"
+ "test_command_line_generate_c_source_oer"
+ "test_command_line_generate_c_source_uper"
+ "test_command_line_generate_rust_source_uper"
+ "test_missing_parameterized_value"
+ "test_c_source"
+ "test_parse_parameterization")
+ " and not "))))
+ (native-inputs
+ (list python-pytest
+ python-setuptools
+ python-wheel))
(propagated-inputs
- (list python-bitstruct python-diskcache python-prompt-toolkit
+ (list python-bitstruct
+ python-diskcache
+ python-prompt-toolkit
python-pyparsing))
(home-page "https://github.com/eerimoq/asn1tools")
(synopsis "ASN.1 parsing, encoding and decoding")