summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2023-06-08 10:42:05 +0200
committerRicardo Wurmus <rekado@elephly.net>2023-06-09 16:53:29 +0200
commitc0e510dfa30fd0ba7d5b0d7c1d096afa6cf37cc6 (patch)
tree04698ad0c9b3030805ad7f93a60ded5653931456
parentdd587a4fefbd8841f609910af36e13aa890781b7 (diff)
gnu: Add python-portalocker.
* gnu/packages/python-xyz.scm (python-portalocker): New variable.
-rw-r--r--gnu/packages/python-xyz.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 98abf038a5..dd35f94214 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3906,6 +3906,28 @@ a certain expected condition.")
Cython for speed.")
(license license:expat)))
+(define-public python-portalocker
+ (package
+ (name "python-portalocker")
+ (version "2.7.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "portalocker" version))
+ (sha256
+ (base32
+ "0lawjm736vs86wlnxc3qqh37l11z0yx81xq3dmrw33m86kaq2bh3"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-pytest
+ python-pytest-cov
+ python-pytest-mypy
+ python-pytest-timeout
+ python-redis))
+ (home-page "https://github.com/WoLpH/portalocker")
+ (synopsis "Python library for file locking")
+ (description "Portalocker is a library to provide an easy API to file
+locking..")
+ (license license:bsd-3)))
+
(define-public python-poyo
(package
(name "python-poyo")