mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-23 10:40:31 +02:00
gnu: python-charset-normalizer-3: Update to 3.4.2.
* gnu/packages/python-xyz.scm (python-charset-normalizer-3): Update to 3.4.2. [build-system]: Use pyproject-build-system. [arguments] <phases>: Add 'fix-scripts. [native-inputs]: Add python-setuptools and python-wheel. Change-Id: I32c89a63c3fd1aaf3c323d4986808b7860c2d999 Co-authored-by: Sharlatan Hellseher <sharlatanus@gmail.com> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
committed by
Sharlatan Hellseher
parent
36dc401bbd
commit
437809ffe2
@@ -7569,7 +7569,7 @@ e.g. filters, callbacks and errbacks can all be promises.")
|
||||
"not test_seed_link_via_app_data"
|
||||
;; AssertionError: assert 'python' in ['python3',
|
||||
;; 'python3.11'].
|
||||
;;
|
||||
;;
|
||||
;; PythonInfo() returns: 'system_executable':
|
||||
;; '/gnu/store/...-python-wrapper-3.11.11/bin/python'
|
||||
"test_fallback_existent_system_executable")
|
||||
@@ -19515,13 +19515,31 @@ library provides codecs are supported.")
|
||||
(package
|
||||
(inherit python-charset-normalizer)
|
||||
(name "python-charset-normalizer")
|
||||
(version "3.3.2")
|
||||
(version "3.4.2")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "charset-normalizer" version))
|
||||
(uri (pypi-uri "charset_normalizer" version))
|
||||
(sha256
|
||||
(base32 "1m9g0f513ng4dp2vd3smi4g2nmhqkjqh3bzcza14li947frkq37k"))))))
|
||||
(base32 "0qqfk84ka3d9hh0yf7n8y0qa0yn08ncdacjjckzix8ybkv5cxbjv"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments
|
||||
python-charset-normalizer)
|
||||
((#:phases phases
|
||||
'%standard-phases)
|
||||
#~(modify-phases #$phases
|
||||
;; https://github.com/jawah/charset_normalizer/issues/625
|
||||
;; https://github.com/jawah/charset_normalizer/pull/626
|
||||
(add-after 'unpack 'fix-scripts
|
||||
(lambda _
|
||||
(substitute* "pyproject.toml"
|
||||
(("charset_normalizer:cli.cli_detect")
|
||||
"charset_normalizer.cli:cli_detect"))))))))
|
||||
(native-inputs
|
||||
(list python-pytest
|
||||
python-setuptools
|
||||
python-wheel))))
|
||||
|
||||
(define-public python-docopt
|
||||
(package
|
||||
|
||||
Reference in New Issue
Block a user