21 | | homepage http://nedbatchelder.com/code/coverage/ |
22 | | master_sites http://pypi.python.org/packages/source/c/coverage/ |
23 | | distname coverage-${version} |
24 | | |
25 | | checksums rmd160 c981f12bc918dff915c5d3c5469c45bb55470be5 \ |
26 | | sha256 df3bf169d4727f3fad146ca715a49a1f72a8258689651ef9de908022e739700d |
| 24 | homepage http://nedbatchelder.com/code/${_name}/ |
| 25 | master_sites https://pypi.python.org/packages/source/${_n}/${_name}/ |
| 26 | distname ${_name}-${version} |
| 27 | |
| 28 | checksums md5 c47b36ceb17eaff3ecfab3bcd347d0df \ |
| 29 | rmd160 ba87d81ed228261c019629e23a904f248143ea1f \ |
| 30 | sha256 d1aea1c4aa61b8366d6a42dd3650622fbf9c634ed24eaf7f379c8b970e5ed44e |
33 | | post-patch { |
34 | | # Permissions in the archive are 700 |
35 | | # Set directories to 755, *.py to 755, other files to 644 |
36 | | system "find ${worksrcpath} -type d -exec chmod 755 {} \\;" |
37 | | system "find ${worksrcpath} -type f -name '*.py' -exec chmod 775 {} \\;" |
38 | | system "find ${worksrcpath} -type f -not -name '*.py' -exec chmod 644 {} \\;" |
39 | | } |
40 | | |
41 | | python.move_binaries no |
42 | | if {${python.version} < 26} { |
43 | | post-destroot { |
44 | | foreach f {coverage coverage2} { |
45 | | if {[file exists ${destroot}${prefix}/bin/${f}]} { |
46 | | file delete -force ${destroot}${prefix}/bin/${f} |
47 | | } |
48 | | } |
49 | | } |
50 | | } |
| 37 | patchfiles patch-setup.py.diff |