1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup python 1.0 |
---|
5 | |
---|
6 | set _name django-countries |
---|
7 | set _n [string index ${_name} 0] |
---|
8 | |
---|
9 | name py-${_name} |
---|
10 | version 3.1.1 |
---|
11 | python.versions 27 34 |
---|
12 | |
---|
13 | platforms darwin |
---|
14 | license BSD |
---|
15 | maintainers nomaintainer |
---|
16 | |
---|
17 | description Django test runner that uses nose |
---|
18 | long_description ${description} |
---|
19 | |
---|
20 | homepage http://github.com/SmileyChris/${_name} |
---|
21 | master_sites http://pypi.python.org/packages/source/${_n}/${_name} |
---|
22 | distname ${_name}-${version} |
---|
23 | |
---|
24 | checksums rmd160 9296ee7ac3e402d93f9a775c4d084aa413574ffb \ |
---|
25 | sha256 7a53f5f1030fbc81f17cea8055bbb4e3d94e294897e6e680fc3657226122a3b0 |
---|
26 | |
---|
27 | if {${name} ne ${subport}} { |
---|
28 | depends_lib port:py${python.version}-django |
---|
29 | |
---|
30 | livecheck.type none |
---|
31 | } else { |
---|
32 | livecheck.type regex |
---|
33 | livecheck.url [lindex ${master_sites} 0] |
---|
34 | livecheck.regex ">${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}<" |
---|
35 | } |
---|