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
This commit is contained in:
Sharlatan Hellseher 2025-08-05 19:01:03 +01:00
parent a0944caf66
commit f62318a6d3
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -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