From 451c8fdcf774881276db7f4d0bf5996da27e3edb Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sat, 8 Feb 2025 19:52:05 +0000 Subject: [PATCH] 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] : 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 --- gnu/packages/python-xyz.scm | 33 ++++++++++++++------------------- 1 file changed, 14 insertions(+), 19 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 07d31570f1c..f04cfe9458b 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.")