# -*- 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.3
revision            0

categories-append   science
license             Apache-2
supported_archs     noarch
platforms           {darwin any}
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

checksums           rmd160  9574b9bca7474bc1832803cabb4acf7a00f61765 \
                    sha256  12a02fe1b7131f0a2b8ce45b46f1e0cdd28b9818fe4499554c26884987ea0c32 \
                    size    46032

python.versions     313 314

if {${name} ne ${subport}} {
    depends_lib-append      port:py${python.version}-msgpack

    depends_test-append     port:py${python.version}-numpy

    test.run                yes
    python.test_framework   nose
}
