From: Felix Gruber <felgru@posteo.net>
To: 68639@debbugs.gnu.org
Cc: Felix Gruber <felgru@posteo.net>
Subject: [bug#68639] [PATCH] gnu: patool: Update to 2.1.0.
Date: Sun, 21 Jan 2024 16:24:18 +0000 [thread overview]
Message-ID: <cdd923cf64353a91a311e8e46795f9c9e50405e5.1705854257.git.felgru@posteo.net> (raw)
* 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
next reply other threads:[~2024-01-21 16:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-21 16:24 Felix Gruber [this message]
2024-02-10 9:19 ` bug#68639: [PATCH] gnu: patool: Update to 2.1.0 Sharlatan Hellseher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cdd923cf64353a91a311e8e46795f9c9e50405e5.1705854257.git.felgru@posteo.net \
--to=felgru@posteo.net \
--cc=68639@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).