git: e122145aca80 - main - devel/py-sip: add upstream fix for a typo
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 09 Dec 2023 20:29:48 UTC
The branch main has been updated by tcberner: URL: https://cgit.FreeBSD.org/ports/commit/?id=e122145aca801e576dc6130d496d6db174a4af78 commit e122145aca801e576dc6130d496d6db174a4af78 Author: Tobias C. Berner <tcberner@FreeBSD.org> AuthorDate: 2023-12-09 19:42:10 +0000 Commit: Tobias C. Berner <tcberner@FreeBSD.org> CommitDate: 2023-12-09 20:28:57 +0000 devel/py-sip: add upstream fix for a typo Obtained from: https://www.riverbankcomputing.com/hg/sip/diff/67e0294b505c/sipbuild/generator/outputs/code.py PR: 275555 --- devel/py-sip/Makefile | 1 + devel/py-sip/files/patch-hg-67e0294b505c-fix_typo | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) 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,5 +1,6 @@ PORTNAME= sip PORTVERSION= ${SIP_VERSION} +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= devel python MASTER_SITES= ${MASTER_SITES_SIP} 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 + + + +