GNU bug report logs - #77246
[PATCH python-team 00/18] One more iteration with a few fixes

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Tue, 25 Mar 2025 07:25:02 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #38 received at 77246 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 77246 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH 12/18] gnu: Add python-unix-ar.
Date: Tue, 25 Mar 2025 08:56:48 +0100
* 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 <takev <at> disroot.org>
 ;;; Copyright © 2023 Ivan Vilata i Balaguer <ivan <at> selidor.net>
 ;;; Copyright © 2024 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
+;;; Copyright © 2025 Nicolas Graves <ngraves <at> ngraves.fr>
 ;;;
 ;;; 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")
-- 
2.49.0





This bug report was last modified 114 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.