Ticket #47401: Portfile

File Portfile, 1.0 KB (added by xeron (Ivan Larionov), 8 years ago)
Line 
1# $Id$
2
3PortSystem          1.0
4PortGroup           python 1.0
5
6name                py-wcwidth
7version             0.1.5
8license             MIT
9platforms           darwin
10supported_archs     noarch
11maintainers         gmail.com:xeron.oskom openmaintainer
12description         Library for building powerful interactive command lines in Python
13long_description    ${description}
14
15python.versions     27
16
17homepage            https://pypi.python.org/pypi/wcwidth/
18master_sites        https://pypi.python.org/packages/source/w/wcwidth/
19distname            wcwidth-${version}
20
21checksums           md5     2282d853074f2f1f465a3387e524d99b \
22                    rmd160  e9e7f0172ed8881fd50ed20a012d6274ef9b791c \
23                    sha256  66c7ce3199c87833aaaa1fe1241b63261ce53c1062597c189a16a54713e0919d
24
25if {${name} ne ${subport}} {
26    depends_build-append    port:py${python.version}-setuptools
27    livecheck.type          none
28} else {
29    livecheck.type      regex
30    livecheck.url       ${homepage}
31    livecheck.regex     "wcwidth (\\d+\\.\\d+(?:\\.\\d+))"
32}