Subject: [PATCH v2 11/30] gnu: gettext: Autoload unless used by Guix.

From: Maxime Devos <[email-masked]>
Date: Sat, 3 Sep 2022 18:43:13 +0200

See first commit in the series for the procedure.
---
 gnu/packages/gettext.scm | 29 +++++++++++++++++------------
 1 file changed, 17 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/gettext.scm b/gnu/packages/gettext.scm
index d606acf798..dc6ee7de82 100644
--- a/gnu/packages/gettext.scm
+++ b/gnu/packages/gettext.scm
@@ -36,18 +36,23 @@ (define-module (gnu packages gettext)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system perl)
   #:use-module (guix build-system python)
-  #:use-module (gnu packages check)
-  #:use-module (gnu packages docbook)
-  #:use-module (gnu packages emacs)
-  #:use-module (gnu packages hurd)
-  #:use-module (gnu packages libunistring)
-  #:use-module (gnu packages ncurses)
-  #:use-module (gnu packages perl)
-  #:use-module (gnu packages perl-check)
-  #:use-module (gnu packages tex)
-  #:use-module (gnu packages xml)
-  #:use-module (gnu packages python-xyz)
-  #:use-module (gnu packages sphinx)
+  #:autoload (gnu packages check) (python-pytest python-pytest-cov)
+  #:use-module (gnu packages docbook) ; required by "guix build -d guix"
+  #:autoload (gnu packages emacs) (emacs-minimal)
+  #:use-module (gnu packages hurd) ; required by "guix build -d guix"
+  #:use-module (gnu packages libunistring) ; required by "guix build -d guix"
+  #:use-module (gnu packages ncurses) ; required by "guix build -d guix"
+  #:use-module (gnu packages perl) ; required by "guix build -d guix"
+  #:use-module (gnu packages perl-check) ; required by "guix build -d guix"
+  #:use-module (gnu packages tex) ; required by "guix build -d guix"
+  #:use-module (gnu packages xml) ; required by "guix build -d guix"
+  #:autoload (gnu packages python-xyz)
+  (python-bump2version
+   python-flake8 python-flake8-implicit-str-concat python-flake8-print
+   python-isort python-polib python-pre-commit python-pymd4c python-twine
+   python-yamllint)
+  #:autoload (gnu packages sphinx)
+  (python-sphinx python-sphinx-argparse python-sphinx-rtd-theme)
   #:use-module (guix utils))
 
 (define-public gettext-minimal
-- 
2.37.2