mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-grandalf: Update to 0.8.
* gnu/packages/python-xyz.scm (python-grandalf): Update to 0.8. [build-system]: Switch to pyproject-build-system. [native-inputs]: Remove python-pytest-runner; add python-setuptools. [arguments] <#:phases>: Add 'patch-requirements phase; remove check-phase replacement. Change-Id: Icaf77d0909b67b857bceffd21bb132c9e0e69edc Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
3e634c5d19
commit
51fa44d093
1 changed files with 12 additions and 10 deletions
|
@ -13783,10 +13783,10 @@ memoizing PEG/Packrat parser in Python.")
|
||||||
(define-public python-grandalf
|
(define-public python-grandalf
|
||||||
(package
|
(package
|
||||||
(name "python-grandalf")
|
(name "python-grandalf")
|
||||||
(version "0.7")
|
;; `guix refresh` will try to upgrade to v0.55555, but that is older.
|
||||||
|
(version "0.8")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
;; There's no source tarball on PyPI.
|
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
(url "https://github.com/bdcht/grandalf")
|
(url "https://github.com/bdcht/grandalf")
|
||||||
|
@ -13794,16 +13794,18 @@ memoizing PEG/Packrat parser in Python.")
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"03p8w8ljpb87qbyldm3s6b7qi30hfcn43h33iwlgqcf31fjsyr4g"))))
|
"199f86hz3g4p237ma4j27rzwmska3bxzsbgq20i4l4pczf9v7ax0"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
(list
|
||||||
(modify-phases %standard-phases
|
#:phases
|
||||||
(replace 'check
|
#~(modify-phases %standard-phases
|
||||||
|
(add-before 'build 'patch-requirements
|
||||||
(lambda _
|
(lambda _
|
||||||
(invoke "python" "setup.py" "pytest"))))))
|
(substitute* "setup.py"
|
||||||
|
(("install_requires=\\['pyparsing'],") "")))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-pytest python-pytest-runner))
|
(list python-setuptools python-pytest))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-numpy python-ply))
|
(list python-numpy python-ply))
|
||||||
(home-page "https://github.com/bdcht/grandalf")
|
(home-page "https://github.com/bdcht/grandalf")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue