9fe070e65d
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. Its goals and syntax are similar to the excellent Boost.Python by David Abrahams: to minimize boilerplate code in traditional extension modules by inferring type information using compile-time introspection.
13 lines
399 B
Makefile
13 lines
399 B
Makefile
# $NetBSD: buildlink3.mk,v 1.1 2020/04/28 09:42:48 adam Exp $
|
|
|
|
BUILDLINK_TREE+= py38-pybind11
|
|
|
|
.if !defined(PY38_PYBIND11_BUILDLINK3_MK)
|
|
PY38_PYBIND11_BUILDLINK3_MK:=
|
|
|
|
BUILDLINK_API_DEPENDS.py38-pybind11+= py38-pybind11>=2.5.0
|
|
BUILDLINK_PKGSRCDIR.py38-pybind11?= ../../devel/py-pybind11
|
|
BUILDLINK_DEPMETHOD.py38-pybind11?= build
|
|
.endif # PY38_PYBIND11_BUILDLINK3_MK
|
|
|
|
BUILDLINK_TREE+= -py38-pybind11
|