From a7d5fde63371a8fe198472513aa20188602915e8 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Tue, 29 Jul 2025 14:29:07 +0100 Subject: [PATCH] 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] : 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 4f68c4d4d143f4333d940995ed974514bf7130f6..6a0710599d0a477db74e23e7f7a8d4767a7a1287 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -13319,24 +13319,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")