From 359136e026a9b2fed0adc78cbb5ce383cbfd7be0 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Fri, 31 Oct 2025 07:55:38 +0100 Subject: [PATCH] gnu: python-jaraco-path: Move to (gnu packages python-build). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/python-xyz.scm (python-jaraco-path): Move from here… * gnu/packages/python-build.scm (python-jaraco-path): …to here. [native-inputs]: Replace python-pytest by python-pytest-bootstrap, python-setuptools by python-setuptools-bootstrap, python-setuptools-scm by python-setuptools-scm-boostrap. Change-Id: I1180653d8834d9161be77c3f6b36a3b7a8884f20 Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-build.scm | 31 +++++++++++++++++++++++++++++++ gnu/packages/python-xyz.scm | 29 ----------------------------- 2 files changed, 31 insertions(+), 29 deletions(-) diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm index 58a427c9e63..aae993b9211 100644 --- a/gnu/packages/python-build.scm +++ b/gnu/packages/python-build.scm @@ -1570,6 +1570,37 @@ WeightedLookup: A specialized RangeMap for selecting an item by weights. module with a few extra procedures.") (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-bootstrap + python-setuptools-bootstrap + python-setuptools-scm-bootstrap)) + (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-text (package (name "python-jaraco-text") diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f2cc897443b..98f9b3b565a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -14322,35 +14322,6 @@ enforced method signatures and consistent documentation.") 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")