~ruther/guix-local

608d01cf1636f4c9afa3ecb61b02e3be592d9277 — Sharlatan Hellseher 2 months ago 8164873
gnu: python-venusian: Update to 3.1.1.

* gnu/packages/python-web.scm (python-venusian): Update to 3.1.1.
[build-system]: Switch to pyproject-build-system.
[arguments] <phases>: Add 'fix-pytest-config.
[native-inputs]: Remove python-pytest-runner and python-pytest-cov; add
python-setuptools. Remove lables.

Change-Id: Iebabc49ab7e5d0bfabcd68d9d2ba62bcb69f48e6
1 files changed, 13 insertions(+), 7 deletions(-)

M gnu/packages/python-web.scm
M gnu/packages/python-web.scm => gnu/packages/python-web.scm +13 -7
@@ 10108,19 10108,25 @@ language-neutral coding interface compatible with all major web browsers.")))
(define-public python-venusian
  (package
    (name "python-venusian")
    (version "3.0.0")
    (version "3.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "venusian" version))
       (sha256
        (base32 "0f7f67dkgxxcjfhpdd5frb9pszkf04lyzzpn5069q0xi89r2p17n"))))
    (build-system python-build-system)
        (base32 "0h8cdwx5x6i1ydc9s0hxwvy73l6iwlqijn2l77mq74k6anrv6ksk"))))
    (build-system pyproject-build-system)
    (arguments
     (list
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'fix-pytest-config
            (lambda _
              (substitute* "setup.cfg"
                (("--cov --cov-report=term-missing ") "")))))))
    (native-inputs
     `(("python-pytest" ,python-pytest)
       ("python-runner" ,python-pytest-runner)
       ("python-pytest-cov" ,python-pytest-cov)))
    (arguments '(#:test-target "pytest"))
     (list python-pytest
           python-setuptools))
    (home-page "https://docs.pylonsproject.org/projects/venusian")
    (synopsis "Library for deferring decorator actions")
    (description