guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 9c080ce786d59ccec8c7b6f3456765fb5d8bd72f
Author: Nicolas Graves <[email protected]>
AuthorDate: Sun Oct 12 15:59:58 2025 +0200

    gnu: Add python-jaraco-vcs.
    
    * gnu/packages/python-xyz.scm (python-jaraco-vcs): New variable.
    
    Change-Id: Ib029198d3e7dc629b221ac0133385850667b2d0b
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-xyz.scm | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c13399eac9..fecc5c2158 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -14226,6 +14226,47 @@ removal, line continuation, indentation, comment 
processing, identifier
 processing, values parsing, case insensitive comparison, and more.")
     (license license:expat)))
 
+(define-public python-jaraco-vcs
+  (package
+    (name "python-jaraco-vcs")
+    (version "2.4.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference (url "https://github.com/jaraco/jaraco.vcs";)
+                           (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256 (base32 
"1n9f0l4zp8dbbq2ha93bd9z6gb9y7gsmbd4jkl5gcm51qpsq4vpm"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:test-flags
+      ;; Ignore doctests.
+      #~(list "--ignore-glob=jaraco/vcs/*.py")
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'set-version
+            (lambda _
+              (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
+    (propagated-inputs (list python-jaraco-classes
+                             python-jaraco-path
+                             python-jaraco-versioning
+                             python-more-itertools
+                             python-packaging
+                             python-dateutil
+                             python-tempora))
+    (native-inputs (list python-pygments
+                         python-pytest
+                         python-pytest-home
+                         python-setuptools
+                         python-setuptools-scm))
+    (home-page "https://github.com/jaraco/jaraco.vcs";)
+    (synopsis "Utilities for working with VCS repositories")
+    (description
+     "This package provides facilities for working with VCS repositories in
+Python.")
+    (license license:expat)))
+
 (define-public python-pypytools
   (package
     (name "python-pypytools")

Reply via email to