source: trunk/dports/python/py-csvkit/Portfile @ 97358

Last change on this file since 97358 was 92832, checked in by ryandesign@…, 8 years ago

Set svn:eol-style to native

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
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# $Id: Portfile 92832 2012-05-08 23:37:21Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6PortGroup           select 1.0
7
8name                py-csvkit
9version             0.4.3
10python.versions     26 27
11python.default_version  27
12categories-append   textproc
13platforms           darwin
14maintainers         singingwolfboy openmaintainer
15license             MIT
16homepage            http://pypi.python.org/pypi/csvkit
17description         suite of utilities for converting to and working with CSV
18long_description    \
19    csvkit is a suite of utilities for converting to and working with CSV, the \
20    king of tabular file formats. csvkit is to tabular data what the standard \
21    Unix text processing suite (grep, sed, cut, sort) is to text. As such, csvkit \
22    adheres to the Unix philosophy.
23
24master_sites        http://pypi.python.org/packages/source/c/csvkit
25distname            csvkit-${version}
26
27checksums           rmd160  a4526161f3bcb7cd61b8aaf9041dfcaf0a361074 \
28                    sha256  542d0fede943ad25235e919d51775ccce936c445c2c8a47d1acafe4684bef16a
29
30
31if {$subport != $name} {
32    livecheck.type      none
33    depends_lib         port:csvkit_select \
34                        port:py${python.version}-xlrd \
35                        port:py${python.version}-dateutil \
36                        port:py${python.version}-sqlalchemy \
37                        port:py${python.version}-openpyxl
38    subport py26-csvkit {
39        depends_lib-append  port:py26-argparse
40    }
41    select.group        csvkit
42    select.file         ${filespath}/py${python.version}-csvkit
43} else {
44    livecheck.type      regex
45    livecheck.url       ${homepage}
46    livecheck.regex     csvkit (\\d+(\\.\\d+)+)
47}
Note: See TracBrowser for help on using the repository browser.