mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-01 07:16:39 +01:00
gnu: python-pynetdicom: Simplify package style.
* gnu/package/python-science.scm (python-pynetdicom)[build-system]: Swap to pyproject-build-system. [description]: Simplify wording, indent. Change-Id: If4e80d06edb0080685d0695f30abc2f9db669f45
This commit is contained in:
parent
e71abbc643
commit
5a616cc14b
1 changed files with 20 additions and 22 deletions
|
@ -2400,35 +2400,33 @@ (define-public python-pynetdicom
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0farmgviaarb3f4xn751card3v0lza57vwgl5azxxq65p7li44i3"))))
|
"0farmgviaarb3f4xn751card3v0lza57vwgl5azxxq65p7li44i3"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:phases #~(modify-phases %standard-phases
|
(list
|
||||||
(replace 'check
|
#:test-flags
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
;; Tests takes about 10-15min to complete.
|
||||||
(when tests?
|
;; Skip tests that require networking.
|
||||||
(invoke "pytest" "-vv" "-k"
|
#~(list "-k" (string-append
|
||||||
;; network tests, 2977/3283 pass
|
" not TestFindSCP"
|
||||||
(string-append
|
" and not TestQRGetServiceClass"
|
||||||
" not TestFindSCP"
|
" and not TestQRMoveServiceClass"
|
||||||
" and not TestQRGetServiceClass"
|
" and not TestStoreSCP"
|
||||||
" and not TestQRMoveServiceClass"
|
" and not test_ae.py"
|
||||||
" and not TestStoreSCP"
|
" and not test_echoscp.py"
|
||||||
" and not test_ae.py"
|
" and not test_qrscp_echo.py"
|
||||||
" and not test_echoscp.py"
|
" and not test_storescp.py"
|
||||||
" and not test_qrscp_echo.py"
|
" and not test_pr_level_patient"
|
||||||
" and not test_storescp.py"
|
" and not test_pr_level_series"
|
||||||
" and not test_pr_level_patient"
|
" and not test_scp_cancelled"))))
|
||||||
" and not test_pr_level_series"
|
|
||||||
" and not test_scp_cancelled"))))))))
|
|
||||||
(native-inputs (list python-pyfakefs python-pytest))
|
(native-inputs (list python-pyfakefs python-pytest))
|
||||||
(propagated-inputs (list python-pydicom python-sqlalchemy))
|
(propagated-inputs (list python-pydicom python-sqlalchemy))
|
||||||
(home-page "https://github.com/pydicom/pynetdicom")
|
(home-page "https://github.com/pydicom/pynetdicom")
|
||||||
(synopsis "Python implementation of the DICOM networking protocol")
|
(synopsis "Python implementation of the DICOM networking protocol")
|
||||||
(description
|
(description
|
||||||
"@code{pynetdicom} is a Python package that implements the DICOM
|
"@code{pynetdicom} is a Python package that implements the DICOM
|
||||||
networking protocol. Working with @code{pydicom}, it allows the easy creation
|
networking protocol. It allows the easy creation of DICOM
|
||||||
of DICOM @acronym{SCUs,Service Class Users} and
|
@acronym{SCUs,Service Class Users} and @acronym{SCPs,Service Class
|
||||||
@acronym{SCPs,Service Class Providers}.")
|
Providers}.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public python-libneuroml
|
(define-public python-libneuroml
|
||||||
|
|
Loading…
Reference in a new issue