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".
This commit is contained in:
Hartmut Goebel 2016-11-29 19:02:35 +01:00
parent 3bf4280659
commit 80983df357
No known key found for this signature in database
GPG Key ID: 634A8DFFD3F631DF
1 changed files with 2 additions and 8 deletions

View File

@ -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))