~ruther/guix-local

437809ffe269fe8c94d505cc7d5f1b2be6309161 — wrobell 1 year, 10 days ago 36dc401
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>
1 files changed, 22 insertions(+), 4 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +22 -4
@@ 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