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>
This commit is contained in:
Nicolas Graves 2025-10-31 06:42:30 +01:00 committed by Sharlatan Hellseher
parent 359136e026
commit 9fceb37e75
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5
2 changed files with 29 additions and 0 deletions

View file

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

View file

@ -33401,6 +33401,8 @@ statements in OFX files.")
(license license:expat)))
(define-public python-platformdirs
;; Try to update simultaneously with the bootstrap version in
;; (gnu packages python-build).
(package
(name "python-platformdirs")
(version "4.3.6")