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

Last change on this file was 148976, checked in by raimue@…, 18 months ago

Mass update of python ports for master_sites pypi

The pypi hosting site changed the naming scheme for new uploads. While old URLs
continue to work, this possibly breaks updates as master_sites would need to be
changed. This patch updates all previously hardcoded references to
pypi.python.org to the pypi: mirror sites, which was already updated to check
at both the old and new location. See #51391.

Overriding maintainers as this is a mass update of ports.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 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 148976 2016-05-24 07:48:05Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6PortGroup           select 1.0
7
8name                py-csvkit
9version             0.9.1
10python.versions     27 34 35
11categories-append   textproc
12platforms           darwin
13maintainers         nomaintainer
14license             MIT
15
16description         suite of utilities for converting to and working with CSV
17long_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
23homepage            http://pypi.python.org/pypi/csvkit
24master_sites        pypi:c/csvkit
25
26checksums           rmd160  e83e5968dbdd22a63bb50caf11ab0f73c62928c8 \
27                    sha256  92f8b8647becb5cb1dccb3af92a13a4e85702d42ba465ce8447881fb38c9f93a
28
29distname            csvkit-${version}
30
31if {${name} ne ${subport}} {
32    livecheck.type      none
33
34    depends_build-append \
35                        port:py${python.version}-setuptools
36
37    depends_lib-append  port:csvkit_select \
38                        port:py${python.version}-dateutil \
39                        port:py${python.version}-openpyxl \
40                        port:py${python.version}-sqlalchemy \
41                        port:py${python.version}-xlrd
42    select.group        csvkit
43    select.file         ${filespath}/py${python.version}-csvkit
44} else {
45    livecheck.type      regex
46    livecheck.url       ${homepage}
47    livecheck.regex     csvkit (\\d+(\\.\\d+)+)
48}
Note: See TracBrowser for help on using the repository browser.