Subject: bug#63277: [PATCH 2/5] gnu: python-conda-package-handling: Update to 2.1.0

From: Hugo Buddelmeijer <[email-masked]>
Date: Mon, 8 May 2023 14:04:38 +0200

* gnu/packages/package-management.scm (python-conda-package-handling): Update to 2.1.0
---
 gnu/packages/package-management.scm | 21 ++++++++-------------
 1 file changed, 8 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm
index 9869dfaacf..1ebc95077b 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -952,7 +952,7 @@ (define-public python-anaconda-client
 (define-public python-conda-package-handling
   (package
     (name "python-conda-package-handling")
-    (version "1.7.3")
+    (version "2.1.0")
     (source
      (origin
        (method git-fetch)
@@ -962,25 +962,20 @@ (define-public python-conda-package-handling
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "1dq6f5ks3cinb355x712bls9bvv6bli6x3c43sdkqvawdw8xgv9j"))))
+         "17k363s2ad8cfngyrazzqvq287dab64ssah2rhzj4h7v1mfy47bm"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
        (modify-phases %standard-phases
-         (add-after 'unpack 'use-unmodified-libarchive
-           (lambda _
-             (substitute* "setup.py"
-               (("archive_and_deps") "archive"))))
          (replace 'check
-           (lambda* (#:key inputs outputs #:allow-other-keys)
-             (add-installed-pythonpath inputs outputs)
-             (invoke "pytest" "-vv" "tests"))))))
+           (lambda* (#:key tests? inputs outputs #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "pytest" "-vv" "tests")))))))
     (propagated-inputs
-     (list python-six python-tqdm))
-    (inputs
-     (list libarchive))
+     (list python-conda-package-streaming))
     (native-inputs
-     (list python-cython python-pytest python-pytest-cov
+     (list python-wheel python-pytest python-pytest-cov
            python-pytest-mock python-mock))
     (home-page "https://conda.io")
     (synopsis "Create and extract conda packages of various formats")
-- 
2.39.2