lbkit 0.6.7__tar.gz → 0.6.8__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. {lbkit-0.6.7/lbkit.egg-info → lbkit-0.6.8}/PKG-INFO +1 -1
  2. lbkit-0.6.8/lbkit/__init__.py +2 -0
  3. {lbkit-0.6.7 → lbkit-0.6.8}/lbkit/codegen/template/client.h.mako +2 -5
  4. {lbkit-0.6.7 → lbkit-0.6.8}/lbkit/codegen/template/server.h.mako +3 -6
  5. {lbkit-0.6.7 → lbkit-0.6.8/lbkit.egg-info}/PKG-INFO +1 -1
  6. lbkit-0.6.7/lbkit/__init__.py +0 -2
  7. {lbkit-0.6.7 → lbkit-0.6.8}/AUTHORS +0 -0
  8. {lbkit-0.6.7 → lbkit-0.6.8}/LICENSE +0 -0
  9. {lbkit-0.6.7 → lbkit-0.6.8}/MANIFEST.in +0 -0
  10. {lbkit-0.6.7 → lbkit-0.6.8}/README.md +0 -0
  11. {lbkit-0.6.7 → lbkit-0.6.8}/lbkit/build_conan_parallel.py +0 -0
  12. {lbkit-0.6.7 → lbkit-0.6.8}/lbkit/ci_robot/__init__.py +0 -0
  13. {lbkit-0.6.7 → lbkit-0.6.8}/lbkit/ci_robot/gitee.py +0 -0
  14. {lbkit-0.6.7 → lbkit-0.6.8}/lbkit/cli.py +0 -0
  15. {lbkit-0.6.7 → lbkit-0.6.8}/lbkit/codegen/__init__.py +0 -0
  16. {lbkit-0.6.7 → lbkit-0.6.8}/lbkit/codegen/codegen.py +0 -0
  17. {lbkit-0.6.7 → lbkit-0.6.8}/lbkit/codegen/ctype_defination.py +0 -0
  18. {lbkit-0.6.7 → lbkit-0.6.8}/lbkit/codegen/idf_interface.py +0 -0
  19. {lbkit-0.6.7 → lbkit-0.6.8}/lbkit/codegen/renderer.py +0 -0
  20. {lbkit-0.6.7 → lbkit-0.6.8}/lbkit/codegen/template/client.c.mako +0 -0
  21. {lbkit-0.6.7 → lbkit-0.6.8}/lbkit/codegen/template/interface.c.mako +0 -0
  22. {lbkit-0.6.7 → lbkit-0.6.8}/lbkit/codegen/template/interface.introspect.xml.mako +0 -0
  23. {lbkit-0.6.7 → lbkit-0.6.8}/lbkit/codegen/template/public.c.mako +0 -0
  24. {lbkit-0.6.7 → lbkit-0.6.8}/lbkit/codegen/template/public.h.mako +0 -0
  25. {lbkit-0.6.7 → lbkit-0.6.8}/lbkit/codegen/template/server.c.mako +0 -0
  26. {lbkit-0.6.7 → lbkit-0.6.8}/lbkit/component/__init__.py +0 -0
  27. {lbkit-0.6.7 → lbkit-0.6.8}/lbkit/component/arg_parser.py +0 -0
  28. {lbkit-0.6.7 → lbkit-0.6.8}/lbkit/component/build.py +0 -0
  29. {lbkit-0.6.7 → lbkit-0.6.8}/lbkit/component/template/conanbase.mako +0 -0
  30. {lbkit-0.6.7 → lbkit-0.6.8}/lbkit/component/template/deploy.mako +0 -0
  31. {lbkit-0.6.7 → lbkit-0.6.8}/lbkit/component/test.py +0 -0
  32. {lbkit-0.6.7 → lbkit-0.6.8}/lbkit/errors.py +0 -0
  33. {lbkit-0.6.7 → lbkit-0.6.8}/lbkit/helper.py +0 -0
  34. {lbkit-0.6.7 → lbkit-0.6.8}/lbkit/integration/__init__.py +0 -0
  35. {lbkit-0.6.7 → lbkit-0.6.8}/lbkit/integration/build_image.py +0 -0
  36. {lbkit-0.6.7 → lbkit-0.6.8}/lbkit/integration/build_manifest.py +0 -0
  37. {lbkit-0.6.7 → lbkit-0.6.8}/lbkit/integration/build_prepare.py +0 -0
  38. {lbkit-0.6.7 → lbkit-0.6.8}/lbkit/integration/build_rootfs.py +0 -0
  39. {lbkit-0.6.7 → lbkit-0.6.8}/lbkit/integration/config.py +0 -0
  40. {lbkit-0.6.7 → lbkit-0.6.8}/lbkit/integration/task.py +0 -0
  41. {lbkit-0.6.7 → lbkit-0.6.8}/lbkit/integration/template/conanfile.py.mako +0 -0
  42. {lbkit-0.6.7 → lbkit-0.6.8}/lbkit/integration/template/rootfs.py.mako +0 -0
  43. {lbkit-0.6.7 → lbkit-0.6.8}/lbkit/lbkit.py +0 -0
  44. {lbkit-0.6.7 → lbkit-0.6.8}/lbkit/log.py +0 -0
  45. {lbkit-0.6.7 → lbkit-0.6.8}/lbkit/misc.py +0 -0
  46. {lbkit-0.6.7 → lbkit-0.6.8}/lbkit/tools.py +0 -0
  47. {lbkit-0.6.7 → lbkit-0.6.8}/lbkit/utils/__init__.py +0 -0
  48. {lbkit-0.6.7 → lbkit-0.6.8}/lbkit/utils/images/__init__.py +0 -0
  49. {lbkit-0.6.7 → lbkit-0.6.8}/lbkit/utils/images/emmc.py +0 -0
  50. {lbkit-0.6.7 → lbkit-0.6.8}/lbkit.egg-info/SOURCES.txt +0 -0
  51. {lbkit-0.6.7 → lbkit-0.6.8}/lbkit.egg-info/dependency_links.txt +0 -0
  52. {lbkit-0.6.7 → lbkit-0.6.8}/lbkit.egg-info/entry_points.txt +0 -0
  53. {lbkit-0.6.7 → lbkit-0.6.8}/lbkit.egg-info/requires.txt +0 -0
  54. {lbkit-0.6.7 → lbkit-0.6.8}/lbkit.egg-info/top_level.txt +0 -0
  55. {lbkit-0.6.7 → lbkit-0.6.8}/setup.cfg +0 -0
  56. {lbkit-0.6.7 → lbkit-0.6.8}/setup.py +0 -0
  57. {lbkit-0.6.7 → lbkit-0.6.8}/test/__init__.py +0 -0
  58. {lbkit-0.6.7 → lbkit-0.6.8}/test/test_codegen.py +0 -0
  59. {lbkit-0.6.7 → lbkit-0.6.8}/test/test_helper.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: lbkit
