diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-01 13:56:25 +0100 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-03 12:26:47 +0100 |
commit | 16bd2871d6bd90eb236228ad79c2c83b9fb8f720 (patch) | |
tree | 1c417ead8bd2c2329110a0009a8d53270c0fc664 /gnu/packages/python-xyz.scm | |
parent | e00cb0d09491dd8094059c963dbb33f598723532 (diff) |
gnu: python-mike: Update to 2.1.3.
* gnu/packages/python-xyz.scm (python-mike): Update to 2.1.3.
[source]: Switch to git-fetch, PyPI archive provides no tests.
[build-system]: Use pyproejct.
[arguments] <test-flags>: Skip some prolematic tests.
[native-inputs]: Remove python-coverage, and python-flake8; add
python-pytest, python-setuptools, and python-wheel.
[propagated-inputs]: Add python-importlib-metadata,
python-importlib-resources, python-pyparsing, and python-pyyaml-env-tag.
Change-Id: Ia0db1497766c92a676ecc9dcc5edb9b6b6202a74
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r-- | gnu/packages/python-xyz.scm | 42 |
1 files changed, 32 insertions, 10 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index ddfdf83a21..dc3e17f8f7 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -38716,18 +38716,40 @@ and setting the color of terminal output, via HyDEV.") (define-public python-mike (package (name "python-mike") - (version "1.1.2") - (source (origin - (method url-fetch) - (uri (pypi-uri "mike" version)) - (sha256 - (base32 - "0yxp816x7s948xsd0fifvq9shg01xdxlifd9rzf5y2rd9iwz3hsn")))) - (build-system python-build-system) + (version "2.1.3") + (source + (origin + (method git-fetch) ; no tests data in PyPi package + (uri (git-reference + (url "https://github.com/jimporter/mike") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0rgmpxim91rpn8cplyi72g75fhclr40hxcpschn7rbfkqdhj8rbq")))) + (build-system pyproject-build-system) + (arguments + (list + #:test-flags + ;; Most of integration tests hang or fail. + #~(list "--ignore=test/integration/" + ;; AttributeError: 'NoneType' object has no attribute 'group' + "--ignore=test/unit/test_commands.py" + "--deselect=test/unit/test_mkdocs_utils.py::TestVersion::test_version"))) (native-inputs - (list python-coverage python-flake8 python-shtab)) + (list git-minimal/pinned + python-pytest + python-setuptools + python-shtab + python-wheel)) (propagated-inputs - (list python-jinja2 python-mkdocs python-pyyaml python-verspec)) + (list python-importlib-metadata + python-importlib-resources + python-jinja2 + python-mkdocs + python-pyparsing + python-pyyaml + python-pyyaml-env-tag + python-verspec)) (home-page "https://github.com/jimporter/mike") (synopsis "Manage multiple versions of MkDocs-powered documentation") (description |