From: Lars Pedersen <lapeddk@gmail.com>
To: ptxdist@pengutronix.de
Cc: Lars Pedersen <lapeddk@gmail.com>
Subject: [ptxdist] [PATCH v2] python3-adbus: new package
Date: Tue, 17 Nov 2020 14:26:56 +0100 [thread overview]
Message-ID: <20201117132656.87886-1-lapeddk@gmail.com> (raw)
D-Bus Binding for Python utilizing the Python’s asyncio module. Requires
libsystemd (sd-bus).
Signed-off-by: Lars Pedersen <lapeddk@gmail.com>
---
v2:
- Fixed indentation in .in file
- Removed clean section in .make file
- Fixed wrong name for LICENSE file in .make file
rules/python3-adbus.in | 11 ++++++++
rules/python3-adbus.make | 55 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 66 insertions(+)
create mode 100644 rules/python3-adbus.in
create mode 100644 rules/python3-adbus.make
diff --git a/rules/python3-adbus.in b/rules/python3-adbus.in
new file mode 100644
index 000000000..47b7e5c81
--- /dev/null
+++ b/rules/python3-adbus.in
@@ -0,0 +1,11 @@
+## SECTION=python3
+
+config PYTHON3_ADBUS
+ tristate
+ prompt "python3-adbus"
+ select PYTHON3
+ select HOST_PYTHON3_SETUPTOOLS
+ select HOST_CYTHON3
+ select SYSTEMD
+ help
+ D-Bus Binding for Python using systemd sd-bus API and utilizing the Python's asyncio module.
diff --git a/rules/python3-adbus.make b/rules/python3-adbus.make
new file mode 100644
index 000000000..6f0dd91b7
--- /dev/null
+++ b/rules/python3-adbus.make
@@ -0,0 +1,55 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2020 by Lars Pedersen <lapeddk@gmail.com>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_PYTHON3_ADBUS) += python3-adbus
+
+#
+# Paths and names
+#
+PYTHON3_ADBUS_VERSION := 1.1.3
+PYTHON3_ADBUS_MD5 := 6802bdf83110edaf3b76dcd00f7aadbf
+PYTHON3_ADBUS := adbus-$(PYTHON3_ADBUS_VERSION)
+PYTHON3_ADBUS_SUFFIX := tar.gz
+PYTHON3_ADBUS_URL := $(call ptx/mirror-pypi, adbus, $(PYTHON3_ADBUS).$(PYTHON3_ADBUS_SUFFIX))
+PYTHON3_ADBUS_SOURCE := $(SRCDIR)/$(PYTHON3_ADBUS).$(PYTHON3_ADBUS_SUFFIX)
+PYTHON3_ADBUS_DIR := $(BUILDDIR)/$(PYTHON3_ADBUS)
+PYTHON3_ADBUS_LICENSE := MIT
+PYTHON3_ADBUS_LICENSE_FILES := \
+ file://LICENSE;md5=da428c97c811cd93a27a66732d9597ed
+
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+PYTHON3_ADBUS_CONF_TOOL := python3
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/python3-adbus.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, python3-adbus)
+ @$(call install_fixup, python3-adbus,PRIORITY,optional)
+ @$(call install_fixup, python3-adbus,SECTION,base)
+ @$(call install_fixup, python3-adbus,AUTHOR,"Lars Pedersen <lapeddk@gmail.com>")
+ @$(call install_fixup, python3-adbus,DESCRIPTION,missing)
+
+ @$(call install_glob, python3-adbus, 0, 0, -, \
+ $(PYTHON3_SITEPACKAGES),, *.py)
+
+ @$(call install_finish, python3-adbus)
+
+ @$(call touch)
+
+# vim: syntax=make
--
2.28.0
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
next reply other threads:[~2020-11-17 13:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-17 13:26 Lars Pedersen [this message]
2020-11-27 8:39 ` [ptxdist] [APPLIED] " Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201117132656.87886-1-lapeddk@gmail.com \
--to=lapeddk@gmail.com \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox