Github messages for voidlinux
 help / color / mirror / Atom feed
From: ahesford <ahesford@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New packages: python3-breathe and python3-pybind11
Date: Mon, 18 May 2020 17:27:25 +0200	[thread overview]
Message-ID: <20200518152725.bvbCZFZ0VK8VtS8gSNbQSigqlmrAwiy1WqS4x_ZM1QY@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20218@inbox.vuxu.org>

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

There is an updated 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/20218

New packages: python3-breathe and python3-pybind11
Pybind11 is a C++ header-only library that facilitates creation of Python bindings for C++ libraries. The man page for pybind11 is generated using the python3-breathe doxygen bridge.

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

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

From 141c55ccf69fc9a02318f7789dc2297752ad73fa Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Thu, 19 Mar 2020 13:09:44 -0400
Subject: [PATCH 1/2] New package: python3-breathe-4.16.0

---
 srcpkgs/python3-breathe/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-breathe/template

diff --git a/srcpkgs/python3-breathe/template b/srcpkgs/python3-breathe/template
new file mode 100644
index 00000000000..ae7149badcf
--- /dev/null
+++ b/srcpkgs/python3-breathe/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-breathe'
+pkgname=python3-breathe
+version=4.16.0
+revision=1
+archs=noarch
+wrksrc="breathe-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-Sphinx python3-docutils doxygen"
+short_desc="ReStructuredText and Sphinx bridge to Doxygen"
+maintainer="Andrew J. Hesford <ajh@sideband.org>"
+license="BSD-3-Clause"
+homepage="https://github.com/michaeljones/breathe"
+distfiles="https://github.com/michaeljones/breathe/archive/v${version}.tar.gz"
+checksum=d042217288337609f528ee2dc1bf11b25208b4b7753120cc23fe6538074d01e8
+
+post_install() {
+	vlicense LICENSE
+}

From e8d84b1a01ea3cabcaae88011a5c0a3ef87a658e Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Thu, 19 Mar 2020 13:11:11 -0400
Subject: [PATCH 2/2] New package: python3-pybind11-2.5.0

---
 srcpkgs/python3-pybind11/template | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 srcpkgs/python3-pybind11/template

diff --git a/srcpkgs/python3-pybind11/template b/srcpkgs/python3-pybind11/template
new file mode 100644
index 00000000000..337a44dbe13
--- /dev/null
+++ b/srcpkgs/python3-pybind11/template
@@ -0,0 +1,31 @@
+# Template file for 'python3-pybind11'
+pkgname=python3-pybind11
+version=2.5.0
+revision=1
+archs=noarch
+wrksrc="pybind11-${version}"
+build_style=python3-module
+make_install_args="--install-headers=/usr/include/pybind11"
+hostmakedepends="python3-setuptools
+ python3-pytest python3-sphinx_rtd_theme python3-breathe"
+depends="python3-devel"
+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=97504db65640570f32d3fdf701c25a340c8643037c3b69aec469c10c93dc8504
+
+post_build() {
+	# Build the man page
+	make $makejobs -C docs man
+}
+
+post_install() {
+	vlicense LICENSE
+
+	# Copy the man page, but make it section 7
+	_manpage=docs/.build/man/pybind11.1
+	vsed -i ${_manpage} -e '/^\.TH/ s/"1"/"7"/'
+	vman ${_manpage} pybind11.7
+}

  parent reply	other threads:[~2020-05-18 15:27 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20218@inbox.vuxu.org>
2020-03-19 18:28 ` Chocimier
2020-03-19 18:56 ` ahesford
2020-03-19 19:01 ` ahesford
2020-03-20 19:56 ` Chocimier
2020-03-23 14:07 ` ahesford
2020-03-23 15:06 ` ahesford
2020-05-01  1:39 ` [PR PATCH] [Updated] " ahesford
2020-05-01  1:44 ` ahesford
2020-05-18 15:22 ` [PR PATCH] [Updated] " ahesford
2020-05-18 15:24 ` ahesford
2020-05-18 15:27 ` ahesford [this message]
2020-05-18 17:42 ` [PR PATCH] [Merged]: " abenson

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=20200518152725.bvbCZFZ0VK8VtS8gSNbQSigqlmrAwiy1WqS4x_ZM1QY@z \
    --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).