gnu: python-click-didyoumean: Enable tests.

* gnu/packages/python-xyz.scm (python-click-didyoumean): Enable tests.
[source]: Swap to git checkout containing tests.
[native-inputs]: Add python-pytest.

Change-Id: I741e52c92c1c1b5ccde557061a8be0010974610f
This commit is contained in:
Sharlatan Hellseher 2024-08-26 22:54:04 +01:00
parent e2ccfea68d
commit 7781bdf4b5
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -11018,15 +11018,16 @@ (define-public python-click-didyoumean
(version "0.3.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "click_didyoumean" version))
(method git-fetch) ;no tests in PyPI archive
(uri (git-reference
(url "https://github.com/click-contrib/click-didyoumean")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0qx4npxxgj87zk5hkah5ijrc76ba7ymdd6r7na5fyr5y1pzzv0jg"))))
(base32 "1byfqs3m87zfpvssm1al9dvq94gjd0iddpwrzk6205n18wjsphqb"))))
(build-system pyproject-build-system)
(arguments
`(#:tests? #f)) ; no tests in PyPI and no setup.py in github
(native-inputs
(list python-poetry-core))
(list python-poetry-core python-pytest))
(propagated-inputs
(list python-click))
(home-page "https://github.com/timofurrer/click-didyoumean")