summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-10-31 06:42:30 +0100
committerAndreas Enge <andreas@enge.fr>2026-02-07 12:28:23 +0100
commit621bd48bc302cac5bbda183a18cee5af37567979 (patch)
treef2a99622d09ce7a08b5df1649885e71eb9834531
parentfc513cc7e614ed062c684b09806982747dd60434 (diff)
gnu: Add python-platformdirs-bootstrap.
* gnu/packages/python-build.scm (python-platformdirs-bootstrap): New variable. * gnu/packages/python-xyz.scm (python-platformdirs): Add a comment. Change-Id: If9c296d498690f8c1fff585a6bb7ce4579434c79 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/python-build.scm27
-rw-r--r--gnu/packages/python-xyz.scm2
2 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm
index aae993b9211..950281123c0 100644
--- a/gnu/packages/python-build.scm
+++ b/gnu/packages/python-build.scm
@@ -181,6 +181,33 @@ working with iterables.")
181matching of file paths.") 181matching of file paths.")
182 (license license:mpl2.0))) 182 (license license:mpl2.0)))
183 183
184(define-public python-platformdirs-bootstrap
185 ;; Try to update simultaneously with the standard version in
186 ;; (gnu packages python-build).
187 (package
188 (name "python-platformdirs-bootstrap")
189 (version "4.3.6")
190 (source
191 (origin
192 (method url-fetch)
193 (uri (pypi-uri "platformdirs" version))
194 (sha256
195 (base32 "01xrwajkmxv3jp6n14y8jndkrhb48p9kxknkmwch8nw8pjnb4zrm"))))
196 (build-system pyproject-build-system)
197 (arguments (list #:tests? #f)) ; avoid introducing more dependencies.
198 (native-inputs
199 (list python-hatchling
200 python-hatch-vcs
201 python-pytest-bootstrap))
202 (home-page "https://github.com/platformdirs/platformdirs")
203 (synopsis "Determine the appropriate platform-specific directories")
204 (description "When writing applications, finding the right location to
205store user data and configuration varies per platform. Even for
206single-platform apps, there may by plenty of nuances in figuring out the right
207location. This small Python module determines the appropriate
208platform-specific directories, e.g. the ``user data dir''.")
209 (license license:expat)))
210
184(define-public python-pluggy 211(define-public python-pluggy
185 (package 212 (package
186 (name "python-pluggy") 213 (name "python-pluggy")
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 29bce912d5e..599cb776a8d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -33549,6 +33549,8 @@ statements in OFX files.")
33549 (license license:expat))) 33549 (license license:expat)))
33550 33550
33551(define-public python-platformdirs 33551(define-public python-platformdirs
33552 ;; Try to update simultaneously with the bootstrap version in
33553 ;; (gnu packages python-build).
33552 (package 33554 (package
33553 (name "python-platformdirs") 33555 (name "python-platformdirs")
33554 (version "4.3.6") 33556 (version "4.3.6")