diff options
Diffstat (limited to 'sjhbuild/sysdeps.py')
-rw-r--r-- | sjhbuild/sysdeps.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sjhbuild/sysdeps.py b/sjhbuild/sysdeps.py index 1b0366d..eaeeb9b 100644 --- a/sjhbuild/sysdeps.py +++ b/sjhbuild/sysdeps.py @@ -72,8 +72,10 @@ def _parse_dependencies(dname, dversion): # check whether we have a file matching the exact distro version if not [name for name in filenames if name.endswith(suffixes[-1])] : - # will break for unknown distros, but that's fine - # (=> bug report => add support for distro) + if dname not in _unstable_names : + sys.stderr.write("ERROR: %r is not a supported distro. If you think it is sufficiently recent to contain everything the latest development version of Sugar needs and would like to see it supported, please file a ticket at dev.sugarlabs.org.\n" % (dname,)) + return [] + uversion = _unstable_names[dname] if (dversion == uversion) : # no config for unstable |