mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-editorconfig: Update to 0.17.1.
* gnu/packages/python-xyz.scm (python-editorconfig): Update to 0.17.1. [source]: Switch to git-fetch. [arguments]<#:phases>: Replace 'check phase. [native-inputs]: Add cmake. Change-Id: I6611b18d8858bd5d9e6220b35ae63799094319e4 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
f2f5515885
commit
214b619bf0
1 changed files with 18 additions and 6 deletions
|
@ -5242,16 +5242,28 @@ messages in color.")
|
||||||
(define-public python-editorconfig
|
(define-public python-editorconfig
|
||||||
(package
|
(package
|
||||||
(name "python-editorconfig")
|
(name "python-editorconfig")
|
||||||
(version "0.12.2")
|
(version "0.17.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri (pypi-uri "EditorConfig" version))
|
(uri (git-reference
|
||||||
|
(url "https://github.com/editorconfig/editorconfig-core-py")
|
||||||
|
(commit (string-append "v" version))
|
||||||
|
(recursive? #t)))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "107lh5pds1iwgb2q1da2k7g5vs6w0rk84679k6yi8a01agc1c0fz"))))
|
||||||
"0v55z351p9qkyp3bbspwywwn28sbcknhirngjbj779n3z52z63hv"))))
|
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
(native-inputs (list python-setuptools python-wheel))
|
(arguments
|
||||||
|
(list
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(replace 'check
|
||||||
|
(lambda _
|
||||||
|
(setenv "PYTHONPATH" (getenv "GUIX_PYTHONPATH"))
|
||||||
|
(invoke "cmake" ".")
|
||||||
|
(invoke "ctest" "."))))))
|
||||||
|
(native-inputs (list cmake python-setuptools python-wheel))
|
||||||
(home-page "https://editorconfig.org/")
|
(home-page "https://editorconfig.org/")
|
||||||
(synopsis "EditorConfig bindings for python")
|
(synopsis "EditorConfig bindings for python")
|
||||||
(description "The EditorConfig project consists of a file format for
|
(description "The EditorConfig project consists of a file format for
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue