[bug#70693,v2,2/3] gnu: Add po4a-minimal.
Commit Message
The main reason is to avoid the texlive-updmap.cfg input indirectly pulling in
nss, which has a very time consuming testsuite.
* gnu/packages/gettext.scm (po4a-minimal): New variable.
Change-Id: If8d46a18a02e57d5427852e8e122de01f970ded4
---
gnu/packages/gettext.scm | 13 +++++++++++++
1 file changed, 13 insertions(+)
Comments
Christopher Baines <mail@cbaines.net> skribis:
> The main reason is to avoid the texlive-updmap.cfg input indirectly pulling in
> nss, which has a very time consuming testsuite.
>
> * gnu/packages/gettext.scm (po4a-minimal): New variable.
>
> Change-Id: If8d46a18a02e57d5427852e8e122de01f970ded4
[...]
> +(define-public po4a-minimal
> + (package/inherit po4a
> + (native-inputs
> + ;; Remove test dependencies
Maybe add: “, primarily to reduce the size of the dependency graph of the
‘guix’ package.”
> + (modify-inputs (package-native-inputs po4a)
> + (delete "docbook-xml")
> + (delete "perl-test-pod")
> + (delete "texlive-updmap.cfg")))
This can be: (delete "docbook-xml" "perl-test-pod" "texlive-updmap.cfg").
Otherwise LGTM!
Ludo’.
Ludovic Courtès <ludo@gnu.org> writes:
> Christopher Baines <mail@cbaines.net> skribis:
>
>> The main reason is to avoid the texlive-updmap.cfg input indirectly pulling in
>> nss, which has a very time consuming testsuite.
>>
>> * gnu/packages/gettext.scm (po4a-minimal): New variable.
>>
>> Change-Id: If8d46a18a02e57d5427852e8e122de01f970ded4
>
> [...]
>
>> +(define-public po4a-minimal
>> + (package/inherit po4a
>> + (native-inputs
>> + ;; Remove test dependencies
>
> Maybe add: “, primarily to reduce the size of the dependency graph of the
> ‘guix’ package.”
>
>> + (modify-inputs (package-native-inputs po4a)
>> + (delete "docbook-xml")
>> + (delete "perl-test-pod")
>> + (delete "texlive-updmap.cfg")))
>
> This can be: (delete "docbook-xml" "perl-test-pod" "texlive-updmap.cfg").
I've sent a v3 with these changes now.
Thanks,
Chris
@@ -317,3 +317,16 @@ (define-public po4a
more interestingly, the maintenance of translations) using gettext tools on
areas where they were not expected like documentation.")
(license gpl2+)))
+
+(define-public po4a-minimal
+ (package/inherit po4a
+ (native-inputs
+ ;; Remove test dependencies
+ (modify-inputs (package-native-inputs po4a)
+ (delete "docbook-xml")
+ (delete "perl-test-pod")
+ (delete "texlive-updmap.cfg")))
+ (arguments
+ (substitute-keyword-arguments (package-arguments po4a)
+ ((#:tests? _ #t) #f)))
+ (properties '((hidden? . #t)))))