summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-06-04 21:06:47 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-06-04 21:06:47 +0300
commitf8b82976d6160aaa6bc73727300b1ca6a7002258 (patch)
tree94da7ef424e25c54fd56ba4f5dfec7fb49fb8f75
parent9d9e793da5ef179b82202ea9a9b44d149f47d94e (diff)
downloadguix-f8b82976d6160aaa6bc73727300b1ca6a7002258.tar.gz
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.
-rw-r--r--gnu/packages/mail.scm11
1 files 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