ce6f66a8a8
Version 2.9.2 (Mar 29, 2022) Changes: Enum now has an __index__ method on Python <3.8 too. Local internals are now cleared after finalizing the interpreter. Bug fixes: Better support for Python 3.11 alphas. PYBIND11_TYPE_CASTER now uses fully qualified symbols, so it can be used outside of pybind11::detail. Some fixes for PyPy 3.9. Fixed a potential memleak in PyPy in get_type_override. Fix usage of VISIBILITY_INLINES_HIDDEN. Build system improvements: Uses sysconfig module to determine installation locations on Python >= 3.10, instead of distutils which has been deprecated. Support Catch 2.13.5+ (supporting GLIBC 2.34+). Fix test failures with numpy 1.22 by ignoring whitespace when comparing str() of dtypes. Backend and tidying up: clang-tidy: added readability-qualified-auto, readability-braces-around-statements, cppcoreguidelines-prefer-member-initializer, clang-analyzer-optin.performance.Padding, cppcoreguidelines-pro-type-static-cast-downcast, and readability-inconsistent-declaration-parameter-name. clang-format was added to the pre-commit actions, and the entire code base automatically reformatted (after several iterations preparing for this leap).
20 lines
493 B
Makefile
20 lines
493 B
Makefile
# $NetBSD: Makefile,v 1.11 2022/03/31 07:28:01 adam Exp $
|
|
|
|
DISTNAME= pybind11-2.9.2
|
|
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
|
|
|
|
PYTHON_SELF_CONFLICT= yes
|
|
|
|
USE_PKG_RESOURCES= yes
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|