summaryrefslogtreecommitdiff
path: root/gnu/packages/python-build.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-10-31 08:02:08 +0100
committerAndreas Enge <andreas@enge.fr>2026-02-07 12:28:23 +0100
commit1513445f34a758e9293a8c762fcddd15d0191acc (patch)
tree4aebcfdf235c4ffb72748b9818054c84b6475e7b /gnu/packages/python-build.scm
parent621bd48bc302cac5bbda183a18cee5af37567979 (diff)
gnu: python-path: Move to (gnu packages python-build).
* gnu/packages/python-xyz.scm (python-path): Move from here… * gnu/packages/python-build.scm (python-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, python-packaging by python-packaging-bootstrap, python-pygments by python-pygments-bootstrap. Change-Id: Ief847ef89a3bc76df59b9939b50068d969648717 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-build.scm')
-rw-r--r--gnu/packages/python-build.scm36
1 files changed, 36 insertions, 0 deletions
diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm
index 950281123c0..9177a9b65e3 100644
--- a/gnu/packages/python-build.scm
+++ b/gnu/packages/python-build.scm
@@ -159,6 +159,42 @@ and SML. @code{more-itertools} includes additional building blocks for
159working with iterables.") 159working with iterables.")
160 (license license:expat))) 160 (license license:expat)))
161 161
162(define-public python-path
163 (package
164 (name "python-path")
165 (version "17.1.0")
166 (source
167 (origin
168 (method url-fetch)
169 (uri (pypi-uri "path" version))
170 (sha256
171 (base32 "1scqbwgcbisx8mb28hw789a7np953851wg6z0bbzdm519znha7nl"))))
172 (build-system pyproject-build-system)
173 (arguments
174 (list
175 #:tests? (not (%current-target-system))
176 #:test-flags
177 #~(list "-k"
178 (string-append
179 ;; Do not test the myproject.toml build as it tries
180 ;; to pull dependencies from the Internet.
181 "not project "
182 ;; This tests assumes a root user exists.
183 "and not test_get_owner"))))
184 (native-inputs
185 (list python-more-itertools
186 python-packaging-bootstrap
187 python-pygments-bootstrap
188 python-pytest-bootstrap
189 python-setuptools-bootstrap
190 python-setuptools-scm-bootstrap))
191 (home-page "https://github.com/jaraco/path")
192 (synopsis "Object-oriented file system path manipulation library")
193 (description "@code{path} (formerly @code{path.py}) implements path
194objects as first-class entities, allowing common operations on files to be
195invoked on those path objects directly.")
196 (license license:expat)))
197
162(define-public python-pathspec 198(define-public python-pathspec
163 (package 199 (package
164 (name "python-pathspec") 200 (name "python-pathspec")