diff --git a/devel/py-sip/Makefile b/devel/py-sip/Makefile index 79cdefccb83e..b13cb227fd2a 100644 --- a/devel/py-sip/Makefile +++ b/devel/py-sip/Makefile @@ -1,38 +1,39 @@ PORTNAME= sip PORTVERSION= ${SIP_VERSION} +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= devel python MASTER_SITES= ${MASTER_SITES_SIP} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= kde@FreeBSD.org COMMENT= Python to C and C++ bindings generator WWW= http://www.riverbankcomputing.co.uk/software/sip/ LICENSE= SIP GPLv2 GPLv3 LICENSE_COMB= multi LICENSE_NAME_SIP= SIP License LICENSE_GROUPS_SIP= FSF GPL OSI LICENSE_PERMS_SIP= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LICENSE_FILE_SIP= ${WRKSRC}/LICENSE LICENSE_FILE_GPLv2= ${WRKSRC}/LICENSE-GPL2 LICENSE_FILE_GPLv3= ${WRKSRC}/LICENSE-GPL3 BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ply>0:devel/py-ply@${PY_FLAVOR} USES= python pyqt:sip USE_PYTHON= autoplist concurrent pep517 USE_PYQT= # NO_ARCH= yes .include .if ${PYTHON_REL} < 31100 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tomli>=0:textproc/py-tomli@${PY_FLAVOR} .endif .include diff --git a/devel/py-sip/files/patch-hg-67e0294b505c-fix_typo b/devel/py-sip/files/patch-hg-67e0294b505c-fix_typo new file mode 100644 index 000000000000..6ea154307531 --- /dev/null +++ b/devel/py-sip/files/patch-hg-67e0294b505c-fix_typo @@ -0,0 +1,17 @@ + +diff -r ac5e2889ba89 -r 67e0294b505c sipbuild/generator/outputs/code.py +--- sipbuild/generator/outputs/code.py Thu Nov 30 09:55:35 2023 +0000 ++++ sipbuild/generator/outputs/code.py Thu Nov 30 21:16:18 2023 +0000 +@@ -8408,7 +8408,7 @@ + else: + is_first = True + +- if klass.docstring is None or klass.docstring.signature is not SocstringSignature.DISCARDED: ++ if klass.docstring is None or klass.docstring.signature is not DocstringSignature.DISCARDED: + for ctor in klass.ctors: + if ctor.access_specifier is AccessSpecifier.PRIVATE: + continue + + + +