bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#63277: [PATCH 1/5] gnu: Add python-conda-package-streaming.


From: Hugo Buddelmeijer
Subject: bug#63277: [PATCH 1/5] gnu: Add python-conda-package-streaming.
Date: Mon, 8 May 2023 14:04:37 +0200

* gnu/packages/python-xyz.scm (python-conda-package-streaming): New variable.
---
 gnu/packages/python-xyz.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a5c99a6f20..c627e456e1 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1688,6 +1688,37 @@ (define-public python-clyent
 by @code{binstar}, @code{binstar-build}, and @code{chalmers}.")
     (license license:bsd-3)))
 
+(define-public python-conda-package-streaming
+  (package
+    (name "python-conda-package-streaming")
+    (version "0.7.0")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "conda_package_streaming" version))
+              (sha256
+               (base32
+                "01a8yhfiww3ac0glnb41iqcrz5n6ya1k0w4vwc5wg06qcp6ipbq2"))))
+    (build-system pyproject-build-system)
+    (arguments
+     ;; All tests require conda to be installed. However conda requires
+     ;; python-conda-package-handling, which requires
+     ;; python-conda-package-streaming (this package), so the tests
+     ;; cannot be run.
+     `(#:tests? #f))
+    (propagated-inputs (list python-requests python-zstandard))
+    (native-inputs (list python-pytest
+                         python-pytest-cov
+                         python-pytest-mock
+                         python-flit
+                         python-bottle
+                         python-boto3))
+    (home-page "https://github.com/conda/conda-package-streaming";)
+    (synopsis
+     "Download metadata from conda packages without transferring entire file.")
+    (description
+     "Download conda metadata from packages without transferring entire file. 
Get metadata from local .tar.bz2 packages without reading entire files.")
+    (license license:bsd-3)))
+
 (define-public python-babel
   (package
     (name "python-babel")

base-commit: d1aba42ad4e1909faa21d484975c5954c778e002
-- 
2.39.2






reply via email to

[Prev in Thread] Current Thread [Next in Thread]