From 80983df357856fe4e65e384a655e466164e049a1 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Tue, 29 Nov 2016 19:02:35 +0100 Subject: [PATCH] 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". --- gnu/packages/music.scm | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 3f2018ef46..6950d8884f 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -2471,13 +2471,7 @@ (define-public python-discogs-client 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))