Skip to contentSkip to conversation

python-pybind11: add pybind11 for operability between C++11 and Python

PATCH In review Denys Dmytriyenko 3 participants 5 messages Oct 6, 2016 – Oct 18, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python-pybind11: add pybind11 for operability between C++11 and Python

From: Denys Dmytriyenko <[email protected]>

---
 meta-python/recipes-devtools/python/python-pybind11.inc       | 9 +++++++++
 meta-python/recipes-devtools/python/python-pybind11_1.8.1.bb  | 2 ++
 meta-python/recipes-devtools/python/python3-pybind11_1.8.1.bb | 2 ++
 3 files changed, 13 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-pybind11.inc
 create mode 100644 meta-python/recipes-devtools/python/python-pybind11_1.8.1.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-pybind11_1.8.1.bb
meta-python/recipes-devtools/python/python-pybind11.inc new file +9 -0
new file mode 100644
index 0000000..e13f6a5
@@ -0,0 +1,9 @@
+SUMMARY = "Seamless operability between C++11 and Python"
+HOMEPAGE = "https://github.com/wjakob/pybind11"
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://PKG-INFO;md5=1e9383cd3e97753d7dd6067d079519ea"
+PR = "r0"
+
+SRC_URI = "https://pypi.python.org/packages/89/0b/f3a25633e49be5fae17ed2c7751c8106a08199db70e3c82e8cc043388ba9/pybind11-1.8.1.tar.gz"
+SRC_URI[md5sum] = "67845d8fd89a1c400dc7c61ccdee14d6"
+SRC_URI[sha256sum] = "358d4b7d8c38cd1dde66064178c6bbaaa2c479a44e67e642820fe0f329a4fff8"
meta-python/recipes-devtools/python/python-pybind11_1.8.1.bb new file +2 -0
new file mode 100644
index 0000000..e567430
@@ -0,0 +1,2 @@
+inherit pypi setuptools
+require python-pybind11.inc
meta-python/recipes-devtools/python/python3-pybind11_1.8.1.bb new file +2 -0
new file mode 100644
index 0000000..355e284
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-pybind11.inc
Signature · 1 line
2.7.4
#1 lore raw

BTW, this is more of a WIP and needs few cleanups based on master, as I was testing it in krogoth for now...

Quoted 51 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

---
 meta-python/recipes-devtools/python/python-pybind11.inc       | 9 +++++++++
 meta-python/recipes-devtools/python/python-pybind11_1.8.1.bb  | 2 ++
 meta-python/recipes-devtools/python/python3-pybind11_1.8.1.bb | 2 ++
 3 files changed, 13 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-pybind11.inc
 create mode 100644 meta-python/recipes-devtools/python/python-pybind11_1.8.1.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-pybind11_1.8.1.bb
meta-python/recipes-devtools/python/python-pybind11.inc new file +9 -0
new file mode 100644
index 0000000..e13f6a5
@@ -0,0 +1,9 @@
+SUMMARY = "Seamless operability between C++11 and Python"
+HOMEPAGE = "https://github.com/wjakob/pybind11"
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://PKG-INFO;md5=1e9383cd3e97753d7dd6067d079519ea"
+PR = "r0"
+
+SRC_URI = "https://pypi.python.org/packages/89/0b/f3a25633e49be5fae17ed2c7751c8106a08199db70e3c82e8cc043388ba9/pybind11-1.8.1.tar.gz"
+SRC_URI[md5sum] = "67845d8fd89a1c400dc7c61ccdee14d6"
+SRC_URI[sha256sum] = "358d4b7d8c38cd1dde66064178c6bbaaa2c479a44e67e642820fe0f329a4fff8"
meta-python/recipes-devtools/python/python-pybind11_1.8.1.bb new file +2 -0
new file mode 100644
index 0000000..e567430
@@ -0,0 +1,2 @@
+inherit pypi setuptools
+require python-pybind11.inc
meta-python/recipes-devtools/python/python3-pybind11_1.8.1.bb new file +2 -0
new file mode 100644
index 0000000..355e284
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-pybind11.inc
Signature · 7 lines
2.7.4

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
#2 lore raw
In reply to Denys Dmytriyenko
Quoted 21 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

---

meta-python/recipes-devtools/python/python-pybind11.inc       | 9 +++++++++
meta-python/recipes-devtools/python/python-pybind11_1.8.1.bb  | 2 ++
meta-python/recipes-devtools/python/python3-pybind11_1.8.1.bb | 2 ++
3 files changed, 13 insertions(+)

create mode 100644 meta-python/recipes-devtools/python/python-pybind11.inc create mode 100644 meta-python/recipes-devtools/python/python-pybind11_1.8.1.bb create mode 100644 meta-python/recipes-devtools/python/python3-pybind11_1.8.1.bb

meta-python/recipes-devtools/python/python-pybind11.inc new file +0 -0
new file mode 100644
index 0000000..e13f6a5

meta-python/recipes-devtools/python/python-pybind11.inc line 5

Quoted 5 lines
meta-python/recipes-devtools/python/python-pybind11.inc new file +5 -0
@@ -0,0 +1,9 @@
+SUMMARY = "Seamless operability between C++11 and Python"
+HOMEPAGE = "https://github.com/wjakob/pybind11"
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://PKG-INFO;md5=1e9383cd3e97753d7dd6067d079519ea"
+PR = “r0"

Drop this

Quoted 28 lines
meta-python/recipes-devtools/python/python-pybind11.inc new file +4 -0
+
+SRC_URI = "https://pypi.python.org/packages/89/0b/f3a25633e49be5fae17ed2c7751c8106a08199db70e3c82e8cc043388ba9/pybind11-1.8.1.tar.gz"
+SRC_URI[md5sum] = "67845d8fd89a1c400dc7c61ccdee14d6"
+SRC_URI[sha256sum] = "358d4b7d8c38cd1dde66064178c6bbaaa2c479a44e67e642820fe0f329a4fff8"
meta-python/recipes-devtools/python/python-pybind11_1.8.1.bb new file +2 -0
new file mode 100644
index 0000000..e567430
@@ -0,0 +1,2 @@
+inherit pypi setuptools
+require python-pybind11.inc
meta-python/recipes-devtools/python/python3-pybind11_1.8.1.bb new file +2 -1
new file mode 100644
index 0000000..355e284
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-pybind11.inc
--

2.7.4

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#3 lore raw

Agree with Khem, we don't use PR in anything new anymore.

I built (on krogoth) both python-pybind11 and python3-pybind11 and both import inside their respective pythons. I did not do any more testing than that.

I'll try on master too.

As always, it would be nice to add ptest, but hardly any python recipes have it. :/

--Tim (Intel)

Quoted 79 lines · Khem Raj
Quoted 8 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

---
meta-python/recipes-devtools/python/python-pybind11.inc | 9

+++++++++

Quoted 4 lines

meta-python/recipes-devtools/python/python-pybind11_1.8.1.bb | 2 ++ meta-python/recipes-devtools/python/python3-pybind11_1.8.1.bb | 2 ++

3 files changed, 13 insertions(+)

create mode 100644 meta-python/recipes-devtools/

python/python-pybind11.inc

Quoted 1 line

create mode 100644 meta-python/recipes-devtools/python/

python-pybind11_1.8.1.bb

Quoted 1 line

create mode 100644 meta-python/recipes-devtools/python/

python3-pybind11_1.8.1.bb

Review

Quoted 2 lines
(quoted diff) +0 -0

b/meta-python/recipes-devtools/python/python-pybind11.inc

meta-python/recipes-devtools/python/python-pybind11.inc line 4

Quoted 9 lines

new file mode 100644
index 0000000..e13f6a5

meta-python/recipes-devtools/python/python-pybind11.inc new file +4 -0
@@ -0,0 +1,9 @@
+SUMMARY = "Seamless operability between C++11 and Python"
+HOMEPAGE = "https://github.com/wjakob/pybind11"
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://PKG-INFO;md5=1e9383cd3e97753d7dd6067d079519

ea"

meta-python/recipes-devtools/python/python-pybind11.inc line 5

Quoted 1 line
meta-python/recipes-devtools/python/python-pybind11.inc new file +1 -0
+PR = “r0"

Drop this

meta-python/recipes-devtools/python/python-pybind11.inc line 7

Quoted 2 lines
meta-python/recipes-devtools/python/python-pybind11.inc new file +2 -0
+
+SRC_URI = "https://pypi.python.org/packages/89/0b/

f3a25633e49be5fae17ed2c7751c8106a08199db70e3c82e8cc043388ba9 /pybind11-1.8.1.tar.gz"

meta-python/recipes-devtools/python/python-pybind11.inc line 9

Quoted 2 lines
meta-python/recipes-devtools/python/python-pybind11.inc new file +2 -0
+SRC_URI[md5sum] = "67845d8fd89a1c400dc7c61ccdee14d6"
+SRC_URI[sha256sum] = "358d4b7d8c38cd1dde66064178c6bb

aaa2c479a44e67e642820fe0f329a4fff8"

Review

Quoted 1 line
(quoted diff) +0 -0

pybind11_1.8.1.bb b/meta-python/recipes-devtools/python/python- pybind11_1.8.1.bb

Review

Quoted 8 lines

new file mode 100644
index 0000000..e567430

meta-python/recipes-devtools/python/python-pybind11_1.8.1.bb new file +2 -0
@@ -0,0 +1,2 @@
+inherit pypi setuptools
+require python-pybind11.inc
(quoted diff) +0 -0

pybind11_1.8.1.bb b/meta-python/recipes-devtools/python/python3- pybind11_1.8.1.bb

Quoted 10 lines

new file mode 100644
index 0000000..355e284

meta-python/recipes-devtools/python/python3-pybind11_1.8.1.bb new file +2 -1
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-pybind11.inc
--

2.7.4

Quoted 5 lines

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#4 lore raw

Khem, Tim,

http://lists.openembedded.org/pipermail/openembedded-devel/2016-October/109403.html

Quoted 99 lines · Tim Orling

Agree with Khem, we don't use PR in anything new anymore.

I built (on krogoth) both python-pybind11 and python3-pybind11 and both import inside their respective pythons. I did not do any more testing than that.

I'll try on master too.

As always, it would be nice to add ptest, but hardly any python recipes have it. :/

--Tim (Intel)

Quoted 79 lines · Khem Raj
Quoted 8 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

---
meta-python/recipes-devtools/python/python-pybind11.inc | 9

+++++++++

Quoted 4 lines

meta-python/recipes-devtools/python/python-pybind11_1.8.1.bb | 2 ++ meta-python/recipes-devtools/python/python3-pybind11_1.8.1.bb | 2 ++

3 files changed, 13 insertions(+)

create mode 100644 meta-python/recipes-devtools/

python/python-pybind11.inc

Quoted 1 line

create mode 100644 meta-python/recipes-devtools/python/

python-pybind11_1.8.1.bb

Quoted 1 line

create mode 100644 meta-python/recipes-devtools/python/

python3-pybind11_1.8.1.bb

Review

Quoted 2 lines
(quoted diff) +0 -0

b/meta-python/recipes-devtools/python/python-pybind11.inc

meta-python/recipes-devtools/python/python-pybind11.inc line 4

Quoted 9 lines

new file mode 100644
index 0000000..e13f6a5

meta-python/recipes-devtools/python/python-pybind11.inc new file +4 -0
@@ -0,0 +1,9 @@
+SUMMARY = "Seamless operability between C++11 and Python"
+HOMEPAGE = "https://github.com/wjakob/pybind11"
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://PKG-INFO;md5=1e9383cd3e97753d7dd6067d079519

ea"

meta-python/recipes-devtools/python/python-pybind11.inc line 5

Quoted 1 line
meta-python/recipes-devtools/python/python-pybind11.inc new file +1 -0
+PR = “r0"

Drop this

meta-python/recipes-devtools/python/python-pybind11.inc line 7

Quoted 2 lines
meta-python/recipes-devtools/python/python-pybind11.inc new file +2 -0
+
+SRC_URI = "https://pypi.python.org/packages/89/0b/

f3a25633e49be5fae17ed2c7751c8106a08199db70e3c82e8cc043388ba9 /pybind11-1.8.1.tar.gz"

meta-python/recipes-devtools/python/python-pybind11.inc line 9

Quoted 2 lines
meta-python/recipes-devtools/python/python-pybind11.inc new file +2 -0
+SRC_URI[md5sum] = "67845d8fd89a1c400dc7c61ccdee14d6"
+SRC_URI[sha256sum] = "358d4b7d8c38cd1dde66064178c6bb

aaa2c479a44e67e642820fe0f329a4fff8"

Review

Quoted 1 line
(quoted diff) +0 -0

pybind11_1.8.1.bb b/meta-python/recipes-devtools/python/python- pybind11_1.8.1.bb

Review

Quoted 8 lines

new file mode 100644
index 0000000..e567430

meta-python/recipes-devtools/python/python-pybind11_1.8.1.bb new file +2 -0
@@ -0,0 +1,2 @@
+inherit pypi setuptools
+require python-pybind11.inc
(quoted diff) +0 -0

pybind11_1.8.1.bb b/meta-python/recipes-devtools/python/python3- pybind11_1.8.1.bb

Quoted 10 lines

new file mode 100644
index 0000000..355e284

meta-python/recipes-devtools/python/python3-pybind11_1.8.1.bb new file +2 -1
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-pybind11.inc
--

2.7.4

Quoted 5 lines

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Signature · 4 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel