Fri Dec 8 15:04:29 2023 UTC (169d)
x11/py-sip6: Apply upstream fix for bug that breaks everything

The 6.8.0 was defective and caused many, if not almost all, uses of
sip to break.  E.g.  https://github.com/qgis/QGIS/issues/55481

Cherry-pick upstream change from 30 November, because for reasons I do
not understand there isn't a fixed point release.

Add a note that updates should be build tested with qgis, as
upstream's QA is clearly not good enough to assume that will be ok.


(gdt)
diff -r1.11 -r1.12 pkgsrc/x11/py-sip6/Makefile
diff -r1.9 -r1.10 pkgsrc/x11/py-sip6/distinfo
diff -r0 -r1.1 pkgsrc/x11/py-sip6/patches/patch-sipbuild_generator_outputs_code.py
Sat Dec 9 00:04:29 2023
Thu Jan 1 09:00:00 1970
pkgsrc/x11/py-sip6/patches/patch-sipbuild_generator_outputs_code.py,v

anoncvs not yet been updated

cvs diff -r1.11 -r1.12 pkgsrc/x11/py-sip6/Makefile (expand / switch to unified diff)

--- pkgsrc/x11/py-sip6/Makefile 2023/12/01 13:28:40 1.11
+++ pkgsrc/x11/py-sip6/Makefile 2023/12/08 15:04:29 1.12
@@ -1,20 +1,24 @@ @@ -1,20 +1,24 @@
1# $NetBSD: Makefile,v 1.11 2023/12/01 13:28:40 adam Exp $ 1# $NetBSD: Makefile,v 1.12 2023/12/08 15:04:29 gdt Exp $
2 2
3DISTNAME= sip-6.8.0 3DISTNAME= sip-6.8.0
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/sip/sip6/} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/sip/sip6/}
 5PKGREVISION= 1
5CATEGORIES= x11 python 6CATEGORIES= x11 python
6MASTER_SITES= ${MASTER_SITE_PYPI:=s/sip/} 7MASTER_SITES= ${MASTER_SITE_PYPI:=s/sip/}
7 8
 9# When updating, please verify that geography/qgis still builds and
 10# starts. (The 6.8.0 release of sip was very broken.)
 11
8MAINTAINER= rhialto@NetBSD.org 12MAINTAINER= rhialto@NetBSD.org
9HOMEPAGE= https://www.riverbankcomputing.com/software/sip/ 13HOMEPAGE= https://www.riverbankcomputing.com/software/sip/
10COMMENT= Tool to create Python bindings for C++ libraries 14COMMENT= Tool to create Python bindings for C++ libraries
11LICENSE= sip-license OR gnu-gpl-v2 OR gnu-gpl-v3 15LICENSE= sip-license OR gnu-gpl-v2 OR gnu-gpl-v3
12 16
13TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel 17TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
14DEPENDS+= ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging 18DEPENDS+= ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging
15DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools 19DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
16 20
17USE_LANGUAGES= c c++ 21USE_LANGUAGES= c c++
18 22
19PYTHON_SELF_CONFLICT= yes 23PYTHON_SELF_CONFLICT= yes
20 24

cvs diff -r1.9 -r1.10 pkgsrc/x11/py-sip6/distinfo (expand / switch to unified diff)

--- pkgsrc/x11/py-sip6/distinfo 2023/12/01 13:28:40 1.9
+++ pkgsrc/x11/py-sip6/distinfo 2023/12/08 15:04:29 1.10
@@ -1,6 +1,7 @@ @@ -1,6 +1,7 @@
1$NetBSD: distinfo,v 1.9 2023/12/01 13:28:40 adam Exp $ 1$NetBSD: distinfo,v 1.10 2023/12/08 15:04:29 gdt Exp $
2 2
3BLAKE2s (sip-6.8.0.tar.gz) = f6c62272c15b96ac07b6267ac7fd6e4e44cc4c4d78697a7641cdbd270395b61c 3BLAKE2s (sip-6.8.0.tar.gz) = f6c62272c15b96ac07b6267ac7fd6e4e44cc4c4d78697a7641cdbd270395b61c
4SHA512 (sip-6.8.0.tar.gz) = 09e25e3937339b6dbaa0b693bf0b99e5c225751ca79e0a307387c331f2b84e4e5a276897b471a123d24715e5d9cb85e84d244cf07960ff6f53f75859bbb2f901 4SHA512 (sip-6.8.0.tar.gz) = 09e25e3937339b6dbaa0b693bf0b99e5c225751ca79e0a307387c331f2b84e4e5a276897b471a123d24715e5d9cb85e84d244cf07960ff6f53f75859bbb2f901
5Size (sip-6.8.0.tar.gz) = 985563 bytes 5Size (sip-6.8.0.tar.gz) = 985563 bytes
6SHA1 (patch-sipbuild_buildable.py) = a914fcd890f5f1228a09f40617e5da0e1ed9830b 6SHA1 (patch-sipbuild_buildable.py) = a914fcd890f5f1228a09f40617e5da0e1ed9830b
 7SHA1 (patch-sipbuild_generator_outputs_code.py) = 176ea3ecf02037cb59a2550c5a2a78be30073e86

File Added: pkgsrc/x11/py-sip6/patches/patch-sipbuild_generator_outputs_code.py