* [bug#59155] [PATCH] gnu: python-colorful: Enable tests
@ 2022-11-09 19:48 Sharlatan Hellseher
2022-11-15 10:31 ` bug#59155: " Efraim Flashner
0 siblings, 1 reply; 2+ messages in thread
From: Sharlatan Hellseher @ 2022-11-09 19:48 UTC (permalink / raw)
To: 59155; +Cc: Sharlatan Hellseher
* gnu/packages/python-xyz.scm (python-colorful): Enable tests.
[source]: Use git checkout which has tests.
[build-system]: Use pyproject-build-system.
---
gnu/packages/python-xyz.scm | 16 +++++++---------
1 file changed, 7 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e26656fa32..b2fb101409 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -677,16 +677,14 @@ (define-public python-colorful
(version "0.5.4")
(source
(origin
- (method url-fetch)
- (uri
- (pypi-uri "colorful" version))
+ (method git-fetch) ; no tests data in PyPi package
+ (uri (git-reference
+ (url "https://github.com/timofurrer/colorful")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32 "1sh7g2cn1fyz2hzmzs933razdxi2bna9i1lxa790r9pdwba8m146"))))
- (build-system python-build-system)
- ;; FIXME: tests cannot be computed:
- ;; "Can't perform this operation for unregistered loader type"
- (arguments
- `(#:tests? #f))
+ (base32 "1fcz5v8b318a3dsdha4c874jsf3wmcw3f25bv2csixclyzacli98"))))
+ (build-system pyproject-build-system)
(native-inputs
(list python-coverage python-flake8 python-pytest))
(propagated-inputs
--
2.38.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#59155: [PATCH] gnu: python-colorful: Enable tests
2022-11-09 19:48 [bug#59155] [PATCH] gnu: python-colorful: Enable tests Sharlatan Hellseher
@ 2022-11-15 10:31 ` Efraim Flashner
0 siblings, 0 replies; 2+ messages in thread
From: Efraim Flashner @ 2022-11-15 10:31 UTC (permalink / raw)
To: Sharlatan Hellseher; +Cc: 59155-done
[-- Attachment #1: Type: text/plain, Size: 236 bytes --]
Thanks! Patch pushed.
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-11-15 10:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-09 19:48 [bug#59155] [PATCH] gnu: python-colorful: Enable tests Sharlatan Hellseher
2022-11-15 10:31 ` bug#59155: " Efraim Flashner
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.