efraim pushed a commit to branch master
in repository guix.

commit f8b82976d6160aaa6bc73727300b1ca6a7002258
Author: Efraim Flashner <[email protected]>
AuthorDate: Sun Jun 4 21:06:47 2023 +0300

    gnu: urlscan: Update to 1.0.0.
    
    * gnu/packages/mail.scm (urlscan): Update to 1.0.0.
    [arguments]: Skip the test phase.
    [build-system]: Switch to the pyproject-build-system.
    [native-inputs]: Add python-hatch-vcs, python-hatchling.
---
 gnu/packages/mail.scm | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 02e0da2ec8..ee6e19fcfe 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -188,6 +188,7 @@
   #:use-module (guix build-system meson)
   #:use-module (guix build-system perl)
   #:use-module (guix build-system python)
+  #:use-module (guix build-system pyproject)
   #:use-module (guix build-system trivial)
   #:use-module (srfi srfi-1)
   #:use-module (ice-9 match))
@@ -4039,16 +4040,20 @@ servers.  The 4rev1 and 4 versions of IMAP are 
supported.")
 (define-public urlscan
   (package
     (name "urlscan")
-    (version "0.9.10")
+    (version "1.0.0")
     (source
       (origin
         (method url-fetch)
         (uri (pypi-uri "urlscan" version))
         (sha256
-         (base32 "1ir6dxifkd8hv048p65jyz4wyg6ll002fzvbmajpdnvs6mvkj1md"))))
-    (build-system python-build-system)
+         (base32 "0rxqdrss34rgnfmbn8ab976dchjbz72wp4ywqrdib119a5xnhqzh"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list #:tests? #f))        ; No tests.
     (propagated-inputs
      (list python-urwid))
+    (native-inputs
+     (list python-hatch-vcs python-hatchling))
     (home-page "https://github.com/firecat53/urlscan";)
     (synopsis "View/select the URLs in an email message or file")
     (description

Reply via email to