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 | PortGroup select 1.0 |
---|
6 | |
---|
7 | set base_name csvkit |
---|
8 | name py-$base_name |
---|
9 | version 1.0.1 |
---|
10 | python.versions 27 34 35 36 |
---|
11 | categories-append textproc |
---|
12 | platforms darwin |
---|
13 | maintainers esafak |
---|
14 | license GPL-3 |
---|
15 | |
---|
16 | description A suite of utilities for converting to and working with CSV, the king of tabular file formats |
---|
17 | long_description \ |
---|
18 | csvkit is a suite of utilities for converting to and working with CSV, the \ |
---|
19 | king of tabular file formats. csvkit is to tabular data what the standard \ |
---|
20 | Unix text processing suite (grep, sed, cut, sort) is to text. As such, csvkit \ |
---|
21 | adheres to the Unix philosophy. |
---|
22 | |
---|
23 | homepage https://pypi.python.org/pypi/$base_name |
---|
24 | master_sites pypi:c/$base_name |
---|
25 | |
---|
26 | checksums rmd160 7b476ea6956bf47c8f480043a83abe2a8feb6b68 \ |
---|
27 | sha256 046bc6e71e6892b4d244f8702786354e28ca6002814d460d99659d6ad8e7bcd1 |
---|
28 | |
---|
29 | distname $base_name-${version} |
---|
30 | |
---|
31 | if {${name} ne ${subport}} { |
---|
32 | livecheck.type none |
---|
33 | |
---|
34 | depends_build-append port:py${python.version}-setuptools \ |
---|
35 | port:py${python.version}-coverage \ |
---|
36 | port:py${python.version}-sphinx \ |
---|
37 | port:py${python.version}-sphinx_rtd_theme \ |
---|
38 | port:py${python.version}-nose \ |
---|
39 | port:py${python.version}-tox |
---|
40 | |
---|
41 | depends_lib-append port:${base_name}_select \ |
---|
42 | port:py${python.version}-agate \ |
---|
43 | port:py${python.version}-agate_excel \ |
---|
44 | port:py${python.version}-agate_dbf \ |
---|
45 | port:py${python.version}-agate_sql \ |
---|
46 | port:py${python.version}-six |
---|
47 | |
---|
48 | select.group $base_name |
---|
49 | select.file ${filespath}/py${python.version}-$base_name |
---|
50 | } else { |
---|
51 | livecheck.type regex |
---|
52 | livecheck.url ${homepage} |
---|
53 | livecheck.regex $base_name (\\d+(\\.\\d+)+) |
---|
54 | } |
---|