/
Portfile
47 lines (38 loc) · 1.84 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# -*- 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
name py-json-tricks
revision 0
license BSD
supported_archs noarch
platforms {darwin any}
python.versions 38 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}
}
}