guix-commits
[Top][All Lists]
Advanced

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

10/55: gnu: Add python-slotscheck.


From: guix-commits
Subject: 10/55: gnu: Add python-slotscheck.
Date: Thu, 21 Sep 2023 13:31:34 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit 08250bffab2ff09eb0dc12eaa39f4ecec3a9c3b5
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Mon Sep 11 22:40:01 2023 +0800

    gnu: Add python-slotscheck.
    
    * gnu/packages/python-check.scm (python-slotscheck): New variable.
---
 gnu/packages/python-check.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 3a718954c5..0ccae07093 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -2023,6 +2023,31 @@ valid Python syntax that are likely to be commented out 
code.")
 behavior-driven development (TDD and BDD).")
     (license license:expat)))
 
+(define-public python-slotscheck
+  (package
+    (name "python-slotscheck")
+    (version "0.17.0")
+    (home-page "https://github.com/ariebovenberg/slotscheck";)
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference (url home-page)
+                                  (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0k5jjabd219ndlssfqcdb5sn891ffrxzw84l5r8pirzy74i7znr4"))))
+    (build-system pyproject-build-system)
+    (native-inputs
+     (list python-poetry-core
+           python-pydantic
+           python-pytest
+           python-pytest-mock))
+    (propagated-inputs (list python-click python-tomli))
+    (synopsis "Ensure @code{__slots__} are working properly")
+    (description
+     "@code{slotscheck} is a tool to validate Python class @code{__slots__}.")
+    (license license:expat)))
+
 (define-public python-stestr
   (package
     (name "python-stestr")



reply via email to

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