# -*- 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

name                py-amazon.ion
version             0.7.0
license             Apache-2
platforms           darwin
supported_archs     noarch
maintainers         {toby @tobypeterson} openmaintainer
description         A Python implementation of Amazon Ion
long_description    Amazon Ion is a richly-typed, self-describing, hierarchical data \
                    serialization format offering interchangeable binary and text \
                    representations. The text format (a superset of JSON) is easy to \
                    read and author, supporting rapid prototyping. The binary \
                    representation is efficient to store, transmit, and skip-scan \
                    parse. The rich type system provides unambiguous semantics for \
                    long-term preservation of data which can survive multiple \
                    generations of software evolution.

homepage            https://github.com/amzn/ion-python

checksums           rmd160  051193ab50cf8cfc289148f24021d619643bede4 \
                    sha256  4b5f7af82508eac9952eea48b6745c85a5b9e6b1dd6ebeb72eee4f8ed4847364 \
                    size    211523

python.versions     38 39

if {${name} ne ${subport}} {
    depends_build-append    port:py${python.version}-setuptools \
                            port:py${python.version}-pytest-runner
    depends_test-append     port:py${python.version}-pytest
    depends_lib-append      port:py${python.version}-six

    test.run                yes

    livecheck.type          none
} else {
    livecheck.type          pypi
}
