From 9c080ce786d59ccec8c7b6f3456765fb5d8bd72f Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sun, 12 Oct 2025 15:59:58 +0200 Subject: [PATCH] gnu: Add python-jaraco-vcs. * gnu/packages/python-xyz.scm (python-jaraco-vcs): New variable. Change-Id: Ib029198d3e7dc629b221ac0133385850667b2d0b Signed-off-by: Sharlatan Hellseher --- 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 c13399eac9142781649913bb015a602b8660eb23..fecc5c215802f28152c2f14a0fc24d776e9f115a 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")