mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-05 11:33:12 +02:00
python3-pybind11: update to 3.0.0.
This commit is contained in:
parent
ffa90c9a8c
commit
fdc74cac5d
2 changed files with 23 additions and 14 deletions
16
srcpkgs/python3-pybind11/patches/docs-build.patch
Normal file
16
srcpkgs/python3-pybind11/patches/docs-build.patch
Normal 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/"}
|
|
@ -1,25 +1,18 @@
|
||||||
# Template file for 'python3-pybind11'
|
# Template file for 'python3-pybind11'
|
||||||
pkgname=python3-pybind11
|
pkgname=python3-pybind11
|
||||||
version=2.13.6
|
version=3.0.0
|
||||||
revision=2
|
revision=1
|
||||||
build_style=python3-module
|
build_style=python3-pep517
|
||||||
hostmakedepends="cmake python3-setuptools
|
hostmakedepends="python3-scikit-build-core ninja
|
||||||
python3-pytest python3-sphinx_rtd_theme python3-breathe"
|
python3-sphinx_rtd_theme python3-breathe"
|
||||||
depends="python3-devel"
|
depends="python3-devel"
|
||||||
checkdepends="python3-numpy $depends"
|
checkdepends="python3-pytest python3-numpy $depends"
|
||||||
short_desc="C++ header-only library to produce Python bindings"
|
short_desc="C++ header-only library to produce Python bindings"
|
||||||
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
||||||
license="BSD-3-Clause"
|
license="BSD-3-Clause"
|
||||||
homepage="https://github.com/pybind/pybind11"
|
homepage="https://github.com/pybind/pybind11"
|
||||||
distfiles="https://github.com/pybind/pybind11/archive/v${version}.tar.gz"
|
distfiles="https://github.com/pybind/pybind11/archive/v${version}.tar.gz"
|
||||||
checksum=e08cb87f4773da97fa7b5f035de8763abc656d87d5773e62f6da0587d1f0ec20
|
checksum=453b1a3e2b266c3ae9da872411cadb6d693ac18063bd73226d96cfb7015a200c
|
||||||
|
|
||||||
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
|
|
||||||
}
|
|
||||||
|
|
||||||
post_build() {
|
post_build() {
|
||||||
# Build the man page
|
# Build the man page
|
||||||
|
|
Loading…
Add table
Reference in a new issue