gnu: python-pyannotate: Fix tests.

* gnu/packages/python-check.scm (python-pyannotate)
[source]: Switch to git-fetch.
[arguments]<#:test-backend>: Set it.
[native-inputs]: Remove python-wheel.
[propagated-inputs, description]: Improve style.

Change-Id: I4f310eba2117b062aedc2fad4a96537604dd8bd6
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-09-20 17:52:46 +02:00 committed by Sharlatan Hellseher
parent 10c8e10d30
commit 39208be4bd
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -1570,19 +1570,21 @@ flake8 to check PEP-8 naming conventions.")
(version "1.2.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pyannotate" version))
(method git-fetch)
(uri (git-reference
(url "https://github.com/dropbox/pyannotate")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "16bm0mf7wxvy0lgmcs1p8n1ji8pnvj1jvj8zk3am70dkp825iv84"))))
(base32 "0gmhl4ldan0p774dhrs9a7bmjjphlsy3hhfqq84gak15rdjs59ga"))))
(build-system pyproject-build-system)
(native-inputs
(list python-setuptools python-wheel))
(propagated-inputs
(list python-mypy-extensions python-six))
(arguments (list #:test-backend #~'unittest))
(native-inputs (list python-setuptools))
(propagated-inputs (list python-mypy-extensions python-six))
(home-page "https://github.com/dropbox/pyannotate")
(synopsis "Auto-generate PEP-484 annotations")
(description "This package, PyAnnotate, is used to auto-generate PEP-484
annotations.")
(description
"This package, PyAnnotate, is used to auto-generate PEP-484 annotations.")
(license license:asl2.0)))
(define-public python-pycotap