summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-08-05 19:01:03 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-25 09:35:55 +0100
commitf62318a6d35210d28e44586099f6db611333fbe4 (patch)
treee5648a1b847c71baaca4977a519a8f8ce6f75bb7
parenta0944caf66d4db05856f21d27445454d2116e681 (diff)
gnu: python-cchardet: Fix tests.
* gnu/packages/freedesktop.scm (python-cchardet) [arguments] <test-flags>: Deselect tests requiring test data file. [native-inputs]: Remove python-wheel; add python-pytest. Change-Id: I6e506740c45ffc802d3a85a2d9edb6d53423055f
-rw-r--r--gnu/packages/freedesktop.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index f8fb056454..1eb3bd9b3d 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -2896,10 +2896,16 @@ encoding names are iconv-compatible.")
(sha256
(base32 "08wq5yfaafbjipabfc6kpyvivkk2394w7isv0mwx5agcf8cbnwnx"))))
(build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ ;; No test data in PyPI archive:
+ ;; '<...>/tests/samples/wikipediaJa_One_Thousand_and_One_Nights_SJIS.txt'
+ #~(list "--deselect=tests/test_1.py::TestCChardet::test_detector")))
(inputs
(list uchardet))
(native-inputs
- (list python-setuptools python-wheel))
+ (list python-pytest python-setuptools))
(home-page "https://github.com/PyYoshi/cChardet")
(synopsis "High-performance character encoding detection for Python")
(description