gnu: Remove python-shellescape.

* gnu/packages/python-xyz.scm (python-shellescape): Delete variable.

Fixes: guix/guix#5107
Change-Id: I8035154a9efa76e0b7c3fb3297d1bf922224332f
This commit is contained in:
Sharlatan Hellseher 2026-01-24 19:39:10 +00:00
parent 3355c2b9a0
commit 55d3ea032e
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -24853,42 +24853,6 @@ from the archive), or for externally identiyfing sub-resources referenced by
hypermedia formats.")
(license license:asl2.0)))
(define-public python-shellescape
(package
(name "python-shellescape")
(version "3.8.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/chrissimpkins/shellescape")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0wzccxk139qx1lb2g70f5b2yh9zq15nr2mgvqdbfabg5zm0vf1qw"))))
(build-system python-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? inputs outputs #:allow-other-keys)
(when tests?
(add-installed-pythonpath inputs outputs)
(invoke "python" "tests/test_shellescape.py"))
#t)))))
(native-inputs
(list python-pytest))
(home-page "https://github.com/chrissimpkins/shellescape")
(synopsis
"Shell escape a string to safely use it as a token in a shell command")
(description
"The shellescape Python module defines the @code{shellescape.quote()}
function that returns a shell-escaped version of a Python string. This is a
backport of the @code{shlex.quote()} function from Python 3.8 that makes it
accessible to users of Python 3 versions < 3.3 and all Python 2.x versions.")
(license license:expat)))
;; XXX: Project has no updates since 2019, consider to remove when nothing
;; depends on it in the next refresh cycle.
;; See: <https://github.com/pipermerriam/flex/issues/237>.