[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
190/242: gnu: python-mkdocs: Update to 1.3.0.
From: |
guix-commits |
Subject: |
190/242: gnu: python-mkdocs: Update to 1.3.0. |
Date: |
Wed, 11 May 2022 18:03:26 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 7cf36c0c7e9222b63f84c28ecc77764cd46422ce
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Tue Apr 19 17:14:06 2022 -0400
gnu: python-mkdocs: Update to 1.3.0.
* gnu/packages/python-xyz.scm (python-mkdocs): Update to 1.3.0.
[source]: Use git.
[phases]{check}: New override.
[propagated-inputs]: Remove python-livereload, python-lunr and
python-tornado. Add python-babel, python-ghp-import,
python-importlib-metadata, python-markupsafe, python-mdx-gh-links,
python-mergedeep, python-packaging, python-pyyaml-env-tag and
python-watchdog.
---
gnu/packages/python-xyz.scm | 36 ++++++++++++++++++++++++++----------
1 file changed, 26 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 5ac7f199d9..d8ae9558ae 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -650,14 +650,18 @@ HTML")
(define-public python-mkdocs
(package
(name "python-mkdocs")
- (version "1.1.2")
+ (version "1.3.0")
(source
(origin
- (method url-fetch)
- (uri
- (pypi-uri "mkdocs" version))
+ ;; The tests suite appears to be incomplete in the PyPI archive.
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mkdocs/mkdocs")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
- (base32 "0fgv5zawpyyv0vd4j5y8m4h058lh9jkwfcm0xy4pg7dr09a1xdph"))))
+ (base32
+ "1n5rdllrxvhnxmdrddf55p3s86dakx0rq2gg6bj6pr6jg2pn932b"))))
(build-system python-build-system)
(arguments
`(#:phases
@@ -667,15 +671,27 @@ HTML")
(add-after 'unpack 'patch-requirements
(lambda _
(substitute* "setup.py"
- (("==") ">=")))))))
+ (("==") ">="))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "python" "-m" "unittest"
+ "discover" "-p" "*tests.py" "mkdocs"
+ "--top-level-directory" ".")))))))
(propagated-inputs
- (list python-click
+ (list python-babel
+ python-click
+ python-ghp-import
+ python-importlib-metadata
python-jinja2
- python-livereload
- python-lunr
python-markdown
+ python-markupsafe
+ python-mdx-gh-links
+ python-mergedeep
+ python-packaging
python-pyyaml
- python-tornado))
+ python-pyyaml-env-tag
+ python-watchdog))
(home-page "https://www.mkdocs.org")
(synopsis "Project documentation with Markdown")
(description "MkDocs is a static site generator geared towards building
- 171/242: gnu: python-cmarkgfm: Update to 0.8.0., (continued)
- 171/242: gnu: python-cmarkgfm: Update to 0.8.0., guix-commits, 2022/05/11
- 179/242: gnu: python-kombu: Update to 5.2.4., guix-commits, 2022/05/11
- 168/242: gnu: python-jupyter-kernel-mgmt: Update to 0.5.1 and disable tests., guix-commits, 2022/05/11
- 183/242: gnu: Add python-toolrack., guix-commits, 2022/05/11
- 181/242: gnu: Add python-argparse-addons., guix-commits, 2022/05/11
- 182/242: gnu: python-bitstruct: Update to 8.14.0., guix-commits, 2022/05/11
- 180/242: gnu: python-celery: Update to 5.2.6 and enable tests., guix-commits, 2022/05/11
- 186/242: gnu: Add python-mergedeep., guix-commits, 2022/05/11
- 188/242: gnu: python-ghp-import: Update to 2.0.2., guix-commits, 2022/05/11
- 187/242: gnu: Add python-pyyaml-env-tag., guix-commits, 2022/05/11
- 190/242: gnu: python-mkdocs: Update to 1.3.0.,
guix-commits <=
- 191/242: gnu: Add python-crccheck., guix-commits, 2022/05/11
- 193/242: gnu: python-locust: Update to 2.8.6., guix-commits, 2022/05/11
- 199/242: gnu: weasyprint: Update to 54.3., guix-commits, 2022/05/11
- 202/242: gnu: libgrss: Use libsoup-minimal-2 to fix build., guix-commits, 2022/05/11
- 196/242: gnu: python-miio: Update to 0.5.11., guix-commits, 2022/05/11
- 198/242: gnu: Add python-pydyf., guix-commits, 2022/05/11
- 197/242: gnu: Remove python-orator due to being broken and unmaintained., guix-commits, 2022/05/11
- 204/242: gnu: emacsy: Use webkitgtk-with-libsoup2., guix-commits, 2022/05/11
- 208/242: gnu: python-flask-wtf: Update to 1.0.1., guix-commits, 2022/05/11
- 212/242: gnu: dynaconf: Fix build following python-click upgrade., guix-commits, 2022/05/11