guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

16/46: gnu: python-send2trash: Update to 1.8.2.


From: guix-commits
Subject: 16/46: gnu: python-send2trash: Update to 1.8.2.
Date: Tue, 7 May 2024 18:34:00 -0400 (EDT)

rekado pushed a commit to branch python-team
in repository guix.

commit 1eddf70cde1d010669be2c7eb94f6bd7b6a00166
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue May 7 17:41:00 2024 +0200

    gnu: python-send2trash: Update to 1.8.2.
    
    * gnu/packages/python-xyz.scm (python-send2trash): Update to 1.8.2.
    [build-system]: Use pyproject-build-system.
    [arguments]: Remove custom 'check phase.
    [native-inputs]: Add python-setuptools and python-wheel.
    
    Change-Id: I62f85bb58ee4efb2accb26086273a7cd2486654e
---
 gnu/packages/python-xyz.scm | 20 ++++++++------------
 1 file changed, 8 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 64df808c50..3a386fd112 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -26144,7 +26144,7 @@ systems policies.")
 (define-public python-send2trash
   (package
     (name "python-send2trash")
-    (version "1.8.0")
+    (version "1.8.2")
     (source
      (origin (method git-fetch)
              ;; Source tarball on PyPI doesn't include tests.
@@ -26154,19 +26154,15 @@ systems policies.")
              (file-name (git-file-name name version))
              (sha256
               (base32
-               "1k7dfypaaq4f36fbciaasv72j6wgjihw8d88axmz9c329bz8v5qx"))))
-    (build-system python-build-system)
+               "0dl9nv3h3kkcavwiswzg76pksqczq448gbdvlbz88bm71zvdshx7"))))
+    (build-system pyproject-build-system)
     (arguments
-     '(#:phases
-       (modify-phases %standard-phases
+     (list
+      #:phases
+      '(modify-phases %standard-phases
          (add-before 'check 'pre-check
-           (lambda _
-             (setenv "HOME" "/tmp")))
-         (replace 'check
-           (lambda* (#:key tests? #:allow-other-keys)
-             (when tests?
-               (invoke "pytest" "-vv")))))))
-    (native-inputs (list python-pytest))
+           (lambda _ (setenv "HOME" "/tmp"))))))
+    (native-inputs (list python-pytest python-setuptools python-wheel))
     (home-page "https://github.com/arsenetar/send2trash";)
     (synopsis "Send files to the user's @file{~/Trash} directory")
     (description "This package provides a Python library to send files to the



reply via email to

[Prev in Thread] Current Thread [Next in Thread]