Files
Eric A. Borisch 4a1c4bc77b py-json-tricks,pynetdicom,xlsxwriter: Updates (#8664)
* py-json-tricks,pynetdicom,xlsxwriter: Updates

* Update Portfile

Sort deps. alphabetically.
2020-10-07 13:31:28 -05:00

54 lines
2.1 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 github 1.0
github.setup mverleg pyjson_tricks 3.15.3 v
name py-json-tricks
revision 0
license BSD
supported_archs noarch
platforms darwin
python.versions 27 36 37 38
python.default_version 27
maintainers {eborisch @eborisch} openmaintainer
description The json-tricks exentds handling of json files.
long_description The pyjson-tricks package brings several pieces of \
functionality to python handling of json files: \
Store and load numpy arrays in human-readable format. \
Store and load class instances both generic and \
customized. Store and load date/times as a dictionary \
(including timezone). Preserve map order {} using \
OrderedDict. Allow for comments in json files by \
starting lines with #. Sets, complex numbers, Decimal, \
Fraction, enums, compression, duplicate keys, ...
checksums \
rmd160 ecc7856a90794c741e949743bdad9c1d8c4d5973 \
sha256 04989867625dd1a25746f32b6b2006b6d3508e27c908053fcf564e3b71526adc \
size 41636
if {${name} ne ${subport}} {
livecheck.type none
depends_build-append port:py${python.version}-setuptools
depends_test-append port:py${python.version}-numpy \
port:py${python.version}-pandas \
port:py${python.version}-pytest \
port:py${python.version}-tz
test.run yes
test.cmd py.test-${python.branch}
test.target --continue-on-collection-errors
post-destroot {
set DD ${destroot}${prefix}/share/doc/${subport}/
xinstall -d ${DD}
xinstall -W ${worksrcpath} LICENSE.txt README.rst ${DD}
}
}