99
1010class MTConnectAgentConan (ConanFile ):
1111 name = "mtconnect_agent"
12- version = "2.6 "
12+ version = "2.7 "
1313 url = "https://github.com/mtconnect/cppagent.git"
1414 license = "Apache License 2.0"
1515 settings = "os" , "compiler" , "arch" , "build_type"
@@ -93,14 +93,13 @@ def tool_requires_version(self, package, version):
9393 buf = io .StringIO ()
9494 command = f"{ package } --version"
9595 res = self .run (command , shell = True , stdout = buf )
96+ self .output .info (f"Command: '{ command } ' returned { res } " )
9697 ver = [0 , 0 , 0 ]
9798 if res == 0 :
9899 text = buf .getvalue ()
99100 self .output .debug (f"{ command } returned:\n { text } " )
100101 ver = [int (d ) for d in re .search (r"\d+\.\d+\.\d+" , text ).group (0 ).split ('.' )]
101102 self .output .info (f"Version of { package } is { ver } " )
102- else :
103- self .output .info (f"Command: '{ command } ' returned { res } " )
104103
105104 if ver < version :
106105 ver_text = '.' .join ([str (x ) for x in version ])
@@ -112,7 +111,7 @@ def tool_requires_version(self, package, version):
112111 def build_requirements (self ):
113112 self .tool_requires_version ("cmake" , [3 , 26 , 4 ])
114113 if self .options .with_docs :
115- self .tool_requires_version ("doxygen" , [1 , 15 , 0 ])
114+ self .tool_requires_version ("doxygen" , [1 , 16 , 0 ])
116115
117116 def requirements (self ):
118117 self .requires ("boost/1.88.0" , headers = True , libs = True , transitive_headers = True , transitive_libs = True )
@@ -125,7 +124,7 @@ def requirements(self):
125124 self .requires ("bzip2/1.0.8" , headers = True , libs = True , transitive_headers = True , transitive_libs = True )
126125
127126 if self .options .with_ruby :
128- self .requires ("mruby/3.2 .0" , headers = True , libs = True , transitive_headers = True , transitive_libs = True )
127+ self .requires ("mruby/3.4 .0" , headers = True , libs = True , transitive_headers = True , transitive_libs = True )
129128
130129 self .requires ("gtest/1.17.0" , headers = True , libs = True , transitive_headers = True , transitive_libs = True , test = True )
131130
0 commit comments