You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
a0692b4a51
In preparation for changing the default.
50 lines
1.9 KiB
Tcl
50 lines
1.9 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.17.3 v
|
|
# Change github.tarball_from to 'releases' or 'archive' next update
|
|
github.tarball_from tarball
|
|
name py-json-tricks
|
|
revision 0
|
|
license BSD
|
|
supported_archs noarch
|
|
platforms {darwin any}
|
|
|
|
python.versions 39 310 311
|
|
|
|
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 a0b210a2caa10d32ac0b0bf09938370b4c1c9d7e \
|
|
sha256 3ca360fa39fffe4e21c049401e143e5fe59281fd34857adf1c0614949703bf32 \
|
|
size 42674
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_test-append port:py${python.version}-numpy \
|
|
port:py${python.version}-pandas \
|
|
port:py${python.version}-tz
|
|
|
|
test.run yes
|
|
test.target --continue-on-collection-errors
|
|
|
|
post-destroot {
|
|
set DD ${destroot}${prefix}/share/doc/${subport}/
|
|
xinstall -d ${DD}
|
|
xinstall -W ${worksrcpath} LICENSE.txt README.md ${DD}
|
|
}
|
|
}
|