# HG changeset patch
# User Sean Farley <sean.michael.farley@gmail.com>
# Date 1355161827 21600
# Node ID 9be7b6db71c3e1de3a8d6a1abcd40811522d17ed
# Parent 07385e8378f0438a91fbb608719fc4ef953536b3
py-cairo: fix off-by-one whitespace indentation
diff --git a/dports/python/py-cairo/Portfile b/dports/python/py-cairo/Portfile
a
|
b
|
|
35 | 35 | if {${name} != ${subport}} { |
36 | 36 | depends_build-append port:py${python.version}-numpy |
37 | 37 | |
38 | 38 | # pycairo distributes python 2.x versions as py2cairo |
39 | 39 | if {${python.version} < 31} { |
40 | | set my_name py2cairo |
| 40 | set my_name py2cairo |
41 | 41 | |
42 | | checksums rmd160 ce75db9af32ef1a3e90f6aaa649cbb2493a941a4 \ |
43 | | sha256 d30439f06c2ec1a39e27464c6c828b6eface3b22ee17b2de05dc409e429a7431 |
| 42 | checksums rmd160 ce75db9af32ef1a3e90f6aaa649cbb2493a941a4 \ |
| 43 | sha256 d30439f06c2ec1a39e27464c6c828b6eface3b22ee17b2de05dc409e429a7431 |
44 | 44 | |
45 | 45 | post-patch { |
46 | 46 | reinplace "s|py3cairo|pycairo|g" ${worksrcpath}/setup.py |
47 | 47 | } |
48 | 48 | } |
49 | 49 | |
50 | | distname ${my_name}-${version} |
| 50 | distname ${my_name}-${version} |
51 | 51 | |
52 | 52 | platform darwin 9 { |
53 | 53 | post-patch { |
54 | 54 | reinplace "s| -export-symbols-regex.*||g" ${worksrcpath}/src/Makefile.in |
55 | 55 | } |
… |
… |
|
67 | 67 | |
68 | 68 | variant x11 { |
69 | 69 | require_active_variants cairo x11 |
70 | 70 | } |
71 | 71 | |
72 | | default_variants +x11 |
| 72 | default_variants +x11 |
73 | 73 | |
74 | | livecheck.type none |
| 74 | livecheck.type none |
75 | 75 | } else { |
76 | | livecheck.type regex |
77 | | livecheck.regex "${my_name}-(\\d+(?:\\.\\d+)*)${extract.suffix}" |
| 76 | livecheck.type regex |
| 77 | livecheck.regex "${my_name}-(\\d+(?:\\.\\d+)*)${extract.suffix}" |
78 | 78 | } |