git: 29f25e627e65 - main - devel/py-pybind11210: Add py-pybind11210 2.10.4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 16 Aug 2023 18:30:22 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=29f25e627e658f8a2e2fd3a6b8862c4e1e8602fc commit 29f25e627e658f8a2e2fd3a6b8862c4e1e8602fc Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-08-16 18:06:35 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-08-16 18:25:05 +0000 devel/py-pybind11210: Add py-pybind11210 2.10.4 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 library by David Abrahams: to minimize boilerplate code in traditional extension modules by inferring type information using compile-time introspection. --- devel/Makefile | 1 + devel/py-pybind11210/Makefile | 25 +++++++++++++++++++++++++ devel/py-pybind11210/distinfo | 3 +++ devel/py-pybind11210/pkg-descr | 5 +++++ 4 files changed, 34 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 3c9648a690af..0d8973db6a7b 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5232,6 +5232,7 @@ SUBDIR += py-pyasn1 SUBDIR += py-pyasn1-modules SUBDIR += py-pybind11 + SUBDIR += py-pybind11210 SUBDIR += py-pybix SUBDIR += py-pycadf SUBDIR += py-pycalendar diff --git a/devel/py-pybind11210/Makefile b/devel/py-pybind11210/Makefile new file mode 100644 index 000000000000..3e0ed51abd0b --- /dev/null +++ b/devel/py-pybind11210/Makefile @@ -0,0 +1,25 @@ +PORTNAME= pybind11 +PORTVERSION= 2.10.4 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +PKGNAMESUFFIX= 210 + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Seamless operability between C++11 and Python +WWW= https://github.com/pybind/pybind11 + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=42:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +PORTSCOUT= limit:^2\.10\. + +.include <bsd.port.mk> diff --git a/devel/py-pybind11210/distinfo b/devel/py-pybind11210/distinfo new file mode 100644 index 000000000000..9e2a625cb04b --- /dev/null +++ b/devel/py-pybind11210/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1691069894 +SHA256 (pybind11-2.10.4.tar.gz) = 0bb621d3c45a049aa5923debb87c5c0e2668227905c55ebe8af722608d8ed927 +SIZE (pybind11-2.10.4.tar.gz) = 200838 diff --git a/devel/py-pybind11210/pkg-descr b/devel/py-pybind11210/pkg-descr new file mode 100644 index 000000000000..b32ea63a8631 --- /dev/null +++ b/devel/py-pybind11210/pkg-descr @@ -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 library by David Abrahams: +to minimize boilerplate code in traditional extension modules by inferring type +information using compile-time introspection.