Ñò ®XRc@s¶ddkZddkiZddkiiZddklZlZl Z dei fd„ƒYZ dei fd„ƒYZ dei fd„ƒYZd „Zd d gZd „ZdS( iÿÿÿÿN(t PD_LOCAL_PATHt PD_PROTO_DIRtPD_DEFAULT_RUNPATHt BadElfFilecBs eZdZd„Zd„ZRS(sœException that is raised when the elf dependency checker is given a file that errors when it tries to get the dynamic section from the file.cCs&tii|ƒ||_||_dS(N(tbasetDependencyAnalysisErrort__init__tfptex(tselfRR((s4/usr/lib/python2.6/vendor-packages/pkg/flavor/elf.pyR's cCstdƒhdd6|id6S(Ns#%(file)s had this elf error:%(err)ssself.fptfileterr(t_R(R ((s4/usr/lib/python2.6/vendor-packages/pkg/flavor/elf.pyt__str__,s (t__name__t __module__t__doc__RR (((s4/usr/lib/python2.6/vendor-packages/pkg/flavor/elf.pyR"s tUnsupportedDynamicTokencBs eZdZd„Zd„ZRS(syException that is used for elf dependencies which have a dynamic token in their path that we're unable to decode.cCs8tii|ƒ||_||_||_||_dS(N(RRRtpptiptrpttok(R t proto_pathtinstalled_pathtrun_pathttoken((s4/usr/lib/python2.6/vendor-packages/pkg/flavor/elf.pyR4s    cCstdƒ|iS(NsÌ%(pp)s (which will be installed at %(ip)s) had this token, %(tok)s, in its run path: %(rp)s. It is not currently possible to automatically expand this token. Please specify its value on the command line.(R t__dict__(R ((s4/usr/lib/python2.6/vendor-packages/pkg/flavor/elf.pyR ;s (RRRRR (((s4/usr/lib/python2.6/vendor-packages/pkg/flavor/elf.pyR0s t ElfDependencycBs2eZdZd„Zd„Zd„Zd„ZRS(s^Class representing a dependency from one file to another library as determined by elf.cCs5|i|_tii|||g|||dƒdS(Ntelf(tERRORterr_typeRtPublishingDependencyR(R tactiont base_namet run_pathstpkg_varst proto_dir((s4/usr/lib/python2.6/vendor-packages/pkg/flavor/elf.pyRGs cCs|i|ijS(sžBecause elf dependencies can be either warnings or errors, it's necessary to check whether this dependency is an error or not.(RR(R ((s4/usr/lib/python2.6/vendor-packages/pkg/flavor/elf.pytis_errorMscKs²tii|d||\}}||ijos|iƒof|id|joR|i|_d|id|i <|i ƒ}|i ||idƒ|i|fS||fSdS(sChecks whether this dependency has been delivered. If the full path has not been delivered, check whether the base name has. If it has, it's likely that the run path is being set externally. Report a warning, but not an error in this case.tdelivered_base_namesitwarnings %s.severityN( RRtresolve_internalRt is_satisfiedt base_namestWARNINGRtattrstDEPEND_DEBUG_PREFIXtget_variant_combinationstmark_as_satisfied(R R&tkwargsR tvarst missing_vars((s4/usr/lib/python2.6/vendor-packages/pkg/flavor/elf.pyR(Ts   cCs$d|i|id|i|ifS(NsElfDep(%s, %s, %s, %s)i(R R*R"R#(R ((s4/usr/lib/python2.6/vendor-packages/pkg/flavor/elf.pyt__repr__ms (RRRRR%R(R3(((s4/usr/lib/python2.6/vendor-packages/pkg/flavor/elf.pyRCs    c Csg}g}x|D]ù}|idƒ}|djoÊ||}|idƒ}|djo|| }n||jo|i||fƒq g}||D]'} ||| | ||t|ƒqœ~} t| |ƒ\} } |i| ƒ|i| ƒq|i|ƒqW||fS(s²Replace dynamic tokens, such as $PLATFORM, in the paths in the paramter 'paths' with the values for that token provided in the dictionary 'dyn_tok_conv.' t$iÿÿÿÿt/(tfindtappendtlentexpand_variablestextend( tpathst dyn_tok_convtrestelisttpt tok_startRttok_endt_[1]tdctnptrec_rest rec_elist((s4/usr/lib/python2.6/vendor-packages/pkg/flavor/elf.pyR9qs(    8 s/libs/usr/libcKsŒ|idjpgghfS|i|i}|it}tii|ƒpti|ƒ‚nt i |ƒpgghfSy.t i |ƒ}t i |dt dt ƒ}Wn't ij o} t|| ƒ‚nXg} |idgƒD]} | | dqî~ } |iddƒidƒ} t| ƒd jo| ddjo g} ntiid tii|ƒƒg|d terrst_[2]RR=tpntfntpathlisttdeppaththeadttail((s4/usr/lib/python2.6/vendor-packages/pkg/flavor/elf.pytprocess_elf_dependencies”s’ *$      0$(RWtpkg.elfRtpkg.flavor.basetflavorRt pkg.portableRRRRRRRRR9RgRy(((s4/usr/lib/python2.6/vendor-packages/pkg/flavor/elf.pyts . !