diff --git a/dev-python/sip/patches/sip-6.4.0.patchset b/dev-python/sip/patches/sip-6.4.0.patchset new file mode 100644 index 000000000..534cd929d --- /dev/null +++ b/dev-python/sip/patches/sip-6.4.0.patchset @@ -0,0 +1,30 @@ +From 4fdd942a49577984bcc84acf1f7b7e7025d458ba Mon Sep 17 00:00:00 2001 +From: Jerome Duval +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 + diff --git a/dev-python/sip/sip-6.0.0.recipe b/dev-python/sip/sip-6.4.0.recipe similarity index 95% rename from dev-python/sip/sip-6.0.0.recipe rename to dev-python/sip/sip-6.4.0.recipe index 38bf87bd4..71c9392cd 100644 --- a/dev-python/sip/sip-6.0.0.recipe +++ b/dev-python/sip/sip-6.4.0.recipe @@ -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