mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-safety: Improve style.
* gnu/packages/python-xyz.scm (python-safety): Run guix style. Change-Id: I711eee17b0681c65c9044231c16673cd3e48bf4d
This commit is contained in:
parent
4425422cb0
commit
622e08e00e
1 changed files with 17 additions and 18 deletions
|
@ -34367,29 +34367,28 @@ facility for filtering those results.")
|
|||
(name "python-safety")
|
||||
(version "1.9.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "safety" version))
|
||||
(sha256
|
||||
(base32
|
||||
"1j801xsxfzavjbzhhc934awvnk1b7jc0qsw3jp3ys0241mlj1gr3"))))
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "safety" version))
|
||||
(sha256
|
||||
(base32 "1j801xsxfzavjbzhhc934awvnk1b7jc0qsw3jp3ys0241mlj1gr3"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'disable-tests
|
||||
(lambda _
|
||||
(substitute* "tests/test_safety.py"
|
||||
;; requires network
|
||||
(("def test_check_live") "def _test_check_live"))
|
||||
#t)))))
|
||||
(propagated-inputs
|
||||
(list python-click python-dparse python-packaging python-requests))
|
||||
`(#:phases (modify-phases %standard-phases
|
||||
(add-after 'unpack 'disable-tests
|
||||
(lambda _
|
||||
(substitute* "tests/test_safety.py"
|
||||
;; requires network
|
||||
(("def test_check_live")
|
||||
"def _test_check_live")) #t)))))
|
||||
(propagated-inputs (list python-click python-dparse python-packaging
|
||||
python-requests))
|
||||
(home-page "https://github.com/pyupio/safety")
|
||||
(synopsis "Check installed dependencies for known vulnerabilities")
|
||||
(description "Safety checks installed dependencies for known vulnerabilities.
|
||||
(description
|
||||
"Safety checks installed dependencies for known vulnerabilities.
|
||||
By default it uses the open Python vulnerability database Safety DB.")
|
||||
(license license:expat)))
|
||||
(license license:expat)))
|
||||
|
||||
(define-public python-pypandoc
|
||||
(package
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue