[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
25/32: gnu: Add python-sybil.
From: |
guix-commits |
Subject: |
25/32: gnu: Add python-sybil. |
Date: |
Mon, 2 May 2022 09:16:12 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 919fdd6fcc18cd5ee68cab5b01c1dacae60bdbec
Author: Felix Gruber <felgru@posteo.net>
AuthorDate: Wed Apr 20 17:27:57 2022 +0000
gnu: Add python-sybil.
* gnu/packages/python-check.scm (python-sybil): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/python-check.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 2d35eb720e..8cf1526242 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -14,6 +14,7 @@
;;; Copyright © 2021, 2022 Guillaume Le Vaillant <glv@posteo.net>
;;; Copyright © 2021 Bonface Munyoki Kilyungi <me@bonfacemunyoki.com>
;;; Copyright © 2022 Malte Frank Gerdes <malte.f.gerdes@gmail.com>
+;;; Copyright © 2022 Felix Gruber <felgru@posteo.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -2056,3 +2057,31 @@ eliminate flaky failures.")
Python objects. It tries to use the objects available in the standard
@code{unittest} module.")
(license license:expat)))
+
+(define-public python-sybil
+ (package
+ (name "python-sybil")
+ (version "3.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "sybil" 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))
+ (home-page "https://github.com/simplistix/sybil")
+ (synopsis "Automated testing for examples in code and documentation")
+ (description
+ "This library provides a way to check examples in your code and
+documentation by parsing them from their source and evaluating the
+parsed examples as part of your normal test run. Integration is
+provided for the main Python test runners.")
+ (license license:expat)))
- 04/32: gnu: aws-c-event-stream: Fix comment formatting., (continued)
- 04/32: gnu: aws-c-event-stream: Fix comment formatting., guix-commits, 2022/05/02
- 03/32: gnu: aws-checksums: Fix comment formatting., guix-commits, 2022/05/02
- 16/32: gnu: aws-sdk-cpp: Remove openssl input., guix-commits, 2022/05/02
- 23/32: gnu: spdlog: Update to 1.10.0., guix-commits, 2022/05/02
- 30/32: gnu: Add python-parsel., guix-commits, 2022/05/02
- 15/32: gnu: s2n: Link to aws-lc as libcrypto dependency., guix-commits, 2022/05/02
- 19/32: gnu: apl: Update to 1.8-r1550., guix-commits, 2022/05/02
- 24/32: gnu: bear: Update to 3.0.19., guix-commits, 2022/05/02
- 31/32: gnu: Add python-itemloaders., guix-commits, 2022/05/02
- 09/32: gnu: aws-c-compression: Fix comment formatting., guix-commits, 2022/05/02
- 25/32: gnu: Add python-sybil.,
guix-commits <=
- 11/32: gnu: aws-c-s3: Fix comment formatting., guix-commits, 2022/05/02
- 17/32: gnu: ugrep: Update to 3.7.9., guix-commits, 2022/05/02
- 20/32: gnu: apl: Remove input labels., guix-commits, 2022/05/02
- 22/32: gnu: fmt: Update to 8.1.1., guix-commits, 2022/05/02
- 05/32: gnu: aws-c-io: Fix comment formatting., guix-commits, 2022/05/02
- 27/32: gnu: Add python-queuelib., guix-commits, 2022/05/02
- 14/32: gnu: aws-lc: Fix checksum and enable tests., guix-commits, 2022/05/02
- 18/32: gnu: Add emacs-git-email., guix-commits, 2022/05/02
- 21/32: gnu: apl: Use G-expressions., guix-commits, 2022/05/02
- 26/32: gnu: Add python-pydispatcher., guix-commits, 2022/05/02