From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id yKKYKTnaimM1dQEAbAwnHQ (envelope-from ) for ; Sat, 03 Dec 2022 06:10:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id IP+oKDnaimOFTgEAG6o9tA (envelope-from ) for ; Sat, 03 Dec 2022 06:10:17 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5F3C72FF72 for ; Sat, 3 Dec 2022 06:10:17 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p1Kmq-000147-GD; Sat, 03 Dec 2022 00:10:04 -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 1p1Kmp-00013y-1t for guix-patches@gnu.org; Sat, 03 Dec 2022 00:10:03 -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 1p1Kmo-0004YQ-PR for guix-patches@gnu.org; Sat, 03 Dec 2022 00:10:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p1Kmn-0004RO-N9; Sat, 03 Dec 2022 00:10:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59792] [PATCH] gnu: Add python-pydicom. References: <20221203050357.30524-1-antero@mailbox.org> In-Reply-To: <20221203050357.30524-1-antero@mailbox.org> Resent-From: Antero Mejr Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, guix-patches@gnu.org Resent-Date: Sat, 03 Dec 2022 05:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 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-Xcc: lars@6xq.net Received: via spool by 59792-submit@debbugs.gnu.org id=B59792.167004414517057 (code B ref 59792); Sat, 03 Dec 2022 05:10:01 +0000 Received: (at 59792) by debbugs.gnu.org; 3 Dec 2022 05:09:05 +0000 Received: from localhost ([127.0.0.1]:50986 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p1Klq-0004R3-5z for submit@debbugs.gnu.org; Sat, 03 Dec 2022 00:09:05 -0500 Received: from mout-p-201.mailbox.org ([80.241.56.171]:57528) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p1Klm-0004Qf-4y for 59792@debbugs.gnu.org; Sat, 03 Dec 2022 00:08:59 -0500 Received: from smtp202.mailbox.org (smtp202.mailbox.org [10.196.197.202]) (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-201.mailbox.org (Postfix) with ESMTPS id 4NPHsD0YKbz9sV8 for <59792@debbugs.gnu.org>; Sat, 3 Dec 2022 06:08:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1670044128; 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=MQUdDSd86xu1QC+yiGB5pOkUfHegCMaBkWNDF8ZTm58=; b=NLCxaI6v6O6TI0Eqi1bfUPoX+LnjqGNh7+yC3gVHXX65ROE4lT4wKhtqy3QbAQ2PvfsNnF 6jVVIRwL0tY3VIsLs445ceIG2XddQtZQ9Ev/TRR3QncE0rip0smJ8jYr2yVjngKv88M7zU qncPXjTknN7vJZh2h16l+9BYGfmpi1zCMHBKv9BKbL1DhPtJJqRr5GEbz4nBtD3D8QNCtB H67q42+GPTvi1Ht4wfzbx9Oiet7lOFmd06jNEq1E+7p4pWQmhnaxNrua2ufldD8Zkero33 mzDu/JcIjw0zlShcIudnknbyClcl1bUWX12NjLSjDQlNIuPCFSxSMUmKW1oRdg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1670044123; 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=MQUdDSd86xu1QC+yiGB5pOkUfHegCMaBkWNDF8ZTm58=; b=K/APhNXFuk5dnODccUjzPHU0PJ5IQ32dRUyk7AIhY5tIimpLSo+8YNoILZDpIKL6tFj8BW JKrWsWyToQAc4AgJyaWO/bDEEmVI+YW8/liCWQ0e5gGvmoMM/Bj/R0Zd7kpvXgNNYyZiqZ m2j5NcJaXFpK/HV7ICTrHmUG5EI0iX9nRjapR91v42WXkTTYQS08LbRJdJKKb/GjtOc035 HedrWO18I4RTlQ2Lf0omGG4KkeYyfHflLdyE4KypeIHpPThzPZ5D8tEQa2Iwq+hbNXv3Gv Hod7oSjpw5/ntzfFTLOg8XFcTrdUyjnJ1+fP7Ths9kh349FSJL38DLTT4VjX1g== Date: Sat, 3 Dec 2022 05:08:29 +0000 Message-Id: <20221203050829.30666-1-antero@mailbox.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-MBO-RS-META: 3figtoczm3ofmoptnj4i58rna33dzhw8 X-MBO-RS-ID: 10e1445904a41fe177e 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 From: Antero Mejr via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1670044217; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=MQUdDSd86xu1QC+yiGB5pOkUfHegCMaBkWNDF8ZTm58=; b=GzbesGD2V356+qEYddLM92OtB8UIJvs/mNbCIZWMnao/JsrWohzVXdeqwa04IhDZoGxYGX s24rxRIjXXoud23lI9RwGrfdy7EWwOLf+BTJVKhNDvThv1ROU0G3b5URwvneBGM49X4I3p zOiz7QtHgJ3UXrF3sl3GjU0RHu2bviaO9J8hJxuvOD9esO1HNqpXfW/lqZnsEBI4k3G9uQ Rxhdxj60y456fviiZwy6zZwwV58p+XvjH3mKIib2Mba43ekHzY93svoEGSeKaNGNp2nGx4 pexn4NToVElOF8qWPB73tHz0fHNIv1ffFoZFvTYkGjqIIbVNx8vK3bcpms30uw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670044217; a=rsa-sha256; cv=none; b=Qj3LCK7bbv5RAiatzCEz98+GFXhRb7WtJud63vo30kBwb1OoRuGtDV/l8C7RFSlnZig0GR B/HWRw/zvq1pY5og7KQz+/RjEkMob8ewdUhwLFj7nQs1afrUgKe3GCZWjnGVCzYC+/VhUP pqjdKmt7Sg9L/xkR1TSJzYVdQmc/2gfnSyMchXfczYNgoDqI21HkEY04zQIxjj4+5mLoqq i1y3Y6HW5b49klIUsQre5gMVqlLxbgW61sWRnppSmUKCkWT5ElJQwKsUQyl2lnwlk19OZL v5W+4FcABOQ0xFPBOSgzPWuUbXCg4XgmpuQFExxRW2DIgGSk2ua+Umml4WX9iQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=NLCxaI6v; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b="K/APhNXF"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.36 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=NLCxaI6v; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b="K/APhNXF"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 5F3C72FF72 X-Spam-Score: -2.36 X-Migadu-Scanner: scn0.migadu.com X-TUID: cmnFm6y5CAjL * gnu/packages/python-science.scm (python-pydicom): New variable. --- Please apply this patch first. Supersedes #55989. gnu/packages/python-science.scm | 46 +++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 52fe1460bb..00bba25a4a 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -1656,6 +1656,52 @@ (define-public python-vaex-core tabular datasets. This package provides the core modules of Vaex.") (license license:expat))) +(define-public python-pydicom + (package + (name "python-pydicom") + (version "2.3.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/pydicom/pydicom") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0q209i2jgwv5z1xhi7frydkplby7jaiz624pjq6vi51wvlmimpf6")))) + (build-system python-build-system) + (arguments + (list #:phases #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + ;; skip tests using external data + (invoke "pytest" "-vv" "-k" + (string-append + " not TestDataElement" + " and not TestDatasetOverlayArray" + " and not TestReader" + " and not Test_JPEG_LS_Lossless_transfer_syntax" + " and not test_data_manager.py" + " and not test_encaps.py" + " and not test_encoders_pydicom.py" + " and not test_filewriter.py" + " and not test_gdcm_pixel_data.py" + " and not test_handler_util.py" + " and not test_jpeg_ls_pixel_data.py" + " and not test_numpy_pixel_data.py" + " and not test_overlay_np.py" + " and not test_pillow_pixel_data.py" + " and not test_rle_pixel_data.py")))))))) + (native-inputs (list python-pytest)) + (propagated-inputs (list python-numpy python-pillow)) + (home-page "https://github.com/pydicom/pydicom") + (synopsis "Python library for reading and writing DICOM data") + (description "@code{pydicom} is a Python library for reading and writing +DICOM medical image files. It lets developers read, modify and write DICOM data +in a pythonic way.") + (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