lbkit 0.6.4__tar.gz → 0.6.5__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 (58) hide show
  1. {lbkit-0.6.4/lbkit.egg-info → lbkit-0.6.5}/PKG-INFO +1 -1
  2. lbkit-0.6.5/lbkit/__init__.py +2 -0
  3. {lbkit-0.6.4 → lbkit-0.6.5}/lbkit/codegen/template/client.c.mako +0 -3
  4. {lbkit-0.6.4 → lbkit-0.6.5}/lbkit/codegen/template/public.c.mako +2 -5
  5. {lbkit-0.6.4 → lbkit-0.6.5}/lbkit/codegen/template/public.h.mako +3 -0
  6. {lbkit-0.6.4 → lbkit-0.6.5}/lbkit/codegen/template/server.c.mako +0 -3
  7. {lbkit-0.6.4 → lbkit-0.6.5}/lbkit/component/template/conanbase.mako +13 -0
  8. {lbkit-0.6.4 → lbkit-0.6.5/lbkit.egg-info}/PKG-INFO +1 -1
  9. lbkit-0.6.4/lbkit/__init__.py +0 -2
  10. {lbkit-0.6.4 → lbkit-0.6.5}/AUTHORS +0 -0
  11. {lbkit-0.6.4 → lbkit-0.6.5}/LICENSE +0 -0
  12. {lbkit-0.6.4 → lbkit-0.6.5}/MANIFEST.in +0 -0
  13. {lbkit-0.6.4 → lbkit-0.6.5}/README.md +0 -0
  14. {lbkit-0.6.4 → lbkit-0.6.5}/lbkit/build_conan_parallel.py +0 -0
  15. {lbkit-0.6.4 → lbkit-0.6.5}/lbkit/ci_robot/__init__.py +0 -0
  16. {lbkit-0.6.4 → lbkit-0.6.5}/lbkit/ci_robot/gitee.py +0 -0
  17. {lbkit-0.6.4 → lbkit-0.6.5}/lbkit/cli.py +0 -0
  18. {lbkit-0.6.4 → lbkit-0.6.5}/lbkit/codegen/__init__.py +0 -0
  19. {lbkit-0.6.4 → lbkit-0.6.5}/lbkit/codegen/codegen.py +0 -0
  20. {lbkit-0.6.4 → lbkit-0.6.5}/lbkit/codegen/ctype_defination.py +0 -0
  21. {lbkit-0.6.4 → lbkit-0.6.5}/lbkit/codegen/idf_interface.py +0 -0
  22. {lbkit-0.6.4 → lbkit-0.6.5}/lbkit/codegen/renderer.py +0 -0
  23. {lbkit-0.6.4 → lbkit-0.6.5}/lbkit/codegen/template/client.h.mako +0 -0
  24. {lbkit-0.6.4 → lbkit-0.6.5}/lbkit/codegen/template/interface.c.mako +0 -0
  25. {lbkit-0.6.4 → lbkit-0.6.5}/lbkit/codegen/template/interface.introspect.xml.mako +0 -0
  26. {lbkit-0.6.4 → lbkit-0.6.5}/lbkit/codegen/template/server.h.mako +0 -0
  27. {lbkit-0.6.4 → lbkit-0.6.5}/lbkit/component/__init__.py +0 -0
  28. {lbkit-0.6.4 → lbkit-0.6.5}/lbkit/component/arg_parser.py +0 -0
  29. {lbkit-0.6.4 → lbkit-0.6.5}/lbkit/component/build.py +0 -0
  30. {lbkit-0.6.4 → lbkit-0.6.5}/lbkit/component/template/deploy.mako +0 -0
  31. {lbkit-0.6.4 → lbkit-0.6.5}/lbkit/component/test.py +0 -0
  32. {lbkit-0.6.4 → lbkit-0.6.5}/lbkit/errors.py +0 -0
  33. {lbkit-0.6.4 → lbkit-0.6.5}/lbkit/helper.py +0 -0
  34. {lbkit-0.6.4 → lbkit-0.6.5}/lbkit/integration/__init__.py +0 -0
  35. {lbkit-0.6.4 → lbkit-0.6.5}/lbkit/integration/build_image.py +0 -0
  36. {lbkit-0.6.4 → lbkit-0.6.5}/lbkit/integration/build_manifest.py +0 -0
  37. {lbkit-0.6.4 → lbkit-0.6.5}/lbkit/integration/build_prepare.py +0 -0
  38. {lbkit-0.6.4 → lbkit-0.6.5}/lbkit/integration/build_rootfs.py +0 -0
  39. {lbkit-0.6.4 → lbkit-0.6.5}/lbkit/integration/config.py +0 -0
  40. {lbkit-0.6.4 → lbkit-0.6.5}/lbkit/integration/task.py +0 -0
  41. {lbkit-0.6.4 → lbkit-0.6.5}/lbkit/integration/template/conanfile.py.mako +0 -0
  42. {lbkit-0.6.4 → lbkit-0.6.5}/lbkit/lbkit.py +0 -0
  43. {lbkit-0.6.4 → lbkit-0.6.5}/lbkit/log.py +0 -0
  44. {lbkit-0.6.4 → lbkit-0.6.5}/lbkit/misc.py +0 -0
  45. {lbkit-0.6.4 → lbkit-0.6.5}/lbkit/tools.py +0 -0
  46. {lbkit-0.6.4 → lbkit-0.6.5}/lbkit/utils/__init__.py +0 -0
  47. {lbkit-0.6.4 → lbkit-0.6.5}/lbkit/utils/images/__init__.py +0 -0
  48. {lbkit-0.6.4 → lbkit-0.6.5}/lbkit/utils/images/emmc.py +0 -0
  49. {lbkit-0.6.4 → lbkit-0.6.5}/lbkit.egg-info/SOURCES.txt +0 -0
  50. {lbkit-0.6.4 → lbkit-0.6.5}/lbkit.egg-info/dependency_links.txt +0 -0
  51. {lbkit-0.6.4 → lbkit-0.6.5}/lbkit.egg-info/entry_points.txt +0 -0
  52. {lbkit-0.6.4 → lbkit-0.6.5}/lbkit.egg-info/requires.txt +0 -0
  53. {lbkit-0.6.4 → lbkit-0.6.5}/lbkit.egg-info/top_level.txt +0 -0
  54. {lbkit-0.6.4 → lbkit-0.6.5}/setup.cfg +0 -0
  55. {lbkit-0.6.4 → lbkit-0.6.5}/setup.py +0 -0
  56. {lbkit-0.6.4 → lbkit-0.6.5}/test/__init__.py +0 -0
  57. {lbkit-0.6.4 → lbkit-0.6.5}/test/test_codegen.py +0 -0
  58. {lbkit-0.6.4 → lbkit-0.6.5}/test/test_helper.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lbkit
