mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: python-bz2file: Disable tests.
* gnu/packages/python.scm (python-bz2file)[arguments]: Disable tests. (python2-bz2file)[arguments]: New field.
This commit is contained in:
parent
12b63ab505
commit
124df723a0
1 changed files with 10 additions and 7 deletions
|
@ -8836,12 +8836,7 @@ (define-public python-bz2file
|
|||
"126s53fkpx04f33a829yqqk8fj4png3qwg4m66cvlmhmwc8zihb4"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
;; python setup.py test does not work as of 0.98
|
||||
;; but there is only the one test file
|
||||
(replace 'check
|
||||
(lambda _ (zero? (system* "python" "test_bz2file.py")))))))
|
||||
`(#:tests? #f)) ; Tests use deprecated python modules.
|
||||
(home-page "https://github.com/nvawda/bz2file")
|
||||
(synopsis "Read and write bzip2-compressed files")
|
||||
(description
|
||||
|
@ -8858,7 +8853,15 @@ (define-public python2-bz2file
|
|||
(package
|
||||
(inherit base)
|
||||
(native-inputs
|
||||
`(("python2-setuptools" ,python2-setuptools))))))
|
||||
`(("python2-setuptools" ,python2-setuptools)))
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
;; 'python setup.py test' does not work as of 0.98.
|
||||
;; There is only the one test file, so we run it directly.
|
||||
(replace 'check
|
||||
(lambda _ (zero? (system* "python"
|
||||
"test_bz2file.py"))))))))))
|
||||
|
||||
(define-public python-cysignals
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue