Skip to content

Commit

Permalink
py-sip: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
reneeotten committed Dec 3, 2023
1 parent 2c4a2de commit ec06943
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
5 changes: 3 additions & 2 deletions python/py-sip/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ PortGroup python 1.0

name py-sip
version 6.8.0
revision 0
revision 1
epoch 1

categories-append devel
Expand Down Expand Up @@ -62,7 +62,8 @@ if {${name} ne ${subport}} {
port:py${python.version}-ply
# 'ScopedName' object has no attribute 'replace'
patchfiles-append \
patch-ScopedName-str-conversion.diff
patch-ScopedName-str-conversion.diff \
patch-typo.diff
}

depends_lib-append \
Expand Down
11 changes: 11 additions & 0 deletions python/py-sip/files/patch-typo.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- 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

0 comments on commit ec06943

Please sign in to comment.