# -*- 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        google binplist 0.1.5 v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
categories          sysutils
platforms           {darwin any}
supported_archs     noarch
maintainers         {khindenburg @kurthindenburg} openmaintainer
license             Apache-2

# 2022: no python3 version
python.default_version     27

description         A binary plist parser
long_description    {*}${description}

checksums           rmd160  4d8466bac247c702a1fa123d63b39c2d5b6677f5 \
                    sha256  9480f6d25d26de6e37ae8785596e98774f63a9e3f3a29d6614b46340f0bca8bb \
                    size    21883

depends_build-append    port:py${python.version}-setuptools
depends_lib-append      port:py${python.version}-tz

test.run            yes
test.cmd            ${python.bin} tests/binplist_test.py
test.env            PYTHONPATH=${worksrcpath}/build/lib
test.target
