[v8,3/5] package/python-pybind11: new host package
Commit Message
Add python-pybind11 package with 2.4.3 release version.
Cc: Esben Haabendal <esben@geanix.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---
Changes for v8:
- none
Changes for v7:
- update the commit message
- fix sha256 value of pybind11 LICENCE
DEVELOPERS | 1 +
package/Config.in.host | 1 +
package/python-pybind11/Config.in.host | 7 +++++++
package/python-pybind11/python-pybind11.hash | 5 +++++
package/python-pybind11/python-pybind11.mk | 14 ++++++++++++++
5 files changed, 28 insertions(+)
create mode 100644 package/python-pybind11/Config.in.host
create mode 100644 package/python-pybind11/python-pybind11.hash
create mode 100644 package/python-pybind11/python-pybind11.mk
@@ -1151,6 +1151,7 @@ F: configs/orangepi_win_defconfig
F: configs/orangepi_zero_plus2_defconfig
F: configs/pine64_defconfig
F: configs/pine64_sopine_defconfig
+F: package/python-pybind11
N: James Hilliard <james.hilliard1@gmail.com>
F: package/gensio/
@@ -57,6 +57,7 @@ menu "Host utilities"
source "package/python/Config.in.host"
source "package/python-cython/Config.in.host"
source "package/python-lxml/Config.in.host"
+ source "package/python-pybind11/Config.in.host"
source "package/python-six/Config.in.host"
source "package/python-xlrd/Config.in.host"
source "package/python3/Config.in.host"
new file mode 100644
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_HOST_PYTHON_PYBIND11
+ bool "host python-pybind11"
+ help
+ Python module for Seamless operability between
+ C++11 and Python.
+
+ https://github.com/pybind/pybind11
new file mode 100644
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.python.org/pypi/pybind11/json
+md5 23fdca8191b16ce3e7f38fb9e4252b2d pybind11-2.4.3.tar.gz
+sha256 72e6def53fb491f7f4e92692029d2e7bb5a0783314f20d80222735ff10a75758 pybind11-2.4.3.tar.gz
+# sha256 for LICENSE is locally computed
+sha256 9a37ea54aa3cf12c7f3292799f20822ffd4b9b7142b36a7a9997b28c39264dc9 LICENSE
new file mode 100644
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-pybind11
+#
+################################################################################
+
+PYTHON_PYBIND11_VERSION = 2.4.3
+PYTHON_PYBIND11_SOURCE = pybind11-$(PYTHON_PYBIND11_VERSION).tar.gz
+PYTHON_PYBIND11_SITE = https://pypi.python.org/packages/aa/91/deb6743e79e22ab01502296570b39b8404f10cc507a6692d612a7fee8d51
+PYTHON_PYBIND11_SETUP_TYPE = setuptools
+PYTHON_PYBIND11_LICENSE = BSD
+PYTHON_PYBIND11_LICENSE_FILES = LICENSE
+
+$(eval $(host-python-package))