[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
223/242: gnu: Add python-nptyping.
From: |
guix-commits |
Subject: |
223/242: gnu: Add python-nptyping. |
Date: |
Thu, 12 May 2022 14:14:45 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 4d62953573ecf8a1e5616a4a7c1577d91ad9f57a
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 8cabd05dd5..a1601d6656 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -1811,6 +1811,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")
- 194/242: gnu: Remove python2-jmespath., (continued)
- 194/242: gnu: Remove python2-jmespath., guix-commits, 2022/05/12
- 195/242: gnu: python-croniter: Update to 1.3.4., guix-commits, 2022/05/12
- 185/242: gnu: python-multipart: Fix build with PyYAML 6., guix-commits, 2022/05/12
- 180/242: gnu: python-celery: Update to 5.2.6 and enable tests., guix-commits, 2022/05/12
- 179/242: gnu: python-kombu: Update to 5.2.4., guix-commits, 2022/05/12
- 191/242: gnu: Add python-crccheck., guix-commits, 2022/05/12
- 203/242: gnu: setzer: Add python-wrapper to fix build., guix-commits, 2022/05/12
- 200/242: gnu: seed: Use webkitgtk-with-libsoup2., guix-commits, 2022/05/12
- 210/242: snippets: Add a 'remove' snippet., guix-commits, 2022/05/12
- 221/242: gnu: python-sphinx-cloud-sptheme: Update to 1.10.1 [still broken]., guix-commits, 2022/05/12
- 223/242: gnu: Add python-nptyping.,
guix-commits <=
- 220/242: gnu: python-sphinx-argparse: Update to 0.3.1., guix-commits, 2022/05/12
- 213/242: gnu: python-numpydoc: Update to 1.2.1., guix-commits, 2022/05/12
- 228/242: gnu: Add python-ipdb., guix-commits, 2022/05/12
- 227/242: gnu: python-numpy-documentation: Overhaul package definition., guix-commits, 2022/05/12
- 231/242: gnu: Add texlive-underscore., guix-commits, 2022/05/12
- 230/242: gnu: Add python-mpl-sphinx-theme., guix-commits, 2022/05/12
- 240/242: gnu: Add python-sanic-bootstrap., guix-commits, 2022/05/12
- 234/242: gnu: python-qtconsole: Update to 5.3.0., guix-commits, 2022/05/12
- 235/242: gnu: python-pygments: Update to 2.12.0., guix-commits, 2022/05/12
- 233/242: gnu: python-qtpy: Update to 2.0.1., guix-commits, 2022/05/12