Openembedded Devel Discussions
 help / color / mirror / Atom feed
* [meta-python][PATCH v2] systemd-python: add a new recipe
@ 2017-04-10 21:31 Andrej Rode
  2017-04-11  8:36 ` Florian Wickert
  0 siblings, 1 reply; 3+ messages in thread
From: Andrej Rode @ 2017-04-10 21:31 UTC (permalink / raw)
  To: openembedded-devel

Adds new recipe for python-systemd, python bindings for libsystemd

Signed-off-by: Andrej Rode <andrej.rode@ettus.com>
---
 meta-python/recipes-devtools/python/python-systemd_234.bb | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-systemd_234.bb

diff --git a/meta-python/recipes-devtools/python/python-systemd_234.bb b/meta-python/recipes-devtools/python/python-systemd_234.bb
new file mode 100644
index 0000000..4eb2170
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-systemd_234.bb
@@ -0,0 +1,12 @@
+SUMMARY = "Python interface for libsystemd"
+HOMEPAGE = "https://github.com/systemd/python-systemd"
+LICENSE = "LGPLv2+"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4fbd65380cdd255951079008b364516c"
+
+PYPI_PACKAGE = "systemd-python"
+DEPENDS += "systemd"
+RDEPENDS_${PN} += "systemd"
+inherit pypi setuptools
+
+SRC_URI[md5sum] = "5071ea5bcb976186e92a3f5e75df221d"
+SRC_URI[sha256sum] = "fd0e44bf70eadae45aadc292cb0a7eb5b0b6372cd1b391228047d33895db83e7"
-- 
2.10.2



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

* Re: [meta-python][PATCH v2] systemd-python: add a new recipe
  2017-04-11  8:36 ` Florian Wickert
@ 2017-04-11  7:13   ` Martin Jansa
  0 siblings, 0 replies; 3+ messages in thread
From: Martin Jansa @ 2017-04-11  7:13 UTC (permalink / raw)
  To: Florian Wickert; +Cc: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 2006 bytes --]

On Tue, Apr 11, 2017 at 10:36:54AM +0200, Florian Wickert wrote:
> I suggest to use DEPENDS += "systemd (<=234)" to enforce version 
> checking against systemd for this recipe.
> License is LICENSE = "LGPLv2.1+" from what I see on github.
> Also, since you are using ${PYTHON_PN} already, it would be good to have 
> both python 2 & 3 recipes.
> 

The summary sill says systemd-python.

You should also add:
inherit distro_features_check
# depends on systemd
REQUIRED_DISTRO_FEATURES = "systemd"

> 
> On 04/10/2017 11:31 PM, Andrej Rode wrote:
> > Adds new recipe for python-systemd, python bindings for libsystemd
> >
> > Signed-off-by: Andrej Rode <andrej.rode@ettus.com>
> > ---
> >   meta-python/recipes-devtools/python/python-systemd_234.bb | 12 ++++++++++++
> >   1 file changed, 12 insertions(+)
> >   create mode 100644 meta-python/recipes-devtools/python/python-systemd_234.bb
> >
> > diff --git a/meta-python/recipes-devtools/python/python-systemd_234.bb b/meta-python/recipes-devtools/python/python-systemd_234.bb
> > new file mode 100644
> > index 0000000..4eb2170
> > --- /dev/null
> > +++ b/meta-python/recipes-devtools/python/python-systemd_234.bb
> > @@ -0,0 +1,12 @@
> > +SUMMARY = "Python interface for libsystemd"
> > +HOMEPAGE = "https://github.com/systemd/python-systemd"
> > +LICENSE = "LGPLv2+"
> > +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4fbd65380cdd255951079008b364516c"
> > +
> > +PYPI_PACKAGE = "systemd-python"
> > +DEPENDS += "systemd"
> > +RDEPENDS_${PN} += "systemd"
> > +inherit pypi setuptools
> > +
> > +SRC_URI[md5sum] = "5071ea5bcb976186e92a3f5e75df221d"
> > +SRC_URI[sha256sum] = "fd0e44bf70eadae45aadc292cb0a7eb5b0b6372cd1b391228047d33895db83e7"
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 201 bytes --]

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

* Re: [meta-python][PATCH v2] systemd-python: add a new recipe
  2017-04-10 21:31 [meta-python][PATCH v2] systemd-python: add a new recipe Andrej Rode
@ 2017-04-11  8:36 ` Florian Wickert
  2017-04-11  7:13   ` Martin Jansa
  0 siblings, 1 reply; 3+ messages in thread
From: Florian Wickert @ 2017-04-11  8:36 UTC (permalink / raw)
  To: openembedded-devel

I suggest to use DEPENDS += "systemd (<=234)" to enforce version 
checking against systemd for this recipe.
License is LICENSE = "LGPLv2.1+" from what I see on github.
Also, since you are using ${PYTHON_PN} already, it would be good to have 
both python 2 & 3 recipes.


On 04/10/2017 11:31 PM, Andrej Rode wrote:
> Adds new recipe for python-systemd, python bindings for libsystemd
>
> Signed-off-by: Andrej Rode <andrej.rode@ettus.com>
> ---
>   meta-python/recipes-devtools/python/python-systemd_234.bb | 12 ++++++++++++
>   1 file changed, 12 insertions(+)
>   create mode 100644 meta-python/recipes-devtools/python/python-systemd_234.bb
>
> diff --git a/meta-python/recipes-devtools/python/python-systemd_234.bb b/meta-python/recipes-devtools/python/python-systemd_234.bb
> new file mode 100644
> index 0000000..4eb2170
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python-systemd_234.bb
> @@ -0,0 +1,12 @@
> +SUMMARY = "Python interface for libsystemd"
> +HOMEPAGE = "https://github.com/systemd/python-systemd"
> +LICENSE = "LGPLv2+"
> +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4fbd65380cdd255951079008b364516c"
> +
> +PYPI_PACKAGE = "systemd-python"
> +DEPENDS += "systemd"
> +RDEPENDS_${PN} += "systemd"
> +inherit pypi setuptools
> +
> +SRC_URI[md5sum] = "5071ea5bcb976186e92a3f5e75df221d"
> +SRC_URI[sha256sum] = "fd0e44bf70eadae45aadc292cb0a7eb5b0b6372cd1b391228047d33895db83e7"



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

end of thread, other threads:[~2017-04-11  9:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-10 21:31 [meta-python][PATCH v2] systemd-python: add a new recipe Andrej Rode
2017-04-11  8:36 ` Florian Wickert
2017-04-11  7:13   ` Martin Jansa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox