On Wed, Nov 11, 2020 at 04:32:27PM +0100, Lars Pedersen wrote: > D-Bus Binding for Python utilizing the Python’s asyncio module. Requires > libsystemd (sd-bus). > > Signed-off-by: Lars Pedersen <[email protected]> > --- > rules/python3-adbus.in | 11 +++++++ > rules/python3-adbus.make | 63 ++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 74 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..238826253 > --- /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
Indent with tabs. > + 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..a41af6207 > --- /dev/null > +++ b/rules/python3-adbus.make > @@ -0,0 +1,63 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2020 by Lars Pedersen <[email protected]> > +# > +# 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.txt;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 > <[email protected]>") > + @$(call install_fixup, python3-adbus,DESCRIPTION,missing) > + > + @$(call install_glob, python3-adbus, 0, 0, -, \ > + $(PYTHON3_SITEPACKAGES),, *.py) > + > + @$(call install_finish, python3-adbus) > + > + @$(call touch) > + > +# > ---------------------------------------------------------------------------- > +# Clean > +# > ---------------------------------------------------------------------------- > + > +#$(STATEDIR)/python3-adbus.clean: > +# @$(call targetinfo) > +# @$(call clean_pkg, PYTHON3_ADBUS) Remove the clean stage. Michael > + > +# vim: syntax=make > -- > 2.28.0 > > > _______________________________________________ > ptxdist mailing list > [email protected] > To unsubscribe, send a mail with subject "unsubscribe" to > [email protected] _______________________________________________ ptxdist mailing list [email protected] To unsubscribe, send a mail with subject "unsubscribe" to [email protected]
