guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

358/420: gnu: python-pytest-httpbin: Update to 2.1.0.


From: guix-commits
Subject: 358/420: gnu: python-pytest-httpbin: Update to 2.1.0.
Date: Tue, 26 Nov 2024 16:29:34 -0500 (EST)

sharlatan pushed a commit to branch python-team
in repository guix.

commit 556b29bab8478ce8acbfc6c88395886b310cb4e3
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Nov 17 23:24:17 2024 +0000

    gnu: python-pytest-httpbin: Update to 2.1.0.
    
    * gnu/packages/web.scm (python-pytest-httpbin): Update to 2.1.0. Improve
    package style.
    [source]: Adjust URI as it's changed in PyPI.
    [build-system]: Swap to pyproject-build-system.
    
    Change-Id: I566ce5ec89f51dd13088fca6cb967a3793b6275b
---
 gnu/packages/web.scm | 29 ++++++++++++++++-------------
 1 file changed, 16 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 6e0bafc18a..b113ef92ce 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -6934,25 +6934,28 @@ endpoint responses are JSON-encoded.")
 (define-public python-pytest-httpbin
   (package
     (name "python-pytest-httpbin")
-    (version "0.2.3")
+    (version "2.1.0")
     (source
      (origin
        (method url-fetch)
-       (uri (pypi-uri "pytest-httpbin" version))
+       (uri (pypi-uri "pytest_httpbin" version))
        (sha256
-        (base32
-         "1y0v2v7xpzpyd4djwp7ad8ifnlxp8r1y6dfbxg5ckzvllkgridn5"))))
-    (build-system python-build-system)
+        (base32 "1iikdji2136mybjk7sczqa2qivlb6gchhkzyz4kq68j3hj1pj1fl"))))
+    (build-system pyproject-build-system)
+    (native-inputs
+     (list python-setuptools
+           python-wheel))
     (propagated-inputs
-     (list python-six python-httpbin python-pytest))
-    (home-page
-     "https://github.com/kevin1024/pytest-httpbin";)
-    (synopsis
-     "Test your HTTP library against a local copy of httpbin")
+     (list python-httpbin
+           python-pytest
+           python-six))
+    (home-page "https://github.com/kevin1024/pytest-httpbin";)
+    (synopsis "Test your HTTP library against a local copy of httpbin")
     (description
-     "@code{Pytest-httpbin} creates a @code{pytest} fixture that is 
dependency-injected
-into your tests.  It automatically starts up a HTTP server in a separate 
thread running
-@code{httpbin} and provides your test with the URL in the fixture.")
+     "@code{Pytest-httpbin} creates a @code{pytest} fixture that is
+dependency-injected into your tests.  It automatically starts up a HTTP server
+in a separate thread running @code{httpbin} and provides your test with the
+URL in the fixture.")
     (license license:expat)))
 
 (define-public http-parser



reply via email to

[Prev in Thread] Current Thread [Next in Thread]