~ruther/guix-local

1da372e3c2f0d52863975161af561670422d86b2 — Sharlatan Hellseher 1 year, 6 months ago 3d9c6af
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
1 files changed, 19 insertions(+), 18 deletions(-)

M gnu/packages/check.scm
M gnu/packages/check.scm => gnu/packages/check.scm +19 -18
@@ 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