summaryrefslogtreecommitdiff
path: root/gnu/packages/python-build.scm
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 /gnu/packages/python-build.scm
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>
Diffstat (limited to 'gnu/packages/python-build.scm')
-rw-r--r--gnu/packages/python-build.scm27
1 files changed, 27 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.")
matching of file paths.")
(license license:mpl2.0)))
+(define-public python-platformdirs-bootstrap
+ ;; Try to update simultaneously with the standard version in
+ ;; (gnu packages python-build).
+ (package
+ (name "python-platformdirs-bootstrap")
+ (version "4.3.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "platformdirs" version))
+ (sha256
+ (base32 "01xrwajkmxv3jp6n14y8jndkrhb48p9kxknkmwch8nw8pjnb4zrm"))))
+ (build-system pyproject-build-system)
+ (arguments (list #:tests? #f)) ; avoid introducing more dependencies.
+ (native-inputs
+ (list python-hatchling
+ python-hatch-vcs
+ python-pytest-bootstrap))
+ (home-page "https://github.com/platformdirs/platformdirs")
+ (synopsis "Determine the appropriate platform-specific directories")
+ (description "When writing applications, finding the right location to
+store user data and configuration varies per platform. Even for
+single-platform apps, there may by plenty of nuances in figuring out the right
+location. This small Python module determines the appropriate
+platform-specific directories, e.g. the ``user data dir''.")
+ (license license:expat)))
+
(define-public python-pluggy
(package
(name "python-pluggy")