From patchwork Sat Dec 3 05:03:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antero Mejr X-Patchwork-Id: 45023 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id B4FC327BBEC; Sat, 3 Dec 2022 05:05:24 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7BFAC27BBE9 for ; Sat, 3 Dec 2022 05:05:23 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p1KiA-0000ev-0V; Sat, 03 Dec 2022 00:05:14 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p1Ki2-0000ec-Ur for guix-patches@gnu.org; Sat, 03 Dec 2022 00:05:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p1Ki0-00027k-Vi for guix-patches@gnu.org; Sat, 03 Dec 2022 00:05:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p1Khy-0004OR-SX; Sat, 03 Dec 2022 00:05:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59792] [PATCH] gnu: Add python-pynetdicom. Resent-From: Antero Mejr Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, guix-patches@gnu.org Resent-Date: Sat, 03 Dec 2022 05:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59792 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59792@debbugs.gnu.org Cc: Antero Mejr , lars@6xq.net X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: lars@6xq.net Received: via spool by submit@debbugs.gnu.org id=B.167004387616875 (code B ref -1); Sat, 03 Dec 2022 05:05:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Dec 2022 05:04:36 +0000 Received: from localhost ([127.0.0.1]:50950 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p1KhX-0004O7-DO for submit@debbugs.gnu.org; Sat, 03 Dec 2022 00:04:35 -0500 Received: from lists.gnu.org ([209.51.188.17]:34338) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p1KhR-0004O0-T0 for submit@debbugs.gnu.org; Sat, 03 Dec 2022 00:04:33 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p1KhR-0000c9-GU for guix-patches@gnu.org; Sat, 03 Dec 2022 00:04:29 -0500 Received: from mout-p-103.mailbox.org ([80.241.56.161]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1p1KhP-0001tc-DU for guix-patches@gnu.org; Sat, 03 Dec 2022 00:04:29 -0500 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:b231:465::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4NPHly3Kz2z9sQT for ; Sat, 3 Dec 2022 06:04:14 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1670043854; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=SvikJzg9UG+4Rm4yMM5giuGrNB7KFHzhRqpQOStGGbY=; b=PmxSUF/z/86SveF2f5j+mr6u+4IXyqwYCmIPfYkqAl3gNQabQ2d+XhqYHCIwLXKk5WPU4o d9wITkQRp96GGGadVlblCHtbaL4LeUrNbWsd0TglspJ96ub9Ry+O4NVuOyplGf81e0A8T6 17ZZVaOpasLvooapOiAkVO92I3QR+69d6ORPAmab9xH6PvMsGxTmDNZeRlkgmzU+JSTUe1 6jM41iw0qe1tWz3tq/AmUetiWrLu+Qz2RLEB7Enei4DbSWWUWFjKpSv9i9RG1f+vq/Hba/ CazInIENKe83uhjovn7WpIdG86Cn1Erc5S2qyEhBIIYubdBWCW4uegDIEWJm2Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1670043850; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=SvikJzg9UG+4Rm4yMM5giuGrNB7KFHzhRqpQOStGGbY=; b=NNR3dswd4D6AGmeHwBy7hoN6ZFLfatt4md0J5aiQPjdakNH8j+JPbGas0XswGPIo1xsOoi PCtGLxVSi8F7RPWKZeGcAvGSiKQbFVxQGf7eKoyeSWklm13vNjNS/imYxKiSPyRZIkrRvU 2YN1IKzsgdzUheEIfsi89E3Vej6t51IWHgwT+UcbuzW9v9xB/cZZjzSbbdm8byacy6El6f Oz2rsRAx/IVrXqSVQtHkYn44T84YmbTPHUuXuO+02gMiSIWCcGNs6sAXrmsIQbPstSen48 jQf052p/S5PXchC4UH4vEJcYSCYinjimAH/f5Xt4EEZPGgyDj0ZBpm0LTXYpqA== Date: Sat, 3 Dec 2022 05:03:57 +0000 Message-Id: <20221203050357.30524-1-antero@mailbox.org> MIME-Version: 1.0 X-MBO-RS-META: zwwj7cty1o5g3hoao6pnxr8nkd8uegnf X-MBO-RS-ID: d5b4acafd7f9c8265cb X-Rspamd-Queue-Id: 4NPHly3Kz2z9sQT Received-SPF: pass client-ip=80.241.56.161; envelope-from=antero@mailbox.org; helo=mout-p-103.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Antero Mejr X-ACL-Warn: , Antero Mejr via Guix-patches X-Patchwork-Original-From: Antero Mejr via Guix-patches via From: Antero Mejr Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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