guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

09/46: gnu: Add python-overrides.


From: guix-commits
Subject: 09/46: gnu: Add python-overrides.
Date: Tue, 7 May 2024 18:33:59 -0400 (EDT)

rekado pushed a commit to branch python-team
in repository guix.

commit b93782c955e4fef1471cc8de2fdbdc92eec4f028
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue May 7 15:40:57 2024 +0200

    gnu: Add python-overrides.
    
    * gnu/packages/python-xyz.scm (python-overrides): New variable.
    
    Change-Id: I43f613195879ea6cdd5174daadb5e5c35569e534
---
 gnu/packages/python-xyz.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 63a3ec4f95..84b0655c00 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3780,6 +3780,25 @@ dataclass, datetime, numpy, and UUID instances 
natively.")
     ;; Either of these licenses
     (license (list license:asl2.0 license:expat))))
 
+(define-public python-overrides
+  (package
+    (name "python-overrides")
+    (version "7.7.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "overrides" version))
+       (sha256
+        (base32 "02l2j5pnsxn0q5i63is5g6i3q06ri83nf7lv55swr61vv6iqy5am"))))
+    (build-system pyproject-build-system)
+    (native-inputs (list python-pytest python-setuptools python-wheel))
+    (home-page "https://github.com/mkorpela/overrides";)
+    (synopsis "Decorator to detect mismatch when overriding a method")
+    (description
+     "This package provides a decorator to automatically detect mismatch when
+overriding a method.")
+    (license license:asl2.0)))
+
 (define-public python-argparse-addons
   (package
     (name "python-argparse-addons")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]