mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-chardet: Update to 4.0.0.
* gnu/packages/python-xyz.scm (python-chardet): Update to 4.0.0. [arguments]: Enable tests. Override check phase. [native-inputs]: Remove PYTHON-HYPOTHESIS and PYTHON-PYTEST-RUNNER.
This commit is contained in:
parent
662d122967
commit
447e438aa6
1 changed files with 7 additions and 6 deletions
|
@ -13070,22 +13070,23 @@ simulation, statistical modeling, machine learning and much more.")
|
||||||
(define-public python-chardet
|
(define-public python-chardet
|
||||||
(package
|
(package
|
||||||
(name "python-chardet")
|
(name "python-chardet")
|
||||||
(version "3.0.4")
|
(version "4.0.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "chardet" version))
|
(uri (pypi-uri "chardet" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1bpalpia6r5x1kknbk11p1fzph56fmmnp405ds8icksd3knr5aw4"))))
|
"1ykr04qyhgpc0h5b7dhqw4g92b1xv7ki2ky910mhy4mlbnhm6vqd"))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-hypothesis python-pytest python-pytest-runner))
|
(list python-pytest))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
;; XXX: Incompatible with Pytest 4: <https://github.com/chardet/chardet/issues/173>.
|
|
||||||
(arguments
|
(arguments
|
||||||
(list #:tests? #f
|
(list #:phases
|
||||||
#:phases
|
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
|
(replace 'check
|
||||||
|
(lambda _
|
||||||
|
(invoke "pytest" "-vv")))
|
||||||
;; This package provides a 'chardetect' executable that only
|
;; This package provides a 'chardetect' executable that only
|
||||||
;; depends on Python, so customize the wrap phase to avoid
|
;; depends on Python, so customize the wrap phase to avoid
|
||||||
;; adding pytest and friends in order to save size.
|
;; adding pytest and friends in order to save size.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue