Commit ba8f96b6 authored by Jérome Perrin's avatar Jérome Perrin

support recipes with a version

parent 77e7b824
......@@ -111,7 +111,7 @@ def bom_software(installed_software_path): # -> {} (name,kind) -> PkgInfo
continue # [buildout] is used internally
part = idb[s]
recipe = part['recipe']
recipe = part['recipe'].rsplit('==', 1)[0]
if recipe == 'slapos.recipe.cmmi':
addbom(geturl(part), '') # XXX detect kind?
......
......@@ -331,6 +331,11 @@ case1("""\
[gowork.dir]
recipe = plone.recipe.command
""", '')
# also this variation from some test profiles
case1("""\
[gowork.dir]
recipe = plone.recipe.command==1.1
""", '')
# readline 8 and 5 used simultaneously -> older one is presented as readline5
# libpng 12 and 16 used simultaneously -> ----//---- libpng12
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment