* [meta-python][PATCH 1/8] python-pyudev: Add possibility to build python3-pyudev
@ 2017-06-01 16:42 Moritz Fischer
2017-06-01 16:42 ` [meta-python][PATCH 2/8] python-greenlet: Add support for python3 Moritz Fischer
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: Moritz Fischer @ 2017-06-01 16:42 UTC (permalink / raw)
To: openembedded-devel; +Cc: paul.eggleton
Extend recipe to support python3 as well.
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
---
.../recipes-devtools/python/python-pyudev.inc | 22 ++++++++++++++++++++
.../python/python-pyudev_0.21.0.bb | 24 ++--------------------
.../python/python3-pyudev_0.21.0.bb | 2 ++
3 files changed, 26 insertions(+), 22 deletions(-)
create mode 100644 meta-python/recipes-devtools/python/python-pyudev.inc
create mode 100644 meta-python/recipes-devtools/python/python3-pyudev_0.21.0.bb
diff --git a/meta-python/recipes-devtools/python/python-pyudev.inc b/meta-python/recipes-devtools/python/python-pyudev.inc
new file mode 100644
index 0000000..7103e1b
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pyudev.inc
@@ -0,0 +1,22 @@
+SUMMARY = "A libudev binding"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343"
+
+SRC_URI[md5sum] = "cf4d9db7d772622144ca1be6b5d9353b"
+SRC_URI[sha256sum] = "094b7a100150114748aaa3b70663485dd360457a709bfaaafe5a977371033f2b"
+
+inherit pypi
+
+do_configure_prepend() {
+ sed -i "/import pyudev/d" ${S}/setup.py
+ sed -i "s/str(pyudev.__version__)/'${PV}'/g" ${S}/setup.py
+}
+
+RDEPENDS_${PN} = "\
+ ${PYTHON_PN}-ctypes \
+ ${PYTHON_PN}-contextlib \
+ ${PYTHON_PN}-misc \
+ ${PYTHON_PN}-six \
+ ${PYTHON_PN}-subprocess \
+ ${PYTHON_PN}-threading \
+"
diff --git a/meta-python/recipes-devtools/python/python-pyudev_0.21.0.bb b/meta-python/recipes-devtools/python/python-pyudev_0.21.0.bb
index 7253f88..1ce7c44 100644
--- a/meta-python/recipes-devtools/python/python-pyudev_0.21.0.bb
+++ b/meta-python/recipes-devtools/python/python-pyudev_0.21.0.bb
@@ -1,22 +1,2 @@
-SUMMARY = "A libudev binding"
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343"
-
-SRC_URI[md5sum] = "cf4d9db7d772622144ca1be6b5d9353b"
-SRC_URI[sha256sum] = "094b7a100150114748aaa3b70663485dd360457a709bfaaafe5a977371033f2b"
-
-inherit pypi setuptools
-
-do_configure_prepend() {
- sed -i "/import pyudev/d" ${S}/setup.py
- sed -i "s/str(pyudev.__version__)/'${PV}'/g" ${S}/setup.py
-}
-
-RDEPENDS_${PN} = "\
- ${PYTHON_PN}-contextlib \
- ${PYTHON_PN}-ctypes \
- ${PYTHON_PN}-misc \
- ${PYTHON_PN}-six \
- ${PYTHON_PN}-subprocess \
- ${PYTHON_PN}-threading \
-"
+require python-pyudev.inc
+inherit setuptools
diff --git a/meta-python/recipes-devtools/python/python3-pyudev_0.21.0.bb b/meta-python/recipes-devtools/python/python3-pyudev_0.21.0.bb
new file mode 100644
index 0000000..1474ffa
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pyudev_0.21.0.bb
@@ -0,0 +1,2 @@
+require python-pyudev.inc
+inherit setuptools3
--
2.7.4
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [meta-python][PATCH 2/8] python-greenlet: Add support for python3
2017-06-01 16:42 [meta-python][PATCH 1/8] python-pyudev: Add possibility to build python3-pyudev Moritz Fischer
@ 2017-06-01 16:42 ` Moritz Fischer
2017-06-01 16:42 ` [meta-python][PATCH 3/8] python-msgpack: " Moritz Fischer
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Moritz Fischer @ 2017-06-01 16:42 UTC (permalink / raw)
To: openembedded-devel; +Cc: paul.eggleton
Extend recipe to support python3 as well
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
---
meta-python/recipes-devtools/python/python-greenlet.inc | 9 +++++++++
.../recipes-devtools/python/python-greenlet_0.4.12.bb | 12 ++----------
.../recipes-devtools/python/python3-greenlet_0.4.12.bb | 2 ++
3 files changed, 13 insertions(+), 10 deletions(-)
create mode 100644 meta-python/recipes-devtools/python/python-greenlet.inc
create mode 100644 meta-python/recipes-devtools/python/python3-greenlet_0.4.12.bb
diff --git a/meta-python/recipes-devtools/python/python-greenlet.inc b/meta-python/recipes-devtools/python/python-greenlet.inc
new file mode 100644
index 0000000..35820db
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-greenlet.inc
@@ -0,0 +1,9 @@
+SUMMARY = "Python lightweight in-process concurrent programming"
+LICENSE = "MIT & PSF"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=03143d7a1a9f5d8a0fee825f24ca9c36 \
+ file://LICENSE.PSF;md5=c106931d9429eda0492617f037b8f69a"
+
+SRC_URI[md5sum] = "e8637647d58a26c4a1f51ca393e53c00"
+SRC_URI[sha256sum] = "e4c99c6010a5d153d481fdaf63b8a0782825c0721506d880403a3b9b82ae347e"
+
+inherit pypi
diff --git a/meta-python/recipes-devtools/python/python-greenlet_0.4.12.bb b/meta-python/recipes-devtools/python/python-greenlet_0.4.12.bb
index 4fc2c1d..c14976e 100644
--- a/meta-python/recipes-devtools/python/python-greenlet_0.4.12.bb
+++ b/meta-python/recipes-devtools/python/python-greenlet_0.4.12.bb
@@ -1,10 +1,2 @@
-SUMMARY = "Python lightweight in-process concurrent programming"
-LICENSE = "MIT & PSF"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=03143d7a1a9f5d8a0fee825f24ca9c36 \
- file://LICENSE.PSF;md5=c106931d9429eda0492617f037b8f69a"
-
-SRC_URI[md5sum] = "e8637647d58a26c4a1f51ca393e53c00"
-SRC_URI[sha256sum] = "e4c99c6010a5d153d481fdaf63b8a0782825c0721506d880403a3b9b82ae347e"
-
-inherit pypi distutils
-
+inherit distutils
+require python-greenlet.inc
diff --git a/meta-python/recipes-devtools/python/python3-greenlet_0.4.12.bb b/meta-python/recipes-devtools/python/python3-greenlet_0.4.12.bb
new file mode 100644
index 0000000..1aedf7f
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-greenlet_0.4.12.bb
@@ -0,0 +1,2 @@
+inherit distutils3
+require python-greenlet.inc
--
2.7.4
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [meta-python][PATCH 3/8] python-msgpack: Add support for python3
2017-06-01 16:42 [meta-python][PATCH 1/8] python-pyudev: Add possibility to build python3-pyudev Moritz Fischer
2017-06-01 16:42 ` [meta-python][PATCH 2/8] python-greenlet: Add support for python3 Moritz Fischer
@ 2017-06-01 16:42 ` Moritz Fischer
2017-06-01 16:42 ` [meta-python][PATCH 4/8] python-gevent: " Moritz Fischer
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Moritz Fischer @ 2017-06-01 16:42 UTC (permalink / raw)
To: openembedded-devel; +Cc: paul.eggleton
Extend recipe to support python3
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
---
meta-python/recipes-devtools/python/python-msgpack.inc | 9 +++++++++
meta-python/recipes-devtools/python/python-msgpack_0.4.8.bb | 11 ++---------
meta-python/recipes-devtools/python/python3-msgpack_0.4.8.bb | 2 ++
3 files changed, 13 insertions(+), 9 deletions(-)
create mode 100644 meta-python/recipes-devtools/python/python-msgpack.inc
create mode 100644 meta-python/recipes-devtools/python/python3-msgpack_0.4.8.bb
diff --git a/meta-python/recipes-devtools/python/python-msgpack.inc b/meta-python/recipes-devtools/python/python-msgpack.inc
new file mode 100644
index 0000000..228ce59
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-msgpack.inc
@@ -0,0 +1,9 @@
+SUMMARY = "MessagePack (de)serializer"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://COPYING;md5=cd9523181d9d4fbf7ffca52eaa2a5751"
+
+SRC_URI[md5sum] = "dcd854fb41ee7584ebbf35e049e6be98"
+SRC_URI[sha256sum] = "1a2b19df0f03519ec7f19f826afb935b202d8979b0856c6fb3dc28955799f886"
+
+PYPI_PACKAGE = "msgpack-python"
+inherit pypi
diff --git a/meta-python/recipes-devtools/python/python-msgpack_0.4.8.bb b/meta-python/recipes-devtools/python/python-msgpack_0.4.8.bb
index 8a0ad8f..2c2c8f2 100644
--- a/meta-python/recipes-devtools/python/python-msgpack_0.4.8.bb
+++ b/meta-python/recipes-devtools/python/python-msgpack_0.4.8.bb
@@ -1,9 +1,2 @@
-SUMMARY = "MessagePack (de)serializer"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://COPYING;md5=cd9523181d9d4fbf7ffca52eaa2a5751"
-
-SRC_URI[md5sum] = "dcd854fb41ee7584ebbf35e049e6be98"
-SRC_URI[sha256sum] = "1a2b19df0f03519ec7f19f826afb935b202d8979b0856c6fb3dc28955799f886"
-
-PYPI_PACKAGE = "msgpack-python"
-inherit pypi setuptools
+require python-msgpack.inc
+inherit setuptools
diff --git a/meta-python/recipes-devtools/python/python3-msgpack_0.4.8.bb b/meta-python/recipes-devtools/python/python3-msgpack_0.4.8.bb
new file mode 100644
index 0000000..096d7dd
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-msgpack_0.4.8.bb
@@ -0,0 +1,2 @@
+require python-msgpack.inc
+inherit setuptools3
--
2.7.4
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [meta-python][PATCH 4/8] python-gevent: Add support for python3
2017-06-01 16:42 [meta-python][PATCH 1/8] python-pyudev: Add possibility to build python3-pyudev Moritz Fischer
2017-06-01 16:42 ` [meta-python][PATCH 2/8] python-greenlet: Add support for python3 Moritz Fischer
2017-06-01 16:42 ` [meta-python][PATCH 3/8] python-msgpack: " Moritz Fischer
@ 2017-06-01 16:42 ` Moritz Fischer
2017-06-01 16:42 ` [meta-python][PATCH 5/8] python-gsocketpool: " Moritz Fischer
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Moritz Fischer @ 2017-06-01 16:42 UTC (permalink / raw)
To: openembedded-devel; +Cc: paul.eggleton
Extends recipe to support python3
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
---
.../recipes-devtools/python/python-gevent.inc | 34 ++++++++++++++++++++++
.../recipes-devtools/python/python-gevent_1.2.1.bb | 29 ++----------------
.../python/python3-gevent_1.2.1.bb | 3 ++
3 files changed, 39 insertions(+), 27 deletions(-)
create mode 100644 meta-python/recipes-devtools/python/python-gevent.inc
create mode 100644 meta-python/recipes-devtools/python/python3-gevent_1.2.1.bb
diff --git a/meta-python/recipes-devtools/python/python-gevent.inc b/meta-python/recipes-devtools/python/python-gevent.inc
new file mode 100644
index 0000000..deeceae
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-gevent.inc
@@ -0,0 +1,34 @@
+SUMMARY = "A coroutine-based Python networking library"
+DESCRIPTION = "gevent is a coroutine-based Python networking library that uses greenlet to provide \
+a high-level synchronous API on top of the libevent event loop."
+HOMEPAGE = "http://www.gevent.org"
+LICENSE = "MIT & Python-2.0 & BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=2dbb33d00e1fd31c7041460a81ac0bd2 \
+ file://NOTICE;md5=5966cd2c6582656d28ab3c33da3860f8 \
+ file://deps/libev/LICENSE;md5=d6ad416afd040c90698edcdf1cbee347"
+DEPENDS += "libevent"
+DEPENDS += "${PYTHON_PN}-greenlet"
+RDEPENDS_${PN} = "${PYTHON_PN}-greenlet \
+ ${PYTHON_PN}-mime \
+ ${PYTHON_PN}-pprint \
+ ${PYTHON_PN}-re \
+ "
+
+FILESEXTRAPATHS_prepend := "${THISDIR}/python-gevent:"
+
+SRC_URI_append = " \
+ file://libev-conf.patch;patch=1;pnum=1 \
+"
+
+SRC_URI[md5sum] = "6700a2433c8e0635425e6798760efc81"
+SRC_URI[sha256sum] = "3de300d0e32c31311e426e4d5d73b36777ed99c2bac3f8fbad939eeb2c29fa7c"
+
+# The python-gevent has no autoreconf ability
+# and the logic for detecting a cross compile is flawed
+# so always force a cross compile
+do_configure_append() {
+ sed -i -e 's/^cross_compiling=no/cross_compiling=yes/' ${S}/deps/libev/configure
+ sed -i -e 's/^cross_compiling=no/cross_compiling=yes/' ${S}/deps/c-ares/configure
+}
+
+inherit pypi
diff --git a/meta-python/recipes-devtools/python/python-gevent_1.2.1.bb b/meta-python/recipes-devtools/python/python-gevent_1.2.1.bb
index 953f48f..f357c95 100644
--- a/meta-python/recipes-devtools/python/python-gevent_1.2.1.bb
+++ b/meta-python/recipes-devtools/python/python-gevent_1.2.1.bb
@@ -1,28 +1,3 @@
-SUMMARY = "A coroutine-based Python networking library"
-DESCRIPTION = "gevent is a coroutine-based Python networking library that uses greenlet to provide \
-a high-level synchronous API on top of the libevent event loop."
-HOMEPAGE = "http://www.gevent.org"
-LICENSE = "MIT & Python-2.0 & BSD"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=2dbb33d00e1fd31c7041460a81ac0bd2 \
- file://NOTICE;md5=5966cd2c6582656d28ab3c33da3860f8 \
- file://deps/libev/LICENSE;md5=d6ad416afd040c90698edcdf1cbee347"
-DEPENDS += "python-greenlet libevent"
-RDEPENDS_${PN} += "python-greenlet python-mime python-pprint python-re"
-
-SRC_URI_append = " \
- file://libev-conf.patch;patch=1;pnum=1 \
-"
-
-SRC_URI[md5sum] = "6700a2433c8e0635425e6798760efc81"
-SRC_URI[sha256sum] = "3de300d0e32c31311e426e4d5d73b36777ed99c2bac3f8fbad939eeb2c29fa7c"
-
-# The python-gevent has no autoreconf ability
-# and the logic for detecting a cross compile is flawed
-# so always force a cross compile
-do_configure_append() {
- sed -i -e 's/^cross_compiling=no/cross_compiling=yes/' ${S}/deps/libev/configure
- sed -i -e 's/^cross_compiling=no/cross_compiling=yes/' ${S}/deps/c-ares/configure
-}
-
-inherit pypi setuptools
+require python-gevent.inc
+inherit setuptools
diff --git a/meta-python/recipes-devtools/python/python3-gevent_1.2.1.bb b/meta-python/recipes-devtools/python/python3-gevent_1.2.1.bb
new file mode 100644
index 0000000..1f172e5
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-gevent_1.2.1.bb
@@ -0,0 +1,3 @@
+require python-gevent.inc
+inherit setuptools3
+
--
2.7.4
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [meta-python][PATCH 5/8] python-gsocketpool: Add support for python3
2017-06-01 16:42 [meta-python][PATCH 1/8] python-pyudev: Add possibility to build python3-pyudev Moritz Fischer
` (2 preceding siblings ...)
2017-06-01 16:42 ` [meta-python][PATCH 4/8] python-gevent: " Moritz Fischer
@ 2017-06-01 16:42 ` Moritz Fischer
2017-06-01 16:42 ` [meta-python][PATCH 6/8] python-mprpc: " Moritz Fischer
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Moritz Fischer @ 2017-06-01 16:42 UTC (permalink / raw)
To: openembedded-devel; +Cc: paul.eggleton
Extend recipe to support python3
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
---
.../python-gsocketpool/python-gsocketpool.inc | 16 ++++++++++++++++
.../python-gsocketpool/python-gsocketpool_0.1.5.bb | 18 ++----------------
.../python-gsocketpool/python3-gsocketpool_0.1.5.bb | 2 ++
3 files changed, 20 insertions(+), 16 deletions(-)
create mode 100644 meta-python/recipes-connectivity/python-gsocketpool/python-gsocketpool.inc
create mode 100644 meta-python/recipes-connectivity/python-gsocketpool/python3-gsocketpool_0.1.5.bb
diff --git a/meta-python/recipes-connectivity/python-gsocketpool/python-gsocketpool.inc b/meta-python/recipes-connectivity/python-gsocketpool/python-gsocketpool.inc
new file mode 100644
index 0000000..54dd49f
--- /dev/null
+++ b/meta-python/recipes-connectivity/python-gsocketpool/python-gsocketpool.inc
@@ -0,0 +1,16 @@
+SUMMARY = "A simple connection pool for gevent"
+DESCRIPTION = "creates a pool of connections that can be used with gevent"
+HOMEPAGE = "https://github.com/studio-ousia/gsocketpool"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=4ba825394aec026b5f94edca44426859"
+DEPENDS += "${PYTHON_PN}-gevent"
+RDEPENDS_${PN} += "${PYTHON_PN}-gevent"
+
+SRC_URI_append = " \
+ file://0001-fix_setup_py.patch;patch=1;pnum=1 \
+"
+
+SRC_URI[md5sum] = "04f618864b18d6b06f774994f172ef49"
+SRC_URI[sha256sum] = "b6b73deab9bcbc428d4813697eebe5c3b9c40a971f62e13607b881aa749af9d0"
+
+inherit pypi
diff --git a/meta-python/recipes-connectivity/python-gsocketpool/python-gsocketpool_0.1.5.bb b/meta-python/recipes-connectivity/python-gsocketpool/python-gsocketpool_0.1.5.bb
index f86152c..e96ad1c 100644
--- a/meta-python/recipes-connectivity/python-gsocketpool/python-gsocketpool_0.1.5.bb
+++ b/meta-python/recipes-connectivity/python-gsocketpool/python-gsocketpool_0.1.5.bb
@@ -1,16 +1,2 @@
-SUMMARY = "A simple connection pool for gevent"
-DESCRIPTION = "creates a pool of connections that can be used with gevent"
-HOMEPAGE = "https://github.com/studio-ousia/gsocketpool"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=4ba825394aec026b5f94edca44426859"
-DEPENDS += "python-gevent"
-RDEPENDS_${PN} += "python-gevent"
-
-SRC_URI_append = " \
- file://0001-fix_setup_py.patch;patch=1;pnum=1 \
-"
-
-SRC_URI[md5sum] = "04f618864b18d6b06f774994f172ef49"
-SRC_URI[sha256sum] = "b6b73deab9bcbc428d4813697eebe5c3b9c40a971f62e13607b881aa749af9d0"
-
-inherit pypi setuptools
+require python-gsocketpool.inc
+inherit setuptools
diff --git a/meta-python/recipes-connectivity/python-gsocketpool/python3-gsocketpool_0.1.5.bb b/meta-python/recipes-connectivity/python-gsocketpool/python3-gsocketpool_0.1.5.bb
new file mode 100644
index 0000000..883621e
--- /dev/null
+++ b/meta-python/recipes-connectivity/python-gsocketpool/python3-gsocketpool_0.1.5.bb
@@ -0,0 +1,2 @@
+require python-gsocketpool.inc
+inherit setuptools3
--
2.7.4
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [meta-python][PATCH 6/8] python-mprpc: Add support for python3
2017-06-01 16:42 [meta-python][PATCH 1/8] python-pyudev: Add possibility to build python3-pyudev Moritz Fischer
` (3 preceding siblings ...)
2017-06-01 16:42 ` [meta-python][PATCH 5/8] python-gsocketpool: " Moritz Fischer
@ 2017-06-01 16:42 ` Moritz Fischer
2017-06-01 16:42 ` [meta-python][PATCH 7/8] python-netaddr: " Moritz Fischer
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Moritz Fischer @ 2017-06-01 16:42 UTC (permalink / raw)
To: openembedded-devel; +Cc: paul.eggleton
Extend recipe to add support for python3
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
---
.../python-mprpc/python-mprpc.inc | 17 +++++++++++++++++
.../python-mprpc/python-mprpc_0.1.13.bb | 19 ++-----------------
.../python-mprpc/python3-mprpc_0.1.13.bb | 2 ++
3 files changed, 21 insertions(+), 17 deletions(-)
create mode 100644 meta-python/recipes-connectivity/python-mprpc/python-mprpc.inc
create mode 100644 meta-python/recipes-connectivity/python-mprpc/python3-mprpc_0.1.13.bb
diff --git a/meta-python/recipes-connectivity/python-mprpc/python-mprpc.inc b/meta-python/recipes-connectivity/python-mprpc/python-mprpc.inc
new file mode 100644
index 0000000..3a1c0be
--- /dev/null
+++ b/meta-python/recipes-connectivity/python-mprpc/python-mprpc.inc
@@ -0,0 +1,17 @@
+SUMMARY = "A gevent based messagpack rpc library"
+DESCRIPTION = "mprpc is a fast implementation of the messagepack rpc protocol for python. \
+It is based on gevent for handling connections and enabling concurrent connections."
+HOMEPAGE = "https://github.com/studio-ousia/mprpc"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=4ba825394aec026b5f94edca44426859"
+DEPENDS += "${PYTHON_PN}-gevent"
+RDEPENDS_${PN} += "${PYTHON_PN}-gevent ${PYTHON_PN}-msgpack ${PYTHON_PN}-gsocketpool"
+
+SRC_URI_append = " \
+ file://0001-fix_setup_py.patch;patch=1;pnum=1 \
+"
+
+SRC_URI[md5sum] = "449e6239eb5ff07b9cceb86e1ab0c2ee"
+SRC_URI[sha256sum] = "5881cc7fbb8de814e2b4aa5958bfe147c5c301e46749190f0e6abf373cf56d82"
+
+inherit pypi
diff --git a/meta-python/recipes-connectivity/python-mprpc/python-mprpc_0.1.13.bb b/meta-python/recipes-connectivity/python-mprpc/python-mprpc_0.1.13.bb
index 78df00a..6b2ea21 100644
--- a/meta-python/recipes-connectivity/python-mprpc/python-mprpc_0.1.13.bb
+++ b/meta-python/recipes-connectivity/python-mprpc/python-mprpc_0.1.13.bb
@@ -1,17 +1,2 @@
-SUMMARY = "A gevent based messagpack rpc library"
-DESCRIPTION = "mprpc is a fast implementation of the messagepack rpc protocol for python. \
-It is based on gevent for handling connections and enabling concurrent connections."
-HOMEPAGE = "https://github.com/studio-ousia/mprpc"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=4ba825394aec026b5f94edca44426859"
-DEPENDS += "python-gevent"
-RDEPENDS_${PN} += "python-gevent python-msgpack python-gsocketpool"
-
-SRC_URI_append = " \
- file://0001-fix_setup_py.patch;patch=1;pnum=1 \
-"
-
-SRC_URI[md5sum] = "449e6239eb5ff07b9cceb86e1ab0c2ee"
-SRC_URI[sha256sum] = "5881cc7fbb8de814e2b4aa5958bfe147c5c301e46749190f0e6abf373cf56d82"
-
-inherit pypi setuptools
+require python-mprpc.inc
+inherit setuptools
diff --git a/meta-python/recipes-connectivity/python-mprpc/python3-mprpc_0.1.13.bb b/meta-python/recipes-connectivity/python-mprpc/python3-mprpc_0.1.13.bb
new file mode 100644
index 0000000..837d604
--- /dev/null
+++ b/meta-python/recipes-connectivity/python-mprpc/python3-mprpc_0.1.13.bb
@@ -0,0 +1,2 @@
+require python-mprpc.inc
+inherit setuptools3
--
2.7.4
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [meta-python][PATCH 7/8] python-netaddr: Add support for python3
2017-06-01 16:42 [meta-python][PATCH 1/8] python-pyudev: Add possibility to build python3-pyudev Moritz Fischer
` (4 preceding siblings ...)
2017-06-01 16:42 ` [meta-python][PATCH 6/8] python-mprpc: " Moritz Fischer
@ 2017-06-01 16:42 ` Moritz Fischer
2017-06-01 16:42 ` [meta-python][PATCH 8/8] python-pyroute: " Moritz Fischer
2017-06-02 19:01 ` [meta-python][PATCH 1/8] python-pyudev: Add possibility to build python3-pyudev Moritz Fischer
7 siblings, 0 replies; 9+ messages in thread
From: Moritz Fischer @ 2017-06-01 16:42 UTC (permalink / raw)
To: openembedded-devel; +Cc: paul.eggleton
Extend recipe to support python3
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
---
meta-python/recipes-devtools/python/python-netaddr.inc | 8 ++++++++
meta-python/recipes-devtools/python/python-netaddr_0.7.19.bb | 10 ++--------
meta-python/recipes-devtools/python/python3-netaddr_0.7.19.bb | 2 ++
3 files changed, 12 insertions(+), 8 deletions(-)
create mode 100644 meta-python/recipes-devtools/python/python-netaddr.inc
create mode 100644 meta-python/recipes-devtools/python/python3-netaddr_0.7.19.bb
diff --git a/meta-python/recipes-devtools/python/python-netaddr.inc b/meta-python/recipes-devtools/python/python-netaddr.inc
new file mode 100644
index 0000000..26b0f1e
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-netaddr.inc
@@ -0,0 +1,8 @@
+SUMMARY = "A network address manipulation library for Python."
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e6345d695ffe3776f68a56fe7962db44"
+
+SRC_URI[md5sum] = "51019ef59c93f3979bcb37d3b8527e07"
+SRC_URI[sha256sum] = "38aeec7cdd035081d3a4c306394b19d677623bf76fa0913f6695127c7753aefd"
+
+inherit pypi
diff --git a/meta-python/recipes-devtools/python/python-netaddr_0.7.19.bb b/meta-python/recipes-devtools/python/python-netaddr_0.7.19.bb
index 5b03735..5e089a9 100644
--- a/meta-python/recipes-devtools/python/python-netaddr_0.7.19.bb
+++ b/meta-python/recipes-devtools/python/python-netaddr_0.7.19.bb
@@ -1,8 +1,2 @@
-SUMMARY = "A network address manipulation library for Python."
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=e6345d695ffe3776f68a56fe7962db44"
-
-SRC_URI[md5sum] = "51019ef59c93f3979bcb37d3b8527e07"
-SRC_URI[sha256sum] = "38aeec7cdd035081d3a4c306394b19d677623bf76fa0913f6695127c7753aefd"
-
-inherit pypi setuptools
+require python-netaddr.inc
+inherit setuptools
diff --git a/meta-python/recipes-devtools/python/python3-netaddr_0.7.19.bb b/meta-python/recipes-devtools/python/python3-netaddr_0.7.19.bb
new file mode 100644
index 0000000..30416a4
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-netaddr_0.7.19.bb
@@ -0,0 +1,2 @@
+require python-netaddr.inc
+inherit setuptools3
--
2.7.4
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [meta-python][PATCH 8/8] python-pyroute: Add support for python3
2017-06-01 16:42 [meta-python][PATCH 1/8] python-pyudev: Add possibility to build python3-pyudev Moritz Fischer
` (5 preceding siblings ...)
2017-06-01 16:42 ` [meta-python][PATCH 7/8] python-netaddr: " Moritz Fischer
@ 2017-06-01 16:42 ` Moritz Fischer
2017-06-02 19:01 ` [meta-python][PATCH 1/8] python-pyudev: Add possibility to build python3-pyudev Moritz Fischer
7 siblings, 0 replies; 9+ messages in thread
From: Moritz Fischer @ 2017-06-01 16:42 UTC (permalink / raw)
To: openembedded-devel; +Cc: paul.eggleton
Extend recipe to support python3
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
---
.../recipes-devtools/python/python-pyroute2.inc | 26 ++++++++++++++++++++++
.../python/python-pyroute2_0.3.22.bb | 26 ++--------------------
.../python/python3-pyroute2_0.3.22.bb | 2 ++
3 files changed, 30 insertions(+), 24 deletions(-)
create mode 100644 meta-python/recipes-devtools/python/python-pyroute2.inc
create mode 100644 meta-python/recipes-devtools/python/python3-pyroute2_0.3.22.bb
diff --git a/meta-python/recipes-devtools/python/python-pyroute2.inc b/meta-python/recipes-devtools/python/python-pyroute2.inc
new file mode 100644
index 0000000..da1d4cd
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pyroute2.inc
@@ -0,0 +1,26 @@
+SUMMARY = "A pure Python netlink and Linux network configuration library"
+LICENSE = "GPLv2 & Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE.GPL.v2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
+ file://LICENSE.Apache.v2;md5=3b83ef96387f14655fc854ddc3c6bd57"
+
+SRC_URI[md5sum] = "733adb362b6603c7269c0b3df3045a55"
+SRC_URI[sha256sum] = "5cdf44656cf623369f0cbf183d9d14a1a50ebdffbd50d4e30ffda62c0a05d7b3"
+
+SRC_URI += "file://import-simplejson-as-json.patch"
+
+FILESEXTRAPATHS_prepend := "${THISDIR}/python-pyroute2:"
+
+inherit pypi
+
+RDEPENDS_${PN} += "\
+ ${PYTHON_PN}-distutils \
+ ${PYTHON_PN}-simplejson \
+ ${PYTHON_PN}-multiprocessing \
+ ${PYTHON_PN}-io ${PYTHON_PN}-pprint \
+ ${PYTHON_PN}-pickle \
+ ${PYTHON_PN}-logging \
+ ${PYTHON_PN}-threading \
+ ${PYTHON_PN}-textutils \
+ ${PYTHON_PN}-subprocess \
+ ${PYTHON_PN}-netclient \
+"
diff --git a/meta-python/recipes-devtools/python/python-pyroute2_0.3.22.bb b/meta-python/recipes-devtools/python/python-pyroute2_0.3.22.bb
index 79d3bdd..7b9c8e0 100644
--- a/meta-python/recipes-devtools/python/python-pyroute2_0.3.22.bb
+++ b/meta-python/recipes-devtools/python/python-pyroute2_0.3.22.bb
@@ -1,24 +1,2 @@
-SUMMARY = "A pure Python netlink and Linux network configuration library"
-LICENSE = "GPLv2 & Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE.GPL.v2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
- file://LICENSE.Apache.v2;md5=3b83ef96387f14655fc854ddc3c6bd57"
-
-SRC_URI[md5sum] = "733adb362b6603c7269c0b3df3045a55"
-SRC_URI[sha256sum] = "5cdf44656cf623369f0cbf183d9d14a1a50ebdffbd50d4e30ffda62c0a05d7b3"
-
-SRC_URI += "file://import-simplejson-as-json.patch"
-
-inherit pypi setuptools
-
-RDEPENDS_${PN} += "\
- python-distutils \
- python-simplejson \
- python-multiprocessing \
- python-io python-pprint \
- python-pickle \
- python-logging \
- python-threading \
- python-textutils \
- python-subprocess \
- python-netclient \
-"
+require python-pyroute2.inc
+inherit setuptools
diff --git a/meta-python/recipes-devtools/python/python3-pyroute2_0.3.22.bb b/meta-python/recipes-devtools/python/python3-pyroute2_0.3.22.bb
new file mode 100644
index 0000000..a23e72c
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pyroute2_0.3.22.bb
@@ -0,0 +1,2 @@
+require python-pyroute2.inc
+inherit setuptools3
--
2.7.4
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [meta-python][PATCH 1/8] python-pyudev: Add possibility to build python3-pyudev
2017-06-01 16:42 [meta-python][PATCH 1/8] python-pyudev: Add possibility to build python3-pyudev Moritz Fischer
` (6 preceding siblings ...)
2017-06-01 16:42 ` [meta-python][PATCH 8/8] python-pyroute: " Moritz Fischer
@ 2017-06-02 19:01 ` Moritz Fischer
7 siblings, 0 replies; 9+ messages in thread
From: Moritz Fischer @ 2017-06-02 19:01 UTC (permalink / raw)
To: openembedded-devel; +Cc: paul.eggleton
Hi all,
On Thu, Jun 1, 2017 at 9:42 AM, Moritz Fischer <moritz.fischer@ettus.com> wrote:
> Extend recipe to support python3 as well.
>
> Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
> ---
> .../recipes-devtools/python/python-pyudev.inc | 22 ++++++++++++++++++++
> .../python/python-pyudev_0.21.0.bb | 24 ++--------------------
> .../python/python3-pyudev_0.21.0.bb | 2 ++
> 3 files changed, 26 insertions(+), 22 deletions(-)
> create mode 100644 meta-python/recipes-devtools/python/python-pyudev.inc
> create mode 100644 meta-python/recipes-devtools/python/python3-pyudev_0.21.0.bb
>
> diff --git a/meta-python/recipes-devtools/python/python-pyudev.inc b/meta-python/recipes-devtools/python/python-pyudev.inc
> new file mode 100644
> index 0000000..7103e1b
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python-pyudev.inc
> @@ -0,0 +1,22 @@
> +SUMMARY = "A libudev binding"
> +LICENSE = "GPLv2"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343"
> +
> +SRC_URI[md5sum] = "cf4d9db7d772622144ca1be6b5d9353b"
> +SRC_URI[sha256sum] = "094b7a100150114748aaa3b70663485dd360457a709bfaaafe5a977371033f2b"
> +
> +inherit pypi
> +
> +do_configure_prepend() {
> + sed -i "/import pyudev/d" ${S}/setup.py
> + sed -i "s/str(pyudev.__version__)/'${PV}'/g" ${S}/setup.py
> +}
> +
> +RDEPENDS_${PN} = "\
> + ${PYTHON_PN}-ctypes \
> + ${PYTHON_PN}-contextlib \
> + ${PYTHON_PN}-misc \
> + ${PYTHON_PN}-six \
> + ${PYTHON_PN}-subprocess \
> + ${PYTHON_PN}-threading \
> +"
> diff --git a/meta-python/recipes-devtools/python/python-pyudev_0.21.0.bb b/meta-python/recipes-devtools/python/python-pyudev_0.21.0.bb
> index 7253f88..1ce7c44 100644
> --- a/meta-python/recipes-devtools/python/python-pyudev_0.21.0.bb
> +++ b/meta-python/recipes-devtools/python/python-pyudev_0.21.0.bb
> @@ -1,22 +1,2 @@
> -SUMMARY = "A libudev binding"
> -LICENSE = "GPLv2"
> -LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343"
> -
> -SRC_URI[md5sum] = "cf4d9db7d772622144ca1be6b5d9353b"
> -SRC_URI[sha256sum] = "094b7a100150114748aaa3b70663485dd360457a709bfaaafe5a977371033f2b"
> -
> -inherit pypi setuptools
> -
> -do_configure_prepend() {
> - sed -i "/import pyudev/d" ${S}/setup.py
> - sed -i "s/str(pyudev.__version__)/'${PV}'/g" ${S}/setup.py
> -}
> -
> -RDEPENDS_${PN} = "\
> - ${PYTHON_PN}-contextlib \
> - ${PYTHON_PN}-ctypes \
> - ${PYTHON_PN}-misc \
> - ${PYTHON_PN}-six \
> - ${PYTHON_PN}-subprocess \
> - ${PYTHON_PN}-threading \
> -"
> +require python-pyudev.inc
> +inherit setuptools
> diff --git a/meta-python/recipes-devtools/python/python3-pyudev_0.21.0.bb b/meta-python/recipes-devtools/python/python3-pyudev_0.21.0.bb
> new file mode 100644
> index 0000000..1474ffa
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-pyudev_0.21.0.bb
> @@ -0,0 +1,2 @@
> +require python-pyudev.inc
> +inherit setuptools3
> --
> 2.7.4
>
Ok, seems there was a better patch for this one earlier.
Please ignore [1/8].
Thanks,
Moritz
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2017-06-02 19:01 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-01 16:42 [meta-python][PATCH 1/8] python-pyudev: Add possibility to build python3-pyudev Moritz Fischer
2017-06-01 16:42 ` [meta-python][PATCH 2/8] python-greenlet: Add support for python3 Moritz Fischer
2017-06-01 16:42 ` [meta-python][PATCH 3/8] python-msgpack: " Moritz Fischer
2017-06-01 16:42 ` [meta-python][PATCH 4/8] python-gevent: " Moritz Fischer
2017-06-01 16:42 ` [meta-python][PATCH 5/8] python-gsocketpool: " Moritz Fischer
2017-06-01 16:42 ` [meta-python][PATCH 6/8] python-mprpc: " Moritz Fischer
2017-06-01 16:42 ` [meta-python][PATCH 7/8] python-netaddr: " Moritz Fischer
2017-06-01 16:42 ` [meta-python][PATCH 8/8] python-pyroute: " Moritz Fischer
2017-06-02 19:01 ` [meta-python][PATCH 1/8] python-pyudev: Add possibility to build python3-pyudev Moritz Fischer
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.