All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-python][PATCH 1/2] python-slip-dbus: update to 0.6.5
@ 2019-01-30  7:22 Callaghan, Dan
  2019-01-30  7:22 ` [meta-python][PATCH 2/2] python-slip-dbus: add a python3 version of the recipe Callaghan, Dan
  0 siblings, 1 reply; 4+ messages in thread
From: Callaghan, Dan @ 2019-01-30  7:22 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Dan Callaghan <dan.callaghan@opengear.com>
---
 ...{python-slip-dbus_0.6.1.bb => python-slip-dbus_0.6.5.bb} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python-slip-dbus_0.6.1.bb => python-slip-dbus_0.6.5.bb} (84%)

diff --git a/meta-python/recipes-devtools/python/python-slip-dbus_0.6.1.bb b/meta-python/recipes-devtools/python/python-slip-dbus_0.6.5.bb
similarity index 84%
rename from meta-python/recipes-devtools/python/python-slip-dbus_0.6.1.bb
rename to meta-python/recipes-devtools/python/python-slip-dbus_0.6.5.bb
index dc587e761..c2675cbdd 100644
--- a/meta-python/recipes-devtools/python/python-slip-dbus_0.6.1.bb
+++ b/meta-python/recipes-devtools/python/python-slip-dbus_0.6.5.bb
@@ -1,5 +1,5 @@
 SUMMARY = "Convenience functions for dbus services in Python 2.x"
-HOMEPAGE = "http://nphilipp.fedorapeople.org/python-slip/"
+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. \
@@ -19,8 +19,8 @@ S = "${WORKDIR}/${SRCNAME}-${PV}"
 
 inherit setuptools
 
-SRC_URI[md5sum] = "a6d8ee96245fc21785d4c1c062c85f2f"
-SRC_URI[sha256sum] = "bc897f1ab6f5b4989f85548799aaeb84fde67bbba18e40341bfe1d7885c2fd9a"
+SRC_URI[md5sum] = "28ae5f93853466c44ec96706ba2a1eb4"
+SRC_URI[sha256sum] = "c726c086f0dd93a0ac7a0176f383a12af91b6657b78a301e3f5b25d9f8d4d10b"
 
 do_compile_prepend() {
     sed -e 's/@VERSION@/${PV}/g' setup.py.in > setup.py
-- 
2.20.1



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [meta-python][PATCH 2/2] python-slip-dbus: add a python3 version of the recipe
  2019-01-30  7:22 [meta-python][PATCH 1/2] python-slip-dbus: update to 0.6.5 Callaghan, Dan
@ 2019-01-30  7:22 ` Callaghan, Dan
  2019-01-31 17:28   ` Khem Raj
  0 siblings, 1 reply; 4+ messages in thread
From: Callaghan, Dan @ 2019-01-30  7:22 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Dan Callaghan <dan.callaghan@opengear.com>
---
 .../python/python-slip-dbus.inc               | 29 +++++++++++++++++
 .../python/python-slip-dbus_0.6.5.bb          | 31 +------------------
 .../python/python3-slip-dbus_0.6.5.bb         |  2 ++
 3 files changed, 32 insertions(+), 30 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-slip-dbus.inc
 create mode 100644 meta-python/recipes-devtools/python/python3-slip-dbus_0.6.5.bb

diff --git a/meta-python/recipes-devtools/python/python-slip-dbus.inc b/meta-python/recipes-devtools/python/python-slip-dbus.inc
new file mode 100644
index 000000000..0933b4559
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-slip-dbus.inc
@@ -0,0 +1,29 @@
+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}"
+
+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"
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 c2675cbdd..330fa1ba4 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 000000000..2402a7a74
--- /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
-- 
2.20.1



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [meta-python][PATCH 2/2] python-slip-dbus: add a python3 version of the recipe
  2019-01-30  7:22 ` [meta-python][PATCH 2/2] python-slip-dbus: add a python3 version of the recipe Callaghan, Dan
