From b4f74f3ad4387f4edba54ee917e644518df43b92 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Mon, 17 Jul 2023 16:11:36 -0400 Subject: [PATCH] python3-yaml: patch and rebuild for python3-Cython-3.0.0 --- srcpkgs/python3-yaml/patches/cython3.patch | 11 +++++++++++ srcpkgs/python3-yaml/template | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/python3-yaml/patches/cython3.patch 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"