mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
python3-yaml: patch and rebuild for Cython 3
This commit is contained in:
parent
4af03fdffc
commit
541068665d
2 changed files with 12 additions and 1 deletions
11
srcpkgs/python3-yaml/patches/cython3.patch
Normal file
11
srcpkgs/python3-yaml/patches/cython3.patch
Normal file
|
@ -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'
|
# Template file for 'python3-yaml'
|
||||||
pkgname=python3-yaml
|
pkgname=python3-yaml
|
||||||
version=6.0
|
version=6.0
|
||||||
revision=2
|
revision=3
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
hostmakedepends="python3-setuptools python3-Cython"
|
hostmakedepends="python3-setuptools python3-Cython"
|
||||||
makedepends="libyaml-devel python3-devel"
|
makedepends="libyaml-devel python3-devel"
|
||||||
|
|
Loading…
Add table
Reference in a new issue