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 agate-dbf |
---|
7 | name py-agate_dbf |
---|
8 | version 0.2.0 |
---|
9 | python.versions 27 34 35 36 |
---|
10 | # categories-append textproc |
---|
11 | platforms darwin |
---|
12 | maintainers esafak |
---|
13 | license MIT |
---|
14 | |
---|
15 | description Adds read support for DBF files to agate |
---|
16 | long_description ${description} |
---|
17 | |
---|
18 | homepage https://pypi.python.org/pypi/$base_name |
---|
19 | master_sites pypi:a/$base_name |
---|
20 | |
---|
21 | checksums rmd160 ea79069dd546f7b26291980fc7e214a3c35d660b \ |
---|
22 | sha256 0666c1ad06cd4b2860351cebbd88bd4b05b2d1abd41b25cf91f8f6715035735e |
---|
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 | port:py${python.version}-nose \ |
---|
31 | port:py${python.version}-tox \ |
---|
32 | port:py${python.version}-sphinx \ |
---|
33 | port:py${python.version}-sphinx_rtd_theme |
---|
34 | |
---|
35 | depends_lib-append port:py${python.version}-dbfread \ |
---|
36 | port:py${python.version}-agate |
---|
37 | } else { |
---|
38 | livecheck.type regex |
---|
39 | livecheck.url ${homepage} |
---|
40 | livecheck.regex $base_name (\\d+(\\.\\d+)+) |
---|
41 | } |
---|