unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: kiasoc5 via Guix-patches via <guix-patches@gnu.org>
To: 59764@debbugs.gnu.org
Cc: kiasoc5 <kiasoc5@disroot.org>
Subject: [bug#59764] [PATCH 3/8] gnu: Add python-ephemeral-port-reserve.
Date: Fri,  2 Dec 2022 00:59:14 -0500	[thread overview]
Message-ID: <20221202055919.58982-3-kiasoc5@disroot.org> (raw)
In-Reply-To: <20221202055919.58982-1-kiasoc5@disroot.org>

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

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 4f3a587c6a..944fb4c781 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -5577,6 +5577,26 @@ (define-public python-port-for
 association.")
     (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 python-build-system)
+    (home-page "https://github.com/Yelp/ephemeral-port-reserve/")
+    (synopsis
+     "Find an unused port, reliably.")
+    (description
+     "@code{ephemeral-port-reserve} provides a reliable and race-free
+implementation of the ``port 0 trick'': bind to an ephemeral port, force it into
+the TIME_WAIT state, and unbind it.")
+    (license license:expat)))
+
 (define-public python-livereload
   (package
     (name "python-livereload")
-- 
2.38.1





  parent reply	other threads:[~2022-12-02  6:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-02  5:56 [bug#59764] [PATCH 0/8] Update searx and dependencies kiasoc5 via Guix-patches via
2022-12-02  5:59 ` [bug#59764] [PATCH 1/8] gnu: Add python-lxml-4.9 kiasoc5 via Guix-patches via
2022-12-02  5:59   ` [bug#59764] [PATCH 2/8] gnu: Add python-greenlet kiasoc5 via Guix-patches via
2022-12-02  5:59   ` kiasoc5 via Guix-patches via [this message]
2022-12-02  5:59   ` [bug#59764] [PATCH 4/8] gnu: python-flask: Update to 2.2.2 kiasoc5 via Guix-patches via
2022-12-02  5:59   ` [bug#59764] [PATCH 5/8] gnu: python-werkzeug: " kiasoc5 via Guix-patches via
2022-12-02  5:59   ` [bug#59764] [PATCH 6/8] gnu: python-markupsafe: Update to 2.1.1 kiasoc5 via Guix-patches via
2022-12-02  5:59   ` [bug#59764] [PATCH 7/8] gnu: python-jinja2: Update to 3.1.2 kiasoc5 via Guix-patches via
2022-12-02  5:59   ` [bug#59764] [PATCH 8/8] gnu: searx: Update to 1.1.0 kiasoc5 via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221202055919.58982-3-kiasoc5@disroot.org \
    --to=guix-patches@gnu.org \
    --cc=59764@debbugs.gnu.org \
    --cc=kiasoc5@disroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).