guix-patches
[Top][All Lists]
Advanced

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

[bug#70924] [PATCH 02/10] gnu: Add python-calver.


From: Vinicius Monego
Subject: [bug#70924] [PATCH 02/10] gnu: Add python-calver.
Date: Mon, 13 May 2024 20:52:07 +0000

* gnu/packages/python-build.scm (python-calver): New variable.

Change-Id: Icaf6d09519f792b42a5e0992b2e4fed4131b67f5
---
 gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 557c6d5815..901b0b25c5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -25872,6 +25872,27 @@ (define-public python-send2trash
 user's @file{~/Trash} directory.")
     (license license:bsd-3)))
 
+(define-public python-calver
+  (package
+    (name "python-calver")
+    (version "2022.06.26")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/di/calver";)
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "14l9kv9igcmp5k6d2ahnx6z4dn6zy5kykz95hkh0rkqswn8x79b1"))))
+    (build-system pyproject-build-system)
+    (native-inputs (list python-pretend python-pytest))
+    (home-page "https://github.com/di/calver";)
+    (synopsis "Setuptools extension for CalVer package versions")
+    (description "The calver package is a setuptools extension for
+automatically defining your Python package version as a calendar version.")
+    (license license:asl2.0)))
+
 (define-public python-pyfavicon
   (package
     (name "python-pyfavicon")
-- 
2.39.2






reply via email to

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