Skip to content

Commit

Permalink
python3-yaml: patch and rebuild for python3-Cython-3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ahesford committed Jul 19, 2023
1 parent d453187 commit b4f74f3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions srcpkgs/python3-yaml/patches/cython3.patch
Original file line number Diff line number Diff line change
@@ -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:
2 changes: 1 addition & 1 deletion srcpkgs/python3-yaml/template
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit b4f74f3

Please sign in to comment.