diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-08-14 10:44:35 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-08-16 00:25:48 +0100 |
| commit | 8cdd561e784f129dcabc616e2c314b105af992d7 (patch) | |
| tree | eb4a8588312cbed91dd202bf28ed9ea560555dd0 /gnu | |
| parent | ea4db17a0fc3f3931a053bd792d6f1505a912d26 (diff) | |
gnu: python-scripttest: Update to 2.0.
* gnu/packages/check.scm (python-scripttest): Update to 2.0.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]: Remove them, enable tests.
[native-inputs]: Add python-setuptools, python-wheel.
[description]: Improve style.
Change-Id: I3286f48992799a94ddfcf565f7472261f8f8cade
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/check.scm | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 981773b1714..9272c1dfc18 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -2237,26 +2237,24 @@ side-effects (such as setting environment variables).") (define-public python-scripttest (package (name "python-scripttest") - (version "1.3") + (version "2.0") (source (origin - (method url-fetch) - (uri (pypi-uri "scripttest" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/pypa/scripttest") + (commit version))) + (file-name (git-file-name name version)) (sha256 - (base32 - "0f4w84k8ck82syys7yg9maz93mqzc8p5ymis941x034v44jzq74m")))) - (build-system python-build-system) - (native-inputs - (list python-pytest)) - (arguments - ;; Tests not shipped with PyPI archive, and require TLS CA cert. - (list #:tests? #f)) - (home-page (string-append "https://web.archive.org/web/20161029233413/" - "http://pythonpaste.org/scripttest/")) + (base32 "07cyrh4yp8497radz8cx7la2p8yr78r77xm62hh77hcs1migznaf")))) + (build-system pyproject-build-system) + (native-inputs (list python-pytest python-setuptools python-wheel)) + (home-page "https://github.com/pypa/scripttest") (synopsis "Python library to test command-line scripts") - (description "Scripttest is a Python helper library for testing -interactive command-line applications. With it you can run a script in a -subprocess and see the output as well as any file modifications.") + (description + "Scripttest is a Python helper library for testing interactive +command-line applications. With it you can run a script in a subprocess and +see the output as well as any file modifications.") (license license:expat))) (define-public python-testtools-bootstrap |
