summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-10-26 10:46:52 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-29 00:29:50 +0000
commit1ebe34cd17af9ff80e911708098785122bd98945 (patch)
tree66c94708e975aa374dfd5c7b671a8ac73283d6c1 /gnu/packages/python-xyz.scm
parentfc4001dc7113f8388163440b18f664bba5807abd (diff)
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>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm19
1 files changed, 16 insertions, 3 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0d9f1fd7e95..0fc2af65c3f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -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