mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-pytest-checkdocs: Update to 2.10.0.
* gnu/packages/python-check.scm (python-pytest-checkdocs): Update to 2.10.0. [source]: Switch to git-fetch, PyPI provides only the latest version of source packge where we need older compatible with python-pypa-build. [arguments] <phases>: Add 'set-version. [propagated-inputs]: Remove python-importlib-metadata, python-pep517, and python-pytest; add python-pypa-build. [native-inputs]: Add python-pytest-bootstrap and python-wheel. Change-Id: I414b8538cb143c94dc7f5c5c5b5db56a56e97c14
This commit is contained in:
parent
fd65332b04
commit
0a37b21bf1
1 changed files with 21 additions and 10 deletions
|
@ -1939,21 +1939,32 @@ failures per test.")
|
||||||
(define-public python-pytest-checkdocs
|
(define-public python-pytest-checkdocs
|
||||||
(package
|
(package
|
||||||
(name "python-pytest-checkdocs")
|
(name "python-pytest-checkdocs")
|
||||||
(version "2.7.1")
|
(version "2.10.0") ;PyPI contains only the latest version
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri (pypi-uri "pytest-checkdocs" version))
|
(uri (git-reference
|
||||||
|
(url "https://github.com/jaraco/pytest-checkdocs")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1bn1wr3yz8avkwacffyh26za7mg20f9pajpakfk4cn7yvmgbhcrb"))))
|
(base32 "1amw07skzfwy88dqvcsh308lcds7avyyja0qzdqrk4739cm1g0vh"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments (list #:tests? #f)) ;no tests in pypi archive
|
(arguments
|
||||||
|
(list
|
||||||
|
#:tests? #f ;tests require network access
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(add-before 'build 'set-version
|
||||||
|
(lambda _
|
||||||
|
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
|
||||||
|
(native-inputs
|
||||||
|
(list python-pytest-bootstrap
|
||||||
|
python-setuptools-scm
|
||||||
|
python-wheel))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-docutils
|
(list python-docutils
|
||||||
python-importlib-metadata
|
python-pypa-build))
|
||||||
python-pep517
|
|
||||||
python-pytest))
|
|
||||||
(native-inputs (list python-setuptools-scm))
|
|
||||||
(home-page "https://github.com/jaraco/pytest-checkdocs")
|
(home-page "https://github.com/jaraco/pytest-checkdocs")
|
||||||
(synopsis "Check the README when running tests")
|
(synopsis "Check the README when running tests")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue