Added NativeLibraryDependency to the model. This represents a dependency on a
commit5749c666ecca06340250cb547edfbd5d0e91ef40
authorThomas Leonard <talex5@gmail.com>
Tue, 15 May 2007 20:14:13 +0000 (15 20:14 +0000)
committerThomas <Leonard>
Sun, 15 Jan 2006 10:34:05 +0000 (15 10:34 +0000)
treef741b3d1bf8a098f6a6ae232e19b10a19048c91d
parentbb8514b975a555e230adccaf6ea8def0352757d3
Added NativeLibraryDependency to the model. This represents a dependency on a

library which is installed using the native distribution package manager, not
through Zero Install.

Implementation.dependencies is now a deprecated read-only property (it maps
interface names to InterfaceDependency objects). It has been replaced by
Implementation.requires, a list of Dependency objects.

After Policy.recalculate, policy.failed_native_requirements is the set of
NativeLibraryDependency objects which were required by weren't present.

TODO:

- Policy._have_native_library() decides whether a native dependency is
  satified. It currently hard-codes the library search path.

git-svn-id: file:///home/talex/Backups/sf.net/Subversion/zero-install/trunk/0launch@1759 9f8c893c-44ee-0310-b757-c8ca8341c71e
tests/testreader.py
zeroinstall/0launch-gui/0launch-gui
zeroinstall/0launch-gui/iface_browser.py
zeroinstall/0launch-gui/properties.py
zeroinstall/injector/autopolicy.py
zeroinstall/injector/model.py
zeroinstall/injector/policy.py
zeroinstall/injector/reader.py
zeroinstall/injector/run.py
zeroinstall/injector/selections.py