~ruther/guix-local

764fa7f91bf986d72ed37c057ca90b33404ad39d — Sharlatan Hellseher 4 months ago 43d37ed
gnu: python-cwcwidth: Update to 0.1.10.

* gnu/packages/python-xyz.scm (python-cwcwidth): Update to 0.1.10.
[arguments] <phases>: Remove 'build-extensions; add
'remove-local-cwcwidth.
[native-inputs]: Remove python-toml and python-wheel.

Change-Id: I2718edd693580196ad4b0d09483ca4a3cf387fcd
1 files changed, 7 insertions(+), 7 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +7 -7
@@ 33393,28 33393,28 @@ Generalized Mark-up Language}.")
(define-public python-cwcwidth
  (package
    (name "python-cwcwidth")
    (version "0.1.9")
    (version "0.1.10")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "cwcwidth" version))
       (sha256
        (base32 "1f3nvc4f2icg0c285bl6l4ak9km8pj9nxjb4s2n8qjld2jh137gi"))))
        (base32 "0951lwciwslnzcvfvnk9daiiwh00q15qbcmjw5xi1x61f87pcs3l"))))
    (build-system pyproject-build-system)
    (arguments
     (list
      #:phases
      #~(modify-phases %standard-phases
          (add-before 'check 'build-extensions
          (add-before 'check 'remove-local-cwcwidth
            (lambda _
              (invoke "python" "setup.py" "build_ext" "--inplace"))))))
              ;; This would otherwise interfere with finding the installed
              ;; cwcwidth when running tests.
              (delete-file-recursively "cwcwidth"))))))
    (native-inputs
     (list python-cython
           python-pytest
           python-setuptools
           python-setuptools-scm
           python-toml
           python-wheel))
           python-setuptools-scm))
    (home-page "https://github.com/sebastinas/cwcwidth")
    (synopsis "Python bindings for wc(s)width")
    (description