mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH v2] python3-adbus: new package
@ 2020-11-17 13:26 Lars Pedersen
  2020-11-27  8:39 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Lars Pedersen @ 2020-11-17 13:26 UTC (permalink / raw)
  To: ptxdist; +Cc: Lars Pedersen

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

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

* Re: [ptxdist] [APPLIED] python3-adbus: new package
  2020-11-17 13:26 [ptxdist] [PATCH v2] python3-adbus: new package Lars Pedersen
@ 2020-11-27  8:39 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2020-11-27  8:39 UTC (permalink / raw)
  To: ptxdist; +Cc: Lars Pedersen

Thanks, applied as 084a8d1125b4d2df39ef839b18c6c74acab39b6f.

Michael

[sent from post-receive hook]

On Fri, 27 Nov 2020 09:39:16 +0100, Lars Pedersen <lapeddk@gmail.com> wrote:
> D-Bus Binding for Python utilizing the Python’s asyncio module. Requires
> libsystemd (sd-bus).
> 
> Signed-off-by: Lars Pedersen <lapeddk@gmail.com>
> Message-Id: <20201117132656.87886-1-lapeddk@gmail.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/python3-adbus.in b/rules/python3-adbus.in
> new file mode 100644
> index 000000000000..47b7e5c81ab0
> --- /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 000000000000..6f0dd91b77a8
> --- /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

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

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

end of thread, other threads:[~2020-11-27  8:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-17 13:26 [ptxdist] [PATCH v2] python3-adbus: new package Lars Pedersen
2020-11-27  8:39 ` [ptxdist] [APPLIED] " Michael Olbrich

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