From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:5f26::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id YFUgJQ4skGXLbAAAkFu2QA (envelope-from ) for ; Sat, 30 Dec 2023 15:41:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id kNtQIA4skGWTiQAAqHPOHw (envelope-from ) for ; Sat, 30 Dec 2023 15:41:18 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=troyfigiel.com header.s=MBO0001 header.b=YAG6oNgQ; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=troyfigiel.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1703947278; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=LMATtrCXfs/qyhiqUjlKWUDckD/fIMw9DUq7g0uF2G4=; b=qXnpYanHK2pWz2qYIKBfcblLl006rg3uC/nk1t0SupeWMr6qhhOV227U7KCGudwMy2CcDX QD2847Z9OcgZV4nDUmGS7uTr/lPmaWQSGfOg2bchRnhqISHCtnR/tNOTIcLYol/+jtpSn9 4Q2QTTz8oOEcE0I8wTDNSZTDQ1t4FMFSRbqEWuAQl2NzRWmAkYfuBNa0A0upgw2GqF6eG+ yPutV6IEg0km5ub6xMA2evzP1sPb2ZStJJGRKX53rgnqKkPjO/pv3qrojvhZIKcnMxvNRM ORUT+NtjUGXeSOhc0r+7Pa56gh8HGy+rk0V8jDR8SRGwZx1wFLNIX0vzyCRAzw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1703947278; a=rsa-sha256; cv=none; b=DpU+u9FLmMjLhQNnzASplfcBZDspSLINXQIIZwnnL11MwkJ+JhIUzcfLrxea239IkA87ep IzVY4LgUO7U/0/35PWxEQDnOocpn93bsUg4wITAhY1t/hbr7CZfFIyuBzMcr2KliNf7fAu qycJIqqHSZ30LTDqgGLsNmefJKGQG9EPM9Itqx1i5S05AfJokKTnJNZCaeV19Gv90pZ1YH D2UhGox7xFtji7HF5doFv2zENY2v8lB9rFhLfwJXdiIxe7AhnVgk7FIG1aMK8gqtVq+Djh X+46CvybDgLevF49G6nSuhuuXg6E2BYJl1OOnw346/DSV75O0RZdkl6E4DCPPQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=troyfigiel.com header.s=MBO0001 header.b=YAG6oNgQ; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=troyfigiel.com (policy=none) 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 0CB5C3A258 for ; Sat, 30 Dec 2023 15:41:17 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rJaWO-0006yX-W7; Sat, 30 Dec 2023 09:41:05 -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 1rJaWM-0006yG-NQ for guix-patches@gnu.org; Sat, 30 Dec 2023 09:41:02 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rJaWM-0001Vn-F4 for guix-patches@gnu.org; Sat, 30 Dec 2023 09:41:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rJaWM-0003D9-L6 for guix-patches@gnu.org; Sat, 30 Dec 2023 09:41:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68147] [PATCH] gnu: Add python-snappy. Resent-From: Troy Figiel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 30 Dec 2023 14:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 68147 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68147@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170394724212299 (code B ref -1); Sat, 30 Dec 2023 14:41:02 +0000 Received: (at submit) by debbugs.gnu.org; 30 Dec 2023 14:40:42 +0000 Received: from localhost ([127.0.0.1]:43320 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rJaVy-0003CF-Sa for submit@debbugs.gnu.org; Sat, 30 Dec 2023 09:40:42 -0500 Received: from lists.gnu.org ([2001:470:142::17]:34782) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rJaVt-0003Bw-GZ for submit@debbugs.gnu.org; Sat, 30 Dec 2023 09:40:37 -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 1rJaVl-0006ZG-RF for guix-patches@gnu.org; Sat, 30 Dec 2023 09:40:26 -0500 Received: from mout-p-103.mailbox.org ([2001:67c:2050:0:465::103]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1rJaVj-0001NV-JU for guix-patches@gnu.org; Sat, 30 Dec 2023 09:40:25 -0500 Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:b231:465::202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4T2Pzh4c1fz9skV for ; Sat, 30 Dec 2023 15:40:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=troyfigiel.com; s=MBO0001; t=1703947216; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=LMATtrCXfs/qyhiqUjlKWUDckD/fIMw9DUq7g0uF2G4=; b=YAG6oNgQ1MJOAcWSkPKe/7m6ov2QzCb3BtwB1TsuF1abSKzpMzK+041iukZbcNtHAEHwVM hjOWCKV332h9WZzTABAeekcEClEOAShb6H6zvXjcgL2w1PUpx27lTGSQSIOZDgXXA+09sW 5SW8qZGrZYw4VfLqRbyKwh3My60C2yAtudPWkpG7MeQYddNekjg0FIjunlEn6xfOXPNd/l 3PCNxo2dTchgC6icA2UHeAYjV76/KCUyszhB0aFqHi3usd1AZw3RcAD3rEZ0nDCO5drPFa oCZorgxW84TjIe1iZW+rKdwH/jNGNkgKtLr+67xUcEVW/UVH0uasmbnKvqmSHg== From: Troy Figiel Date: Sat, 30 Dec 2023 14:46:40 +0100 Message-ID: <87mstr3gac.fsf@troyfigiel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4T2Pzh4c1fz9skV Received-SPF: pass client-ip=2001:67c:2050:0:465::103; envelope-from=troy@troyfigiel.com; 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, T_SCC_BODY_TEXT_LINE=-0.01 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: , 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 X-Migadu-Spam-Score: -5.34 X-Spam-Score: -5.34 X-Migadu-Queue-Id: 0CB5C3A258 X-Migadu-Scanner: mx11.migadu.com X-TUID: BBfDJnew6U1w * gnu/packages/python-compression.scm (python-snappy): New variable. Change-Id: I0142f49745104db8458c0becf222eb4088c9ee58 --- gnu/packages/python-compression.scm | 31 +++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-comp= ression.scm index bc96bc05d3..364f741392 100644 --- a/gnu/packages/python-compression.scm +++ b/gnu/packages/python-compression.scm @@ -7,6 +7,7 @@ ;;; Copyright =C2=A9 2020 Nicolas Goaziou ;;; Copyright =C2=A9 2020, 2022, 2023 Marius Bakke ;;; Copyright =C2=A9 2021 Brendan Tildesley +;;; Copyright =C2=A9 2023 Troy Figiel ;;; ;;; This file is part of GNU Guix. ;;; @@ -416,6 +417,36 @@ (define-public python-lzstring (description "Lz-string is a string compressor library for Python.") (license license:expat))) =20 +(define-public python-snappy + (package + (name "python-snappy") + (version "0.6.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "python-snappy" version)) + (sha256 + (base32 "0amv12w0ybn6n1lk36x70a3l8bdjv4mn7iflb59wqsi00smhg8dn")))) + (build-system python-build-system) + (arguments + '(#:phases (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "pytest" "-vv" "-k" + ;; CFFI is only supported for PyPy builds. + (string-append "not test_snappy_cffi_enum " + "and not test_snappy_all_cf= fi")))))))) + (inputs (list snappy)) + (native-inputs (list python-pytest)) + (home-page "https://github.com/andrix/python-snappy") + (synopsis "Python bindings for the Snappy compression library") + (description + "@code{python-snappy} provides bindings to the Snappy library +and can be used to compress and decompress files and streams. It can also= be +used directly from the command line.") + (license license:bsd-3))) + (define-public bitshuffle (package (name "bitshuffle") base-commit: f24b14767d362a84e6469682b4fe303b50f4b589 --=20 2.40.1