Commit dbba5cde authored by Kirill Smelkov's avatar Kirill Smelkov

ZODB, ZEO and tempstorage are also synthetic sections

Ignore them instead of complaining.
parent 3dc84b26
...@@ -87,9 +87,11 @@ def bom_software(installed_software_path): # -> {} name -> PkgInfo ...@@ -87,9 +87,11 @@ def bom_software(installed_software_path): # -> {} name -> PkgInfo
# not to miss a normal part. # not to miss a normal part.
url = part.get('url', None) url = part.get('url', None)
if url is None: if url is None:
if s == 'gcc': # [gcc] is generic section to either use system gcc, or install one via slapos # [gcc] is generic section to either use system gcc, or install one via slapos
continue # the one installed via slapos will come in its own section # the one installed via slapos will come in its own section
if s == 'python': # [python] is similar - it picks up either python2 or python3 # [python] is similar - it picks up python2 or python3
# ZODB, ZEO, ... are similar as well
if s in ('gcc', 'python', 'ZODB', 'ZEO', 'tempstorage'):
continue continue
raise NotImplementedError('%s uses %s without url' % (s, recipe)) raise NotImplementedError('%s uses %s without url' % (s, recipe))
......
...@@ -63,7 +63,7 @@ url = http://ftp.gnu.org/gnu/ncurses/ncurses-6.2.tar.gz ...@@ -63,7 +63,7 @@ url = http://ftp.gnu.org/gnu/ncurses/ncurses-6.2.tar.gz
ncurses 6.2 http://ftp.gnu.org/gnu/ncurses/ncurses-6.2.tar.gz ncurses 6.2 http://ftp.gnu.org/gnu/ncurses/ncurses-6.2.tar.gz
""") """)
for x in ('gcc', 'python'): for x in ('gcc', 'python', 'ZODB', 'ZEO', 'tempstorage'):
case1("""\ case1("""\
[%s] [%s]
recipe = slapos.recipe.build recipe = slapos.recipe.build
......
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