From 93aa4840118a1c1bf2e07f8c643203e1a1a80904 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Thu, 24 Sep 2015 21:44:04 +0200 Subject: [PATCH] [DEV] update next lutin version --- lutin_ejson-test.py | 24 ++++++++++++------------ lutin_ejson.py | 14 +++++++------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/lutin_ejson-test.py b/lutin_ejson-test.py index 64b1adb..bc255a6 100644 --- a/lutin_ejson-test.py +++ b/lutin_ejson-test.py @@ -9,27 +9,27 @@ def get_desc(): def create(target): # module name is 'edn' and type binary. - myModule = module.Module(__file__, 'ejson-test', 'BINARY') + my_module = module.Module(__file__, 'ejson-test', 'BINARY') # add the file to compile: - myModule.add_src_file([ + my_module.add_src_file([ 'test/test.cpp']) - myModule.add_module_depend(['ejson', 'gtest']) + my_module.add_module_depend(['ejson', 'gtest']) now = datetime.datetime.now() versionID=str(now.year-2012)+"."+str(now.month)+"."+str(now.day) # set the package properties : - myModule.pkg_set("VERSION", versionID) - myModule.pkg_set("COMPAGNY_TYPE", "org") - myModule.pkg_set("COMPAGNY_NAME", "Edouard DUPIN") - myModule.pkg_set("MAINTAINER", ["Mr DUPIN Edouard "]) - myModule.pkg_set("SECTION", ["Development"]) - myModule.pkg_set("PRIORITY", "optional") - myModule.pkg_set("DESCRIPTION", "e-json tester soft") - myModule.pkg_set("NAME", "exml_tester") + my_module.pkg_set("VERSION", versionID) + my_module.pkg_set("COMPAGNY_TYPE", "org") + my_module.pkg_set("COMPAGNY_NAME", "Edouard DUPIN") + my_module.pkg_set("MAINTAINER", ["Mr DUPIN Edouard "]) + my_module.pkg_set("SECTION", ["Development"]) + my_module.pkg_set("PRIORITY", "optional") + my_module.pkg_set("DESCRIPTION", "e-json tester soft") + my_module.pkg_set("NAME", "exml_tester") # add the currrent module at the - return myModule + return my_module diff --git a/lutin_ejson.py b/lutin_ejson.py index 9228973..3343607 100644 --- a/lutin_ejson.py +++ b/lutin_ejson.py @@ -7,13 +7,13 @@ def get_desc(): def create(target): - myModule = module.Module(__file__, 'ejson', 'LIBRARY') + my_module = module.Module(__file__, 'ejson', 'LIBRARY') - myModule.add_module_depend(['etk']) + my_module.add_module_depend(['etk']) # add extra compilation flags : - myModule.add_extra_compile_flags() - myModule.add_src_file([ + my_module.add_extra_compile_flags() + my_module.add_src_file([ 'ejson/debug.cpp', 'ejson/ejson.cpp', 'ejson/Array.cpp', @@ -25,7 +25,7 @@ def create(target): 'ejson/Value.cpp' ]) - myModule.add_header_file([ + my_module.add_header_file([ 'ejson/ejson.h', 'ejson/Array.h', 'ejson/Boolean.h', @@ -36,9 +36,9 @@ def create(target): 'ejson/Value.h' ]) - myModule.add_path(tools.get_current_path(__file__)) + my_module.add_path(tools.get_current_path(__file__)) # add the currrent module at the - return myModule + return my_module