Files
2021-01-27 10:27:30 +03:00

46 lines
1.6 KiB
Tcl

# -*- 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.6.2
revision 0
categories-append devel
platforms darwin
license BSD
python.versions 27 35 36 37 38 39
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
checksums rmd160 1ccbbea54460edc2d9559c1277e1d719d6a9d289 \
sha256 d0e0aed9279656f21501243b707eb6e3b951e89e10c3271dedf3ae41c365e5ed \
size 174597
if {${name} ne ${subport}} {
depends_lib-append port:py${python.version}-setuptools
if {${python.version} <= 35} {
version 2.4.3
revision 0
distname ${python.rootname}-${version}
checksums rmd160 8251d360b0c7e9bd220cb4a7cff8978f9ab8718d \
sha256 72e6def53fb491f7f4e92692029d2e7bb5a0783314f20d80222735ff10a75758 \
size 138789
depends_lib-delete port:py${python.version}-setuptools
depends_build-append \
port:py${python.version}-setuptools
}
livecheck.type none
}