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
This commit is contained in:
Sharlatan Hellseher 2025-07-12 21:01:04 +01:00
parent d4a94e8c60
commit 1fd8462496
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -1305,22 +1305,27 @@ them using any Python VM with basically no runtime overhead.")
(define-public python-mypy-extensions (define-public python-mypy-extensions
(package (package
(name "python-mypy-extensions") (name "python-mypy-extensions")
(version "1.0.0") (version "1.1.0")
(source (origin (source
(method url-fetch) (origin
(uri (pypi-uri "mypy_extensions" version)) (method git-fetch) ;no tests in PyPI archive
(sha256 (uri (git-reference
(base32 (url "https://github.com/python/mypy_extensions")
"10h7mwjjfbwxzq7jzaj1pnv9g6laa1k0ckgw72j44160bnazinvm")))) (commit version)))
(build-system python-build-system) (file-name (git-file-name name version))
(arguments (sha256
`(#:tests? #f)) ;no tests (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") (home-page "https://github.com/python/mypy_extensions")
(synopsis "Experimental extensions for MyPy") (synopsis "Experimental extensions for MyPy")
(description (description
"The @code{python-mypy-extensions} module defines "The @code{python-mypy-extensions} module defines experimental extensions
experimental extensions to the standard @code{typing} module that are to the standard @code{typing} module that are supported by the MyPy
supported by the MyPy typechecker.") typechecker.")
(license license:expat))) (license license:expat)))
;;; This variant exists to break a cycle between python-pylama and python-isort. ;;; This variant exists to break a cycle between python-pylama and python-isort.