mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-18 04:37:36 -05:00
gnu: python-datrie: Fix FTBFS with Python 3.7.
* gnu/packages/python.scm (python-datrie)[arguments]: Add phase 'cythonize'.
This commit is contained in:
parent
c166a88dea
commit
3a23036a0a
1 changed files with 8 additions and 0 deletions
|
@ -5203,6 +5203,14 @@ (define-public python-datrie
|
|||
(base32
|
||||
"08r0if7dry2q7p34gf7ffyrlnf4bdvnprxgydlfxgfnvq8f3f4bs"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:phases (modify-phases %standard-phases
|
||||
(add-before 'build 'cythonize
|
||||
(lambda _
|
||||
;; Regenerate Cython classes to solve ABI issues with Python
|
||||
;; 3.7.0. See <https://github.com/pytries/datrie/issues/52>.
|
||||
(invoke "cython" "src/datrie.pyx" "src/cdatrie.pxd"
|
||||
"src/stdio_ext.pxd" "-a"))))))
|
||||
(native-inputs
|
||||
`(("python-cython" ,python-cython)
|
||||
("python-hypothesis" ,python-hypothesis)
|
||||
|
|
Loading…
Reference in a new issue