~ruther/guix-local

e8ce48e16d1cfe10405a16039d1a108ddce18d43 — Ricardo Wurmus 1 year, 3 months ago 4bbdbf6
gnu: python-sybil: Update to 9.0.0.

* gnu/packages/python-check.scm (python-sybil): Update to 9.0.0.
[source]: Fetch git repository.
[build-system]: Use pyproject-build-system.
[arguments]: Remove.
[native-inputs]: Add python-mypy, python-myst-parser, python-pyyaml,
python-seedir, python-setuptools, python-testfixtures, and python-wheel.

Change-Id: I8f66ea95d1d86b362743a9d397ce51623a187f74
1 files changed, 17 insertions(+), 13 deletions(-)

M gnu/packages/python-check.scm
M gnu/packages/python-check.scm => gnu/packages/python-check.scm +17 -13
@@ 56,6 56,7 @@
  #:use-module (gnu packages python-web)
  #:use-module (gnu packages python-xyz)
  #:use-module (gnu packages qt)
  #:use-module (gnu packages sphinx)
  #:use-module (gnu packages time)
  #:use-module (gnu packages version-control)
  #:use-module (gnu packages web)


@@ 3058,22 3059,25 @@ servers.")
(define-public python-sybil
  (package
    (name "python-sybil")
    (version "3.0.1")
    (version "9.0.0")
    (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "sybil" version))
        (method git-fetch)
        (uri (git-reference
              (url "https://github.com/simplistix/sybil")
              (commit version)))
        (sha256
          (base32 "03ak1w93linfqx6c9lwgq5niyy3j9yblv4ip40hmlzmg0hidq0kg"))))
    (build-system python-build-system)
    (arguments
     `(#:phases
        (modify-phases %standard-phases
          (replace 'check
            (lambda* (#:key tests? #:allow-other-keys)
              (when tests?
                (invoke "pytest")))))))
    (native-inputs (list python-pytest python-pytest-cov))
         (base32 "0r491k91fi2nb0kdd6di8cb2kxcvsk1xzw3sgwsxhhg4qynsp3bi"))))
    (build-system pyproject-build-system)
    (native-inputs (list python-mypy
                         python-myst-parser
                         python-pytest
                         python-pytest-cov
                         python-pyyaml
                         python-seedir
                         python-setuptools
                         python-testfixtures
                         python-wheel))
    (home-page "https://github.com/simplistix/sybil")
    (synopsis "Automated testing for examples in code and documentation")
    (description