[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49123] [PATCH 20/24] gnu: Add python-plyer.
From: |
Maxime Devos |
Subject: |
[bug#49123] [PATCH 20/24] gnu: Add python-plyer. |
Date: |
Mon, 21 Jun 2021 17:53:54 +0200 |
User-agent: |
Evolution 3.34.2 |
> +(define-public python-plyer
> + (package
> + (name "python-plyer")
> + [...]
> + (arguments
> + `(#:tests? #f)) ;; Circular dependency on itself
Seems odd that python-plyer's tests cannot find
python-plyer, but whatever. You can try to work-around the cycle
by defining two python-plyer packages, like this
(fill in the ...):
(define-public python-plyer
(package
(name ...)
(version ...)
(build-system ...)
;; do not add (arguments ...) here!
;; (This comment should not go into the revised patch)
(native-inputs
;; Add a comment on why this is necessary
`(("python-plyer" ,python-plyer-for-tests)))
(home-page ...)
(synopsis ...)
(description ...)))
(define python-plyer-for-tests
(package/hidden
(inherit python-plyer)
(native-inputs '())))
That way, first a python-plyer without tests will be built,
and then the real python-plyer will be built with tests.
Greetings,
Maxime.
signature.asc
Description: This is a digitally signed message part
- [bug#49123] [PATCH 16/24] gnu: python-hpack: Update to 4.0.0., (continued)
- [bug#49123] [PATCH 16/24] gnu: python-hpack: Update to 4.0.0., slg, 2021/06/19
- [bug#49123] [PATCH 18/24] gnu: python-pymediainfo: Update to 5.1.0., slg, 2021/06/19
- [bug#49123] [PATCH 17/24] gnu: Add python-matrix-nio., slg, 2021/06/19
- [bug#49123] [PATCH 21/24] gnu: Add python-baron., slg, 2021/06/19
- [bug#49123] [PATCH 22/24] gnu: Add python-redbaron., slg, 2021/06/19
- [bug#49123] [PATCH 24/24] gnu: Add mirage., slg, 2021/06/19
- [bug#49123] [PATCH 19/24] gnu: python-watchgod: Update to 0.7., slg, 2021/06/19
- [bug#49123] [PATCH 23/24] gnu: Add python-hsluv., slg, 2021/06/19
- [bug#49123] [PATCH 20/24] gnu: Add python-plyer., slg, 2021/06/19
- [bug#49123] [PATCH 20/24] gnu: Add python-plyer.,
Maxime Devos <=