1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-01 06:45:55 +02:00

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
+2 -8
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))