diff options
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 911cfec2e17..c67421c2347 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm | |||
| @@ -28878,42 +28878,6 @@ source bytes using the UTF-8 encoding and then rewrites Python 3.6 style | |||
| 28878 | @code{f} strings.") | 28878 | @code{f} strings.") |
| 28879 | (license license:expat))) | 28879 | (license license:expat))) |
| 28880 | 28880 | ||
| 28881 | ;; TODO: https://github.com/python/typed_ast/issues/179 | ||
| 28882 | (define-public python-typed-ast | ||
| 28883 | (package | ||
| 28884 | (name "python-typed-ast") | ||
| 28885 | (version "1.5.1") | ||
| 28886 | (source | ||
| 28887 | (origin | ||
| 28888 | (method git-fetch) | ||
| 28889 | (uri (git-reference | ||
| 28890 | (url "https://github.com/python/typed_ast") | ||
| 28891 | (commit version))) | ||
| 28892 | (sha256 | ||
| 28893 | (base32 "1xfcs5246c8v5600aaa8zs7ii4sxb62q6r3sb2fgazyjx97wrxd9")) | ||
| 28894 | (file-name (git-file-name name version)))) | ||
| 28895 | (build-system python-build-system) | ||
| 28896 | (arguments | ||
| 28897 | (list #:phases | ||
| 28898 | #~(modify-phases %standard-phases | ||
| 28899 | (replace 'check | ||
| 28900 | (lambda* (#:key tests? #:allow-other-keys) | ||
| 28901 | (when tests? | ||
| 28902 | (invoke "pytest" "-vv"))))))) | ||
| 28903 | (native-inputs (list python-pytest)) | ||
| 28904 | (home-page "https://github.com/python/typed_ast") | ||
| 28905 | (synopsis "Fork of Python @code{ast} modules with type comment support") | ||
| 28906 | (description "This package provides a parser similar to the standard | ||
| 28907 | @code{ast} library. Unlike @code{ast}, the parsers in @code{typed_ast} | ||
| 28908 | include PEP 484 type comments and are independent of the version of Python | ||
| 28909 | under which they are run. The @code{typed_ast} parsers produce the standard | ||
| 28910 | Python AST (plus type comments), and are both fast and correct, as they are | ||
| 28911 | based on the CPython 2.7 and 3.7 parsers.") | ||
| 28912 | ;; See the file "LICENSE" for the details. | ||
| 28913 | (license (list license:psfl | ||
| 28914 | license:asl2.0 | ||
| 28915 | license:expat)))) ;ast27/Parser/spark.py | ||
| 28916 | |||
| 28917 | (define-public python-typer | 28881 | (define-public python-typer |
| 28918 | (package | 28882 | (package |
| 28919 | (name "python-typer") | 28883 | (name "python-typer") |
