update py3-opcua to 0.98.13

This commit is contained in:
bluhm 2022-11-05 11:36:50 +00:00
parent 513a0f7879
commit dd17909246
3 changed files with 17 additions and 8 deletions

View File

@ -1,10 +1,9 @@
COMMENT = pure Python OPC UA client and server library
MODPY_EGG_VERSION = 0.98.12
MODPY_EGG_VERSION = 0.98.13
DISTNAME = opcua-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
REVISION = 0
CATEGORIES = misc
@ -26,8 +25,4 @@ MODPY_SETUPTOOLS = Yes
FLAVORS = python3
FLAVOR = python3
# this file cannot be imported and does not exist in the github repository
post-extract:
rm -- ${WRKDIST}/opcua/ua/extension_objects.py
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (opcua-0.98.12.tar.gz) = lHzw3oQvnu6G7Sw5YHwrLFoojtQuApjYfHpmPsfuSKo=
SIZE (opcua-0.98.12.tar.gz) = 571352
SHA256 (opcua-0.98.13.tar.gz) = M1LzC1/thjFGqCd4qvCfql/q/LndRGpPSf80wMPrveY=
SIZE (opcua-0.98.13.tar.gz) = 572837

View File

@ -0,0 +1,14 @@
https://github.com/FreeOpcUa/python-opcua/commit/2cfc9bc8f01d18e1b92d3410f7fb328df6950bfa
Index: opcua/ua/uatypes.py
--- opcua/ua/uatypes.py.orig
+++ opcua/ua/uatypes.py
@@ -554,7 +554,7 @@ class LocalizedText(FrozenClass):
def to_string(self):
if self.Text is None:
return ""
- if self.Locale is None:
+ if not self.Locale:
return self.Text
return self.__str__()