diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-10-18 14:39:33 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-18 23:40:38 +0100 |
| commit | da56bde6df486477c10389a98a00251d457bc7db (patch) | |
| tree | abaa5d1915bfc1368d95caf36699f6188f92796f | |
| parent | 8a45672a9e03211d6fd11a38b79b357bd7863dfa (diff) | |
gnu: python-q: Update to 2.7-0.cbad740.
* gnu/packages/python-xyz.scm (python-q): Update to 2.7-0.cbad740.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]: Run tests with the help of <#:test-backend, #:test-flags, #:phases>.
[native-inputs]: Add python-setuptools.
Change-Id: I9da12c1c266a0c68d06dbad4d8f61e2658c4ad53
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
| -rw-r--r-- | gnu/packages/python-xyz.scm | 30 |
1 files changed, 24 insertions, 6 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b5680bef041..c7f6c3d9df2 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15984,15 +15984,33 @@ as possible in order to be comprehensible and easily extensible.") (define-public python-q (package (name "python-q") - (version "2.6") + (properties '((commit . "cbad74095e20017f33d3ab75aa8375aa046ee697") + (revision . "0"))) + (version (git-version "2.7" + (assoc-ref properties 'revision) + (assoc-ref properties 'commit))) (source (origin - (method url-fetch) - (uri (pypi-uri "q" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/zestyping/q") + (commit (assoc-ref properties 'commit)))) + (file-name (git-file-name name version)) (sha256 - (base32 - "1mgfazh8fkizh6walra2zv885f3lcgr3nb02v1frfm4p8ddcy3yy")))) - (build-system python-build-system) + (base32 "17bzi4xma4313waxanz5lly0cf0k6h33qrpy24sra2frh7gp0j0j")))) + (build-system pyproject-build-system) + (arguments + (list + ;; Deduced from the makefile. + #:test-backend #~'custom + #:test-flags #~(list "test/test_basic.py") + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'configure-tests + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (setenv "TMPDIR" "/tmp"))))))) + (native-inputs (list python-setuptools)) (home-page "https://github.com/zestyping/q") (synopsis "Quick-and-dirty debugging output for tired programmers") (description |
