Subject: bug#59792: closed ([PATCH] gnu: Add python-pynetdicom.)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 24 Jan 2024 00:20:02 +0000

Your bug report

#59792: [PATCH] gnu: Add python-pynetdicom.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
59792: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59792
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: [PATCH] gnu: Add python-pynetdicom.
From: Sharlatan Hellseher <[email-masked]>
To: [email-masked]
Date: Wed, 24 Jan 2024 00:18:33 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

I've fixed merge conflicts and sort package approximately alphabetically
apply python-pynetdicom and Maxim's suggestions in separate commits.

- python-pydicom was added already
  - issue :: https://issues.guix.gnu.org/55989
  - commit :: e24b9b42bc9a78bc63e6824e74fc6850e8a90490

The patch adding python-pynetdicom pushed as
e71abbc6438f2b25f0d41221fadf695dfe094689 to master.

Thanks,
Oleg

Subject: [PATCH] gnu: Add python-pynetdicom.
From: Antero Mejr <[email-masked]>
To: [email-masked]
Cc: Antero Mejr <[email-masked]>
Date: Sat, 3 Dec 2022 05:03:57 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/python-science.scm (python-pynetdicom): New variable.
---
 gnu/packages/python-science.scm | 41 +++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 00bba25a4a..d45bcd9bca 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -1702,6 +1702,47 @@ (define-public python-pydicom
 in a pythonic way.")
     (license license:expat)))
 
+(define-public python-pynetdicom
+  (package
+    (name "python-pynetdicom")
+    (version "2.0.2")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "pynetdicom" version))
+              (sha256
+               (base32
+                "0farmgviaarb3f4xn751card3v0lza57vwgl5azxxq65p7li44i3"))))
+    (build-system python-build-system)
+    (arguments
+     (list  #:phases #~(modify-phases %standard-phases
+                         (replace 'check
+                           (lambda* (#:key tests? #:allow-other-keys)
+                             (when tests?
+                               (invoke "pytest" "-vv" "-k"
+                                       ;; network tests, 2977/3283 pass
+                                       (string-append
+                                        " not TestFindSCP"
+                                        " and not TestQRGetServiceClass"
+                                        " and not TestQRMoveServiceClass"
+                                        " and not TestStoreSCP"
+                                        " and not test_ae.py"
+                                        " and not test_echoscp.py"
+                                        " and not test_qrscp_echo.py"
+                                        " and not test_storescp.py"
+                                        " and not test_pr_level_patient"
+                                        " and not test_pr_level_series"
+                                        " and not test_scp_cancelled"))))))))
+    (native-inputs (list python-pyfakefs python-pytest))
+    (propagated-inputs (list python-pydicom python-sqlalchemy))
+    (home-page "https://github.com/pydicom/pynetdicom")
+    (synopsis "Python implementation of the DICOM networking protocol")
+    (description
+     "@code{pynetdicom} is a Python package that implements the DICOM
+networking protocol.  Working with @code{pydicom}, it allows the easy creation
+of DICOM @acronym{SCUs,Service Class Users} and
+@acronym{SCPs,Service Class Providers}.")
+    (license license:expat)))
+
 ;;;
 ;;; Avoid adding new packages to the end of this file. To reduce the chances
 ;;; of a merge conflict, place them above by existing packages with similar
-- 
2.38.1