You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
f17d559b7a
- use python.rootname, default PyPI livecheck - update homepage - fix dependencies - enable tests - install files in post-destroot - remove select file for PY34
66 lines
2.3 KiB
Tcl
66 lines
2.3 KiB
Tcl
# -*- 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
|
|
|
|
PortSystem 1.0
|
|
PortGroup python 1.0
|
|
PortGroup select 1.0
|
|
|
|
name py-csvkit
|
|
version 1.0.5
|
|
revision 0
|
|
|
|
categories-append textproc
|
|
platforms darwin
|
|
supported_archs noarch
|
|
license MIT
|
|
maintainers {gmail.com:esafak @esafak} openmaintainer
|
|
|
|
description A suite of utilities for converting to and working with CSV, the king of tabular file formats
|
|
long_description csvkit is a suite of utilities for converting to and working with CSV, \
|
|
the king of tabular file formats. csvkit is to tabular data what the \
|
|
standard Unix text processing suite (grep, sed, cut, sort) is to text. \
|
|
As such, csvkit adheres to the Unix philosophy.
|
|
|
|
homepage https://csvkit.readthedocs.io/
|
|
|
|
checksums rmd160 e58dfe8f6d6dc1bdee6948e16f8594a46e7dbdb8 \
|
|
sha256 7bd390f4d300e45dc9ed67a32af762a916bae7d9a85087a10fd4f64ce65fd5b9 \
|
|
size 3783495
|
|
|
|
python.versions 27 35 36 37
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_lib-append port:py${python.version}-agate \
|
|
port:py${python.version}-agate-excel \
|
|
port:py${python.version}-agate-dbf \
|
|
port:py${python.version}-agate-sql \
|
|
port:py${python.version}-setuptools \
|
|
port:py${python.version}-six
|
|
|
|
depends_run-append port:${python.rootname}_select
|
|
|
|
select.group ${python.rootname}
|
|
select.file ${filespath}/py${python.version}-${python.rootname}
|
|
|
|
depends_test-append \
|
|
port:py${python.version}-nose
|
|
|
|
if {${python.version} == 27} {
|
|
depends_test-append \
|
|
port:py${python.version}-mock
|
|
}
|
|
|
|
test.run yes
|
|
test.cmd nosetests-${python.branch}
|
|
test.target
|
|
test.env PYTHONPATH=${worksrcpath}/build/lib
|
|
|
|
post-destroot {
|
|
set docdir ${prefix}/share/doc/${subport}
|
|
xinstall -d ${destroot}${docdir}
|
|
xinstall -m 0644 -W ${worksrcpath} COPYING README.rst \
|
|
AUTHORS.rst CHANGELOG.rst ${destroot}${docdir}
|
|
}
|
|
|
|
livecheck.type none
|
|
}
|