From d6f124773c890f86f0c8774040eb4b04963facb7 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Thu, 22 Oct 2020 10:24:40 -0400 Subject: [PATCH] python3-pybind11: update to 2.6.0. --- srcpkgs/python3-pybind11/patches/docs.patch | 21 --------------------- srcpkgs/python3-pybind11/template | 12 ++++++++---- 2 files changed, 8 insertions(+), 25 deletions(-) delete mode 100644 srcpkgs/python3-pybind11/patches/docs.patch diff --git a/srcpkgs/python3-pybind11/patches/docs.patch b/srcpkgs/python3-pybind11/patches/docs.patch deleted file mode 100644 index 7bf62a7f9d8..00000000000 --- a/srcpkgs/python3-pybind11/patches/docs.patch +++ /dev/null @@ -1,21 +0,0 @@ -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) diff --git a/srcpkgs/python3-pybind11/template b/srcpkgs/python3-pybind11/template index 0ea664acc7b..81a33dff706 100644 --- a/srcpkgs/python3-pybind11/template +++ b/srcpkgs/python3-pybind11/template @@ -1,11 +1,11 @@ # Template file for 'python3-pybind11' pkgname=python3-pybind11 -version=2.5.0 -revision=3 +version=2.6.0 +revision=1 wrksrc="pybind11-${version}" build_style=python3-module make_install_args="--install-headers=/usr/include/pybind11" -hostmakedepends="python3-setuptools +hostmakedepends="cmake python3-setuptools python3-pytest python3-sphinx_rtd_theme python3-breathe" depends="python3-devel" short_desc="C++ header-only library to produce Python bindings" @@ -13,9 +13,13 @@ maintainer="Andrew J. Hesford " license="BSD-3-Clause" homepage="https://github.com/pybind/pybind11" distfiles="https://github.com/pybind/pybind11/archive/v${version}.tar.gz" -checksum=97504db65640570f32d3fdf701c25a340c8643037c3b69aec469c10c93dc8504 +checksum=90b705137b69ee3b5fc655eaca66d0dc9862ea1759226f7ccd3098425ae69571 + post_build() { + # These dependencies are not packaged and don't affect the man page + vsed -e '/sphinxcontrib.rsvgconverter/d' \ + -e '/sphinxcontrib.moderncmakedomain/d' -i docs/conf.py # Build the man page make $makejobs -C docs man }