summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2018-08-30 15:12:07 +0200
committerRicardo Wurmus <rekado@elephly.net>2018-08-30 15:22:22 +0200
commitac906cb7bb2ec77821ddec291db4857cc812599d (patch)
treeb96fad8b3ed4baf6c4e92d8b4724cd9fb7524260 /doc
parente37f889404b9055a50ea1b47259ce4acae23167d (diff)
downloadguix-ac906cb7bb2ec77821ddec291db4857cc812599d.tar.gz
import: pypi: Support recursive importing.
* guix/import/pypi.scm (guess-requirements): Use upstream names.
(compute-inputs): Return the upstream dependency names as an additional value.
(make-pypi-sexp): Likewise.
(pypi->guix-package): Memoize it.
(pypi-recursive-import): New procedure.
* guix/scripts/import/pypi.scm (show-help, %options): Accept "recursive"
option.
(guix-import-pypi): Use pypi-recursive-import.
* doc/guix.texi (Invoking guix import): Document it.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 1e17c294b6..8611059791 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -6442,6 +6442,14 @@ package:
 guix import pypi itsdangerous
 @end example
 
+@table @code
+@item --recursive
+@itemx -r
+Traverse the dependency graph of the given upstream package recursively
+and generate package expressions for all those packages that are not yet
+in Guix.
+@end table
+
 @item gem
 @cindex gem
 Import metadata from @uref{https://rubygems.org/,