emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#68193: closed ([PATCH] gnu: Add python-zc-lockfile.)


From: GNU bug Tracking System
Subject: bug#68193: closed ([PATCH] gnu: Add python-zc-lockfile.)
Date: Tue, 09 Jan 2024 09:00:02 +0000

Your message dated Tue, 09 Jan 2024 09:59:07 +0100
with message-id <87y1cydgro.fsf@gnu.org>
and subject line Re: [bug#68193] [PATCH] gnu: Add python-zc-lockfile.
has caused the debbugs.gnu.org bug report #68193,
regarding [PATCH] gnu: Add python-zc-lockfile.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
68193: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=68193
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: Add python-zc-lockfile. Date: Mon, 1 Jan 2024 19:52:48 +0100
* gnu/packages/python-web.scm (python-zc-lockfile): New variable.
---
 gnu/packages/python-web.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 06b578dac7..82663a9754 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -60,6 +60,7 @@
 ;;; Copyright © 2022 Baptiste Strazzulla <bstrazzull@hotmail.fr>
 ;;; Copyright © 2023 John Kehayias <john.kehayias@protonmail.com>
 ;;; Copyright © 2023 Ivan Vilata-i-Balaguer <ivan@selidor.net>
+;;; Copyright © 2024 Troy Figiel <troy@troyfigiel.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2595,6 +2596,32 @@ (define-public python-webob
 object to help create WSGI responses.")
     (license license:expat)))
 
+(define-public python-zc-lockfile
+  (package
+    (name "python-zc-lockfile")
+    (version "3.0.post1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "zc.lockfile" version))
+       (sha256
+        (base32 "1v41irj7azaag3f14xyviv3l8mvap74v5p3q274k68vakrnyxcmd"))))
+    (build-system python-build-system)
+    (arguments
+     '(#:phases (modify-phases %standard-phases
+                  (replace 'check
+                    (lambda* (#:key tests? #:allow-other-keys)
+                      (if tests?
+                          (invoke "zope-testrunner" "--test-path=src")
+                          (format #t "test suite not run~%")))))))
+    (native-inputs (list python-zope-testing python-zope-testrunner))
+    (home-page "https://github.com/zopefoundation/zc.lockfile";)
+    (synopsis "Interprocess locks using lock files")
+    (description
+     "This package provides an implementation of interprocess locks using lock
+files.  These locks can also be used to mediate access to other files.")
+    (license license:zpl2.1)))
+
 (define-public python-zope-event
   (package
     (name "python-zope-event")

base-commit: ff586211aaf0e3b468ff3cedc5ede18e8ab529dd
-- 
2.40.1




--- End Message ---
--- Begin Message --- Subject: Re: [bug#68193] [PATCH] gnu: Add python-zc-lockfile. Date: Tue, 09 Jan 2024 09:59:07 +0100 User-agent: Gnus/5.13 (Gnus v5.13)
> * gnu/packages/python-web.scm (python-zc-lockfile): New variable.

Applied, thanks,

Mathieu


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]