[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/03: gnu: sugar-help-activity: Build English HTML.
From: |
guix-commits |
Subject: |
03/03: gnu: sugar-help-activity: Build English HTML. |
Date: |
Tue, 28 Feb 2023 07:48:20 -0500 (EST) |
rekado pushed a commit to branch master
in repository guix.
commit 23a2faf5c9797fcb9404723156edd76b1a9e3cd8
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Feb 28 12:47:42 2023 +0100
gnu: sugar-help-activity: Build English HTML.
* gnu/packages/sugar.scm (sugar-help-activity)[arguments]: Replace 'build
phase to generate HTML files.
[native-inputs]: Add python-sphinx.
---
gnu/packages/sugar.scm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/sugar.scm b/gnu/packages/sugar.scm
index 1257f6607a..04c7bc5fe2 100644
--- a/gnu/packages/sugar.scm
+++ b/gnu/packages/sugar.scm
@@ -32,6 +32,7 @@
#:use-module (gnu packages python-web)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages search)
+ #:use-module (gnu packages sphinx)
#:use-module (gnu packages time)
#:use-module (gnu packages webkit)
#:use-module (gnu packages xorg)
@@ -377,12 +378,15 @@ the Sugar Toolkit.")
(("exec = sugar-activity3")
(string-append "exec = "
(search-input-file inputs
"/bin/sugar-activity3"))))))
+ (replace 'build
+ (lambda _ (invoke "make" "html")))
(replace 'install
(lambda _
(invoke "python" "setup.py" "install"
(string-append "--prefix=" #$output)))))))
(native-inputs
- (list sugar-toolkit-gtk3))
+ (list sugar-toolkit-gtk3
+ python-sphinx))
(home-page "https://github.com/sugarlabs/help-activity")
(synopsis "Sugar activity for accessing documentation and manuals")
(description "This is an activity for the Sugar environment which aims