1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup python 1.0 |
---|
5 | |
---|
6 | set base_name dbfread |
---|
7 | name py-$base_name |
---|
8 | version 2.0.7 |
---|
9 | python.versions 27 33 34 35 36 |
---|
10 | |
---|
11 | platforms darwin |
---|
12 | maintainers @esafak |
---|
13 | license MIT |
---|
14 | |
---|
15 | description Read DBF Files with Python |
---|
16 | long_description ${description} |
---|
17 | |
---|
18 | homepage https://pypi.python.org/pypi/$base_name |
---|
19 | master_sites pypi:d/$base_name |
---|
20 | |
---|
21 | checksums rmd160 6599d0c691b9047c46ec75842ed380880c595567 \ |
---|
22 | sha256 07c8a9af06ffad3f6f03e8fe91ad7d2733e31a26d2b72c4dd4cfbae07ee3b73d |
---|
23 | |
---|
24 | distname $base_name-${version} |
---|
25 | |
---|
26 | if {${name} ne ${subport}} { |
---|
27 | livecheck.type none |
---|
28 | |
---|
29 | depends_build-append port:py${python.version}-setuptools |
---|
30 | |
---|
31 | } else { |
---|
32 | livecheck.type regex |
---|
33 | livecheck.url ${homepage} |
---|
34 | livecheck.regex $base_name (\\d+(\\.\\d+)+) |
---|
35 | } |
---|