summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-09-26 23:10:26 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-27 21:37:16 +0100
commit90b43a23338ad5f1c545f6c616c2580eaa2811bf (patch)
treed4cfa7e0c428870740c74e2b2eb696a5edde935e /gnu/packages/python-xyz.scm
parentf00ebc2d5ec41e7d849a93e76b063a022ec66483 (diff)
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
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 03d5097058..7f0bf20afb 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -31004,6 +31004,7 @@ module.")
(properties '((upstream-name . "Wikidata")))
(license license:gpl3+)))
+;; XXX: Not maintained since 2022, leaf package.
(define-public python-attr
(package
(name "python-attr")
@@ -31015,8 +31016,11 @@ module.")
(sha256
(base32 "1x2627x0n2rxx8wib4cksbjjnncff8finq97k37dq70qd2kvrvhw"))))
(build-system pyproject-build-system)
+ (arguments
+ (list #:test-backend #~'custom
+ #:test-flags #~(list "-c" "import dry_attr; dry_attr.test()")))
(native-inputs
- (list python-setuptools python-wheel))
+ (list python-setuptools))
(home-page "https://github.com/denis-ryzhkov/attr")
(synopsis "Decorator for attributes of target function or class")
(description "Simple decorator to set attributes of target function or