summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-07-12 21:01:04 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-25 09:35:40 +0100
commit12460b246d42b8c09fbbdf1c3d0c14e3de2a7572 (patch)
treee36042fb79ee8d7e135c6c47470ec76a79b7683d
parentdb5beb4036e3310880ceccb454c44491ebbc79b9 (diff)
gnu: python-mypy-extensions: Update to 1.1.0.
* gnu/packages/python-check.scm (python-mypy-extensions): Update to 1.1.0. [build-system]: Use pyproject. [arguments] <test-backend>: Use 'unittest. <test-flags>: Provide tests discover flag. [native-inputs]: Add python-flit-core. [description]: Apply fill-paragrap. Change-Id: Ib79bd4c5c9eef80fbe8ee998f8fbceb728e6c1f3
-rw-r--r--gnu/packages/python-check.scm31
1 files changed, 18 insertions, 13 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 8c5036a576..b46ab39701 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -1305,22 +1305,27 @@ them using any Python VM with basically no runtime overhead.")
(define-public python-mypy-extensions
(package
(name "python-mypy-extensions")
- (version "1.0.0")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "mypy_extensions" version))
- (sha256
- (base32
- "10h7mwjjfbwxzq7jzaj1pnv9g6laa1k0ckgw72j44160bnazinvm"))))
- (build-system python-build-system)
- (arguments
- `(#:tests? #f)) ;no tests
+ (version "1.1.0")
+ (source
+ (origin
+ (method git-fetch) ;no tests in PyPI archive
+ (uri (git-reference
+ (url "https://github.com/python/mypy_extensions")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "12a3qs6rckxljlgw8ylkgcgpwllz96rw82lrgmhlzdgqcnqhbl0w"))))
+ (build-system pyproject-build-system)
+ (arguments (list #:test-backend #~'unittest
+ #:test-flags #~(list "discover" "tests")))
+ (native-inputs
+ (list python-flit-core))
(home-page "https://github.com/python/mypy_extensions")
(synopsis "Experimental extensions for MyPy")
(description
- "The @code{python-mypy-extensions} module defines
-experimental extensions to the standard @code{typing} module that are
-supported by the MyPy typechecker.")
+ "The @code{python-mypy-extensions} module defines experimental extensions
+to the standard @code{typing} module that are supported by the MyPy
+typechecker.")
(license license:expat)))
;;; This variant exists to break a cycle between python-pylama and python-isort.