# -*- 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-mmtf-python
version             1.1.2
revision            0
categories-append   science
platforms           darwin
license             Apache-2
supported_archs     noarch

python.versions     27 36 37

maintainers         {gmail.com:giovanni.bussi @GiovanniBussi} openmaintainer

description         The python implementation of the MMTF API, decoder and encoder.
long_description    ${description} \
                    The macromolecular transmission format (MMTF) is a binary encoding of biological structures. \
                    This repository holds the Python 2 and 3 compatible API, encoding and decoding libraries.

homepage            https://github.com/rcsb/mmtf-python
master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}

distname            ${python.rootname}-${version}

checksums           rmd160  887c43e5a9137b5cdf625377eeea38d9144234c5 \
                    sha256  a5caa7fcd2c1eaa16638b5b1da2d3276cbd3ed3513f0c2322957912003b6a8df \
                    size    46309

if {${name} ne ${subport}} {
    depends_build-append    port:py${python.version}-setuptools
    depends_lib-append      port:py${python.version}-msgpack
    livecheck.type          none
}