summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-07-15 14:22:36 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-25 09:35:46 +0100
commit4774af626c8d36ad51f33610c51b45f3cbaa77fb (patch)
tree22c6bc14a68bf46e99048903fd756a022676dc02 /gnu/packages/python-web.scm
parentb37e5ec48d0e4d06f13ae66e8f7e5741262f6fda (diff)
gnu: python-ephemeral-port-reserve: Enable tests.
* gnu/packages/python-web.scm (python-ephemeral-port-reserve): Enable tests. [source]: Switch to git-fetch contacting tests. [native-inputs]: Add python-pytest. Change-Id: If9768647f8e69c70329d1d3e761437152fbc50bd
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm12
1 files changed, 8 insertions, 4 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 0309d713b7d..47887f65f69 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6990,13 +6990,17 @@ this it tries to be opinion-free and very extendable.")
(version "1.1.4")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "ephemeral_port_reserve" version))
+ (method git-fetch) ;no tests in PyPI archvie
+ (uri (git-reference
+ (url "https://github.com/Yelp/ephemeral-port-reserve")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32 "1chl9hil7ggz6l4sfhmp0l2j55qcskbc3pj9360b0309jwndmxxq"))))
+ (base32 "1ifmf5zcw7mhbm73awmf5jwc4rw8lhk81mn4zp797lwkysjm38s7"))))
(build-system pyproject-build-system)
(native-inputs
- (list python-setuptools
+ (list python-pytest
+ python-setuptools
python-wheel))
(home-page "https://github.com/Yelp/ephemeral-port-reserve/")
(synopsis "Find an unused port, reliably")