[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/03: gnu: Add python-pytest-check-links.
From: |
guix-commits |
Subject: |
02/03: gnu: Add python-pytest-check-links. |
Date: |
Thu, 26 Mar 2020 18:46:00 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit aefcfecd84302ea5a3711c26d02395f8b25a354c
Author: Lars-Dominik Braun <address@hidden>
AuthorDate: Fri Feb 7 08:38:32 2020 +0100
gnu: Add python-pytest-check-links.
* gnu/packages/python-xyz.scm (python-pytest-check-links): New variable.
Signed-off-by: Ludovic Courtès <address@hidden>
---
gnu/packages/python-xyz.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f4b50ab..209d856 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -18676,3 +18676,31 @@ allows to start and stop daemons for a quick
throw-away usage. This is typicall
useful when needing these daemons to run integration testing. It originally
evolved from its precursor @code{overtest}.")
(license license:asl2.0)))
+
+(define-public python-pytest-check-links
+ (package
+ (name "python-pytest-check-links")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ ;; URI uses underscores
+ (uri (pypi-uri "pytest_check_links" version))
+ (sha256
+ (base32
+ "12x3wmrdzm6wgk0vz02hb769h68nr49q47w5q1pj95pc89hsa34v"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-docutils" ,python-docutils)
+ ("python-html5lib" ,python-html5lib)
+ ("python-nbconvert" ,python-nbconvert)
+ ("python-nbformat" ,python-nbformat)
+ ("python-pytest" ,python-pytest)
+ ("python-six" ,python-six)))
+ (native-inputs
+ `(("python-pbr-minimal" ,python-pbr-minimal)))
+ (home-page "https://github.com/minrk/pytest-check-links")
+ (synopsis "Check links in files")
+ (description "This package provides a pytest plugin that checks URLs for
+HTML-containing files.")
+ (license license:bsd-3)))