sip: bump version

This commit is contained in:
Jerome Duval
2021-11-20 23:07:17 +01:00
parent c99b66170d
commit d887b7ddec
2 changed files with 33 additions and 2 deletions

View File

@@ -0,0 +1,30 @@
From 4fdd942a49577984bcc84acf1f7b7e7025d458ba 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 6a12fba..84c8171 100644
--- a/sipbuild/project.py
+++ b/sipbuild/project.py
@@ -22,6 +22,7 @@
import collections
+import distutils.sysconfig
import os
import packaging
import shutil
@@ -78,7 +79,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.30.2

View File

@@ -8,10 +8,11 @@ COPYRIGHT="2019 Riverbank Computing Limited"
LICENSE="GNU GPL v2
GNU GPL v3
SIP"
REVISION="2"
REVISION="1"
SOURCE_URI="https://pypi.python.org/packages/source/s/sip/sip-$portVersion.tar.gz"
CHECKSUM_SHA256="6185160e1aa8e167b5919c4761cbbf68cc7478d34fb655b3a28b3eb9acb5943a"
CHECKSUM_SHA256="42ec368520b8da4a0987218510b1b520b4981e4405086c1be384733affc2bcb0"
SOURCE_DIR="sip-$portVersion"
PATCHES="sip-$portVersion.patchset"
ARCHITECTURES="all !x86_gcc2"
if [ "$targetArchitecture" = "x86_gcc2" ]; then