mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
ui: Add package-description-string.
Provide support for Texinfo's markup in package description. * guix/ui.scm (%text-width): New parameter. (texi->plain-text): New variable. (package->recutils): Use them. (package-description-string): New variable. * emacs/guix-main.scm (%package-param-alist): Use it. * gnu/packages/perl.scm (perl-devel-globaldestruction) (perl-devel-lexalias, perl-exporter-lite): Adapt to Texinfo's markup. * gnu/packages/python.scm (python2-empy): Likewise.
This commit is contained in:
parent
8531b326f1
commit
1cd4027cfd
4 changed files with 42 additions and 18 deletions
|
@ -1705,7 +1705,7 @@ particular command is available.")
|
|||
(home-page "http://search.cpan.org/dist/Devel-GlobalDestruction")
|
||||
(synopsis "Provides equivalent of ${^GLOBAL_PHASE} eq 'DESTRUCT' for older perls")
|
||||
(description "Devel::GlobalDestruction provides a function returning the
|
||||
equivalent of \"${^GLOBAL_PHASE} eq 'DESTRUCT'\" for older perls.")
|
||||
equivalent of \"$@{^GLOBAL_PHASE@} eq 'DESTRUCT'\" for older perls.")
|
||||
(license (package-license perl))))
|
||||
|
||||
(define-public perl-devel-lexalias
|
||||
|
@ -1949,7 +1949,7 @@ constructors, which speeds code up at runtime by a significant amount. String
|
|||
eval is not without its issues however - it's difficult to control the scope
|
||||
it's used in (which determines which variables are in scope inside the eval),
|
||||
and it's easy to miss compilation errors, since eval catches them and sticks
|
||||
them in $@ instead. This module attempts to solve these problems. It
|
||||
them in $@@ instead. This module attempts to solve these problems. It
|
||||
provides an eval_closure function, which evals a string in a clean
|
||||
environment, other than a fixed list of specified variables. Compilation
|
||||
errors are rethrown automatically.")
|
||||
|
@ -1993,7 +1993,7 @@ in your modules in a \"Java-esque\" manner.")
|
|||
(description
|
||||
"Exporter::Lite is an alternative to Exporter, intended to provide a
|
||||
lightweight subset of the most commonly-used functionality. It supports
|
||||
import(), @EXPORT and @EXPORT_OK and not a whole lot else.")
|
||||
import(), @@EXPORT and @@EXPORT_OK and not a whole lot else.")
|
||||
(home-page (string-append "http://search.cpan.org/~neilb/"
|
||||
"Exporter-Lite-" version))
|
||||
(license (package-license perl))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue