diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-10-31 08:48:30 +0100 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-02-07 12:28:24 +0100 |
| commit | cf5bec98aeb34e133a49c35e328984e60d548887 (patch) | |
| tree | 50303e0a0aee43115a71b94ef85a1a029e88d7d9 /gnu/packages | |
| parent | 98e6e9c4c8826be399c2119304792adf42dc66b1 (diff) | |
gnu: Add python-filelock-bootstrap.
* gnu/packages/python-build.scm (python-filelock-bootstrap): New variable.
* gnu/packages/python-xyz.scm (python-filelock): Inherit from python-filelock-bootstrap.
Change-Id: I0a0ff8246bcdccd384fe36119fd1125b53e0f670
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/python-build.scm | 26 | ||||
| -rw-r--r-- | gnu/packages/python-xyz.scm | 2 |
2 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm index b43ae4f0781..7276e781187 100644 --- a/gnu/packages/python-build.scm +++ b/gnu/packages/python-build.scm @@ -1074,6 +1074,32 @@ compatible build front-ends to build Poetry managed projects.") (define-deprecated/public-alias python-poetry-core-next python-poetry-core) ;may be removed after 2025-12-01 +(define-public python-filelock-bootstrap + ;; Try to update simultaneously with the standard version in + ;; (gnu packages python-build). + (package + (name "python-filelock-bootstrap") + (version "3.16.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "filelock" version)) + (sha256 + (base32 + "0d8ljvmsfgriiqf5dqii91gfcpj7cpjrh8fnsvifaiyvspygnjf2")))) + (build-system pyproject-build-system) + (arguments (list #:tests? #f)) ; avoid extra dependencies. + (native-inputs + (list python-hatch-vcs-bootstrap + python-hatchling + python-setuptools-scm-bootstrap)) + (home-page "https://github.com/tox-dev/py-filelock") + (synopsis "Platform independent file lock") + (description "@code{filelock} contains a single module implementing +a platform independent file lock in Python, which provides a simple way of +inter-process communication.") + (license license:unlicense))) + ;;; This package exists to bootstrap python-tomli. (define-public python-flit-core-bootstrap (package diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e116a3bba49..2b2ce9423fa 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -5888,6 +5888,8 @@ Python's built-in @code{re} module with compatible interfaces.") (license license:bsd-3))) (define-public python-filelock + ;; Try to update simultaneously with the bootstrap version in + ;; (gnu packages python-build). (package (name "python-filelock") (version "3.16.1") |
