diff options
author | Tobias C. Berner <tcberner@FreeBSD.org> | 2023-12-09 19:42:10 +0000 |
---|---|---|
committer | Tobias C. Berner <tcberner@FreeBSD.org> | 2023-12-09 20:28:57 +0000 |
commit | e122145aca801e576dc6130d496d6db174a4af78 (patch) | |
tree | b6e5f831a306a3c59b387002d0da82756e8f6a8c | |
parent | 3d0311ead1ffa2e481ff2c495dd009763a46db9d (diff) |
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
-rw-r--r-- | devel/py-sip/Makefile | 1 | ||||
-rw-r--r-- | devel/py-sip/files/patch-hg-67e0294b505c-fix_typo | 17 |
2 files changed, 18 insertions, 0 deletions
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 + + + + |