diff --git a/srcpkgs/python3-yaml/patches/cython3.patch b/srcpkgs/python3-yaml/patches/cython3.patch new file mode 100644 index 00000000000000..601e79891aac30 --- /dev/null +++ b/srcpkgs/python3-yaml/patches/cython3.patch @@ -0,0 +1,11 @@ +--- a/setup.py ++++ b/setup.py +@@ -81,7 +81,7 @@ + with_cython = True + try: + from Cython.Distutils.extension import Extension as _Extension +- from Cython.Distutils import build_ext as _build_ext ++ from Cython.Distutils.old_build_ext import old_build_ext as _build_ext + with_cython = True + except ImportError: + if with_cython: diff --git a/srcpkgs/python3-yaml/template b/srcpkgs/python3-yaml/template index f281f217fa4032..ab7417caf44c94 100644 --- a/srcpkgs/python3-yaml/template +++ b/srcpkgs/python3-yaml/template @@ -1,7 +1,7 @@ # Template file for 'python3-yaml' pkgname=python3-yaml version=6.0 -revision=2 +revision=3 build_style=python3-module hostmakedepends="python3-setuptools python3-Cython" makedepends="libyaml-devel python3-devel"