mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-08 22:20:38 +02:00
gnu: python-user-agents: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-user-agents)[source]: Switch to git-fetch containing test data. [build-system]: Switch to pyproejct-build-system. [arguments] <tests?>: Enable them. <test-backend>: Use 'unittest. [native-inputs]: Add python-setuptools. Change-Id: I502dc4f634e72d06dfd6c9030bef82b2d2765fb9
This commit is contained in:
@@ -15395,15 +15395,19 @@ toolkit. Use it to build trees of widgets.")
|
||||
(name "python-user-agents")
|
||||
(version "2.2.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "user-agents" version))
|
||||
(sha256
|
||||
(base32
|
||||
"09mddriffm9rkwr30081fy9n3cn976ms8pwc8p8hhlxnilbjavfk"))))
|
||||
(build-system python-build-system)
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/selwin/python-user-agents")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "0pcbjqj21c2ixhl414bh2h8khi8y1igzfpkyqwan1pakix0lq45a"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f)) ;missing devices.json test file in release
|
||||
(list #:test-backend #~'unittest))
|
||||
(native-inputs
|
||||
(list python-setuptools))
|
||||
(propagated-inputs
|
||||
(list python-ua-parser))
|
||||
(home-page "https://github.com/selwin/python-user-agents")
|
||||
|
||||
Reference in New Issue
Block a user