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

commit 2039c2ef2f9b96ecb6df9509e0db8fcd466a8e41
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Jul 29 14:29:07 2025 +0100

    gnu: python-decorator: Update to 5.2.1.
    
    * gnu/packages/python-xyz.scm (python-decorator): Update to 5.2.1.
      [build-system]: Use pyproject.
      [arguments] <test-backend>: Use 'custom.
      [native-inputs]: Add python-setuptools.
    
    Change-Id: I30df3ff3c4500b2456f8edfc473a2edb87542fb7
---
 gnu/packages/python-xyz.scm | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 39a09bc00d..2eaf198039 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -13397,24 +13397,28 @@ PNG, PostScript, PDF, and SVG file output.")
 (define-public python-decorator
   (package
     (name "python-decorator")
-    (version "5.0.9")
+    (version "5.2.1")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "decorator" version))
        (sha256
-        (base32 "1mcy64hllgm938v8k1x2a4g0q9swsnrfnsvhz59kr28a6ajgpv3j"))))
-    (build-system python-build-system)
+        (base32 "0q03vavcj2hxnv6006wiqnw7bbqq8rpw90yclyq39xsj6wa6dwk5"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list #:test-backend #~'custom
+           #:test-flags #~(list "tests/test.py")))
+    (native-inputs
+     (list python-setuptools))
     (home-page "https://pypi.org/project/decorator/";)
     (synopsis "Python module to simplify usage of decorators")
     (description
-      "The aim of the decorator module is to simplify the usage of decorators
+     "The aim of the decorator module is to simplify the usage of decorators
 for the average programmer, and to popularize decorators usage giving examples
 of useful decorators, such as memoize, tracing, redirecting_stdout, locked,
 etc.  The core of this module is a decorator factory.")
     (license license:expat)))
 
-
 (define-public python-drmaa
   (package
     (name "python-drmaa")

Reply via email to