summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-08-25 20:19:40 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-02 21:13:19 +0100
commit162d72fe07f8872f5a3f2caa996e24437d08c81d (patch)
tree3d29ac587a4622137e71227406f723c4f3252c61 /gnu/packages
parent1bba49c77e9534c5414a8be39c59a74043dada59 (diff)
gnu: python-pytest-pydocstyle: Update to 2.4.0.
* gnu/packages/python-check.scm (python-pytest-pydocstyle): Update to 2.4.0. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-pytest, python-pytest-isort, python-pytest-pycodestyle, python-setuptools, python-wheel. [description]: Run guix style.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/python-check.scm24
1 files changed, 15 insertions, 9 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index efb4882fcda..7d6878fa3e8 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -2743,7 +2743,7 @@ for the @code{pytest} framework.")
(define-public python-pytest-pydocstyle
(package
(name "python-pytest-pydocstyle")
- (version "2.2.0")
+ (version "2.4.0")
(source
(origin
(method git-fetch)
@@ -2752,17 +2752,23 @@ for the @code{pytest} framework.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0w6fivz4nb4b70wzmi5sk17qs9pd05rnh03fmch6v00r3dmfpk39"))))
- (build-system python-build-system)
+ (base32 "08jaz92pzq6lqg64jbl9f6j0gdb622wl0qb2llfcy82grx2vv09q"))))
+ (build-system pyproject-build-system)
(arguments
- `(#:tests? #f)) ; test requires the package itself
- (propagated-inputs
- (list python-pydocstyle
- python-pytest)) ;apparently required
+ (list
+ ;; XXX: pytest failed to import 'py.io', while python can.
+ #:tests? #f))
+ (native-inputs
+ (list python-pytest
+ python-pytest-isort
+ python-pytest-pycodestyle
+ python-setuptools
+ python-wheel))
+ (propagated-inputs (list python-pydocstyle python-pytest)) ;apparently required
(home-page "https://github.com/henry0312/pytest-pydocstyle")
(synopsis "Pytest plugin to run @command{pydocstyle}")
- (description "This package provides a Pytest plugin to run
-@command{pydocstyle}.")
+ (description
+ "This package provides a Pytest plugin to run @command{pydocstyle}.")
(license license:expat)))
(define-public python-pytest-pylint