diff --git a/debian/changelog b/debian/changelog index 155c523..3d64058 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,14 @@ +python3-opendds (3.20.6-0) focal; urgency=medium + + * change c8 from char to int + + -- Dragonfly Thu, 8 Nov 2022 11:43:20 +0100 + python3-opendds (3.20.5-3) focal; urgency=medium * Add setuptools and pip on setup.py depends - -- Dragonfly Tue, 6 Nov 2022 17:18:19 +0200 + -- Dragonfly Tue, 3 Dec 2022 17:18:19 +0200 python3-opendds (3.20.5-2) focal; urgency=medium diff --git a/pyopendds/dev/itl2py/PythonOutput.py b/pyopendds/dev/itl2py/PythonOutput.py index 38327e0..9329072 100644 --- a/pyopendds/dev/itl2py/PythonOutput.py +++ b/pyopendds/dev/itl2py/PythonOutput.py @@ -24,10 +24,10 @@ class PythonOutput(Output): PrimitiveType.Kind.i64: ("int", "0"), PrimitiveType.Kind.f32: ("float", "0.0"), PrimitiveType.Kind.f64: ("float", "0.0"), - PrimitiveType.Kind.c8: ("chr", "'\\x00'"), - PrimitiveType.Kind.c16: ("str", "'\\x00'"), - PrimitiveType.Kind.s8: ("str", "''"), - PrimitiveType.Kind.s16: ("str", "''"), + PrimitiveType.Kind.c8: ("int", "0"), + PrimitiveType.Kind.c16: ("int", "00"), + PrimitiveType.Kind.s8: ("int", "''"), + PrimitiveType.Kind.s16: ("int", "''"), } def __init__(self, context: dict, name: str): diff --git a/rpmbuild/SPECS/python3-opendds.spec b/rpmbuild/SPECS/python3-opendds.spec index b1e6257..4ad8fd6 100755 --- a/rpmbuild/SPECS/python3-opendds.spec +++ b/rpmbuild/SPECS/python3-opendds.spec @@ -4,8 +4,8 @@ %define __python3 /usr/bin/python3.8 Name: python3-opendds -Version: 3.20.5 -Release: 3%{?dist} +Version: 3.20.6 +Release: 0 Summary: Setuptools extension to build and package CMake projects License: MIT diff --git a/setup.cfg b/setup.cfg index 3e86d7d..8498e4f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = pyopendds -version = 3.20.5 +version = 3.20.6 author = David Pierret author_email = david.pierret@smile.fr home_page = https://github.com/Sdpierret/pyopendds