gnu: python-jaraco-path: Move to (gnu packages python-build).

* 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 <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-10-31 07:55:38 +01:00 committed by Sharlatan Hellseher
parent 60f1a5e703
commit 359136e026
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5
2 changed files with 31 additions and 29 deletions

View file

@ -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")

View file

@ -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")