diff options
author | Nicolas Graves <ngraves@ngraves.fr> | 2025-09-20 17:52:46 +0200 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-20 19:27:03 +0100 |
commit | 8ac80a83e2d713c47ce8a6fe3a9b0b0ea52e5517 (patch) | |
tree | 28451df5af286657bbecc0de0ff67753337969b5 | |
parent | 05fe5e2924d6394ea1e5cf7cbcd6399502f0c288 (diff) |
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>
-rw-r--r-- | gnu/packages/python-check.scm | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 98e13286eb..1fe0697e63 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -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 |