[oe-commits] [meta-openembedded] 10/77: python-gsocketpool: Add support for python3

git at git.openembedded.org git at git.openembedded.org
Mon Jun 12 07:11:28 UTC 2017


This is an automated email from the git hooks/post-receive script.

martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.

commit dff4ea697125cb743b8ac5ae939394a4f05bf6f8
Author: Moritz Fischer <moritz.fischer at ettus.com>
AuthorDate: Thu Jun 1 09:42:51 2017 -0700

    python-gsocketpool: Add support for python3
    
    Extend recipe to support python3
    
    Signed-off-by: Moritz Fischer <moritz.fischer at ettus.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 ...hon-gsocketpool_0.1.5.bb => python-gsocketpool.inc} |  6 +++---
 .../python-gsocketpool/python-gsocketpool_0.1.5.bb     | 18 ++----------------
 .../python-gsocketpool/python3-gsocketpool_0.1.5.bb    |  2 ++
 3 files changed, 7 insertions(+), 19 deletions(-)

diff --git a/meta-python/recipes-connectivity/python-gsocketpool/python-gsocketpool_0.1.5.bb b/meta-python/recipes-connectivity/python-gsocketpool/python-gsocketpool.inc
similarity index 85%
copy from meta-python/recipes-connectivity/python-gsocketpool/python-gsocketpool_0.1.5.bb
copy to meta-python/recipes-connectivity/python-gsocketpool/python-gsocketpool.inc
index f86152c..54dd49f 100644
--- a/meta-python/recipes-connectivity/python-gsocketpool/python-gsocketpool_0.1.5.bb
+++ b/meta-python/recipes-connectivity/python-gsocketpool/python-gsocketpool.inc
@@ -3,8 +3,8 @@ 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"
+DEPENDS += "${PYTHON_PN}-gevent"
+RDEPENDS_${PN} += "${PYTHON_PN}-gevent"
 
 SRC_URI_append = " \
     file://0001-fix_setup_py.patch;patch=1;pnum=1 \
@@ -13,4 +13,4 @@ SRC_URI_append = " \
 SRC_URI[md5sum] = "04f618864b18d6b06f774994f172ef49"
 SRC_URI[sha256sum] = "b6b73deab9bcbc428d4813697eebe5c3b9c40a971f62e13607b881aa749af9d0"
 
-inherit pypi setuptools
+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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list