mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
sip: bump version
remove 3.9
This commit is contained in:
30
dev-python/sip/patches/sip-6.8.6.patchset
Normal file
30
dev-python/sip/patches/sip-6.8.6.patchset
Normal file
@@ -0,0 +1,30 @@
|
||||
From a5b67fff1944aa8180f12f290892920b208a0906 Mon Sep 17 00:00:00 2001
|
||||
From: Jerome Duval <jerome.duval@gmail.com>
|
||||
Date: Sun, 21 Nov 2021 00:01:45 +0100
|
||||
Subject: use get_python_inc
|
||||
|
||||
|
||||
diff --git a/sipbuild/project.py b/sipbuild/project.py
|
||||
index 60a3e4f..92f910e 100644
|
||||
--- a/sipbuild/project.py
|
||||
+++ b/sipbuild/project.py
|
||||
@@ -22,6 +22,7 @@
|
||||
|
||||
|
||||
import collections
|
||||
+import distutils.sysconfig
|
||||
import os
|
||||
import packaging
|
||||
import shutil
|
||||
@@ -73,7 +74,7 @@ class Project(AbstractProject, Configurable):
|
||||
Option('py_debug', option_type=bool),
|
||||
|
||||
# The name of the directory containing Python.h.
|
||||
- Option('py_include_dir', default=sysconfig.get_path('include')),
|
||||
+ Option('py_include_dir', default=distutils.sysconfig.get_python_inc()),
|
||||
|
||||
# The name of the target Python platform.
|
||||
Option('py_platform'),
|
||||
--
|
||||
2.37.3
|
||||
|
||||
Reference in New Issue
Block a user