guix-commits
[Top][All Lists]
Advanced

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

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


From: guix-commits
Subject: 339/361: gnu: Add python-ephemeral-port-reserve.
Date: Thu, 21 Nov 2024 06:29:46 -0500 (EST)

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

commit b6722c87bed75336ac9f3865bce492d647ff301b
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 79abf9e958..a95420f341 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -5391,6 +5391,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]