From 12371a0b4ac8f043efa862ecfa5fd05e9a518381 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sun, 12 Oct 2025 15:58:52 +0200 Subject: [PATCH] gnu: Add python-jaraco-path. * gnu/packages/python-xyz.scm (python-jaraco-path): New variable. Change-Id: Iaf8bc8ff56fd361b73b664d95f8a358dc1edcc02 Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 472b9e2cc243a8a5f0595639f1187d24bb7e2658..c13399eac9142781649913bb015a602b8660eb23 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -14138,6 +14138,35 @@ module with a few extra procedures.") releases.") (license license:expat))) +(define-public python-jaraco-path + (package + (name "python-jaraco-path") + (version "3.7.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jaraco/jaraco.path") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "12bj9za1yp0yn0ppya6a4kwgmh7hvmw64x7ivp4y0sbv20r0vfdq")))) + (build-system pyproject-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'set-version + (lambda _ + (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))))) + (native-inputs + (list python-pytest python-setuptools python-setuptools-scm)) + (home-page "https://github.com/jaraco/jaraco.path") + (synopsis "Miscellaneous path functions") + (description + "This package provides miscellaneous path functions for Python.") + (license license:expat))) + (define-public python-jaraco-test (package (name "python-jaraco-test")