~ruther/guix-local

1ebe34cd17af9ff80e911708098785122bd98945 — Nicolas Graves 8 months ago fc4001d
gnu: python-gh-md-to-html: Remove python-shellescape input.

* gnu/packages/python-xyz.scm (python-gh-md-to-html)
[arguments]<#:phases>: Add phase 'relax-shellescape-requirement.
[propagated-inputs]: Remove python-shellescape.
[native-inputs]: Remove python-wheel.

Change-Id: I4cfeba99b42287ca6b83b00091ae3431928625ba
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 16 insertions(+), 3 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +16 -3
@@ 3862,15 3862,28 @@ structure or other iterative computation.")
       (sha256
        (base32 "1cnaqnckpcrpc4b8ba18s5ds05w1yfiszcp7ql7pmx0jnrj25qax"))))
    (build-system pyproject-build-system)
    (arguments (list #:tests? #false))  ;there are none
    (arguments
     (list
      #:tests? #false                   ;there are none
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'relax-shellescape-requirement
            (lambda _
              (substitute* "src/__init__.py"
                (("import shellescape")
                 "import shlex")
                (("shellescape\\.quote")
                 "shlex.quote"))
              (substitute* "setup.py"
                (("\"shellescape\",")
                 "")))))))
    (propagated-inputs
     (list python-beautifulsoup4
           python-emoji-for-gh-md-to-html
           python-pillow
           python-requests
           python-shellescape
           python-webcolors))
    (native-inputs (list python-setuptools python-wheel))
    (native-inputs (list python-setuptools))
    (home-page "https://github.com/phseiff/github-flavored-markdown-to-html/")
    (synopsis "Github-flavored Markdown")
    (description