mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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:
parent
f00ebc2d5e
commit
90b43a2333
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue