From patchwork Tue Mar 25 07:56:48 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 40802 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 8BD3327BBEA; Tue, 25 Mar 2025 07:59:15 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 15CF827BBE2 for ; Tue, 25 Mar 2025 07:59:15 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1twzBg-0008Ol-Qd; Tue, 25 Mar 2025 03:59:04 -0400 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 1twzBf-0008K7-2W for guix-patches@gnu.org; Tue, 25 Mar 2025 03:59:03 -0400 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 1twzBe-00022q-Pu for guix-patches@gnu.org; Tue, 25 Mar 2025 03:59:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=Fq+IORlK0kPhmBJloPwNk4doeqBckAt9/UFBb+UUoeI=; b=v1hUcZVlHPLLbg3Q3QZ111RAk1RIOpz1tl9gPc9Hi+r7+TEwQJowhjQpTqDbGDNrNZH04WwlR91YmlOXF50pm18LoCVvpER+I0+2gWG64siZ7qgsQf+IyvwHlDrqyKLTtkPw0IiT/SvQVML3OAKyXwR20GEyyDj01epJ403/3x2HJQyrHT/lSdgBRyS/qHWvYGLZc+P5nFYdbx3iqXPZDTa/P87T7puv8zKTeD5Oc3BQndIhwSCF1lOJWdaoMJLGFcAMCxJLIavBh8V4vw2F6fDpDcM2Ti5Iwn8vy7bhMfa1KXI5pCuiLN3qaV5tVmt5mFGLrZ/cgjR17TXQ7g5HqQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1twzBe-0003Gp-Jm for guix-patches@gnu.org; Tue, 25 Mar 2025 03:59:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77246] [PATCH 12/18] gnu: Add python-unix-ar. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 25 Mar 2025 07:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77246 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77246@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 77246-submit@debbugs.gnu.org id=B77246.174288949212433 (code B ref 77246); Tue, 25 Mar 2025 07:59:02 +0000 Received: (at 77246) by debbugs.gnu.org; 25 Mar 2025 07:58:12 +0000 Received: from localhost ([127.0.0.1]:36054 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1twzAp-0003ER-CW for submit@debbugs.gnu.org; Tue, 25 Mar 2025 03:58:11 -0400 Received: from 6.mo563.mail-out.ovh.net ([46.105.55.200]:39225) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1twzA8-0003Ak-0v for 77246@debbugs.gnu.org; Tue, 25 Mar 2025 03:57:28 -0400 Received: from director4.derp.mail-out.ovh.net (director4.derp.mail-out.ovh.net [79.137.60.37]) by mo563.mail-out.ovh.net (Postfix) with ESMTPS id 4ZMMhl0Mrtz1Sd6; Tue, 25 Mar 2025 07:57:27 +0000 (UTC) Received: from director4.derp.mail-out.ovh.net (director4.derp.mail-out.ovh.net. [127.0.0.1]) by director4.derp.mail-out.ovh.net (inspect_sender_mail_agent) with SMTP for <77246@debbugs.gnu.org>; Tue, 25 Mar 2025 07:57:26 +0000 (UTC) Received: from mta11.priv.ovhmail-u1.ea.mail.ovh.net (unknown [10.109.139.94]) by director4.derp.mail-out.ovh.net (Postfix) with ESMTPS id 4ZMMhk6pSJzyBw; Tue, 25 Mar 2025 07:57:26 +0000 (UTC) Received: from ngraves.fr (unknown [10.1.6.7]) by mta11.priv.ovhmail-u1.ea.mail.ovh.net (Postfix) with ESMTPSA id 8BB40262CF0; Tue, 25 Mar 2025 07:57:26 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-107S001d22ce233-59c0-4160-952c-d41ed9de1403, FB45688AE489E0BEC42E54AE58A1B437771C36DF) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 90.92.117.144 Date: Tue, 25 Mar 2025 08:56:48 +0100 Message-ID: <20250325075712.22316-12-ngraves@ngraves.fr> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250325075712.22316-1-ngraves@ngraves.fr> References: <20250325075712.22316-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 7054325867235566306 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdduiedvudduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfgggtgfesthekredtredtjeenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvffehgeekhfekgffgleehffetiefggeeitdduteekfffhkeehveejfeejledtieenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdeltddrledvrdduudejrddugeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepvddprhgtphhtthhopeejjedvgeeiseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdfovfetjfhoshhtpehmohehieefmgdpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=Fq+IORlK0kPhmBJloPwNk4doeqBckAt9/UFBb+UUoeI=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1742889447; v=1; b=VlyKNczy0G79neGFCnk055nLnt/BRc2TSgEMih13vsTKZ3X9hDdrj7Zuw2okdOcKbqdkrjpK 5Yh0hmsciWCHB7NUWeGuhBvCXnoFkRMFm6awOLkKgAjLormkZ6fPclzQzytPijiP75BRjUa8cDX D/pAAT5+GVigOoAMUSl0vPB7jFPh1KTd+N6VuU7Fxftb6/uHZyeKG7khfnTeoKWAi+Vmb2rL53Q 7mM/Wd5U27ZLjIiX5bf63jTo1JGMBodkUviN7k7TE3w6srZatiy4KHgeKgQzgh0Z5kml7WDJRY6 gNefN/Immyh3dc5iTBDOuoLDXwl+xBMVYNVu9CPSzyI9Q== 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: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-compression.scm (python-unix-ar): New variable. --- gnu/packages/python-compression.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm index 5b994d408f..6892b9253c 100644 --- a/gnu/packages/python-compression.scm +++ b/gnu/packages/python-compression.scm @@ -11,6 +11,7 @@ ;;; Copyright © 2024 TakeV ;;; Copyright © 2023 Ivan Vilata i Balaguer ;;; Copyright © 2024 Maxim Cournoyer +;;; Copyright © 2025 Nicolas Graves ;;; ;;; This file is part of GNU Guix. ;;; @@ -764,6 +765,33 @@ (define-public bitshuffle-for-snappy (inputs '()) (native-inputs '()))) +(define-public python-unix-ar + (package + (name "python-unix-ar") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "unix_ar" version)) + (sha256 + (base32 "0kicwxsh28x8r34a7cgzv2i65gsd4qjw2vf29pwq4fpsf3n2i4xz")))) + (build-system pyproject-build-system) + (arguments + ;; These tests have timestamp-related issues. + (list #:test-flags + #~(list "-m" "unittest" "-k" "not test_add and not test_addfile") + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? test-flags #:allow-other-keys) + (apply invoke "python" test-flags)))))) + (native-inputs (list python-pytest python-setuptools python-wheel)) + (home-page "https://github.com/getninjas/unix_ar") + (synopsis "AR file handling in Python") + (description "This package provides utilities to handle AR files in +Python.") + (license license:bsd-3))) + (define-public python-zipp (package (name "python-zipp")