[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/49: gnu: python-blosc: Move to python-compression.
From: |
guix-commits |
Subject: |
03/49: gnu: python-blosc: Move to python-compression. |
Date: |
Fri, 29 Mar 2024 11:15:20 -0400 (EDT) |
sharlatan pushed a commit to branch master
in repository guix.
commit 8b00d81dd3d93fdfb37115cac282ae1b1ad0343b
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Mar 10 08:49:57 2024 +0000
gnu: python-blosc: Move to python-compression.
* gnu/packages/python-xyz.scm (python-blosc): Move from here ...
* gnu/packages/python-compression.scm: ... to here.
Change-Id: Ieed1b399602d0ba64b065d1c03ef0855ac52f71e
---
gnu/packages/python-compression.scm | 47 ++++++++++++++++++++++++++++++++++++-
gnu/packages/python-xyz.scm | 44 ----------------------------------
2 files changed, 46 insertions(+), 45 deletions(-)
diff --git a/gnu/packages/python-compression.scm
b/gnu/packages/python-compression.scm
index 691fbd3065..ef289bc4d1 100644
--- a/gnu/packages/python-compression.scm
+++ b/gnu/packages/python-compression.scm
@@ -3,7 +3,7 @@
;;; Copyright © 2017, 2019, 2021, 2022 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2017 Nikita <nikita@n0.is>
;;; Copyright © 2017 Julien Lepiller <julien@lepiller.eu>
-;;; Copyright © 2018-2020, 2022 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2018-2020, 2022, 2023 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2020, 2022, 2023 Marius Bakke <marius@gnu.org>
;;; Copyright © 2021 Brendan Tildesley <mail@brendan.scot>
@@ -38,6 +38,7 @@
#:use-module (gnu packages libffi)
#:use-module (gnu packages compression)
#:use-module (gnu packages crates-io)
+ #:use-module (gnu packages cmake)
#:use-module (gnu packages check)
#:use-module (gnu packages maths)
#:use-module (gnu packages pkg-config)
@@ -49,6 +50,50 @@
#:use-module (gnu packages rust-apps)
#:use-module (gnu packages sphinx))
+(define-public python-blosc
+ (package
+ (name "python-blosc")
+ (version "1.11.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "blosc" version))
+ (sha256
+ (base32
+ "0xmjs28sgpnb940zrhw010dq2m9d8a5h4fgnjyk6645fgfr1j8f2"))
+ (snippet
+ #~(begin (use-modules (guix build utils))
+ (delete-file-recursively "blosc/c-blosc")))))
+ (build-system python-build-system)
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'find-blosc
+ (lambda* (#:key inputs #:allow-other-keys)
+ (setenv "USE_SYSTEM_BLOSC" "1")
+ (setenv "Blosc_ROOT" #$(this-package-input "c-blosc"))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "python" "-m" "blosc.test")))))))
+ (propagated-inputs
+ (list python-scikit-build python-numpy))
+ (inputs (list c-blosc))
+ (native-inputs (list cmake-minimal))
+ (home-page "https://github.com/blosc/python-blosc")
+ (synopsis "Python wrapper for the Blosc data compressor library")
+ (description "Blosc is a high performance compressor optimized for binary
+data. It has been designed to transmit data to the processor cache faster
+than the traditional, non-compressed, direct memory fetch approach via a
+@code{memcpy()} system call.
+
+Blosc works well for compressing numerical arrays that contains data with
+relatively low entropy, like sparse data, time series, grids with
+regular-spaced values, etc.
+
+This Python package wraps the Blosc library.")
+ (license license:bsd-3)))
+
(define-public python-multivolumefile
(package
(name "python-multivolumefile")
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8a6ef23b58..86ffce13fd 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -27549,50 +27549,6 @@ data.")
they use the same path.")
(license license:bsd-2)))
-(define-public python-blosc
- (package
- (name "python-blosc")
- (version "1.11.1")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "blosc" version))
- (sha256
- (base32
- "0xmjs28sgpnb940zrhw010dq2m9d8a5h4fgnjyk6645fgfr1j8f2"))
- (snippet
- #~(begin (use-modules (guix build utils))
- (delete-file-recursively "blosc/c-blosc")))))
- (build-system python-build-system)
- (arguments
- (list #:phases
- #~(modify-phases %standard-phases
- (add-after 'unpack 'find-blosc
- (lambda* (#:key inputs #:allow-other-keys)
- (setenv "USE_SYSTEM_BLOSC" "1")
- (setenv "Blosc_ROOT" #$(this-package-input "c-blosc"))))
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke "python" "-m" "blosc.test")))))))
- (propagated-inputs
- (list python-scikit-build python-numpy))
- (inputs (list c-blosc))
- (native-inputs (list cmake-minimal))
- (home-page "https://github.com/blosc/python-blosc")
- (synopsis "Python wrapper for the Blosc data compressor library")
- (description "Blosc is a high performance compressor optimized for binary
-data. It has been designed to transmit data to the processor cache faster
-than the traditional, non-compressed, direct memory fetch approach via a
-@code{memcpy()} system call.
-
-Blosc works well for compressing numerical arrays that contains data with
-relatively low entropy, like sparse data, time series, grids with
-regular-spaced values, etc.
-
-This Python package wraps the Blosc library.")
- (license license:bsd-3)))
-
(define-public python-partd
(package
(name "python-partd")
- 15/49: gnu: python-glymur: Speed up tests., (continued)
- 15/49: gnu: python-glymur: Speed up tests., guix-commits, 2024/03/29
- 27/49: gnu: python-pyvo: Update to 1.5.1., guix-commits, 2024/03/29
- 29/49: gnu: python-gwcs: Update to 0.21.0., guix-commits, 2024/03/29
- 31/49: gnu: python-suntime: Update to 1.3.2., guix-commits, 2024/03/29
- 32/49: gnu: python-suntime: Refresh package style., guix-commits, 2024/03/29
- 35/49: gnu: python-specutils: Update to 1.13.0., guix-commits, 2024/03/29
- 37/49: gnu: python-stcal: Enable sanity check., guix-commits, 2024/03/29
- 47/49: gnu: Add python-pytest-examples., guix-commits, 2024/03/29
- 42/49: gnu: Add python-asdf-compression., guix-commits, 2024/03/29
- 49/49: gnu: python-hvpy: Update to 1.1.0., guix-commits, 2024/03/29
- 03/49: gnu: python-blosc: Move to python-compression.,
guix-commits <=
- 28/49: gnu: python-astroquery: Update to 0.4.7., guix-commits, 2024/03/29
- 38/49: gnu: python-stdatamodels: Update to 1.10.0., guix-commits, 2024/03/29
- 41/49: gnu: Add python-asdf-zarr., guix-commits, 2024/03/29
- 46/49: gnu: Add python-cmyt., guix-commits, 2024/03/29
- 20/49: gnu: python-asdf-unit-schemas: Update to 0.2.0., guix-commits, 2024/03/29
- 19/49: gnu: python-cdflib: Enable all tests., guix-commits, 2024/03/29
- 23/49: gnu: python-asdf: Update to 3.1.0., guix-commits, 2024/03/29
- 36/49: gnu: python-stcal: Update to 1.6.1., guix-commits, 2024/03/29
- 44/49: gnu: Add python-nose-exclude., guix-commits, 2024/03/29
- 04/49: gnu: python-blosc: Simplify package., guix-commits, 2024/03/29