~ruther/guix-local

80983df357856fe4e65e384a655e466164e049a1 — Hartmut Goebel 9 years ago 3bf4280
gnu: python2-discogs-client: Remove python2-setuptools from inputs.

* gnu/packages/music.scm (python2-discogs-client): Use simply
  "package-with-python2". Remove inheriting from python-discogs-client
  since adding python2-setuptools to [native-inputs] has been the sole
  reason for inheriting.
  (python-discogs-client) Remove the now needless [properties]
  "python2-variant".
1 files changed, 2 insertions(+), 8 deletions(-)

M gnu/packages/music.scm
M gnu/packages/music.scm => gnu/packages/music.scm +2 -8
@@ 2471,13 2471,7 @@ you to query the Discogs database for information on artists, releases, labels,
users, Marketplace listings, and more.  It also supports OAuth 1.0a
authorization, which allows you to change user data such as profile information,
collections and wantlists, inventory, and orders.")
    (license license:bsd-2)
    (properties `((python2-variant . ,(delay python2-discogs-client))))))
    (license license:bsd-2)))

(define-public python2-discogs-client
  (let ((base (package-with-python2
               (strip-python2-variant python-discogs-client))))
    (package (inherit base)
      (native-inputs
       `(("python2-setuptools" ,python2-setuptools)
         ,@(package-native-inputs base))))))
  (package-with-python2 python-discogs-client))