mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-charset-normalizer-3: Set to python-charset-normalizer.
* gnu/packages/python-xyz.scm (python-charset-normalizer-3): Set to python-charset-normalizer. Change-Id: I15b2aba11e2892f011095703575c76b463c2f576
This commit is contained in:
parent
e5268457c9
commit
20a9708b5a
1 changed files with 1 additions and 29 deletions
|
@ -19766,35 +19766,7 @@ taking a new approach. All IANA character set names for which the Python core
|
|||
library provides codecs are supported.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public python-charset-normalizer-3
|
||||
(package
|
||||
(inherit python-charset-normalizer)
|
||||
(name "python-charset-normalizer")
|
||||
(version "3.4.2")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "charset_normalizer" version))
|
||||
(sha256
|
||||
(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-charset-normalizer-3 python-charset-normalizer)
|
||||
|
||||
(define-public python-docopt
|
||||
(package
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue