import: pypi: Don't add setuptools to propagated-inputs.

* guix/import/pypi.scm (compute-inputs): Don't add setuptools to the imported
  package's propagated-inputs.
This commit is contained in:
Carlo Zancanaro 2017-01-21 16:15:21 +11:00 committed by Hartmut Goebel
parent db6afe387a
commit 2f977d92d3
No known key found for this signature in database
GPG key ID: 634A8DFFD3F631DF

View file

@ -227,10 +227,8 @@ (define (compute-inputs source-url wheel-url tarball)
(sort
(map (lambda (input)
(list input (list 'unquote (string->symbol input))))
(append '("python-setuptools")
;; Argparse has been part of Python since 2.7.
(remove (cut string=? "python-argparse" <>)
(guess-requirements source-url wheel-url tarball))))
(remove (cut string=? "python-argparse" <>)
(guess-requirements source-url wheel-url tarball)))
(lambda args
(match args
(((a _ ...) (b _ ...))