Skip to contentSkip to conversation

python-sdnotify/python3-sdnotify: Add new recipe

PATCH Superseded Moritz Fischer 2 participants 2 messages May 19, 2017

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 python-sdnotify/python3-sdnotify: Add new recipe

python-sdnotify/python3-sdnotify is a pure python implementation for systemd's sd_notify mechanism.

---
 .../python/python-sdnotify_0.3.1.bb                | 22 ++++++++++++++++++++++
 .../python/python3-sdnotify_0.3.1.bb               | 22 ++++++++++++++++++++++
 2 files changed, 44 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-sdnotify_0.3.1.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-sdnotify_0.3.1.bb
meta-python/recipes-devtools/python/python-sdnotify_0.3.1.bb new file +22 -0
new file mode 100644
index 0000000..e63560c
@@ -0,0 +1,22 @@
+HOMEPAGE = "https://github.com/bb4242/sdnotify"
+SUMMARY = "A pure Python implementation of systemd's service notification protocol (sd_notify)"
+
+DESCRIPTION = "\
+  sdnotify is a pure Python implementation of the systemd sd_notify protocol. \
+  This protocol can be used to inform systemd about service start-up completion, \
+  watchdog events, and other service status changes. \
+  Thus, this package can be used to write system services in Python that play nicely with systemd. \
+  "
+
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=cc572ccc4b18a4b7d13be5d01bc8213e"
+
+SRC_URI[md5sum] = "a182c1ef47e1c6c965771aa3029da16f"
+SRC_URI[sha256sum] = "e69220d4f6cbb02130f43f929350a80cf51033fde47dcb056fbda71e2dff2d5a"
+
+inherit setuptools pypi
+
+do_install_append() {
+	rm -r ${D}/${datadir}
+}
meta-python/recipes-devtools/python/python3-sdnotify_0.3.1.bb new file +22 -0
new file mode 100644
index 0000000..57c7e5d
@@ -0,0 +1,22 @@
+HOMEPAGE = "https://github.com/bb4242/sdnotify"
+SUMMARY = "A pure Python implementation of systemd's service notification protocol (sd_notify)"
+
+DESCRIPTION = "\
+  sdnotify is a pure Python implementation of the systemd sd_notify protocol. \
+  This protocol can be used to inform systemd about service start-up completion, \
+  watchdog events, and other service status changes. \
+  Thus, this package can be used to write system services in Python that play nicely with systemd. \
+  "
+
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=cc572ccc4b18a4b7d13be5d01bc8213e"
+
+SRC_URI[md5sum] = "a182c1ef47e1c6c965771aa3029da16f"
+SRC_URI[sha256sum] = "e69220d4f6cbb02130f43f929350a80cf51033fde47dcb056fbda71e2dff2d5a"
+
+inherit setuptools3 pypi
+
+do_install_append() {
+	rm -r ${D}/${datadir}
+}
Signature · 1 line
2.7.4
#1 lore raw

Can you rework the patch to place the common portions into an inc file? Thanks

Quoted 88 lines · Moritz Fischer

python-sdnotify/python3-sdnotify is a pure python implementation for systemd's sd_notify mechanism.

---
 .../python/python-sdnotify_0.3.1.bb                | 22
++++++++++++++++++++++
 .../python/python3-sdnotify_0.3.1.bb               | 22
++++++++++++++++++++++
 2 files changed, 44 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/
python-sdnotify_0.3.1.bb
 create mode 100644 meta-python/recipes-devtools/python/

python3-sdnotify_0.3.1.bb

meta-python/recipes-devtools/python/python-sdnotify_0.3.1.bb new file +2 -0
new file mode 100644
index 0000000..e63560c
@@ -0,0 +1,22 @@
+HOMEPAGE = "https://github.com/bb4242/sdnotify"
+SUMMARY = "A pure Python implementation of systemd's service notification

protocol (sd_notify)"

meta-python/recipes-devtools/python/python-sdnotify_0.3.1.bb new file +3 -0
+
+DESCRIPTION = "\
+  sdnotify is a pure Python implementation of the systemd sd_notify

protocol. \
+ This protocol can be used to inform systemd about service start-up completion, \

meta-python/recipes-devtools/python/python-sdnotify_0.3.1.bb new file +2 -0
+  watchdog events, and other service status changes. \
+  Thus, this package can be used to write system services in Python that

play nicely with systemd. \

meta-python/recipes-devtools/python/python-sdnotify_0.3.1.bb new file +5 -0
+  "
+
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=cc572ccc4b18a4b7d13be5d01bc821

3e"

meta-python/recipes-devtools/python/python-sdnotify_0.3.1.bb new file +3 -0
+
+SRC_URI[md5sum] = "a182c1ef47e1c6c965771aa3029da16f"
+SRC_URI[sha256sum] = "e69220d4f6cbb02130f43f929350a8

0cf51033fde47dcb056fbda71e2dff2d5a"

meta-python/recipes-devtools/python/python-sdnotify_0.3.1.bb new file +6 -0
+
+inherit setuptools pypi
+
+do_install_append() {
+       rm -r ${D}/${datadir}
+}
meta-python/recipes-devtools/python/python3-sdnotify_0.3.1.bb new file +2 -0
new file mode 100644
index 0000000..57c7e5d
@@ -0,0 +1,22 @@
+HOMEPAGE = "https://github.com/bb4242/sdnotify"
+SUMMARY = "A pure Python implementation of systemd's service notification

protocol (sd_notify)"

meta-python/recipes-devtools/python/python3-sdnotify_0.3.1.bb new file +3 -0
+
+DESCRIPTION = "\
+  sdnotify is a pure Python implementation of the systemd sd_notify

protocol. \
+ This protocol can be used to inform systemd about service start-up completion, \

meta-python/recipes-devtools/python/python3-sdnotify_0.3.1.bb new file +2 -0
+  watchdog events, and other service status changes. \
+  Thus, this package can be used to write system services in Python that

play nicely with systemd. \

meta-python/recipes-devtools/python/python3-sdnotify_0.3.1.bb new file +5 -0
+  "
+
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=cc572ccc4b18a4b7d13be5d01bc821

3e"

meta-python/recipes-devtools/python/python3-sdnotify_0.3.1.bb new file +3 -0
+
+SRC_URI[md5sum] = "a182c1ef47e1c6c965771aa3029da16f"
+SRC_URI[sha256sum] = "e69220d4f6cbb02130f43f929350a8

0cf51033fde47dcb056fbda71e2dff2d5a"

meta-python/recipes-devtools/python/python3-sdnotify_0.3.1.bb new file +6 -1
+
+inherit setuptools3 pypi
+
+do_install_append() {
+       rm -r ${D}/${datadir}
+}
--

2.7.4