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
This commit is contained in:
Sharlatan Hellseher 2025-07-29 14:29:07 +01:00
parent 2f0d00229d
commit a7d5fde633
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -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")