[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
190/232: gnu: python-mkdocs: Update to 1.3.0.
From: |
guix-commits |
Subject: |
190/232: gnu: python-mkdocs: Update to 1.3.0. |
Date: |
Sun, 24 Apr 2022 23:59:11 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 6e91d367a709f8083e236e68aa69801a93d24164
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
- 93/232: gnu: python-black: Update to 22.3.0., (continued)
- 93/232: gnu: python-black: Update to 22.3.0., guix-commits, 2022/04/24
- 105/232: gnu: python-ipykernel: Update to 6.13.0., guix-commits, 2022/04/24
- 110/232: gnu: python-bleach: Update to 5.0.0., guix-commits, 2022/04/24
- 119/232: gnu: Add python-docrepr., guix-commits, 2022/04/24
- 145/232: gnu: python-sqlalchemy: Run tests in parallel via xdist., guix-commits, 2022/04/24
- 171/232: gnu: python-cmarkgfm: Update to 0.8.0., guix-commits, 2022/04/24
- 178/232: gnu: python-amqp: Update to 5.1.1 and enable tests., guix-commits, 2022/04/24
- 180/232: gnu: python-celery: Update to 5.2.6 and enable tests., guix-commits, 2022/04/24
- 181/232: gnu: Add python-argparse-addons., guix-commits, 2022/04/24
- 185/232: gnu: python-multipart: Fix build with PyYAML 6., guix-commits, 2022/04/24
- 190/232: gnu: python-mkdocs: Update to 1.3.0.,
guix-commits <=
- 77/232: gnu: Add python-fonttools-next., guix-commits, 2022/04/24
- 151/232: gnu: Add python-dictpath., guix-commits, 2022/04/24
- 163/232: gnu: python-jupyter-server: Update to 1.16.0., guix-commits, 2022/04/24
- 176/232: gnu: Add python-bson., guix-commits, 2022/04/24
- 195/232: gnu: python-croniter: Update to 1.3.4., guix-commits, 2022/04/24
- 205/232: gnu: python-keyring: Fix test suite., guix-commits, 2022/04/24
- 214/232: gnu: python-sphinx: Update to 4.5.0., guix-commits, 2022/04/24
- 218/232: gnu: python-sphinxcontrib-websupport: Update to 1.2.4., guix-commits, 2022/04/24
- 221/232: gnu: python-sphinx-cloud-sptheme: Update to 1.10.1 [still broken]., guix-commits, 2022/04/24
- 222/232: gnu: Add python-beartype., guix-commits, 2022/04/24