guix-commits
[Top][All Lists]
Advanced

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

339/420: gnu: Add python-ephemeral-port-reserve.


From: guix-commits
Subject: 339/420: gnu: Add python-ephemeral-port-reserve.
Date: Tue, 26 Nov 2024 16:29:29 -0500 (EST)

sharlatan pushed a commit to branch python-team
in repository guix.

commit 9e5a37db1a5e1d21ae097e4884d2d417034caf3c
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sat Nov 16 23:20:26 2024 +0000

    gnu: Add python-ephemeral-port-reserve.
    
    * gnu/packages/python-web.scm (python-ephemeral-port-reserve): New variable.
    
    Change-Id: I198370d0d3b6ddaf3cc94a98a2cbebb654072e53
---
 gnu/packages/python-web.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 8f56bcd2b2..d31b4b74a8 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -5398,6 +5398,27 @@ this it tries to be opinion-free and very extendable.")
 server.")
     (license license:expat)))
 
+(define-public python-ephemeral-port-reserve
+  (package
+    (name "python-ephemeral-port-reserve")
+    (version "1.1.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "ephemeral_port_reserve" version))
+       (sha256
+        (base32 "1chl9hil7ggz6l4sfhmp0l2j55qcskbc3pj9360b0309jwndmxxq"))))
+    (build-system pyproject-build-system)
+    (native-inputs
+     (list python-setuptools
+           python-wheel))
+    (home-page "https://github.com/Yelp/ephemeral-port-reserve/";)
+    (synopsis "Find an unused port, reliably")
+    (description
+     "Bind to an ephemeral port, force it into the TIME_WAIT state, and unbind
+it.")
+    (license license:expat)))
+
 (define-public python-flask-migrate
   (package
     (name "python-flask-migrate")



reply via email to

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