@ 2019-01-31 17:28   ` Khem Raj
  2019-01-31 22:36     ` Callaghan, Dan
  0 siblings, 1 reply; 4+ messages in thread
From: Khem Raj @ 2019-01-31 17:28 UTC (permalink / raw)
  To: Callaghan, Dan; +Cc: openembedded-devel

On Thu, Jan 31, 2019 at 7:43 AM Callaghan, Dan
<dan.callaghan@opengear.com> wrote:
>
> Signed-off-by: Dan Callaghan <dan.callaghan@opengear.com>
> ---
>  .../python/python-slip-dbus.inc               | 29 +++++++++++++++++
>  .../python/python-slip-dbus_0.6.5.bb          | 31 +------------------
>  .../python/python3-slip-dbus_0.6.5.bb         |  2 ++
>  3 files changed, 32 insertions(+), 30 deletions(-)
>  create mode 100644 meta-python/recipes-devtools/python/python-slip-dbus.inc
>  create mode 100644 meta-python/recipes-devtools/python/python3-slip-dbus_0.6.5.bb
>

this patch does not apply cleanly, secondly it says patch 2/2 which
seems to be part of series
where 1/2 is missing.

> diff --git a/meta-python/recipes-devtools/python/python-slip-dbus.inc b/meta-python/recipes-devtools/python/python-slip-dbus.inc
> new file mode 100644
> index 000000000..0933b4559
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python-slip-dbus.inc
> @@ -0,0 +1,29 @@
> +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}"
> +
> +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"
> 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 c2675cbdd..330fa1ba4 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 000000000..2402a7a74
> --- /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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [meta-python][PATCH 2/2] python-slip-dbus: add a python3 version of the recipe
  2019-01-31 17:28   ` Khem Raj
@ 2019-01-31 22:36     ` Callaghan, Dan
  0 siblings, 0 replies; 4+ messages in thread
From: Callaghan, Dan @ 2019-01-31 22:36 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-devel

Excerpts from Khem Raj's message of 2019-01-31 09:28:02 -08:00:
> On Thu, Jan 31, 2019 at 7:43 AM Callaghan, Dan
> <dan.callaghan@opengear.com> wrote:
> >
> > Signed-off-by: Dan Callaghan <dan.callaghan@opengear.com>
> > ---
> >  .../python/python-slip-dbus.inc               | 29 +++++++++++++++++
> >  .../python/python-slip-dbus_0.6.5.bb          | 31 +------------------
> >  .../python/python3-slip-dbus_0.6.5.bb         |  2 ++
> >  3 files changed, 32 insertions(+), 30 deletions(-)
> >  create mode 100644 meta-python/recipes-devtools/python/python-slip-dbus.inc
> >  create mode 100644 meta-python/recipes-devtools/python/python3-slip-dbus_0.6.5.bb
> >
> 
> this patch does not apply cleanly, secondly it says patch 2/2 which
> seems to be part of series
> where 1/2 is missing.

Oh, sorry about that. Yes there are indeed supposed to be two patches:

    [meta-python][PATCH 1/2] python-slip-dbus: update to 0.6.5
    [meta-python][PATCH 2/2] python-slip-dbus: add a python3 version of the recipe

I sent them both on 30 Jan but they didn't appear in the list archives  
straight away so I thought there might be a moderation queue where they 
are held up? Or maybe it is some deficiency in our corporate Outlook365 
email... :-(

-- 
Dan Callaghan <dan.callaghan@opengear.com>
Software Engineer
Opengear <https://opengear.com/>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-02-01 12:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-30  7:22 [meta-python][PATCH 1/2] python-slip-dbus: update to 0.6.5 Callaghan, Dan
2019-01-30  7:22 ` [meta-python][PATCH 2/2] python-slip-dbus: add a python3 version of the recipe Callaghan, Dan
2019-01-31 17:28   ` Khem Raj
2019-01-31 22:36     ` Callaghan, Dan

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.