From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id uOanJ/2MmWWg2wAAkFu2QA (envelope-from ) for ; Sat, 06 Jan 2024 18:25:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id kBiXJP2MmWXLGwEA62LTzQ (envelope-from ) for ; Sat, 06 Jan 2024 18:25:17 +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=QVDZBi4T; 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=1704561917; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=T32oWqmRk+xMQ5nHk8uFwPa6ey/us7m+nQTswNzI6X4=; b=aLEUNmUJRpv3Rnh7yIHlo0KGWEl3CZB9g6Idz7MYBYzt44Ps7sOzlHMmGiczIeyiMJ+fwe zTEhHlclt0CaWcqs9Bxg6hb4mmElz5WPeQy51U/Pmg3yP25giu+PBDob5QJ17hqNFG9DrN eDdukbQRjSOX4/nZFjnpSlxPEyiZuvBOhFmjQUQJcTwzgpGWAzqBk2/B3z/nFY1jy/V3tn XTiVSFlG8ODjONqArsH/ptBXEUx5CgkynpvxVKgMDF58ODhryO3U1ef6/qNFbf1iyMk2pC 7NItyQ3wuuQ+MMMOpzwKvuHCTsmlmUrbH+srrbmT+Dsd00miWqvbltFW+1+fhg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704561917; a=rsa-sha256; cv=none; b=WZG/o++bIBFEmwQDTN00vT72RYoUKUZa9LmYvGgeIjv42otu5aADjODrhCbmwvsQIOSvr1 r7+IIadaeYHfFPVJ0YiuPKLJs7gFT+eeMNF4OzF2wZXsNtGaP270Pvhrv0ZPYXpxLkhQf1 y+V/XK8783xW82OjevJGF+sTbVX3reGsDNEfzi3u32Cg/2yTP3sjoJlWuEr4lwoj2qvqnt LklL0j/yDAUWCn5A79pjTLjnof57OZN3u1uyVh6nW0H+DXoVvVVkQszMIkW+pznaqZrtSr FS6WPEibS1ayMnqGnYRbSNcd38If9z4MGTxvbIOPi6ivJohD6qdxxbU5xtZIGA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=troyfigiel.com header.s=MBO0001 header.b=QVDZBi4T; 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 16F251B1DE for ; Sat, 6 Jan 2024 18:25:17 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rMAPq-0007ep-H5; Sat, 06 Jan 2024 12:24:58 -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 1rMAPp-0007ee-BU for guix-patches@gnu.org; Sat, 06 Jan 2024 12:24:57 -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 1rMAPo-0004Ic-Iw for guix-patches@gnu.org; Sat, 06 Jan 2024 12:24:57 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rMAPt-0005kE-IN for guix-patches@gnu.org; Sat, 06 Jan 2024 12:25:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68147] [PATCH v2] gnu: Add python-python-snappy. References: <87mstr3gac.fsf@troyfigiel.com> In-Reply-To: <87mstr3gac.fsf@troyfigiel.com> Resent-From: Troy Figiel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 06 Jan 2024 17:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68147 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68147@debbugs.gnu.org Received: via spool by 68147-submit@debbugs.gnu.org id=B68147.170456185322017 (code B ref 68147); Sat, 06 Jan 2024 17:25:01 +0000 Received: (at 68147) by debbugs.gnu.org; 6 Jan 2024 17:24:13 +0000 Received: from localhost ([127.0.0.1]:60247 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMAP6-0005j3-Lb for submit@debbugs.gnu.org; Sat, 06 Jan 2024 12:24:13 -0500 Received: from mout-p-101.mailbox.org ([2001:67c:2050:0:465::101]:58834) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMAP3-0005io-UG for 68147@debbugs.gnu.org; Sat, 06 Jan 2024 12:24:10 -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-101.mailbox.org (Postfix) with ESMTPS id 4T6nHJ1B3Fz9stH for <68147@debbugs.gnu.org>; Sat, 6 Jan 2024 18:23:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=troyfigiel.com; s=MBO0001; t=1704561836; 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=T32oWqmRk+xMQ5nHk8uFwPa6ey/us7m+nQTswNzI6X4=; b=QVDZBi4TOqADlAnB6kwSANetS+hQTRUlrjx3RFa51jOxmcR246h/13l1aqkawjLVPywgeD V8IvS8QFDjc4opOrvGqIEzSJULRx0J14XX/AQGicipbQy4Ax3SOr4fGyGdBFyU9QHsMi/D Zh/NVpoNVinbE5/b6mVGIffA0tS6aK2WEteTU32J/z+/tHBMkzqGY6cJvvhXOs0KnZeldn 9JtvwRh2Dj0iAk4fcdOMfYJqPzDllMgL5UeE3pXD/5cFi0zEdkz2jcYrRPDqrvw7/X+Sva RP4hwYLDeHTKT+zWT76BDSkhMW2heALqBq0klYqYoHyVJ2/AnSoxRxRcRX7xHg== From: Troy Figiel Date: Sat, 6 Jan 2024 18:21:53 +0100 Message-ID: <87bk9yxtn8.fsf@troyfigiel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4T6nHJ1B3Fz9stH 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.40 X-Spam-Score: -5.40 X-Migadu-Queue-Id: 16F251B1DE X-Migadu-Scanner: mx12.migadu.com X-TUID: 08F3P7Zn2Vjc * gnu/packages/python-compression.scm (python-python-snappy): New variable. --- gnu/packages/python-compression.scm | 34 +++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-comp= ression.scm index bc96bc05d3..6f249dd3af 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,39 @@ (define-public python-lzstring (description "Lz-string is a string compressor library for Python.") (license license:expat))) =20 +(define-public python-python-snappy + (package + ;; PyPI contains both `snappy' and `python-snappy' as completely disti= nct + ;; packages. To avoid a name collision in Guix, we use the variable na= me + ;; `python-python-snappy' for the package called `python-snappy' on Py= PI. + (name "python-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-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: ee0cf3b9ff4cd5a9d3637d09677195ea9ee1a8c0 --=20 2.42.0