diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-02-08 19:52:05 +0000 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-02-08 19:52:10 +0000 |
commit | 451c8fdcf774881276db7f4d0bf5996da27e3edb (patch) | |
tree | c5526fc51cdd3b76f59203b48705775fffe8c168 | |
parent | 8010d73407205a63f2f27e719007ee9975ea8602 (diff) |
gnu: python-doc8: Update to 1.1.2.
* gnu/packages/python-xyz.scm (python-doc8): Update to 1.1.2.
[build-system]: Swap to pyproject-build-system.
[arguments] <phases>: Use default 'check.
[propagated-inputs]: Remove python-chardet and python-six; add
python-pygments and python-tomli.
[native-inputs]: Remove python-testtools; add python-setuptools,
python-setuptools-scm, and python-wheel.
Change-Id: Ib92c7c0f2e0615f7b98048587c75141108d059ff
-rw-r--r-- | gnu/packages/python-xyz.scm | 33 |
1 files changed, 14 insertions, 19 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 07d31570f1..f04cfe9458 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -7792,33 +7792,28 @@ format.") (define-public python-doc8 (package (name "python-doc8") - (version "0.8.0") + (version "1.1.2") (source (origin (method url-fetch) (uri (pypi-uri "doc8" version)) (sha256 (base32 - "0hw5w8mpgsp51qg8nnq28p7y1jiksvz7a0axnn5bkgss3af9zy1d")))) - (build-system python-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (delete 'check) - (add-after 'install 'check - (lambda* (#:key inputs outputs tests? #:allow-other-keys) - (when tests? - (add-installed-pythonpath inputs outputs) - (invoke "pytest" "-v")) - #t))))) - (propagated-inputs - (list python-chardet python-docutils python-restructuredtext-lint - python-six python-stevedore)) + "162b6lff5pcd4sp6sfm5fds8kllnx7ipzbyvi3irgk718h0z698j")))) + (build-system pyproject-build-system) (native-inputs - (list python-testtools python-pytest)) + (list python-pytest + python-setuptools + python-setuptools-scm + python-wheel)) + (propagated-inputs + (list python-docutils + python-pygments + python-restructuredtext-lint + python-stevedore + python-tomli)) (home-page "https://launchpad.net/doc8") - (synopsis - "Style checker for Sphinx (or other) RST documentation") + (synopsis "Style checker for Sphinx (or other) RST documentation") (description "Doc8 is an opinionated style checker for reStructured Text and plain text styles of documentation.") |