py-pybind11: added version 2.5.0

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.
This commit is contained in:
adam 2020-04-28 09:42:47 +00:00
parent 5e79bf2252
commit 9fe070e65d
6 changed files with 105 additions and 1 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3113 2020/04/27 17:15:22 nikita Exp $
# $NetBSD: Makefile,v 1.3114 2020/04/28 09:42:47 adam Exp $
#
COMMENT= Development utilities
@ -2380,6 +2380,7 @@ SUBDIR+= py-proteus
SUBDIR+= py-protobuf
SUBDIR+= py-py
SUBDIR+= py-py2app
SUBDIR+= py-pybind11
SUBDIR+= py-pydispatcher
SUBDIR+= py-pyelftools
SUBDIR+= py-pygit2

5
devel/py-pybind11/DESCR Normal file
View file

@ -0,0 +1,5 @@
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.

View file

@ -0,0 +1,16 @@
# $NetBSD: Makefile,v 1.1 2020/04/28 09:42:48 adam Exp $
DISTNAME= pybind11-2.5.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pybind11/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/pybind/pybind11
COMMENT= Seamless operability between C++11 and Python
LICENSE= modified-bsd
USE_LANGUAGES= # none
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"

63
devel/py-pybind11/PLIST Normal file
View file

@ -0,0 +1,63 @@
@comment $NetBSD: PLIST,v 1.1 2020/04/28 09:42:48 adam Exp $
${PYINC}/pybind11/attr.h
${PYINC}/pybind11/buffer_info.h
${PYINC}/pybind11/cast.h
${PYINC}/pybind11/chrono.h
${PYINC}/pybind11/common.h
${PYINC}/pybind11/complex.h
${PYINC}/pybind11/detail/class.h
${PYINC}/pybind11/detail/common.h
${PYINC}/pybind11/detail/descr.h
${PYINC}/pybind11/detail/init.h
${PYINC}/pybind11/detail/internals.h
${PYINC}/pybind11/detail/typeid.h
${PYINC}/pybind11/eigen.h
${PYINC}/pybind11/embed.h
${PYINC}/pybind11/eval.h
${PYINC}/pybind11/functional.h
${PYINC}/pybind11/iostream.h
${PYINC}/pybind11/numpy.h
${PYINC}/pybind11/operators.h
${PYINC}/pybind11/options.h
${PYINC}/pybind11/pybind11.h
${PYINC}/pybind11/pytypes.h
${PYINC}/pybind11/stl.h
${PYINC}/pybind11/stl_bind.h
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/pybind11/__init__.py
${PYSITELIB}/pybind11/__init__.pyc
${PYSITELIB}/pybind11/__init__.pyo
${PYSITELIB}/pybind11/__main__.py
${PYSITELIB}/pybind11/__main__.pyc
${PYSITELIB}/pybind11/__main__.pyo
${PYSITELIB}/pybind11/_version.py
${PYSITELIB}/pybind11/_version.pyc
${PYSITELIB}/pybind11/_version.pyo
${PYSITELIB}/pybind11/include/pybind11/attr.h
${PYSITELIB}/pybind11/include/pybind11/buffer_info.h
${PYSITELIB}/pybind11/include/pybind11/cast.h
${PYSITELIB}/pybind11/include/pybind11/chrono.h
${PYSITELIB}/pybind11/include/pybind11/common.h
${PYSITELIB}/pybind11/include/pybind11/complex.h
${PYSITELIB}/pybind11/include/pybind11/detail/class.h
${PYSITELIB}/pybind11/include/pybind11/detail/common.h
${PYSITELIB}/pybind11/include/pybind11/detail/descr.h
${PYSITELIB}/pybind11/include/pybind11/detail/init.h
${PYSITELIB}/pybind11/include/pybind11/detail/internals.h
${PYSITELIB}/pybind11/include/pybind11/detail/typeid.h
${PYSITELIB}/pybind11/include/pybind11/eigen.h
${PYSITELIB}/pybind11/include/pybind11/embed.h
${PYSITELIB}/pybind11/include/pybind11/eval.h
${PYSITELIB}/pybind11/include/pybind11/functional.h
${PYSITELIB}/pybind11/include/pybind11/iostream.h
${PYSITELIB}/pybind11/include/pybind11/numpy.h
${PYSITELIB}/pybind11/include/pybind11/operators.h
${PYSITELIB}/pybind11/include/pybind11/options.h
${PYSITELIB}/pybind11/include/pybind11/pybind11.h
${PYSITELIB}/pybind11/include/pybind11/pytypes.h
${PYSITELIB}/pybind11/include/pybind11/stl.h
${PYSITELIB}/pybind11/include/pybind11/stl_bind.h

View file

@ -0,0 +1,13 @@
# $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

View file

@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1 2020/04/28 09:42:48 adam Exp $
SHA1 (pybind11-2.5.0.tar.gz) = 21cdff0a455438b9727acf2b6f125fa54434eea8
RMD160 (pybind11-2.5.0.tar.gz) = e747946edb36d1749610c77e367d3b0f889edc5c
SHA512 (pybind11-2.5.0.tar.gz) = a863b92a03a23395ba67f6e4916c479ba800060e89a6d80e586533a23603df111b5cba9fd03b3ed500956169edfd8cb1b32a0bc05c42f928740beeea5bd63352
Size (pybind11-2.5.0.tar.gz) = 139770 bytes