emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#59155: closed ([PATCH] gnu: python-colorful: Enable tests)


From: GNU bug Tracking System
Subject: bug#59155: closed ([PATCH] gnu: python-colorful: Enable tests)
Date: Tue, 15 Nov 2022 10:32:04 +0000

Your message dated Tue, 15 Nov 2022 12:31:24 +0200
with message-id <Y3NqfFOPbQLGJT3C@3900XT>
and subject line Re: [bug#59155] [PATCH] gnu: python-colorful: Enable tests
has caused the debbugs.gnu.org bug report #59155,
regarding [PATCH] gnu: python-colorful: Enable tests
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
59155: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59155
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: python-colorful: Enable tests Date: Wed, 9 Nov 2022 19:48:31 +0000
* 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




--- End Message ---
--- Begin Message --- Subject: Re: [bug#59155] [PATCH] gnu: python-colorful: Enable tests Date: Tue, 15 Nov 2022 12:31:24 +0200
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: signature.asc
Description: PGP signature


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]