me
/
guix
Archived
1
0
Fork 0

gnu: cwltool: Update to 3.0.20210319143721.

* gnu/packages/bioinformatics.scm (cwltool): Update to 3.0.20210319143721.
[arguments]: In the loosen-version-restrictions phase, relax pytest version
restriction. In the modify-tests phase, delete file tests/test_content_type.py
since it contains tests that require network access.
master
Arun Isaac 2021-04-14 22:36:58 +05:30
parent 12e210d907
commit 563e4bd884
No known key found for this signature in database
GPG Key ID: 2E25EE8B61802BB3
1 changed files with 6 additions and 4 deletions

View File

@ -2644,7 +2644,7 @@ and record oriented data modeling and the Semantic Web.")
(define-public cwltool (define-public cwltool
(package (package
(name "cwltool") (name "cwltool")
(version "3.0.20201121085451") (version "3.0.20210319143721")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
@ -2653,7 +2653,7 @@ and record oriented data modeling and the Semantic Web.")
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"1awf99n7aglxc5zszrlrv6jxp355jp45ws7wpsgjlgcdv7advn0w")))) "1sgs9ckyxb9f9169mc3wm9lnjg4080ai42xqsrwpw9l8apy4c9m5"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:phases `(#:phases
@ -2661,8 +2661,9 @@ and record oriented data modeling and the Semantic Web.")
(add-after 'unpack 'loosen-version-restrictions (add-after 'unpack 'loosen-version-restrictions
(lambda _ (lambda _
(substitute* "setup.py" (substitute* "setup.py"
(("== 1.5.1") ">=1.5.1") ; prov (("== 1.5.1") ">=1.5.1") ; prov
((", < 3.5") "")) ; shellescape ((", < 3.5") "") ; shellescape
((" >= 6.0.2, < 6.2") "")) ; pytest
#t)) #t))
(add-after 'unpack 'dont-use-git (add-after 'unpack 'dont-use-git
(lambda _ (lambda _
@ -2674,6 +2675,7 @@ and record oriented data modeling and the Semantic Web.")
(add-after 'unpack 'modify-tests (add-after 'unpack 'modify-tests
(lambda _ (lambda _
;; Tries to connect to the internet. ;; Tries to connect to the internet.
(delete-file "tests/test_content_type.py")
(delete-file "tests/test_udocker.py") (delete-file "tests/test_udocker.py")
(delete-file "tests/test_http_input.py") (delete-file "tests/test_http_input.py")
(substitute* "tests/test_load_tool.py" (substitute* "tests/test_load_tool.py"