diff options
author | Sascha Silbe <sascha-org-sugar-git@silbe.org> | 2009-06-06 15:32:08 (GMT) |
---|---|---|
committer | Sascha Silbe <sascha-org-sugar-git@silbe.org> | 2009-06-18 21:23:50 (GMT) |
commit | 75cbaa76badfbac5e89dfce36f6a98616cbcb4c0 (patch) | |
tree | 675db28ac916c77c732dda4e031695a0bc60bf9f /sjhbuild/depscheck.py | |
parent | e133abd16e46c75b8d2e123055f0211b2f716393 (diff) |
Partial rewrite of the sysdeps code:
* added support for reading multiple sysdeps files (so they can be split and thus the redundancy reduced)
* fallback to unstable distro version if current version is unknown (so it won't stop working when Fedora switches versions)
* abort if no sysdeps are available (since sugar-jhbuild will break in unexpected ways otherwise)
* cache distribution information and dependency list to speed up execution
Diffstat (limited to 'sjhbuild/depscheck.py')
-rw-r--r-- | sjhbuild/depscheck.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sjhbuild/depscheck.py b/sjhbuild/depscheck.py index f55f19e..f68a31a 100644 --- a/sjhbuild/depscheck.py +++ b/sjhbuild/depscheck.py @@ -20,10 +20,6 @@ class cmd_depscheck(Command): def run(self, config, options, args): deps = sysdeps.get_packages() - if not options.script and not deps: - print 'Dependencies information is missing, skip sanity check.' - return - missing_deps = [] for package, source in deps: if not sysdeps.check_package(package): |