From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-lj1-x241.google.com ([2a00:1450:4864:20::241]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1iX52f-0006Ys-2t for ptxdist@pengutronix.de; Tue, 19 Nov 2019 16:03:47 +0100 Received: by mail-lj1-x241.google.com with SMTP id 139so23715788ljf.1 for ; Tue, 19 Nov 2019 07:03:45 -0800 (PST) From: Lars Pedersen Date: Tue, 19 Nov 2019 16:03:33 +0100 Message-Id: <20191119150333.3795-1-lapeddk@gmail.com> MIME-Version: 1.0 Subject: [ptxdist] [PATCH] python3-iniherit: new package List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Cc: Lars Pedersen Signed-off-by: Lars Pedersen --- rules/python3-iniherit.in | 9 +++++++ rules/python3-iniherit.make | 52 +++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 rules/python3-iniherit.in create mode 100644 rules/python3-iniherit.make diff --git a/rules/python3-iniherit.in b/rules/python3-iniherit.in new file mode 100644 index 000000000..ce9fc2483 --- /dev/null +++ b/rules/python3-iniherit.in @@ -0,0 +1,9 @@ +## SECTION=python3 + +config PYTHON3_INIHERIT + tristate + prompt "python3-iniherit" + select PYTHON3 + select HOST_PYTHON3_SETUPTOOLS + help + Adds INI-file inheritance to ConfigParser diff --git a/rules/python3-iniherit.make b/rules/python3-iniherit.make new file mode 100644 index 000000000..03f07984a --- /dev/null +++ b/rules/python3-iniherit.make @@ -0,0 +1,52 @@ +# -*-makefile-*- +# +# Copyright (C) 2019 by Lars Pedersen +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_PYTHON3_INIHERIT) += python3-iniherit + +# +# Paths and names +# +PYTHON3_INIHERIT_VERSION := 0.3.9 +PYTHON3_INIHERIT_MD5 := 0e501d38a1ad7c9bde7bff9387d4a582 +PYTHON3_INIHERIT := iniherit-$(PYTHON3_INIHERIT_VERSION) +PYTHON3_INIHERIT_SUFFIX := tar.gz +PYTHON3_INIHERIT_URL := https://files.pythonhosted.org/packages/source/i/iniherit/$(PYTHON3_INIHERIT).$(PYTHON3_INIHERIT_SUFFIX) +PYTHON3_INIHERIT_SOURCE := $(SRCDIR)/$(PYTHON3_INIHERIT).$(PYTHON3_INIHERIT_SUFFIX) +PYTHON3_INIHERIT_DIR := $(BUILDDIR)/$(PYTHON3_INIHERIT) +PYTHON3_INIHERIT_LICENSE := MIT AND public_domain + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +PYTHON3_INIHERIT_CONF_TOOL := python3 + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/python3-iniherit.targetinstall: + @$(call targetinfo) + + @$(call install_init, python3-iniherit) + @$(call install_fixup, python3-iniherit,PRIORITY,optional) + @$(call install_fixup, python3-iniherit,SECTION,base) + @$(call install_fixup, python3-iniherit,AUTHOR,"Lars Pedersen ") + @$(call install_fixup, python3-iniherit,DESCRIPTION,missing) + + @$(call install_glob,python3-iniherit, 0, 0, -, \ + /usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages,, *.py) + + @$(call install_finish, python3-iniherit) + + @$(call touch) + +# vim: syntax=make -- 2.23.0 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de