[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
190/233: gnu: python-mkdocs: Update to 1.3.0.
From: |
guix-commits |
Subject: |
190/233: gnu: python-mkdocs: Update to 1.3.0. |
Date: |
Sun, 24 Apr 2022 23:40:04 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 183e54d02a46146c5b98919d76bd1cbef6c1de88
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 48570c350b..cf2b466101 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -648,14 +648,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
@@ -665,15 +669,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
- 92/233: gnu: Add python-untangle., (continued)
- 92/233: gnu: Add python-untangle., guix-commits, 2022/04/24
- 93/233: gnu: python-black: Update to 22.3.0., guix-commits, 2022/04/24
- 95/233: gnu: python-trio: Update to 0.20.0., guix-commits, 2022/04/24
- 96/233: gnu: Add python-pydevd., guix-commits, 2022/04/24
- 97/233: gnu: Add python-debugpy., guix-commits, 2022/04/24
- 98/233: gnu: python-greenlet: Update to 1.1.2., guix-commits, 2022/04/24
- 134/233: gnu: Add python-strict-rfc3339., guix-commits, 2022/04/24
- 147/233: gnu: Add python-pecan., guix-commits, 2022/04/24
- 148/233: gnu: Add python-aioredis., guix-commits, 2022/04/24
- 164/233: gnu: python-voila: Update to 0.3.5., guix-commits, 2022/04/24
- 190/233: gnu: python-mkdocs: Update to 1.3.0.,
guix-commits <=
- 192/233: gnu: python-cantools: Update to 37.0.7., guix-commits, 2022/04/24
- 195/233: gnu: python-croniter: Update to 1.3.4., guix-commits, 2022/04/24
- 100/233: gnu: python-pytest-xdist-next: Update to 2.5.0., guix-commits, 2022/04/24
- 103/233: gnu: python-jupyter-core: Update to 4.10.0., guix-commits, 2022/04/24
- 102/233: gnu: python-nest-asyncio: Update to 1.5.5., guix-commits, 2022/04/24
- 109/233: gnu: python-nbclient: Update to 0.6.0., guix-commits, 2022/04/24
- 111/233: gnu: Add texlive-unicode-math., guix-commits, 2022/04/24
- 116/233: gnu: python-send2trash: Update to 1.8.0 and update home page., guix-commits, 2022/04/24
- 117/233: gnu: python-notebook: Update to 6.4.10., guix-commits, 2022/04/24
- 118/233: gnu: Add python-nbdime., guix-commits, 2022/04/24