~ruther/guix-local

90b43a23338ad5f1c545f6c616c2580eaa2811bf — Sharlatan Hellseher 7 months ago f00ebc2
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
1 files changed, 5 insertions(+), 1 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +5 -1
@@ 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