[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: Add python-portpicker.
From: |
guix-commits |
Subject: |
branch master updated: gnu: Add python-portpicker. |
Date: |
Fri, 20 Oct 2023 10:14:45 -0400 |
This is an automated email from the git hooks/post-receive script.
rekado pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new d2111894c4 gnu: Add python-portpicker.
d2111894c4 is described below
commit d2111894c48b2ebd7e7be683c07241bbd8a91919
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri Oct 20 16:00:02 2023 +0200
gnu: Add python-portpicker.
* gnu/packages/python-xyz.scm (python-portpicker): New variable.
---
gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 732a548d99..0aac9a7228 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1289,6 +1289,31 @@ different units.")
scatter plots, histograms and heatmaps in the terminal using braille dots.")
(license license:expat)))
+(define-public python-portpicker
+ (package
+ (name "python-portpicker")
+ (version "1.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "portpicker" version))
+ (sha256
+ (base32 "1yiisk4h8qliwf99khz3lszrpjf6km76fbhzg01fwrbgz7b7yl5x"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ ;; This fails because portserver ends up in bin, not site-packages
+ '(list "--ignore=src/tests/portserver_test.py")))
+ (propagated-inputs (list python-psutil))
+ (native-inputs (list python-pytest net-tools))
+ (home-page "https://github.com/google/python_portpicker")
+ (synopsis "Choose unique available network ports")
+ (description
+ "This package provides a library to choose unique available network
+ports.")
+ (license license:asl2.0)))
+
(define-public python-mdx-gh-links
(package
(name "python-mdx-gh-links")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: Add python-portpicker.,
guix-commits <=