From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 59155@debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus@gmail.com>
Subject: [bug#59155] [PATCH] gnu: python-colorful: Enable tests
Date: Wed, 9 Nov 2022 19:48:31 +0000 [thread overview]
Message-ID: <20221109194831.27968-1-sharlatanus@gmail.com> (raw)
* 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
next reply other threads:[~2022-11-09 19:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-09 19:48 Sharlatan Hellseher [this message]
2022-11-15 10:31 ` bug#59155: [PATCH] gnu: python-colorful: Enable tests Efraim Flashner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221109194831.27968-1-sharlatanus@gmail.com \
--to=sharlatanus@gmail.com \
--cc=59155@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.