python-pyudev: Add possibility to build python3-pyudev
PATCH 1/8 python-pyudev: Add possibility to build python3-pyudev
Extend recipe to support python3 as well.
--- .../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
meta-python/recipes-devtools/python/python-pyudev.inc new file +22 -0
@@ -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 \ +"
meta-python/recipes-devtools/python/python-pyudev_0.21.0.bb +2 -22
@@ -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
meta-python/recipes-devtools/python/python3-pyudev_0.21.0.bb new file +2 -0
@@ -0,0 +1,2 @@ +require python-pyudev.inc +inherit setuptools3
Signature · 1 line
2.7.4
PATCH 2/8 python-greenlet: Add support for python3
Extend recipe to support python3 as well
--- 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
meta-python/recipes-devtools/python/python-greenlet.inc new file +9 -0
@@ -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
meta-python/recipes-devtools/python/python-greenlet_0.4.12.bb +2 -10
@@ -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
meta-python/recipes-devtools/python/python3-greenlet_0.4.12.bb new file +2 -0
@@ -0,0 +1,2 @@ +inherit distutils3 +require python-greenlet.inc
Signature · 1 line
2.7.4
PATCH 3/8 python-msgpack: Add support for python3
In reply to Moritz FischerExtend recipe to support python3
--- 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
meta-python/recipes-devtools/python/python-msgpack.inc new file +9 -0
@@ -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
meta-python/recipes-devtools/python/python-msgpack_0.4.8.bb +2 -9
@@ -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
meta-python/recipes-devtools/python/python3-msgpack_0.4.8.bb new file +2 -0
@@ -0,0 +1,2 @@ +require python-msgpack.inc +inherit setuptools3
Signature · 1 line
2.7.4
PATCH 4/8 python-gevent: Add support for python3
In reply to Moritz FischerExtends recipe to support python3
--- .../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
meta-python/recipes-devtools/python/python-gevent.inc new file +34 -0
@@ -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
meta-python/recipes-devtools/python/python-gevent_1.2.1.bb +2 -27
@@ -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
meta-python/recipes-devtools/python/python3-gevent_1.2.1.bb new file +3 -0
@@ -0,0 +1,3 @@ +require python-gevent.inc +inherit setuptools3 +
Signature · 1 line
2.7.4
PATCH 5/8 python-gsocketpool: Add support for python3
In reply to Moritz FischerExtend recipe to support python3
--- .../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
meta-python/recipes-connectivity/python-gsocketpool/python-gsocketpool.inc new file +16 -0
@@ -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
meta-python/recipes-connectivity/python-gsocketpool/python-gsocketpool_0.1.5.bb +2 -16
@@ -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
meta-python/recipes-connectivity/python-gsocketpool/python3-gsocketpool_0.1.5.bb new file +2 -0
@@ -0,0 +1,2 @@ +require python-gsocketpool.inc +inherit setuptools3
Signature · 1 line
2.7.4
PATCH 6/8 python-mprpc: Add support for python3
In reply to Moritz FischerExtend recipe to add support for python3
--- .../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
meta-python/recipes-connectivity/python-mprpc/python-mprpc.inc new file +17 -0
@@ -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
meta-python/recipes-connectivity/python-mprpc/python-mprpc_0.1.13.bb +2 -17
@@ -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
meta-python/recipes-connectivity/python-mprpc/python3-mprpc_0.1.13.bb new file +2 -0
@@ -0,0 +1,2 @@ +require python-mprpc.inc +inherit setuptools3
Signature · 1 line
2.7.4
PATCH 7/8 python-netaddr: Add support for python3
In reply to Moritz FischerExtend recipe to support python3
--- 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
meta-python/recipes-devtools/python/python-netaddr.inc new file +8 -0
@@ -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
meta-python/recipes-devtools/python/python-netaddr_0.7.19.bb +2 -8
@@ -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
meta-python/recipes-devtools/python/python3-netaddr_0.7.19.bb new file +2 -0
@@ -0,0 +1,2 @@ +require python-netaddr.inc +inherit setuptools3
Signature · 1 line
2.7.4
PATCH 8/8 python-pyroute: Add support for python3
In reply to Moritz FischerExtend recipe to support python3
--- .../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
meta-python/recipes-devtools/python/python-pyroute2.inc new file +26 -0
@@ -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 \ +"
meta-python/recipes-devtools/python/python-pyroute2_0.3.22.bb +2 -24
@@ -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
meta-python/recipes-devtools/python/python3-pyroute2_0.3.22.bb new file +2 -0
@@ -0,0 +1,2 @@ +require python-pyroute2.inc +inherit setuptools3
Signature · 1 line
2.7.4
Hi all,
Quoted 77 lines · Moritz Fischer
Extend recipe to support python3 as well.
Signed-off-by Moritz Fischer <[email protected]>--- .../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.bbmeta-python/recipes-devtools/python/python-pyudev.inc new file +22
-0@@ -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 \ +"meta-python/recipes-devtools/python/python-pyudev_0.21.0.bb +2
-22@@ -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 setuptoolsmeta-python/recipes-devtools/python/python3-pyudev_0.21.0.bb new file +2
-1@@ -0,0 +1,2 @@ +require python-pyudev.inc +inherit setuptools3 --
Quoted 2 lines
2.7.4
Ok, seems there was a better patch for this one earlier. Please ignore [1/8].
Thanks,
Moritz