summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-09-20 19:00:55 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-25 09:36:38 +0100
commiteab15f83ffc7ba7111c9192d2577490e12c131a0 (patch)
tree8ac7944439ea6a2614605580999f140bb3d492d2 /gnu
parentee8706643ef68b04e94522dbbfbc058191478a57 (diff)
gnu: python-discogs-client: Fix tests.
* gnu/packages/music.scm (python-discogs-client) [source]: Switch to git-fetch. [arguemnts]<#:test-backend>: Set it. [native-inputs]: Remove python-wheel. [propagated-inputs, description]: Improve style. Change-Id: I8077c8505945b8407b132a74673b2cd1972e2385 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/music.scm37
1 files changed, 18 insertions, 19 deletions
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 7f02b13a977..5f19e68b791 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -5060,28 +5060,27 @@ provide a very simple interface for editing and playing MIDI loops.")
(package
(name "python-discogs-client")
(version "2.8")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "python3_discogs_client" version))
- (sha256
- (base32
- "0fxk8q8z5v5l961d9z2ywq49i2fz50h074p81zv6w6j9zzs7fb0g"))))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/joalla/discogs_client")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1ga48ds2q4as8srmvhq3ri1w7p7pmrr4yswcp9nf5c1rwdy02qys"))))
(build-system pyproject-build-system)
- (native-inputs
- (list python-setuptools
- python-wheel))
- (propagated-inputs
- (list python-dateutil
- python-oauthlib
- python-requests))
+ (arguments (list #:test-backend #~'unittest))
+ (native-inputs (list python-setuptools))
+ (propagated-inputs (list python-dateutil python-oauthlib python-requests))
(home-page "https://github.com/joalla/discogs_client")
(synopsis "Python client for the Discogs API")
- (description "This is the continuation of the official Discogs API
-client for Python. It enables 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.")
+ (description
+ "This is the continuation of the official Discogs API client for Python.
+It enables 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)))
(define-public libsmf