[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
223/233: gnu: Add python-nptyping.
From: |
guix-commits |
Subject: |
223/233: gnu: Add python-nptyping. |
Date: |
Sun, 24 Apr 2022 23:40:09 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit a38d579e69579ae1f71aea5be38335dcc40cfb39
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Thu Apr 21 23:20:23 2022 -0400
gnu: Add python-nptyping.
* gnu/packages/python-check.scm (python-nptyping): New variable.
---
gnu/packages/python-check.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 51f30d412e..5fec85b1ba 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -1810,6 +1810,40 @@ them using any Python VM with basically no runtime
overhead.")
(delete 'ensure-no-mtimes-pre-1980))))
(native-inputs '()))))
+(define-public python-nptyping
+ (package
+ (name "python-nptyping")
+ (version "2.0.0")
+ (source (origin
+ (method git-fetch) ;pypi only contains a binary wheel
+ (uri (git-reference
+ (url "https://github.com/ramonhagenaars/nptyping")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0839mcrv5jljq9k9124ssnl1hc1inbxwlwjk72imabsbqssjy9rb"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'set-source-date-epoch
+ (lambda _
+ ;; Otherwise the wheel building test would fail with "ZIP does
+ ;; not support timestamps before 1980".
+ (setenv "SOURCE_DATE_EPOCH" "315532800"))))))
+ (native-inputs
+ (list python-beartype
+ python-mypy
+ python-typeguard
+ python-wheel))
+ (propagated-inputs (list python-numpy python-typing-extensions))
+ (home-page "https://github.com/ramonhagenaars/nptyping")
+ (synopsis "Type hints for Numpy")
+ (description "This package provides extensive dynamic type checks for
+dtypes and shapes of arrays for NumPy, extending @code{numpy.typing}.")
+ (license license:expat)))
+
(define-public python-pylama
(package
(name "python-pylama")
- 177/233: gnu: python-can: Update to 4.0.0., (continued)
- 177/233: gnu: python-can: Update to 4.0.0., guix-commits, 2022/04/24
- 178/233: gnu: python-amqp: Update to 5.1.1 and enable tests., guix-commits, 2022/04/24
- 187/233: gnu: Add python-pyyaml-env-tag., guix-commits, 2022/04/24
- 199/233: gnu: weasyprint: Update to 54.3., guix-commits, 2022/04/24
- 203/233: gnu: setzer: Add python-wrapper to fix build., guix-commits, 2022/04/24
- 208/233: gnu: python-flask-wtf: Update to 1.0.1., guix-commits, 2022/04/24
- 209/233: gnu: python-flask-login: Update to 0.6.0., guix-commits, 2022/04/24
- 215/233: gnu: python-pydata-sphinx-theme: Update to 0.7.2., guix-commits, 2022/04/24
- 216/233: gnu: python-sphinx-copybutton: Update to 0.5.0., guix-commits, 2022/04/24
- 218/233: gnu: python-sphinxcontrib-websupport: Update to 1.2.4., guix-commits, 2022/04/24
- 223/233: gnu: Add python-nptyping.,
guix-commits <=
- 226/233: gnu: python-sphinx-rtd-theme: Update to 1.0.0., guix-commits, 2022/04/24
- 229/233: gnu: python-pudb: Update to 2022.1.1 and rename from pudb., guix-commits, 2022/04/24
- 233/233: gnu: python-matplotlib-documentation: Fix build., guix-commits, 2022/04/24
- 152/233: gnu: Add python-openapi-core., guix-commits, 2022/04/24
- 154/233: gnu: python-hypothesis-6.23: Update to 6.43.3., guix-commits, 2022/04/24
- 155/233: gnu: python-numpy: Update to 1.21.6 and parallelize build/tests., guix-commits, 2022/04/24
- 161/233: gnu: python-pynndescent: Update to 0.5.6., guix-commits, 2022/04/24
- 179/233: gnu: python-kombu: Update to 5.2.4., guix-commits, 2022/04/24
- 180/233: gnu: python-celery: Update to 5.2.6 and enable tests., guix-commits, 2022/04/24
- 182/233: gnu: python-bitstruct: Update to 8.14.0., guix-commits, 2022/04/24