mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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
This commit is contained in:
parent
8010d73407
commit
451c8fdcf7
1 changed files with 14 additions and 19 deletions
|
@ -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.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue