diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-10-31 06:42:30 +0100 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-02-07 12:28:23 +0100 |
| commit | 621bd48bc302cac5bbda183a18cee5af37567979 (patch) | |
| tree | f2a99622d09ce7a08b5df1649885e71eb9834531 /gnu/packages/python-build.scm | |
| parent | fc513cc7e614ed062c684b09806982747dd60434 (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.scm | 27 |
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.") | |||
| 181 | matching of file paths.") | 181 | matching 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 | ||
| 205 | store user data and configuration varies per platform. Even for | ||
| 206 | single-platform apps, there may by plenty of nuances in figuring out the right | ||
| 207 | location. This small Python module determines the appropriate | ||
| 208 | platform-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") |
