[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
222/232: gnu: Add python-beartype.
From: |
guix-commits |
Subject: |
222/232: gnu: Add python-beartype. |
Date: |
Sun, 24 Apr 2022 23:59:16 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 5ebe433d76742c37a0af0ca547ec8686accdeb0b
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Thu Apr 21 23:14:29 2022 -0400
gnu: Add python-beartype.
* gnu/packages/python-check.scm (python-beartype): New variable.
---
gnu/packages/python-check.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index f96807e3a2..51f30d412e 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -69,6 +69,38 @@ Protocol (TAP) in Python. TAP is a line based test protocol
for recording test
data in a standard way.")
(license license:bsd-3)))
+(define-public python-beartype
+ (package
+ (name "python-beartype")
+ (version "0.10.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "beartype" version))
+ (sha256
+ (base32 "0amzckgw9c93bl4jf0q6322j9wyyf3i8vl03yixfkrpllzv6kv14"))))
+ (build-system python-build-system)
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-vv" "beartype_test"
+ ;; These tests rely on git through the
+ ;; "get_main_readme_file" helper.
+ "-k"
+ (string-append "not test_doc_readme "
+ "and not test_sphinx "
+ "and not test_pep561_mypy"))))))))
+ (native-inputs
+ (list python-pytest))
+ (home-page "https://github.com/beartype/beartype")
+ (synopsis "Fast runtime type checking for Python")
+ (description "Beartype aims to be a very fast runtime type checking tool
+written in pure Python.")
+ (license license:expat)))
+
(define-public python-pytest-click
(package
(name "python-pytest-click")
- 190/232: gnu: python-mkdocs: Update to 1.3.0., (continued)
- 190/232: gnu: python-mkdocs: Update to 1.3.0., guix-commits, 2022/04/24
- 77/232: gnu: Add python-fonttools-next., guix-commits, 2022/04/24
- 151/232: gnu: Add python-dictpath., guix-commits, 2022/04/24
- 163/232: gnu: python-jupyter-server: Update to 1.16.0., guix-commits, 2022/04/24
- 176/232: gnu: Add python-bson., guix-commits, 2022/04/24
- 195/232: gnu: python-croniter: Update to 1.3.4., guix-commits, 2022/04/24
- 205/232: gnu: python-keyring: Fix test suite., guix-commits, 2022/04/24
- 214/232: gnu: python-sphinx: Update to 4.5.0., guix-commits, 2022/04/24
- 218/232: gnu: python-sphinxcontrib-websupport: Update to 1.2.4., guix-commits, 2022/04/24
- 221/232: gnu: python-sphinx-cloud-sptheme: Update to 1.10.1 [still broken]., guix-commits, 2022/04/24
- 222/232: gnu: Add python-beartype.,
guix-commits <=
- 230/232: gnu: Add python-mpl-sphinx-theme., guix-commits, 2022/04/24
- 76/232: gnu: Add java-antlr4-runtime-cpp., guix-commits, 2022/04/24
- 86/232: gnu: Add font-amiri., guix-commits, 2022/04/24
- 113/232: gnu: python-nbconvert: Update to 6.5.0., guix-commits, 2022/04/24
- 118/232: gnu: Add python-nbdime., guix-commits, 2022/04/24
- 134/232: gnu: Add python-strict-rfc3339., guix-commits, 2022/04/24
- 136/232: gnu: Add python-openapi-schema-validator., guix-commits, 2022/04/24
- 146/232: gnu: python-sqlalchemy: Update to 1.4.35., guix-commits, 2022/04/24
- 141/232: gnu: Add python-httpx-bootstrap., guix-commits, 2022/04/24
- 150/232: gnu: python-falcon: Update to 3.1.0., guix-commits, 2022/04/24