mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 07:33:48 +02:00
python3-pybind11: fix generation of man page
This commit is contained in:
parent
0ef279a224
commit
203deec96a
2 changed files with 22 additions and 1 deletions
21
srcpkgs/python3-pybind11/patches/docs.patch
Normal file
21
srcpkgs/python3-pybind11/patches/docs.patch
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
diff --git a/include/pybind11/pytypes.h b/include/pybind11/pytypes.h
|
||||||
|
index 63cbf2e..519f839 100644
|
||||||
|
--- include/pybind11/pytypes.h
|
||||||
|
+++ include/pybind11/pytypes.h
|
||||||
|
@@ -980,6 +980,7 @@ public:
|
||||||
|
return std::string(buffer, (size_t) length);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
+/// @} pytypes
|
||||||
|
|
||||||
|
inline bytes::bytes(const pybind11::str &s) {
|
||||||
|
object temp = s;
|
||||||
|
@@ -1009,6 +1010,8 @@ inline str::str(const bytes& b) {
|
||||||
|
m_ptr = obj.release().ptr();
|
||||||
|
}
|
||||||
|
|
||||||
|
+/// \addtogroup pytypes
|
||||||
|
+/// @{
|
||||||
|
class none : public object {
|
||||||
|
public:
|
||||||
|
PYBIND11_OBJECT(none, object, detail::PyNone_Check)
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'python3-pybind11'
|
# Template file for 'python3-pybind11'
|
||||||
pkgname=python3-pybind11
|
pkgname=python3-pybind11
|
||||||
version=2.5.0
|
version=2.5.0
|
||||||
revision=1
|
revision=2
|
||||||
archs=noarch
|
archs=noarch
|
||||||
wrksrc="pybind11-${version}"
|
wrksrc="pybind11-${version}"
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
|
|
Loading…
Add table
Reference in a new issue