guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 1ebe34cd17af9ff80e911708098785122bd98945
Author: Nicolas Graves <[email protected]>
AuthorDate: Sun Oct 26 10:46:52 2025 +0100
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 <[email protected]>
---
gnu/packages/python-xyz.scm | 19 ++++++++++++++++---
1 file changed, 16 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0d9f1fd7e9..0fc2af65c3 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