Files
Joshua Root bb2f469daf py37-yaml: use last supported version
6.0.2 needs at least Python 3.8 to build. Also restrict use of
cython-compat to versions that need it, and de-fuzz patch.
2025-03-06 04:29:14 +11:00

12 lines
390 B
Python

--- setup.py.orig 2021-01-21 08:42:04
+++ setup.py 2025-03-06 03:44:53
@@ -287,6 +287,8 @@
ext_modules=[
Extension('yaml._yaml', ['yaml/_yaml.pyx'],
'libyaml', "LibYAML bindings", LIBYAML_CHECK,
+ include_dirs=['__PREFIX__/include'],
+ library_dirs=['__PREFIX__/lib'],
libraries=['yaml']),
],