Skip to contentSkip to conversation

systemd-python: add a new recipe

PATCH Superseded Andrej Rode 3 participants 5 messages Apr 6, 2017

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 systemd-python: add a new recipe

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

---
 meta-python/recipes-devtools/python/systemd-python_234.bb | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/systemd-python_234.bb
meta-python/recipes-devtools/python/systemd-python_234.bb new file +11 -0
new file mode 100644
index 0000000..4cfa629
@@ -0,0 +1,11 @@
+SUMMARY = "Python interface for libsystemd"
+HOMEPAGE = "https://github.com/systemd/systemd-python"
+LICENSE = "LGPLv2+"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4fbd65380cdd255951079008b364516c"
+DEPENDS += "systemd"
+RDEPENDS_${PN} += "systemd"
+
+SRC_URI[md5sum] = "5071ea5bcb976186e92a3f5e75df221d"
+SRC_URI[sha256sum] = "fd0e44bf70eadae45aadc292cb0a7eb5b0b6372cd1b391228047d33895db83e7"
+
+inherit pypi setuptools
Signature · 1 line
2.10.2
#1 lore raw
Quoted 14 lines · Andrej Rode

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

---
 meta-python/recipes-devtools/python/systemd-python_234.bb | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/systemd-python_234.bb
meta-python/recipes-devtools/python/systemd-python_234.bb new file +0 -0
new file mode 100644
index 0000000..4cfa629

meta-python/recipes-devtools/python/systemd-python_234.bb line 6

Quoted 6 lines
meta-python/recipes-devtools/python/systemd-python_234.bb new file +6 -0
@@ -0,0 +1,11 @@
+SUMMARY = "Python interface for libsystemd"
+HOMEPAGE = "https://github.com/systemd/systemd-python"
+LICENSE = "LGPLv2+"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4fbd65380cdd255951079008b364516c"
+DEPENDS += "systemd"
+RDEPENDS_${PN} += "systemd"

here it seems to me that inheriting systemd bbclass based solution would be more appropriate here.

Quoted 13 lines
meta-python/recipes-devtools/python/systemd-python_234.bb new file +5 -1
+
+SRC_URI[md5sum] = "5071ea5bcb976186e92a3f5e75df221d"
+SRC_URI[sha256sum] = "fd0e44bf70eadae45aadc292cb0a7eb5b0b6372cd1b391228047d33895db83e7"
+
+inherit pypi setuptools
--

2.10.2

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#2 lore raw
In reply to Andrej Rode
Quoted 5 lines · Andrej Rode

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

This is breaking Debian naming for python packages, it should be python-systemd, not systemd-python. We need to be consistent.

—Tim

Quoted 31 lines

---
meta-python/recipes-devtools/python/systemd-python_234.bb | 11 +++++++++++

1 file changed, 11 insertions(+)

create mode 100644 meta-python/recipes-devtools/python/systemd-python_234.bb

meta-python/recipes-devtools/python/systemd-python_234.bb new file +11 -0
new file mode 100644
index 0000000..4cfa629
@@ -0,0 +1,11 @@
+SUMMARY = "Python interface for libsystemd"
+HOMEPAGE = "https://github.com/systemd/systemd-python"
+LICENSE = "LGPLv2+"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4fbd65380cdd255951079008b364516c"
+DEPENDS += "systemd"
+RDEPENDS_${PN} += "systemd"
+
+SRC_URI[md5sum] = "5071ea5bcb976186e92a3f5e75df221d"
+SRC_URI[sha256sum] = "fd0e44bf70eadae45aadc292cb0a7eb5b0b6372cd1b391228047d33895db83e7"
+
+inherit pypi setuptools
Signature · 7 lines
2.10.2

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
#3 lore raw
Quoted 9 lines · Tim Orling
Quoted 5 lines · Andrej Rode

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

This is breaking Debian naming for python packages, it should be python-systemd, not systemd-python. We need to be consistent.

I thought about python-systemd-python, but that looked silly. python-systemd is probably acceptable.

Quoted 38 lines
Quoted 3 lines

---
meta-python/recipes-devtools/python/systemd-python_234.bb | 11

+++++++++++

Quoted 2 lines
1 file changed, 11 insertions(+)

create mode 100644 meta-python/recipes-devtools/python/

systemd-python_234.bb

Review

Quoted 2 lines
(quoted diff) +0 -0

b/meta-python/recipes-devtools/python/systemd-python_234.bb

meta-python/recipes-devtools/python/systemd-python_234.bb line 4

Quoted 9 lines

new file mode 100644
index 0000000..4cfa629

meta-python/recipes-devtools/python/systemd-python_234.bb new file +4 -0
@@ -0,0 +1,11 @@
+SUMMARY = "Python interface for libsystemd"
+HOMEPAGE = "https://github.com/systemd/systemd-python"
+LICENSE = "LGPLv2+"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=

4fbd65380cdd255951079008b364516c"

meta-python/recipes-devtools/python/systemd-python_234.bb

Quoted 5 lines
meta-python/recipes-devtools/python/systemd-python_234.bb new file +5 -0
+DEPENDS += "systemd"
+RDEPENDS_${PN} += "systemd"
+
+SRC_URI[md5sum] = "5071ea5bcb976186e92a3f5e75df221d"
+SRC_URI[sha256sum] = "fd0e44bf70eadae45aadc292cb0a7e

b5b0b6372cd1b391228047d33895db83e7"

Quoted 10 lines
meta-python/recipes-devtools/python/systemd-python_234.bb new file +2 -1
+
+inherit pypi setuptools
--

2.10.2

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#4 lore raw
Quoted 6 lines · Andrej Rode

On Wed, Apr 5, 2017 at 11:30 PM, Tim Orling <[email protected] <mailto:[email protected]>> wrote:

Quoted 8 lines
Quoted 4 lines · On Apr 6, 2017, at 3:12 AM, Andrej Rode <[email protected]…

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

This is breaking Debian naming for python packages, it should be python-systemd, not systemd-python. We need to be consistent.

I thought about python-systemd-python, but that looked silly. python-systemd is probably acceptable.

I agree. I’ve had similar issues with naming of perl modules in the past…

Quoted 7 lines
Quoted 7 lines
Signed-off-by Andrej Rode <[email protected] <mailto:[email protected]>>

---
meta-python/recipes-devtools/python/systemd-python_234.bb <http://systemd-python_234.bb/> | 11 +++++++++++

1 file changed, 11 insertions(+)

create mode 100644 meta-python/recipes-devtools/python/systemd-python_234.bb <http://systemd-python_234.bb/>

Quoted 8 lines

meta-python/recipes-devtools/python/systemd-python_234.bb <http://systemd-python_234.bb/> line 2

Quoted 8 lines
meta-python/recipes-devtools/python/systemd-python_234.bb <http://systemd-python_234.bb/> new file +2 -0
new file mode 100644
index 0000000..4cfa629
@@ -0,0 +1,11 @@
+SUMMARY = "Python interface for libsystemd"
+HOMEPAGE = "https://github.com/systemd/systemd-python <https://github.com/systemd/systemd-python>”

This URL 404s for me.
It looks like it should be:
https://github.com/systemd/python-systemd

And FWIW, Debian itself uses ‘python-systemd’ for the package name:
https://anonscm.debian.org/cgit/pkg-systemd/python-systemd.git

It looks like PyPi is where the confusion comes in:
https://pypi.python.org/pypi/systemd-python/234

Cheers.

—Tim

Quoted 19 lines
Quoted 17 lines
meta-python/recipes-devtools/python/systemd-python_234.bb <http://systemd-python_234.bb/> new file +9 -1
+LICENSE = "LGPLv2+"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4fbd65380cdd255951079008b364516c"
+DEPENDS += "systemd"
+RDEPENDS_${PN} += "systemd"
+
+SRC_URI[md5sum] = "5071ea5bcb976186e92a3f5e75df221d"
+SRC_URI[sha256sum] = "fd0e44bf70eadae45aadc292cb0a7eb5b0b6372cd1b391228047d33895db83e7"
+
+inherit pypi setuptools
--

2.10.2

--
_______________________________________________
Openembedded-devel mailing list
[email protected] <mailto:[email protected]>
http://lists.openembedded.org/mailman/listinfo/openembedded-devel <http://lists.openembedded.org/mailman/listinfo/openembedded-devel>