summaryrefslogtreecommitdiff
path: root/lib/python2.7/distutils/dep_util.pyc
blob: b2c1208600fb8879fe70ac9f78b35a0920cb8bf5 (plain)
ofshex dumpascii
0000 03 f3 0d 0a 5b 5c ac 51 63 00 00 00 00 00 00 00 00 02 00 00 00 40 00 00 00 73 5a 00 00 00 64 00 ....[\.Qc............@...sZ...d.
0020 00 5a 00 00 64 01 00 5a 01 00 64 02 00 64 03 00 6c 02 00 5a 02 00 64 02 00 64 04 00 6c 03 00 6d .Z..d..Z..d..d..l..Z..d..d..l..m
0040 04 00 5a 04 00 01 64 02 00 64 05 00 6c 05 00 6d 06 00 5a 06 00 01 64 06 00 84 00 00 5a 07 00 64 ..Z...d..d..l..m..Z...d.....Z..d
0060 07 00 84 00 00 5a 08 00 64 08 00 64 09 00 84 01 00 5a 09 00 64 03 00 53 28 0a 00 00 00 73 af 00 .....Z..d..d.....Z..d..S(....s..
0080 00 00 64 69 73 74 75 74 69 6c 73 2e 64 65 70 5f 75 74 69 6c 0a 0a 55 74 69 6c 69 74 79 20 66 75 ..distutils.dep_util..Utility.fu
00a0 6e 63 74 69 6f 6e 73 20 66 6f 72 20 73 69 6d 70 6c 65 2c 20 74 69 6d 65 73 74 61 6d 70 2d 62 61 nctions.for.simple,.timestamp-ba
00c0 73 65 64 20 64 65 70 65 6e 64 65 6e 63 79 20 6f 66 20 66 69 6c 65 73 0a 61 6e 64 20 67 72 6f 75 sed.dependency.of.files.and.grou
00e0 70 73 20 6f 66 20 66 69 6c 65 73 3b 20 61 6c 73 6f 2c 20 66 75 6e 63 74 69 6f 6e 20 62 61 73 65 ps.of.files;.also,.function.base
0100 64 20 65 6e 74 69 72 65 6c 79 20 6f 6e 20 73 75 63 68 0a 74 69 6d 65 73 74 61 6d 70 20 64 65 70 d.entirely.on.such.timestamp.dep
0120 65 6e 64 65 6e 63 79 20 61 6e 61 6c 79 73 69 73 2e 73 04 00 00 00 24 49 64 24 69 ff ff ff ff 4e endency.analysis.s....$Id$i....N
0140 28 01 00 00 00 74 08 00 00 00 53 54 5f 4d 54 49 4d 45 28 01 00 00 00 74 12 00 00 00 44 69 73 74 (....t....ST_MTIME(....t....Dist
0160 75 74 69 6c 73 46 69 6c 65 45 72 72 6f 72 63 02 00 00 00 02 00 00 00 04 00 00 00 43 00 00 00 73 utilsFileErrorc............C...s
0180 6b 00 00 00 74 00 00 6a 01 00 6a 02 00 7c 00 00 83 01 00 73 31 00 74 03 00 64 01 00 74 00 00 6a k...t..j..j..|.....s1.t..d..t..j
01a0 01 00 6a 04 00 7c 00 00 83 01 00 16 83 01 00 82 01 00 6e 00 00 74 00 00 6a 01 00 6a 02 00 7c 01 ..j..|............n..t..j..j..|.
01c0 00 83 01 00 73 47 00 74 05 00 53 74 00 00 6a 06 00 7c 00 00 83 01 00 74 07 00 19 74 00 00 6a 06 ....sG.t..St..j..|.....t...t..j.
01e0 00 7c 01 00 83 01 00 74 07 00 19 6b 04 00 53 28 02 00 00 00 73 b1 01 00 00 54 65 6c 6c 73 20 69 .|.....t...k..S(....s....Tells.i
0200 66 20 74 68 65 20 74 61 72 67 65 74 20 69 73 20 6e 65 77 65 72 20 74 68 61 6e 20 74 68 65 20 73 f.the.target.is.newer.than.the.s
0220 6f 75 72 63 65 2e 0a 0a 20 20 20 20 52 65 74 75 72 6e 20 74 72 75 65 20 69 66 20 27 73 6f 75 72 ource.......Return.true.if.'sour
0240 63 65 27 20 65 78 69 73 74 73 20 61 6e 64 20 69 73 20 6d 6f 72 65 20 72 65 63 65 6e 74 6c 79 20 ce'.exists.and.is.more.recently.
0260 6d 6f 64 69 66 69 65 64 20 74 68 61 6e 0a 20 20 20 20 27 74 61 72 67 65 74 27 2c 20 6f 72 20 69 modified.than.....'target',.or.i
0280 66 20 27 73 6f 75 72 63 65 27 20 65 78 69 73 74 73 20 61 6e 64 20 27 74 61 72 67 65 74 27 20 64 f.'source'.exists.and.'target'.d
02a0 6f 65 73 6e 27 74 2e 0a 0a 20 20 20 20 52 65 74 75 72 6e 20 66 61 6c 73 65 20 69 66 20 62 6f 74 oesn't.......Return.false.if.bot
02c0 68 20 65 78 69 73 74 20 61 6e 64 20 27 74 61 72 67 65 74 27 20 69 73 20 74 68 65 20 73 61 6d 65 h.exist.and.'target'.is.the.same
02e0 20 61 67 65 20 6f 72 20 79 6f 75 6e 67 65 72 0a 20 20 20 20 74 68 61 6e 20 27 73 6f 75 72 63 65 .age.or.younger.....than.'source
0300 27 2e 20 52 61 69 73 65 20 44 69 73 74 75 74 69 6c 73 46 69 6c 65 45 72 72 6f 72 20 69 66 20 27 '..Raise.DistutilsFileError.if.'
0320 73 6f 75 72 63 65 27 20 64 6f 65 73 20 6e 6f 74 20 65 78 69 73 74 2e 0a 0a 20 20 20 20 4e 6f 74 source'.does.not.exist.......Not
0340 65 20 74 68 61 74 20 74 68 69 73 20 74 65 73 74 20 69 73 20 6e 6f 74 20 76 65 72 79 20 61 63 63 e.that.this.test.is.not.very.acc
0360 75 72 61 74 65 3a 20 66 69 6c 65 73 20 63 72 65 61 74 65 64 20 69 6e 20 74 68 65 20 73 61 6d 65 urate:.files.created.in.the.same
0380 20 73 65 63 6f 6e 64 0a 20 20 20 20 77 69 6c 6c 20 68 61 76 65 20 74 68 65 20 73 61 6d 65 20 22 .second.....will.have.the.same."
03a0 61 67 65 22 2e 0a 20 20 20 20 73 18 00 00 00 66 69 6c 65 20 27 25 73 27 20 64 6f 65 73 20 6e 6f age"......s....file.'%s'.does.no
03c0 74 20 65 78 69 73 74 28 08 00 00 00 74 02 00 00 00 6f 73 74 04 00 00 00 70 61 74 68 74 06 00 00 t.exist(....t....ost....patht...
03e0 00 65 78 69 73 74 73 52 01 00 00 00 74 07 00 00 00 61 62 73 70 61 74 68 74 04 00 00 00 54 72 75 .existsR....t....abspatht....Tru
0400 65 74 04 00 00 00 73 74 61 74 52 00 00 00 00 28 02 00 00 00 74 06 00 00 00 73 6f 75 72 63 65 74 et....statR....(....t....sourcet
0420 06 00 00 00 74 61 72 67 65 74 28 00 00 00 00 28 00 00 00 00 73 5a 00 00 00 2f 74 6d 70 2f 6e 64 ....target(....(....sZ.../tmp/nd
0440 6b 2d 55 73 65 72 2f 62 75 69 6c 64 68 6f 73 74 2f 69 6e 73 74 61 6c 6c 2f 70 72 65 62 75 69 6c k-User/buildhost/install/prebuil
0460 74 2f 64 61 72 77 69 6e 2d 78 38 36 5f 36 34 2f 6c 69 62 2f 70 79 74 68 6f 6e 32 2e 37 2f 64 69 t/darwin-x86_64/lib/python2.7/di
0480 73 74 75 74 69 6c 73 2f 64 65 70 5f 75 74 69 6c 2e 70 79 74 05 00 00 00 6e 65 77 65 72 0d 00 00 stutils/dep_util.pyt....newer...
04a0 00 73 0c 00 00 00 00 0c 12 01 06 01 19 01 12 01 04 02 63 02 00 00 00 06 00 00 00 04 00 00 00 43 .s................c............C
04c0 00 00 00 73 86 00 00 00 74 00 00 7c 00 00 83 01 00 74 00 00 7c 01 00 83 01 00 6b 03 00 72 24 00 ...s....t..|.....t..|.....k..r$.
04e0 74 01 00 64 01 00 82 02 00 6e 00 00 67 00 00 7d 02 00 67 00 00 7d 03 00 78 49 00 74 02 00 7c 00 t..d.....n..g..}..g..}..xI.t..|.
0500 00 7c 01 00 83 02 00 44 5d 38 00 5c 02 00 7d 04 00 7d 05 00 74 03 00 7c 04 00 7c 05 00 83 02 00 .|.....D]8.\..}..}..t..|..|.....
0520 72 40 00 7c 02 00 6a 04 00 7c 04 00 83 01 00 01 7c 03 00 6a 04 00 7c 05 00 83 01 00 01 71 40 00 r@.|..j..|......|..j..|......q@.
0540 71 40 00 57 7c 02 00 7c 03 00 66 02 00 53 28 02 00 00 00 73 eb 00 00 00 57 61 6c 6b 20 74 77 6f q@.W|..|..f..S(....s....Walk.two
0560 20 66 69 6c 65 6e 61 6d 65 20 6c 69 73 74 73 20 69 6e 20 70 61 72 61 6c 6c 65 6c 2c 20 74 65 73 .filename.lists.in.parallel,.tes
0580 74 69 6e 67 20 69 66 20 65 61 63 68 20 73 6f 75 72 63 65 20 69 73 20 6e 65 77 65 72 0a 20 20 20 ting.if.each.source.is.newer....
05a0 20 74 68 61 6e 20 69 74 73 20 63 6f 72 72 65 73 70 6f 6e 64 69 6e 67 20 74 61 72 67 65 74 2e 20 .than.its.corresponding.target..
05c0 20 52 65 74 75 72 6e 20 61 20 70 61 69 72 20 6f 66 20 6c 69 73 74 73 20 28 73 6f 75 72 63 65 73 .Return.a.pair.of.lists.(sources
05e0 2c 0a 20 20 20 20 74 61 72 67 65 74 73 29 20 77 68 65 72 65 20 73 6f 75 72 63 65 20 69 73 20 6e ,.....targets).where.source.is.n
0600 65 77 65 72 20 74 68 61 6e 20 74 61 72 67 65 74 2c 20 61 63 63 6f 72 64 69 6e 67 20 74 6f 20 74 ewer.than.target,.according.to.t
0620 68 65 20 73 65 6d 61 6e 74 69 63 73 0a 20 20 20 20 6f 66 20 27 6e 65 77 65 72 28 29 27 2e 0a 20 he.semantics.....of.'newer()'...
0640 20 20 20 73 2b 00 00 00 27 73 6f 75 72 63 65 73 27 20 61 6e 64 20 27 74 61 72 67 65 74 73 27 20 ...s+...'sources'.and.'targets'.
0660 6d 75 73 74 20 62 65 20 73 61 6d 65 20 6c 65 6e 67 74 68 28 05 00 00 00 74 03 00 00 00 6c 65 6e must.be.same.length(....t....len
0680 74 0a 00 00 00 56 61 6c 75 65 45 72 72 6f 72 74 03 00 00 00 7a 69 70 52 0a 00 00 00 74 06 00 00 t....ValueErrort....zipR....t...
06a0 00 61 70 70 65 6e 64 28 06 00 00 00 74 07 00 00 00 73 6f 75 72 63 65 73 74 07 00 00 00 74 61 72 .append(....t....sourcest....tar
06c0 67 65 74 73 74 09 00 00 00 6e 5f 73 6f 75 72 63 65 73 74 09 00 00 00 6e 5f 74 61 72 67 65 74 73 getst....n_sourcest....n_targets
06e0 52 08 00 00 00 52 09 00 00 00 28 00 00 00 00 28 00 00 00 00 73 5a 00 00 00 2f 74 6d 70 2f 6e 64 R....R....(....(....sZ.../tmp/nd
0700 6b 2d 55 73 65 72 2f 62 75 69 6c 64 68 6f 73 74 2f 69 6e 73 74 61 6c 6c 2f 70 72 65 62 75 69 6c k-User/buildhost/install/prebuil
0720 74 2f 64 61 72 77 69 6e 2d 78 38 36 5f 36 34 2f 6c 69 62 2f 70 79 74 68 6f 6e 32 2e 37 2f 64 69 t/darwin-x86_64/lib/python2.7/di
0740 73 74 75 74 69 6c 73 2f 64 65 70 5f 75 74 69 6c 2e 70 79 74 0e 00 00 00 6e 65 77 65 72 5f 70 61 stutils/dep_util.pyt....newer_pa
0760 69 72 77 69 73 65 21 00 00 00 73 12 00 00 00 00 06 18 01 0c 03 06 01 06 01 1c 01 0f 01 0d 01 14 irwise!...s.....................
0780 02 74 05 00 00 00 65 72 72 6f 72 63 03 00 00 00 05 00 00 00 03 00 00 00 43 00 00 00 73 a1 00 00 .t....errorc............C...s...
07a0 00 74 00 00 6a 01 00 6a 02 00 7c 01 00 83 01 00 73 16 00 74 03 00 53 74 00 00 6a 04 00 7c 01 00 .t..j..j..|.....s..t..St..j..|..
07c0 83 01 00 74 05 00 19 7d 03 00 78 71 00 7c 00 00 44 5d 69 00 7d 04 00 74 00 00 6a 01 00 6a 02 00 ...t...}..xq.|..D]i.}..t..j..j..
07e0 7c 04 00 83 01 00 73 7c 00 7c 02 00 64 01 00 6b 02 00 72 57 00 71 7c 00 7c 02 00 64 02 00 6b 02 |.....s|.|..d..k..rW.q|.|..d..k.
0800 00 72 69 00 71 30 00 71 7c 00 7c 02 00 64 03 00 6b 02 00 72 7c 00 74 03 00 53 6e 00 00 74 00 00 .ri.q0.q|.|..d..k..r|.t..Sn..t..
0820 6a 04 00 7c 04 00 83 01 00 74 05 00 19 7c 03 00 6b 04 00 72 30 00 74 03 00 53 71 30 00 57 74 06 j..|.....t...|..k..r0.t..Sq0.Wt.
0840 00 53 28 04 00 00 00 73 e3 02 00 00 52 65 74 75 72 6e 20 74 72 75 65 20 69 66 20 27 74 61 72 67 .S(....s....Return.true.if.'targ
0860 65 74 27 20 69 73 20 6f 75 74 2d 6f 66 2d 64 61 74 65 20 77 69 74 68 20 72 65 73 70 65 63 74 20 et'.is.out-of-date.with.respect.
0880 74 6f 20 61 6e 79 20 66 69 6c 65 0a 20 20 20 20 6c 69 73 74 65 64 20 69 6e 20 27 73 6f 75 72 63 to.any.file.....listed.in.'sourc
08a0 65 73 27 2e 0a 0a 20 20 20 20 49 6e 20 6f 74 68 65 72 20 77 6f 72 64 73 2c 20 69 66 20 27 74 61 es'.......In.other.words,.if.'ta
08c0 72 67 65 74 27 20 65 78 69 73 74 73 20 61 6e 64 20 69 73 20 6e 65 77 65 72 0a 20 20 20 20 74 68 rget'.exists.and.is.newer.....th
08e0 61 6e 20 65 76 65 72 79 20 66 69 6c 65 20 69 6e 20 27 73 6f 75 72 63 65 73 27 2c 20 72 65 74 75 an.every.file.in.'sources',.retu
0900 72 6e 20 66 61 6c 73 65 3b 20 6f 74 68 65 72 77 69 73 65 20 72 65 74 75 72 6e 20 74 72 75 65 2e rn.false;.otherwise.return.true.
0920 0a 20 20 20 20 27 6d 69 73 73 69 6e 67 27 20 63 6f 6e 74 72 6f 6c 73 20 77 68 61 74 20 77 65 20 .....'missing'.controls.what.we.
0940 64 6f 20 77 68 65 6e 20 61 20 73 6f 75 72 63 65 20 66 69 6c 65 20 69 73 20 6d 69 73 73 69 6e 67 do.when.a.source.file.is.missing
0960 3b 20 74 68 65 0a 20 20 20 20 64 65 66 61 75 6c 74 20 28 22 65 72 72 6f 72 22 29 20 69 73 20 74 ;.the.....default.("error").is.t
0980 6f 20 62 6c 6f 77 20 75 70 20 77 69 74 68 20 61 6e 20 4f 53 45 72 72 6f 72 20 66 72 6f 6d 20 69 o.blow.up.with.an.OSError.from.i
09a0 6e 73 69 64 65 20 27 73 74 61 74 28 29 27 3b 0a 20 20 20 20 69 66 20 69 74 20 69 73 20 22 69 67 nside.'stat()';.....if.it.is."ig
09c0 6e 6f 72 65 22 2c 20 77 65 20 73 69 6c 65 6e 74 6c 79 20 64 72 6f 70 20 61 6e 79 20 6d 69 73 73 nore",.we.silently.drop.any.miss
09e0 69 6e 67 20 73 6f 75 72 63 65 20 66 69 6c 65 73 3b 20 69 66 20 69 74 20 69 73 0a 20 20 20 20 22 ing.source.files;.if.it.is....."
0a00 6e 65 77 65 72 22 2c 20 61 6e 79 20 6d 69 73 73 69 6e 67 20 73 6f 75 72 63 65 20 66 69 6c 65 73 newer",.any.missing.source.files
0a20 20 6d 61 6b 65 20 75 73 20 61 73 73 75 6d 65 20 74 68 61 74 20 27 74 61 72 67 65 74 27 20 69 73 .make.us.assume.that.'target'.is
0a40 0a 20 20 20 20 6f 75 74 2d 6f 66 2d 64 61 74 65 20 28 74 68 69 73 20 69 73 20 68 61 6e 64 79 20 .....out-of-date.(this.is.handy.
0a60 69 6e 20 22 64 72 79 2d 72 75 6e 22 20 6d 6f 64 65 3a 20 69 74 27 6c 6c 20 6d 61 6b 65 20 79 6f in."dry-run".mode:.it'll.make.yo
0a80 75 20 70 72 65 74 65 6e 64 20 74 6f 0a 20 20 20 20 63 61 72 72 79 20 6f 75 74 20 63 6f 6d 6d 61 u.pretend.to.....carry.out.comma
0aa0 6e 64 73 20 74 68 61 74 20 77 6f 75 6c 64 6e 27 74 20 77 6f 72 6b 20 62 65 63 61 75 73 65 20 69 nds.that.wouldn't.work.because.i
0ac0 6e 70 75 74 73 20 61 72 65 20 6d 69 73 73 69 6e 67 2c 20 62 75 74 0a 20 20 20 20 74 68 61 74 20 nputs.are.missing,.but.....that.
0ae0 64 6f 65 73 6e 27 74 20 6d 61 74 74 65 72 20 62 65 63 61 75 73 65 20 79 6f 75 27 72 65 20 6e 6f doesn't.matter.because.you're.no
0b00 74 20 61 63 74 75 61 6c 6c 79 20 67 6f 69 6e 67 20 74 6f 20 72 75 6e 20 74 68 65 0a 20 20 20 20 t.actually.going.to.run.the.....
0b20 63 6f 6d 6d 61 6e 64 73 29 2e 0a 20 20 20 20 52 14 00 00 00 74 06 00 00 00 69 67 6e 6f 72 65 52 commands)......R....t....ignoreR
0b40 0a 00 00 00 28 07 00 00 00 52 02 00 00 00 52 03 00 00 00 52 04 00 00 00 52 06 00 00 00 52 07 00 ....(....R....R....R....R....R..
0b60 00 00 52 00 00 00 00 74 05 00 00 00 46 61 6c 73 65 28 05 00 00 00 52 0f 00 00 00 52 09 00 00 00 ..R....t....False(....R....R....
0b80 74 07 00 00 00 6d 69 73 73 69 6e 67 74 0c 00 00 00 74 61 72 67 65 74 5f 6d 74 69 6d 65 52 08 00 t....missingt....target_mtimeR..
0ba0 00 00 28 00 00 00 00 28 00 00 00 00 73 5a 00 00 00 2f 74 6d 70 2f 6e 64 6b 2d 55 73 65 72 2f 62 ..(....(....sZ.../tmp/ndk-User/b
0bc0 75 69 6c 64 68 6f 73 74 2f 69 6e 73 74 61 6c 6c 2f 70 72 65 62 75 69 6c 74 2f 64 61 72 77 69 6e uildhost/install/prebuilt/darwin
0be0 2d 78 38 36 5f 36 34 2f 6c 69 62 2f 70 79 74 68 6f 6e 32 2e 37 2f 64 69 73 74 75 74 69 6c 73 2f -x86_64/lib/python2.7/distutils/
0c00 64 65 70 5f 75 74 69 6c 2e 70 79 74 0b 00 00 00 6e 65 77 65 72 5f 67 72 6f 75 70 34 00 00 00 73 dep_util.pyt....newer_group4...s
0c20 1c 00 00 00 00 10 12 01 04 06 13 02 0d 01 12 01 0c 01 03 01 0c 01 06 01 0c 01 07 02 19 01 08 02 ................................
0c40 28 0a 00 00 00 74 07 00 00 00 5f 5f 64 6f 63 5f 5f 74 0c 00 00 00 5f 5f 72 65 76 69 73 69 6f 6e (....t....__doc__t....__revision
0c60 5f 5f 52 02 00 00 00 52 07 00 00 00 52 00 00 00 00 74 10 00 00 00 64 69 73 74 75 74 69 6c 73 2e __R....R....R....t....distutils.
0c80 65 72 72 6f 72 73 52 01 00 00 00 52 0a 00 00 00 52 13 00 00 00 52 19 00 00 00 28 00 00 00 00 28 errorsR....R....R....R....(....(
0ca0 00 00 00 00 28 00 00 00 00 73 5a 00 00 00 2f 74 6d 70 2f 6e 64 6b 2d 55 73 65 72 2f 62 75 69 6c ....(....sZ.../tmp/ndk-User/buil
0cc0 64 68 6f 73 74 2f 69 6e 73 74 61 6c 6c 2f 70 72 65 62 75 69 6c 74 2f 64 61 72 77 69 6e 2d 78 38 dhost/install/prebuilt/darwin-x8
0ce0 36 5f 36 34 2f 6c 69 62 2f 70 79 74 68 6f 6e 32 2e 37 2f 64 69 73 74 75 74 69 6c 73 2f 64 65 70 6_64/lib/python2.7/distutils/dep
0d00 5f 75 74 69 6c 2e 70 79 74 08 00 00 00 3c 6d 6f 64 75 6c 65 3e 05 00 00 00 73 0e 00 00 00 06 02 _util.pyt....<module>....s......
0d20 06 02 0c 01 10 01 10 02 09 14 09 13 ............