gnu: python-cmarkgfm: Don't depend on a specific CFFI version.
Fixes <https://bugs.gnu.org/53883>. Reported by Dr. Arne Babenhauserheide <arne_bab@web.de>. * gnu/packages/markup.scm (python-cmarkgfm)[arguments]: Add phase. [propagated-inputs]: Change from PYTHON-CFFI-1.15 to PYTHON-CFFI.
This commit is contained in:
parent
3cfd097ea3
commit
f37eb24df5
1 changed files with 8 additions and 1 deletions
|
@ -269,6 +269,13 @@ (define-public python-cmarkgfm
|
||||||
(arguments
|
(arguments
|
||||||
(list #:phases
|
(list #:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'relax-requirements
|
||||||
|
(lambda _
|
||||||
|
;; Don't depend on bleeding-edge CFFI, as it is
|
||||||
|
;; apparently only needed for Python >= 3.10.
|
||||||
|
(substitute* "setup.py"
|
||||||
|
(("cffi>=1\\.15\\.0")
|
||||||
|
"cffi>=1.0"))))
|
||||||
(add-after 'unpack 'copy-cmark-gfm
|
(add-after 'unpack 'copy-cmark-gfm
|
||||||
(lambda _
|
(lambda _
|
||||||
;; This package needs the cmark-gfm source files
|
;; This package needs the cmark-gfm source files
|
||||||
|
@ -291,7 +298,7 @@ (define-public python-cmarkgfm
|
||||||
(when tests? (invoke "pytest" "-vv" "tests")))))))
|
(when tests? (invoke "pytest" "-vv" "tests")))))))
|
||||||
(native-inputs (list python-pytest))
|
(native-inputs (list python-pytest))
|
||||||
(inputs (list cmark-gfm))
|
(inputs (list cmark-gfm))
|
||||||
(propagated-inputs (list python-cffi-1.15))
|
(propagated-inputs (list python-cffi))
|
||||||
(home-page "https://github.com/theacodes/cmarkgfm")
|
(home-page "https://github.com/theacodes/cmarkgfm")
|
||||||
(synopsis "Python bindings for GitHub's fork of cmark")
|
(synopsis "Python bindings for GitHub's fork of cmark")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in a new issue