gnu: python-attr: Fix tests.

* gnu/packages/python-xyz.scm (python-attr)[arguments] <test-backend>:
Use 'custom.
<test-flags>: Provide test script as seen in <tox.ini>.
[native-inputs]: Remove python-wheel.

Change-Id: Iee70e41ca607f0200ac2387fd62e01a2a7b5e49e
This commit is contained in:
Sharlatan Hellseher 2025-09-26 23:10:26 +01:00
parent f00ebc2d5e
commit 90b43a2333
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -31004,6 +31004,7 @@ module.")
(properties '((upstream-name . "Wikidata"))) (properties '((upstream-name . "Wikidata")))
(license license:gpl3+))) (license license:gpl3+)))
;; XXX: Not maintained since 2022, leaf package.
(define-public python-attr (define-public python-attr
(package (package
(name "python-attr") (name "python-attr")
@ -31015,8 +31016,11 @@ module.")
(sha256 (sha256
(base32 "1x2627x0n2rxx8wib4cksbjjnncff8finq97k37dq70qd2kvrvhw")))) (base32 "1x2627x0n2rxx8wib4cksbjjnncff8finq97k37dq70qd2kvrvhw"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments
(list #:test-backend #~'custom
#:test-flags #~(list "-c" "import dry_attr; dry_attr.test()")))
(native-inputs (native-inputs
(list python-setuptools python-wheel)) (list python-setuptools))
(home-page "https://github.com/denis-ryzhkov/attr") (home-page "https://github.com/denis-ryzhkov/attr")
(synopsis "Decorator for attributes of target function or class") (synopsis "Decorator for attributes of target function or class")
(description "Simple decorator to set attributes of target function or (description "Simple decorator to set attributes of target function or