mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-29 04:01:28 -06:00
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>
This commit is contained in:
parent
8a45672a9e
commit
da56bde6df
1 changed files with 24 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue