Github messages for voidlinux
 help / color / mirror / Atom feed
From: ahesford <ahesford@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] python3-pybind11: fix generation of man page
Date: Wed, 20 May 2020 14:20:27 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22149@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 433 bytes --]

There is a new pull request by ahesford against master on the void-packages repository

https://github.com/ahesford/void-packages pybind11
https://github.com/void-linux/void-packages/pull/22149

python3-pybind11: fix generation of man page
pybind11 fails to build man pages with `python3-breathe>=4.17.0`; this patch fixes that.

cc: @q66 

A patch file from https://github.com/void-linux/void-packages/pull/22149.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pybind11-22149.patch --]
[-- Type: text/x-diff, Size: 1677 bytes --]

From 155c57e78be0050940e34768623909ee1490dd4e Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Wed, 20 May 2020 08:19:04 -0400
Subject: [PATCH] python3-pybind11: fix generation of man page

---
 srcpkgs/python3-pybind11/patches/docs.patch | 21 +++++++++++++++++++++
 srcpkgs/python3-pybind11/template           |  2 +-
 2 files changed, 22 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/python3-pybind11/patches/docs.patch

diff --git a/srcpkgs/python3-pybind11/patches/docs.patch b/srcpkgs/python3-pybind11/patches/docs.patch
new file mode 100644
index 00000000000..7bf62a7f9d8
--- /dev/null
+++ b/srcpkgs/python3-pybind11/patches/docs.patch
@@ -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)
diff --git a/srcpkgs/python3-pybind11/template b/srcpkgs/python3-pybind11/template
index 337a44dbe13..adbe4c10dbd 100644
--- a/srcpkgs/python3-pybind11/template
+++ b/srcpkgs/python3-pybind11/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-pybind11'
 pkgname=python3-pybind11
 version=2.5.0
-revision=1
+revision=2
 archs=noarch
 wrksrc="pybind11-${version}"
 build_style=python3-module

             reply	other threads:[~2020-05-20 12:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-20 12:20 ahesford [this message]
2020-05-20 12:44 ` [PR PATCH] [Merged]: " q66

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22149@inbox.vuxu.org \
    --to=ahesford@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).