guix-commits
[Top][All Lists]
Advanced

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

64/361: gnu: Add python-pep440.


From: guix-commits
Subject: 64/361: gnu: Add python-pep440.
Date: Thu, 21 Nov 2024 06:28:50 -0500 (EST)

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

commit 3f28f9df8b1bed095be58cfd48d5d78c1064c919
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon May 6 22:42:53 2024 +0200

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0e2fd6b848..88bfd22493 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -14785,6 +14785,31 @@ PEP 8.")
 plugin for flake8 to check PEP-8 naming conventions.")
     (license license:expat)))
 
+(define-public python-pep440
+  (package
+    (name "python-pep440")
+    (version "0.1.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pep440" version))
+       (sha256
+        (base32 "0kfhysbyci4f2sxvv991yvn22kbhncn0jg1arbhzw4rbri375csq"))))
+    (build-system pyproject-build-system)
+    (arguments
+     ;; This checks for "pep440" in the output, but we actually print
+     ;; ".pep440-real" due to wrapping.
+     (list #:test-flags '(list "-k" "not test_cli_help")))
+    (propagated-inputs (list python-check-manifest python-mypy python-pytest
+                             python-pytest-console-scripts python-pytest-cov))
+    (native-inputs (list python-flit-core))
+    (home-page "https://pypi.org/project/pep440/";)
+    (synopsis "Utils to check whether versions number match PEP 440")
+    (description
+     "This package provides a simple package with utils to check whether
+versions number match PEP 440.")
+    (license license:expat)))
+
 (define-public python-pep517
   (package
     (inherit python-pep517-bootstrap)



reply via email to

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