python3-pybind11: update to 3.0.0.

This commit is contained in:
Andrew J. Hesford 2025-08-06 12:06:40 -04:00
parent ffa90c9a8c
commit fdc74cac5d
2 changed files with 23 additions and 14 deletions

View file

@ -0,0 +1,16 @@
The removed extensions are not packaged for Void and are not useful for
building the manual pages of interest for this package.
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -36,10 +36,6 @@
# ones.
extensions = [
"breathe",
- "myst_parser",
- "sphinx_copybutton",
- "sphinxcontrib.rsvgconverter",
- "sphinxcontrib.moderncmakedomain",
]
breathe_projects = {"pybind11": ".build/doxygenxml/"}

View file

@ -1,25 +1,18 @@
# Template file for 'python3-pybind11'
pkgname=python3-pybind11
version=2.13.6
revision=2
build_style=python3-module
hostmakedepends="cmake python3-setuptools
python3-pytest python3-sphinx_rtd_theme python3-breathe"
version=3.0.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-scikit-build-core ninja
python3-sphinx_rtd_theme python3-breathe"
depends="python3-devel"
checkdepends="python3-numpy $depends"
checkdepends="python3-pytest python3-numpy $depends"
short_desc="C++ header-only library to produce Python bindings"
maintainer="Andrew J. Hesford <ajh@sideband.org>"
license="BSD-3-Clause"
homepage="https://github.com/pybind/pybind11"
distfiles="https://github.com/pybind/pybind11/archive/v${version}.tar.gz"
checksum=e08cb87f4773da97fa7b5f035de8763abc656d87d5773e62f6da0587d1f0ec20
post_patch() {
# These dependencies are not packaged and don't affect the man page
vsed -e '/sphinx_copybutton/d' \
-e '/sphinxcontrib.rsvgconverter/d' \
-e '/sphinxcontrib.moderncmakedomain/d' -i docs/conf.py
}
checksum=453b1a3e2b266c3ae9da872411cadb6d693ac18063bd73226d96cfb7015a200c
post_build() {
# Build the man page