python3-yaml: patch and rebuild for Cython 3
This commit is contained in:
parent
4af03fdffc
commit
541068665d
|
@ -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:
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue