gnu: python-pastedeploy: Update to 2.1.0
authorHolger Peters <holger.peters@posteo.de>
Fri, 24 Apr 2020 18:38:24 +0000 (20:38 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Sat, 25 Apr 2020 20:38:11 +0000 (22:38 +0200)
* gnu/packages/python-web.scm (python-pastedeploy): Update to 2.1.0.
[arguments]: Add test-target.
[native-inputs]: Replace python-nose with python-pytest and python-pytest-runner.

gnu/packages/python-web.scm

index 1d99239..9f8bcdc 100644 (file)
@@ -34,6 +34,7 @@
 ;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
 ;;; Copyright © 2020 Evan Straw <evan.straw99@gmail.com>
 ;;; Copyright © 2020 Alexandros Theodotou <alex@zrythm.org>
+;;; Copyright © 2020 Holger Peters <holger.peters@posteo.de>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1717,17 +1718,19 @@ and to spawn subprocesses to handle requests.")
 (define-public python-pastedeploy
   (package
     (name "python-pastedeploy")
-    (version "1.5.2")
+    (version "2.1.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "PasteDeploy" version))
        (sha256
-        (base32
-         "1jz3m4hq8v6hyhfjz9425nd3nvn52cvbfipdcd72krjmla4qz1fm"))))
+        (base32 "16qsq5y6mryslmbp5pn35x4z8z3ndp5rpgl42h226879nrw9hmg7"))))
     (build-system python-build-system)
+    (arguments
+     '(#:test-target "pytest"))
     (native-inputs
-     `(("python-nose" ,python-nose)))
+     `(("python-pytest" ,python-pytest)
+       ("python-pytest-runner" ,python-pytest-runner)))
     (home-page "https://pylonsproject.org/")
     (synopsis
      "Load, configure, and compose WSGI applications and servers")