From 1da372e3c2f0d52863975161af561670422d86b2 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sun, 17 Nov 2024 11:52:36 +0000 Subject: [PATCH] gnu: python-pytest-localserver: Update to 0.9.0.post0. * gnu/packages/check.scm (python-pytest-localserver): Update to 0.9.0.post0. Adjust indentations and style. [source]: Adjust URI as it's updated in PyPI. [buid-system]: Swap to pyproject-build-system. [native-inputs]: Remove python-six; add nss-certs-for-test, python-setuptools, python-setuptools-scm, and python-wheel. Change-Id: I7e19ebcc76d6b68fe79702cfdf90b94c4757df9b --- gnu/packages/check.scm | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 67166951db2eec6f73fd90e1ac65118283845a41..e9501df85f2bc7ac57b91f1a3b196679ebe03c26 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -75,6 +75,7 @@ #:use-module (gnu packages base) #:use-module (gnu packages bash) #:use-module (gnu packages boost) + #:use-module (gnu packages certs) #:use-module (gnu packages cmake) #:use-module (gnu packages compression) #:use-module (gnu packages cpp) @@ -2639,28 +2640,28 @@ the last py.test invocation.") (define-public python-pytest-localserver (package (name "python-pytest-localserver") - (version "0.7.1") - (source (origin - (method url-fetch) - (uri (pypi-uri "pytest-localserver" version)) - (sha256 - (base32 - "0fzysfzvlc2p5dh6lhs5sq3h8g4mypwvqm4w44fr6f5lbialcyz7")))) - (build-system python-build-system) - (arguments - '(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda _ - (invoke "py.test" "-v")))))) + (version "0.9.0.post0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pytest_localserver" version)) + (sha256 + (base32 "1w2zgpdr1wj7mxnsyqyiy3alqrdm7wngxb7ra14brll2ndps6cw0")))) + (build-system pyproject-build-system) (native-inputs - (list python-pytest python-requests python-six)) + (list nss-certs-for-test + python-pytest + python-requests + python-setuptools + python-setuptools-scm + python-wheel)) (propagated-inputs (list python-werkzeug)) - (synopsis "Py.test plugin to test server connections locally") - (description "Pytest-localserver is a plugin for the pytest testing -framework which enables you to test server connections locally.") (home-page "https://pypi.org/project/pytest-localserver/") + (synopsis "Py.test plugin to test server connections locally") + (description + "Pytest-localserver is a plugin for the pytest testing framework which +enables you to test server connections locally.") (license license:expat))) (define-public python-pytest-xprocess