[oe-commits] [meta-openembedded] 07/08: python-slip-dbus: add a python3 version of the recipe

git at git.openembedded.org git at git.openembedded.org
Fri Feb 1 14:57:45 UTC 2019


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

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

commit 53cb161e6c475708b9ca3a1ec570592c868ca392
Author: Callaghan, Dan <dan.callaghan at opengear.com>
AuthorDate: Wed Jan 30 07:22:08 2019 +0000

    python-slip-dbus: add a python3 version of the recipe
    
    Signed-off-by: Dan Callaghan <dan.callaghan at opengear.com>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 ...hon-slip-dbus_0.6.5.bb => python-slip-dbus.inc} |  2 --
 .../python/python-slip-dbus_0.6.5.bb               | 31 +---------------------
 .../python/python3-slip-dbus_0.6.5.bb              |  2 ++
 3 files changed, 3 insertions(+), 32 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python-slip-dbus_0.6.5.bb b/meta-python/recipes-devtools/python/python-slip-dbus.inc
similarity index 98%
copy from meta-python/recipes-devtools/python/python-slip-dbus_0.6.5.bb
copy to meta-python/recipes-devtools/python/python-slip-dbus.inc
index c2675cb..0933b45 100644
--- a/meta-python/recipes-devtools/python/python-slip-dbus_0.6.5.bb
+++ b/meta-python/recipes-devtools/python/python-slip-dbus.inc
@@ -17,8 +17,6 @@ SRCNAME = "python-slip"
 SRC_URI = "https://github.com/nphilipp/${SRCNAME}/releases/download/${SRCNAME}-${PV}/${SRCNAME}-${PV}.tar.bz2"
 S = "${WORKDIR}/${SRCNAME}-${PV}"
 
-inherit setuptools
-
 SRC_URI[md5sum] = "28ae5f93853466c44ec96706ba2a1eb4"
 SRC_URI[sha256sum] = "c726c086f0dd93a0ac7a0176f383a12af91b6657b78a301e3f5b25d9f8d4d10b"
 
diff --git a/meta-python/recipes-devtools/python/python-slip-dbus_0.6.5.bb b/meta-python/recipes-devtools/python/python-slip-dbus_0.6.5.bb
index c2675cb..330fa1b 100644
--- a/meta-python/recipes-devtools/python/python-slip-dbus_0.6.5.bb
+++ b/meta-python/recipes-devtools/python/python-slip-dbus_0.6.5.bb
@@ -1,31 +1,2 @@
-SUMMARY = "Convenience functions for dbus services in Python 2.x"
-HOMEPAGE = "https://github.com/nphilipp/python-slip"
-DESCRIPTION = "\
-The Simple Library for Python 2.x packages contain miscellaneous code for \
-convenience, extension and workaround purposes. \
-\
-This package provides slip.dbus.service.Object, which is a dbus.service.Object \
-derivative that ends itself after a certain time without being used and/or if \
-there are no clients anymore on the message bus, as well as convenience \
-functions and decorators for integrating a dbus service with PolicyKit."
-
-SECTION = "devel/python"
-LICENSE = "GPLv2+"
-LIC_FILES_CHKSUM = "file://COPYING;md5=5574c6965ae5f583e55880e397fbb018"
-SRCNAME = "python-slip"
-
-SRC_URI = "https://github.com/nphilipp/${SRCNAME}/releases/download/${SRCNAME}-${PV}/${SRCNAME}-${PV}.tar.bz2"
-S = "${WORKDIR}/${SRCNAME}-${PV}"
-
 inherit setuptools
-
-SRC_URI[md5sum] = "28ae5f93853466c44ec96706ba2a1eb4"
-SRC_URI[sha256sum] = "c726c086f0dd93a0ac7a0176f383a12af91b6657b78a301e3f5b25d9f8d4d10b"
-
-do_compile_prepend() {
-    sed -e 's/@VERSION@/${PV}/g' setup.py.in > setup.py
-}
-
-# http://errors.yoctoproject.org/Errors/Details/184713/
-# python-native/python: can't open file 'setup.py': [Errno 2] No such file or directory
-CLEANBROKEN = "1"
+require python-slip-dbus.inc
diff --git a/meta-python/recipes-devtools/python/python3-slip-dbus_0.6.5.bb b/meta-python/recipes-devtools/python/python3-slip-dbus_0.6.5.bb
new file mode 100644
index 0000000..2402a7a
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-slip-dbus_0.6.5.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-slip-dbus.inc

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


More information about the Openembedded-commits mailing list