3
- Version: 0.6.4
3
+ Version: 0.6.5
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.5'
@@ -1,7 +1,4 @@
1
1
  #include "lb_base.h"
2
- % for dep_intf in intf.dependency_interface:
3
- #include "public/${dep_intf}.h"
4
- % endfor
5
2
  #include "${intf.name}.h"
6
3
 
7
4
  <% class_name = intf.alias + "_Cli"
@@ -1,7 +1,4 @@
1
1
  #include "lb_base.h"
2
- % for dep_intf in intf.dependency_interface:
3
- #include "public/${dep_intf}.h"
4
- % endfor
5
2
  #include "${intf.name}.h"
6
3
 
7
4
  <% class_name = intf.alias %>\
@@ -1034,12 +1031,12 @@ int ${class_name}_${action.name}_register(const gchar *req_signature, const gcha
1034
1031
  }
1035
1032
  if (g_strcmp0(req_signature, "${action.in_signature}") != 0) {
1036
1033
  log_error("Register ${action.name} failed because parameter "
1037
- "req_signature not match with \"{action.in_signature}\", get \"%s\"", req_signature);
1034
+ "req_signature not match with \"${action.in_signature}\", get \"%s\"", req_signature);
1038
1035
  return -1;
1039
1036
  }
1040
1037
  if (g_strcmp0(rsp_signature, "${action.out_signature}") != 0) {
1041
1038
  log_error("Register ${action.name} failed because parameter "
1042
- "rsp_signature not match with \"{action.out_signature}\", get \"%s\"", rsp_signature);
1039
+ "rsp_signature not match with \"${action.out_signature}\", get \"%s\"", rsp_signature);
1043
1040
  return -1;
1044
1041
  }
1045
1042
  g_mutex_lock(&_${class_name}_${action.name}_lock);
@@ -4,6 +4,9 @@
4
4
  #include <glib-2.0/glib.h>
5
5
  #include <glib-2.0/gio/gio.h>
6
6
  #include "lb_base.h"
7
+ % for dep_intf in intf.dependency_interface:
8
+ #include "public/${dep_intf}.h"
9
+ % endfor
7
10
 
8
11
  #ifdef __cplusplus
9
12
  extern "C" {
@@ -1,8 +1,5 @@
1
1
  <% from lbkit.codegen.ctype_defination import StringValidator %>\
2
2
  #include "lb_base.h"
3
- % for dep_intf in intf.dependency_interface:
4
- #include "public/${dep_intf}.h"
5
- % endfor
6
3
  #include "${intf.name}.h"
7
4
 
8
5
  <%
@@ -127,6 +127,19 @@ class LiteBmcConan(ConanFile):
127
127
  % endif
128
128
  pass
129
129
 
130
+ % if len(pkg.get("requires", {})) > 0:
131
+ def build_requirements(self):
132
+ % for conan in pkg["requires"].get("tool", []):
133
+ % if conan.get("when") is not None:
134
+ if ${conan.get("when")}:
135
+ self.tool_requires("${conan.get("conan")}")
136
+ % else:
137
+ self.tool_requires("${conan.get("conan")}")
138
+ % endif
139
+ % endfor
140
+ pass
141
+ % endif
142
+
130
143
  def configure(self):
131
144
  % if len(pkg.get("requires", {})) > 0:
132
145
  % for conan in pkg["requires"].get("compile", []):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lbkit
3
- Version: 0.6.4
3
+ Version: 0.6.5
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.4'
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