all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: kiasoc5 via Guix-patches via <guix-patches@gnu.org>
To: 63612@debbugs.gnu.org
Cc: kiasoc5 <kiasoc5@disroot.org>
Subject: [bug#63612] [PATCH 1/6] gnu: Add python-ephemeral-port-reserve.
Date: Sat, 20 May 2023 12:44:07 -0400	[thread overview]
Message-ID: <027691fe563599ebf8d49e15bac000a01ae6ddd5.1684600821.git.kiasoc5@disroot.org> (raw)
In-Reply-To: <cover.1684600821.git.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 b6ad489626..337c2b72c0 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -5802,6 +5802,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 pyproject-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.40.1





  reply	other threads:[~2023-05-20 16:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-20 16:42 [bug#63612] [PATCH 0/6] Update searx and dependencies kiasoc5 via Guix-patches via
2023-05-20 16:44 ` kiasoc5 via Guix-patches via [this message]
2023-05-20 16:44 ` [bug#63612] [PATCH 2/6] gnu: python-watchdog: Update to 3.0.0 kiasoc5 via Guix-patches via
2023-05-20 16:44 ` [bug#63612] [PATCH 3/6] gnu: python-jinja2: Update to 3.1.2 kiasoc5 via Guix-patches via
2023-05-20 16:44 ` [bug#63612] [PATCH 4/6] gnu: python-werkzeug: Update to 2.2.3 kiasoc5 via Guix-patches via
2023-05-20 16:44 ` [bug#63612] [PATCH 5/6] gnu: python-flask: Update to 2.2.2 kiasoc5 via Guix-patches via
2023-05-20 16:44 ` [bug#63612] [PATCH 6/6] 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

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

  git send-email \
    --in-reply-to=027691fe563599ebf8d49e15bac000a01ae6ddd5.1684600821.git.kiasoc5@disroot.org \
    --to=guix-patches@gnu.org \
    --cc=63612@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.