3
- Version: 0.6.7
3
+ Version: 0.6.8
4
4
  Summary: Tools provided by litebmc.com
5
5
  Home-page: https://www.litebmc.com
6
6
  Author: xuhj@litebmc.com
@@ -0,0 +1,2 @@
1
+
2
+ __version__ = '0.6.8'
@@ -1,3 +1,4 @@
1
+ <% from lbkit.tools import hump2underline %>\
1
2
  #ifndef __${"_".join(intf.name.upper().split(".", -1))}_CLI_H__
2
3
  #define __${"_".join(intf.name.upper().split(".", -1))}_CLI_H__
3
4
 
@@ -104,14 +105,10 @@ void ${class_name}_Unsubscribe_${signal.name}(guint *id);
104
105
  % endif
105
106
 
106
107
  % endfor
107
- #define ${class_name.upper()}_NAME "${intf.name}"
108
- % for prop in intf.properties:
109
- #define ${class_name.upper()}_${prop.name}_NAME "${prop.name}"
110
- % endfor
111
108
 
112
109
  ${class_name}_Properties *${class_name}_properties(void);
113
110
  LBInterface *${class_name}_interface(void);
114
- #define ${class_name.upper()}_INTERFACE ${class_name}_interface()
111
+ #define ${hump2underline(class_name).upper()} ${class_name}_interface()
115
112
 
116
113
  #ifdef __cplusplus
117
114
  }
@@ -1,3 +1,4 @@
1
+ <% from lbkit.tools import hump2underline %>\
1
2
  #ifndef __${"_".join(intf.name.upper().split(".", -1))}_SRV_H__
2
3
  #define __${"_".join(intf.name.upper().split(".", -1))}_SRV_H__
3
4
 
@@ -50,15 +51,11 @@ gboolean ${class_name}_${signal.name}_Signal(const ${class_name} *object, const
50
51
  % endif
51
52
  % endfor
52
53
 
53
- #define ${class_name.upper()}_NAME "${intf.name}"
54
- % for prop in intf.properties:
55
- #define ${class_name.upper()}_${prop.name}_NAME "${prop.name}"
56
- % endfor
57
-
58
54
  LBInterface *${class_name}_interface(void);
59
- #define ${class_name.upper()}_INTERFACE ${class_name}_interface()
60
55
  ${class_name}_Properties *${class_name}_properties(void);
61
56
 
57
+ #define ${hump2underline(class_name).upper()} ${class_name}_interface()
58
+
62
59
  #ifdef __cplusplus
63
60
  }
64
61
  #endif
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: lbkit
3
- Version: 0.6.7
3
+ Version: 0.6.8
4
4
  Summary: Tools provided by litebmc.com
5
5
  Home-page: https://www.litebmc.com
6
6
  Author: xuhj@litebmc.com
@@ -1,2 +0,0 @@
1
-
2
- __version__ = '0.6.7'
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes