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
This commit is contained in:
Ricardo Wurmus 2025-01-11 13:59:28 +01:00
parent 4bbdbf65b9
commit e8ce48e16d
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -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