From 9e1a4993e28a65bf6fa104bab21e015a0028dabe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Thu, 23 Feb 2023 07:43:47 +0700 Subject: [PATCH] sip: update to 6.7.7. --- srcpkgs/sip/patches/find-bindings-in-pyprefix.patch | 13 +++++++++++++ srcpkgs/sip/template | 4 ++-- 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/sip/patches/find-bindings-in-pyprefix.patch diff --git a/srcpkgs/sip/patches/find-bindings-in-pyprefix.patch b/srcpkgs/sip/patches/find-bindings-in-pyprefix.patch new file mode 100644 index 00000000000..c3e2fd9c970 --- /dev/null +++ b/srcpkgs/sip/patches/find-bindings-in-pyprefix.patch @@ -0,0 +1,13 @@ +--- sip-6.7.7.orig/sipbuild/builder.py ++++ sip-6.7.7/sipbuild/builder.py +@@ -250,6 +250,10 @@ class Builder(AbstractBuilder): + sip_include_dirs.append(local_bindings_dir) + + # Add any bindings from previously installed packages. ++ if "PYPREFIX" in os.environ: ++ sip_include_dirs.append(os.environ["PYPREFIX"] + ++ os.path.join(project.target_dir, ++ project.get_bindings_dir())) + sip_include_dirs.append( + os.path.join(project.target_dir, + project.get_bindings_dir())) diff --git a/srcpkgs/sip/template b/srcpkgs/sip/template index ce38d0dc80e..6c4bf22aa91 100644 --- a/srcpkgs/sip/template +++ b/srcpkgs/sip/template @@ -1,6 +1,6 @@ # Template file for 'sip' pkgname=sip -version=6.7.4 +version=6.7.7 revision=1 build_style=python3-module hostmakedepends="python3-devel python3-setuptools python3-packaging @@ -12,7 +12,7 @@ maintainer="Đoàn Trần Công Danh " license="GPL-2.0-only, GPL-3.0-only, custom:SIP" homepage="https://riverbankcomputing.com/software/sip/intro" distfiles="${PYPI_SITE}/s/sip/sip-${version}.tar.gz" -checksum=9dbf8a0e7c8d76d1642e2fdd3f53e6a522f7c30980e527763c45760c2505cfbf +checksum=dee9c06fa8ae6d441a401f922867fc6196edda274eebd9fbfec54f0769c2a9e2 lib32disabled=yes replaces="sip5<=${version}_${revision}" provides="sip5-${version}_${revision}"