1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup python 1.0 |
---|
5 | |
---|
6 | name py-prompt_toolkit |
---|
7 | version 0.46 |
---|
8 | license Permissive |
---|
9 | platforms darwin |
---|
10 | supported_archs noarch |
---|
11 | maintainers gmail.com:xeron.oskom openmaintainer |
---|
12 | description Library for building powerful interactive command lines in Python |
---|
13 | long_description ${description} |
---|
14 | |
---|
15 | python.versions 27 |
---|
16 | |
---|
17 | homepage https://pypi.python.org/pypi/prompt_toolkit/ |
---|
18 | master_sites https://pypi.python.org/packages/source/p/prompt_toolkit/ |
---|
19 | distname prompt_toolkit-${version} |
---|
20 | |
---|
21 | checksums md5 086d43d6e14bbfbbf0141d0144d5bf1c \ |
---|
22 | rmd160 1725181cd428125e693d348ea8a2daca2e0cf6db \ |
---|
23 | sha256 1aa25cb9772e1e27d12f7920b5a514421ab763231067119bbd2f8b1574b409fb |
---|
24 | |
---|
25 | if {${name} ne ${subport}} { |
---|
26 | depends_build-append port:py${python.version}-setuptools |
---|
27 | depends_lib-append port:py${python.version}-wcwidth \ |
---|
28 | port:py${python.version}-pygments \ |
---|
29 | port:py${python.version}-six |
---|
30 | livecheck.type none |
---|
31 | } else { |
---|
32 | livecheck.type regex |
---|
33 | livecheck.url ${homepage} |
---|
34 | livecheck.regex "prompt_toolkit (\\d+(?:\\.\\d+))" |
---|
35 | } |
---|