guix_mirror_bot pushed a commit to branch next-master
in repository guix.

commit 7c2ba97b9636774f36efe14029b65346b9fa825c
Author: Nicolas Graves <[email protected]>
AuthorDate: Tue Dec 30 18:18:39 2025 +0100

    gnu: shirah: Switch to pyproject.
    
    * gnu/packages/ebook.scm (shirah):
    [source]: Switch to git-fetch.
    [build-system]: Switch to pyproject-build-system.
    [arguments]<#:tests?>: Disable them.
    [native-inputs]: Add python-setuptools.
    
    Change-Id: I349bd87b45debaf61c1b3cbbd9e5b9e7202710d0
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/ebook.scm | 21 +++++++++++++--------
 1 file changed, 13 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/ebook.scm b/gnu/packages/ebook.scm
index 38d9a22be6..04108953e3 100644
--- a/gnu/packages/ebook.scm
+++ b/gnu/packages/ebook.scm
@@ -735,13 +735,18 @@ format documents, with the following features:
   (package
     (name "shirah")
     (version "1.0.0")
-    (source (origin
-              (method url-fetch)
-              (uri (pypi-uri "shirah_reader" version))
-              (sha256
-               (base32
-                "0j15v435lz68c1mj5clfx5dmfyjc6jvvz2q8hqvv799mb2faj42y"))))
-    (build-system python-build-system)
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/hallicopter/shirah-reader";)
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0df59bq71b9i78cws5z4cdgjdxj59dvz0x4wpnjpxz0g4wvvc55d"))))
+    (build-system pyproject-build-system)
+    (arguments (list #:tests? #f))      ; No tests.
+    (native-inputs (list python-setuptools))
     (propagated-inputs (list python-beautifulsoup4 python-ebooklib
                              python-syllables python-termcolor))
     (home-page "https://github.com/hallicopter/shirah-reader";)
@@ -751,4 +756,4 @@ format documents, with the following features:
 display ebooks in the usual way or with Rapid Serial Visual Presentation, a
 method to enable speedreading by showing the text word by word at configurable
 speeds.")
-  (license license:gpl2+)))
+    (license license:gpl2+)))

Reply via email to