# -*- 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-pybind11
version             2.2.4
revision            0
categories-append   devel
platforms           darwin
license             BSD

python.versions     27 35 36 37

maintainers         {stromnov @stromnov} openmaintainer

description         Seamless operability between C++11 and Python.

long_description    pybind11 is a lightweight header-only library that \
                    exposes  C++ types in Python and vice versa, mainly \
                    to create Python bindings of existing C++ code.

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

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

checksums           rmd160  70aeb4cfe9bc7bcf9f368015c575e75b47391093 \
                    sha256  642abbbd2948ed5af28e69adfae1535347c7aa9eb0cdab130e20e1f198f8e1cf \
                    size    133197

if {${name} ne ${subport}} {
    depends_build-append \
                        port:py${python.version}-setuptools

    livecheck.type      none
}