all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#68639] [PATCH] gnu: patool: Update to 2.1.0.
@ 2024-01-21 16:24 Felix Gruber
  2024-02-10  9:19 ` bug#68639: " Sharlatan Hellseher
  0 siblings, 1 reply; 2+ messages in thread
From: Felix Gruber @ 2024-01-21 16:24 UTC (permalink / raw)
  To: 68639; +Cc: Felix Gruber

* gnu/packages/patool.scm (patool): Update to 2.1.0.
  [build-system]: Change to pyproject-build-system.
  [arguments]: Remove custom 'check phase and disable failing tests.

Change-Id: Ic4f1baadc1122d6f67f0b3faa9cb2d709e19e481
---
 gnu/packages/patool.scm | 21 ++++++++++++---------
 1 file changed, 12 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/patool.scm b/gnu/packages/patool.scm
index 31dfd994b1..788298f29e 100644
--- a/gnu/packages/patool.scm
+++ b/gnu/packages/patool.scm
@@ -1,5 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2024 Felix Gruber <felgru@posteo.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -20,7 +21,7 @@ (define-module (gnu packages patool)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix git-download)
   #:use-module (guix packages)
-  #:use-module (guix build-system python)
+  #:use-module (guix build-system pyproject)
   #:use-module (gnu packages)
   #:use-module (gnu packages backup)
   #:use-module (gnu packages cdrom)
@@ -35,7 +36,7 @@ (define-module (gnu packages patool)
 (define-public patool
   (package
     (name "patool")
-    (version "1.12")
+    (version "2.1.0")
     (source
      (origin
        (method git-fetch)               ;no test data in PyPI archive
@@ -45,14 +46,16 @@ (define-public patool
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "0zgvgx9549rvb57rgkpjalydz46k71gibfs6ab3b3sy439s0ay4h"))))
-    (build-system python-build-system)
+         "1nbn3wbcbng17jf18sx7aks8mkyvy08w32xwvczqmw91pn5r0vpw"))))
+    (build-system pyproject-build-system)
     (arguments
-     `(#:phases (modify-phases %standard-phases
-                  (replace 'check
-                    (lambda* (#:key tests? #:allow-other-keys)
-                      (when tests?
-                        (invoke "pytest")))))))
+     (list
+      #:test-flags
+      ;disable failing tests
+      '(list (string-append "-k (not test_mime_file_gzip"
+                            " and not test_bsdtar_gz_file"
+                            " and not test_py_tarfile_gz_file"
+                            " and not test_tar_gz_file)"))))
     (native-inputs
      (list bzip2
            cabextract

base-commit: 121de47decc1029c06f6e46e5f06d7fefe8e85ec
-- 
2.43.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#68639: [PATCH] gnu: patool: Update to 2.1.0.
  2024-01-21 16:24 [bug#68639] [PATCH] gnu: patool: Update to 2.1.0 Felix Gruber
@ 2024-02-10  9:19 ` Sharlatan Hellseher
  0 siblings, 0 replies; 2+ messages in thread
From: Sharlatan Hellseher @ 2024-02-10  9:19 UTC (permalink / raw)
  To: 68639-done

[-- Attachment #1: Type: text/plain, Size: 145 bytes --]


Hi,

I've not noticed this patch while fixing the build.
It was updated in c439bb2683..6dcc097cd8.

Closing as completed already.

Thanks,
Oleg

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-02-10  9:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-21 16:24 [bug#68639] [PATCH] gnu: patool: Update to 2.1.0 Felix Gruber
2024-02-10  9:19 ` bug#68639: " Sharlatan Hellseher

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.