Ticket #25725: Portfile-py25-coverage.diff

File Portfile-py25-coverage.diff, 1.1 KB (added by orien.madgwick@…, 14 years ago)

Patch to Portfile that updates to version 3.3.1

Line 
18c8
2< version             3.0.1
3---
4> version             3.3.1
510d9
6< platforms           darwin
721c20,22
8< homepage            http://nedbatchelder.com/code/modules/coverage.html
9---
10> platforms           darwin
11>
12> homepage            http://nedbatchelder.com/code/coverage/
1325,27c26,38
14< checksums           md5 b299c33b169bd796a6186a1f0f42a7da \
15<                     sha1 17403e47a52481ee3950ecb33fedb8887e5ea030 \
16<                     rmd160 00b921492921eb57ff970ff7898b05f137f10a4a
17---
18> depends_lib         port:py25-distribute
19>
20> checksums           md5     6f5a25ce06baad03ab293990f3a98bb7 \
21>                     sha1    56b30e982c618c34c1ba7d97a19ae48716b1c51d \
22>                     rmd160  25b43c2e9286576a41c8cd0d86fa0b0bf4d0c26d
23>
24> post-patch {
25>     # Permissions in the archive are 700
26>     # Set directories to 755, *.py to 755, other files to 644
27>     system "find ${worksrcpath} -type d -exec chmod 755 {} \\;"
28>     system "find ${worksrcpath} -type f -name '*.py' -exec chmod 775 {} \\;"
29>     system "find ${worksrcpath} -type f -not -name '*.py' -exec chmod 644 {} \\;"
30> }