1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-07 05:30:38 +02:00

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>
This commit is contained in:
Nicolas Graves
2025-10-31 08:48:30 +01:00
committed by Andreas Enge
parent 98e6e9c4c8
commit cf5bec98ae
2 changed files with 28 additions and 0 deletions

View File

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

View File

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