mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: cpplint: Update to 2.0.0.
* gnu/packages/cpp.scm (cpplint): Update to 2.0.0. [arguments]{phases}: Add phase 'patch-build-system. [native-inputs]: Add python-parameterized, python-pytest-timeout. Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
29661328c7
commit
b0c6e6017e
1 changed files with 9 additions and 2 deletions
|
@ -1606,7 +1606,7 @@ library.")
|
||||||
(define-public cpplint
|
(define-public cpplint
|
||||||
(package
|
(package
|
||||||
(name "cpplint")
|
(name "cpplint")
|
||||||
(version "1.5.5")
|
(version "2.0.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
|
@ -1616,7 +1616,7 @@ library.")
|
||||||
(url "https://github.com/cpplint/cpplint")
|
(url "https://github.com/cpplint/cpplint")
|
||||||
(commit version)))
|
(commit version)))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "13l86aq0h1jga949k79k9x3hw2xqchjc162sclg2f99vz98zcz15"))
|
(base32 "06km4wh4944az1hk61g5w8pjhbvbccpgarz1dy7vhwkhfvmvggnk"))
|
||||||
(file-name (git-file-name name version))))
|
(file-name (git-file-name name version))))
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
|
@ -1625,6 +1625,11 @@ library.")
|
||||||
,@%pyproject-build-system-modules)
|
,@%pyproject-build-system-modules)
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases (@ (guix build pyproject-build-system) %standard-phases)
|
#~(modify-phases (@ (guix build pyproject-build-system) %standard-phases)
|
||||||
|
(add-after 'unpack 'patch-build-system
|
||||||
|
(lambda _
|
||||||
|
(substitute* "pyproject.toml"
|
||||||
|
(("setuptools\\.build_meta:__legacy__")
|
||||||
|
"setuptools.build_meta"))))
|
||||||
(add-before 'wrap 'reduce-GUIX_PYTHONPATH
|
(add-before 'wrap 'reduce-GUIX_PYTHONPATH
|
||||||
(lambda _
|
(lambda _
|
||||||
;; Hide the transitive native inputs from GUIX_PYTHONPATH
|
;; Hide the transitive native inputs from GUIX_PYTHONPATH
|
||||||
|
@ -1651,9 +1656,11 @@ library.")
|
||||||
(getenv "TMP_PYTHONPATH")))))))
|
(getenv "TMP_PYTHONPATH")))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-coverage
|
(list python-coverage
|
||||||
|
python-parameterized
|
||||||
python-pytest
|
python-pytest
|
||||||
python-pytest-cov
|
python-pytest-cov
|
||||||
python-pytest-runner
|
python-pytest-runner
|
||||||
|
python-pytest-timeout
|
||||||
python-setuptools
|
python-setuptools
|
||||||
python-testfixtures
|
python-testfixtures
|
||||||
python-wheel))
|
python-wheel))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue