@@ -2668,6 +2668,7 @@ F: package/python-jmespath/
F: package/python-pymupdf/
F: package/python-rsa/
F: package/python-s3transfer/
+F: package/python-sdbus/
F: support/testing/tests/package/sample_python_jmespath.py
F: support/testing/tests/package/sample_python_rsa.py
F: support/testing/tests/package/sample_python_s3transfer.py
@@ -1334,6 +1334,7 @@ menu "External python modules"
source "package/python-scapy/Config.in"
source "package/python-schedule/Config.in"
source "package/python-scipy/Config.in"
+ source "package/python-sdbus/Config.in"
source "package/python-sdnotify/Config.in"
source "package/python-secretstorage/Config.in"
source "package/python-see/Config.in"
new file mode 100644
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_PYTHON_SDBUS
+ bool "python-sdbus"
+ depends on BR2_PACKAGE_SYSTEMD # required to get sd-bus
+ help
+ Modern Python D-Bus library. Based on sd-bus from
+ libsystemd.
+
+ https://github.com/igo95862/python-sdbus
+
+comment "python-sdbus needs systemd"
+ depends on !BR2_PACKAGE_SYSTEMD
new file mode 100644
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/sdbus/json
+md5 46d3ea00a491c2eec2a25ccf61b8a77a sdbus-0.12.0.tar.gz
+sha256 c3692d75704438a78adc1439350bc32f30d6b38ad344cfc94773db89c6ce4a89 sdbus-0.12.0.tar.gz
+# Locally computed sha256 checksums
+sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
new file mode 100644
@@ -0,0 +1,19 @@
+################################################################################
+#
+# python-sdbus
+#
+################################################################################
+
+PYTHON_SDBUS_VERSION = 0.12.0
+PYTHON_SDBUS_SOURCE = sdbus-$(PYTHON_SDBUS_VERSION).tar.gz
+PYTHON_SDBUS_SITE = https://files.pythonhosted.org/packages/8e/39/3d49f0d18dcba3344af756f31e4408e7de50b3df86fa3f3ea6f604402f16
+PYTHON_SDBUS_SETUP_TYPE = setuptools
+PYTHON_SDBUS_LICENSE = LGPL-2.1+
+PYTHON_SDBUS_LICENSE_FILES = COPYING
+PYTHON_SDBUS_DEPENDENCIES = systemd
+
+ifeq ($(BR2_STATIC_LIBS),y)
+PYTHON_SDBUS_ENV += PYTHON_SDBUS_USE_STATIC_LINK=1
+endif
+
+$(eval $(python-package))
Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be> --- Changes v1 -> v2: - Fix license. - Add comment when systemd is not available. DEVELOPERS | 1 + package/Config.in | 1 + package/python-sdbus/Config.in | 11 +++++++++++ package/python-sdbus/python-sdbus.hash | 5 +++++ package/python-sdbus/python-sdbus.mk | 19 +++++++++++++++++++ 5 files changed, 37 insertions(+) create mode 100644 package/python-sdbus/Config.in create mode 100644 package/python-sdbus/python-sdbus.hash create mode 100644 package/python-sdbus/python-sdbus.mk