sip: update to 6.7.7.

This commit is contained in:
Đoàn Trần Công Danh 2023-02-23 07:43:47 +07:00
parent e793a288d9
commit 9e1a4993e2
2 changed files with 15 additions and 2 deletions

View File

@ -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()))

View File

@ -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 <congdanhqx@gmail.com>"
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}"